Fedora 31 crosscompilation fdt problem mimics debian 888789
#1
Hello,

I am trying to cross-compile for rock64 on fedora31 on x86.
libfdt-devel i686   1.4.7-2
aarch64-linux-gnu-2.30-6.fc29.x86_64 (why is this appearing ??)

What I get are multiple copies of fdt which seem to be behind :
/usr/include/libfdt_env.h:71:30 : error conflicting types for fdt64_t
  typedef uint64_t FDT_BITWISE fdt64_t;

The above disappears when /usr/include/*fdt*.h   "disappear" as per a
thread suggestion:
https://github.com/m01/rock64-arch-linux-build/issues/3
leads to this:
https://bugs.debian.org/cgi-bin/bugrepor...bug=888789
tools/libfdt_wrap.c : 149:11: fatal errorTongueython.h :no such file or directory
#include <Python.h>



Thx in advance,
blocked contractor
  Reply
#2
This dont look right to me.    "aarch64-linux-gnu-2.30-6.fc29.x86_64"

One's I've built have GCC TGT's that look like this in arm64    aarch64-lfs-linux-gnu   or  aarch64-unknown-linux-gnu

So one hurdle is  setting     --host  --build   --target  correctly.     Have a look at the old clfs.org web site books for ideas. 

If you want to give some more  info on what docs or guide you're using I may be able to help in a general way.
I am building Linux From Scratch systemd v9 on the board not on x86 at the moment.    Host=Armbian bionic for rock64. 
Really quite fascinating and not for noobs.

I looked far / wide for some docs to do it on x86.64 but no luck.    Some valiant attempts was all I found.

I'd still like to find the right guide.
  Reply
#3
(01-20-2020, 06:56 AM)tomarm Wrote: This dont look right to me.    "aarch64-linux-gnu-2.30-6.fc29.x86_64"

One's I've built have GCC TGT's that look like this in arm64    aarch64-lfs-linux-gnu   or  aarch64-unknown-linux-gnu

[ This was being compiled inside of a qubes-4 fedora-29 instance. eg 'sudo dnf install -y binutils-aarch64-linux-gnu ' to setup. What I want is a way to cross-build an ayefun at least for a client. I need this to improve the security. But my own security has been problematical.]


So one hurdle is  setting     --host  --build   --target  correctly.     Have a look at the old clfs.org web site books for ideas. 

If you want to give some more  info on what docs or guide you're using I may be able to help in a general way.
I am building Linux From Scratch systemd v9 on the board not on x86 at the moment.    Host=Armbian bionic for rock64. 
Really quite fascinating and not for noobs.

I looked far / wide for some docs to do it on x86.64 but no luck.    Some valiant attempts was all I found.

I'd still like to find the right guide.

[Thx for your help]
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Debian (Vanilla) on Rock64 and eMMC - how ? as365n4 4 323 09-21-2020, 04:33 AM
Last Post: as365n4
  Arch Linux Arm - external RTC problem max 1 193 08-17-2020, 10:35 AM
Last Post: max
  Debian build from mrfixit2001 Luke 16 4,855 07-27-2020, 06:13 AM
Last Post: schmidtbag
  Read-only problem mikedhoore 5 1,108 07-14-2020, 11:41 AM
Last Post: zein
  pcsx rearmed on rock64 debian stretch does not go fullscreen RockyBoulder 2 969 05-09-2020, 03:15 AM
Last Post: lawrencejd
Question bluetooth rock64 problem deta 3 604 05-06-2020, 11:29 PM
Last Post: deta
  Upgrading Debian Stretch image to Buster cosuhi 2 922 08-27-2019, 02:42 AM
Last Post: Malmgren
  Ayufan Debian Stretch Openmediavault 4 5G Wifi Not Connecting Poincare 0 391 03-26-2019, 07:28 PM
Last Post: Poincare
  How to get a minimal Debian system started? musbur 3 554 02-07-2019, 11:50 AM
Last Post: musbur
  ROCK64 Kernel compilation problem cao 0 612 01-21-2019, 01:21 AM
Last Post: cao

Forum Jump:


Users browsing this thread: 1 Guest(s)