boehm-gc and gcc 7.1
Reinoud Koornstra
reinoudkoornstra@gmail.com
Thu May 25 21:16:00 GMT 2017
Hello Everyone,
I have trouble compiling gcc 7.1.
Normally I always use these args to configure gcc and they worked fine
until gcc 7.1:
../gcc-7.1.0/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++
--prefix=/users/koorstra/GCC --enable-shared --enable-linker-build-id
--without-included-gettext --enable-threads=posix --enable-nls
--with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug
--enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new
--enable-gnu-unique-object --disable-vtable-verify --enable-libmpx
--enable-plugin --with-system-zlib --disable-brower-plugin
--with-arch-directory=amd64 --enable-objc-gc --enable-multiarch
--disable-werror --with-abi=m64 --enable-checking=release
--build=x86_64-linux-gnu --host=x86_64-linux-gnu
--target=x86_64-linux-gnu
I've got both boehm-gc installed, meaning for 32 bit anf 64 bit.
The libs for 64 bit are in /usr/lib64 and the libs for 32 bit are in /usr/lib
The problem is in libobjc when it uses config.
It says system bdw-gc required but not found.
When I point to my own build gc-7.1, then it says no multipath (i386)
found in ....
There is another difference in that in default in Redhat it only
installs the libgc.so.1 file and no libgc.la, you only check for the
.la suffix.
When I build gc-7.1 myself, it does build libgc.la, but only for
x86_64 and not for i686. I didn't find a configure option to do this.
Any help?
Thanks,
Reinoud.
More information about the Gcc-help
mailing list