You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
x32 ABI (https://en.wikipedia.org/wiki/X32_ABI) is supported at least by gcc with -mx32 or when gcc is built with --host=x86_64-pc-linux-gnux32 (Gentoo uses both forms).
The text was updated successfully, but these errors were encountered:
apt install libtool-bin automake autoconf g++ g++-multilib
git clone https://github.com/libunwind/libunwind
cd libunwind
# applied patch from PR #273
autoreconf -i
./configure CFLAGS=-mx32 CXXFLAGS=-mx32
make -j
make check -j
It built and got stuck in some tests but failing more tests.
If i git-clean and add CC=clang and CXX=clang++ then it also requires that patch to compile, but more tests are passing with clang. So it must be unrelated optimization reason, but the library builds:
$ file src/.libs/libunwind.so.8.0.1
src/.libs/libunwind.so.8.0.1: ELF 32-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=1e1c68f2c3dcea6e3008e8f16bd02e0d40ccca86, not stripped
It's a forward of downstream https://bugs.gentoo.org/614374 report where users try to get
libunwind
built on x32 userland. libffi fails there as:x32 ABI (https://en.wikipedia.org/wiki/X32_ABI) is supported at least by
gcc
with-mx32
or when gcc is built with--host=x86_64-pc-linux-gnux32
(Gentoo uses both forms).The text was updated successfully, but these errors were encountered: