[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug libctf/28545] cross compile incorrectly using host libraries in ins

From: bugs.sourceware at johnthomson dot fastmail.com.au
Subject: [Bug libctf/28545] cross compile incorrectly using host libraries in install relink
Date: Thu, 18 Nov 2021 20:55:22 +0000


--- Comment #16 from John <bugs.sourceware at johnthomson dot fastmail.com.au> 
Created attachment 13798
  --> https://sourceware.org/bugzilla/attachment.cgi?id=13798&action=edit
Full compile log for bootlin toolchain armv7-eabihf

I did try this away from the OpenWrt toolchain, and see the same error using
the Bootlin armv7-eabihf toolchain.

This is the build process I used for the attached log:

curl -OL

tar -xf armv7-eabihf--glibc--bleeding-edge-2020.08-1.tar.bz2
cd armv7-eabihf--glibc--bleeding-edge-2020.08-1
sh relocate-sdk.sh
PATH="$PATH:$(realpath bin)"

cd ../

curl -LO 'http://mirror.downloadvn.com/gnu/binutils/binutils-2.37.tar.xz'
curl -L -o libctf-link-against-libibierty-first.patch

tar -xf binutils-2.37.tar.xz
cd binutils-2.37

patch -Np1 -i ../libctf-link-against-libibierty-first.patch

mkdir tmp

./configure --target=arm-buildroot-linux-gnueabihf
--host=arm-buildroot-linux-gnueabihf --build=x86_64-pc-linux-gnu
--enable-shared --prefix=/usr 2>&1 | tee log
make 2>&1 | tee -a log
DESTDIR=$(realpath tmp) make install 2>&1 | tee -a log

You are receiving this mail because:
You are on the CC list for the bug.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]