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 installation via sd card oaFJSADBKV 0 22 10-12-2024, 10:24 AM
Last Post: oaFJSADBKV
  problem with debian emmc boot G4zCDzWb 9 1,185 07-30-2024, 05:41 AM
Last Post: Boia11
  How to update/compile Debian 12.5? Wizardknight 3 1,167 03-29-2024, 05:01 AM
Last Post: gedas07
  Rock64 Debian 11 (Bullseye) install problem jbize 15 10,731 10-12-2023, 05:14 PM
Last Post: tpaul
  Fedora 35 on rock64 dafsjr 4 4,145 03-19-2022, 10:03 PM
Last Post: t4_4t
  rock64-debian-mrfixit-190531.img.xz : missing /usr/lib/dri/rockchip_dri.so popi 5 6,044 08-12-2021, 04:55 AM
Last Post: igorp
  Debian build from mrfixit2001 Luke 18 30,638 05-17-2021, 02:35 AM
Last Post: Wizzard
  External hard drive problem k8Va 17 24,469 03-09-2021, 02:31 PM
Last Post: calinb
  Debian kernel stuck at 4.4.167 Enig123 5 6,413 12-29-2020, 12:57 PM
Last Post: kwinz
  Debian (Vanilla) on Rock64 and eMMC - how ? as365n4 4 5,965 09-21-2020, 04:33 AM
Last Post: as365n4

Forum Jump:


Users browsing this thread: 1 Guest(s)