[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, 11 Nov 2021 20:00:30 +0000


--- Comment #12 from John <bugs.sourceware at johnthomson dot fastmail.com.au> 
Thank you Nick,
I will take this up again with OpenWrt
Sorry I had not done an out-of-openwrt cross compile

Just to make sure, I am seeing this error when I have both configure args:
--enable-shared --prefix=/usr
The error then shows during make install

I do not yet have a non-openwrt cross compile toolchain setup. I will try to
get this done.

In my recreate using the openwrt toolchain, but not build scripts, I (still)
see this error, without those unwanted OpenWrt LDFLAGS: will attach log.

curl -O

tar -xf openwrt-sdk-ipq40xx-mikrotik_gcc-11.2.0_musl_eabi.Linux-x86_64.tar.xz
cd openwrt-sdk-ipq40xx-mikrotik_gcc-11.2.0_musl_eabi.Linux-x86_64

export PATH


cd dl
curl -LO 'http://mirror.downloadvn.com/gnu/binutils/binutils-2.37.tar.xz'
cd ../

mkdir temp
cd temp

curl -L -o libctf-link-against-libibierty-first.patch

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

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

mkdir tmp

./configure --target=arm-openwrt-linux --host=arm-openwrt-linux
--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]