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 build from mrfixit2001 Luke 12 2,095 02-11-2020, 04:04 PM
Last Post: FeMike
  Upgrading Debian Stretch image to Buster cosuhi 2 386 08-27-2019, 02:42 AM
Last Post: Malmgren
  Ayufan Debian Stretch Openmediavault 4 5G Wifi Not Connecting Poincare 0 202 03-26-2019, 07:28 PM
Last Post: Poincare
  How to get a minimal Debian system started? musbur 3 261 02-07-2019, 11:50 AM
Last Post: musbur
  ROCK64 Kernel compilation problem cao 0 353 01-21-2019, 01:21 AM
Last Post: cao
  Rock64 fedora core 29 boot issue: Help please? forwardbackwards 5 975 12-31-2018, 04:32 AM
Last Post: toons
  GPU not working with Ubuntu and Debian builds kdawgpoker 10 1,449 12-19-2018, 03:53 PM
Last Post: va88
Lightbulb Wifi problem Nether494 13 1,050 11-28-2018, 01:48 PM
Last Post: Nether494
  Problem with time in rock64 gedas07 2 643 11-12-2018, 12:07 PM
Last Post: gedas07
  Cannot make DAC Add-on Board work under debian szclsya 0 167 09-29-2018, 12:57 AM
Last Post: szclsya

Forum Jump:


Users browsing this thread: 1 Guest(s)