[Bug ada/82844] [8 Regression] Many ada tests time out on x32
hjl.tools at gmail dot com
gcc-bugzilla@gcc.gnu.org
Thu Nov 9 12:58:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82844
--- Comment #10 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Pierre-Marie de Rodat from comment #9)
> I’ve setup an Ubuntu VM, installed libx32 runtime libraries and built with
> “--with-multilib-list=m32,m64,mx32” + ran the testsuite (“make -C gcc -j8 -k
> check-ada”), without reproducing the issues you describe. Is there something
> obvious missing?
I used
CC="gcc -mx32 -fno-lto" CXX="g++ -mx32 -fno-lto"
RUNTESTFLAGS="--target_board='unix{-m64,-m32,}'"
/export/gnu/import/git/sources/gcc/configure --with-demangler-in-ld
--enable-languages=c,c++,fortran,lto,objc,ada,obj-c++,go
--prefix=/usr/gcc-8.0.0-mx32 --with-local-prefix=/usr/local
--enable-gnu-indirect-function --enable-clocale=gnu --with-system-zlib
--enable-checking=yes,rtl --enable-libmpx --with-multilib-list=m32,m64,mx32
--enable-linker-build-id --enable-gnu-unique-object --with-abi=mx32
--with-fpmath=sse
--with-abi=mx32 will bootstrap GCC in x32. You need to make sure that
linker in x32 is your PATH. I have
[hjl@gnu-4 kernel]$ file /usr/localx32/bin/ld
/usr/localx32/bin/ld: ELF 32-bit LSB executable, x86-64, version 1 (SYSV),
dynamically linked, interpreter /libx32/ld-linux-x32.so.2, for GNU/Linux 3.4.0,
BuildID[sha1]=bd1d06d57ab8d91756c97b170430590bac9253ea, with debug_info, not
stripped
[hjl@gnu-4 kernel]$
More information about the Gcc-bugs
mailing list