pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/48740 (lang/gcc44 to gcc46 linker fails because of whitespace)
The following reply was made to PR pkg/48740; it has been noted by GNATS.
From: Venture37 <venture37%geeklan.co.uk@localhost>
To: gnats-bugs%NetBSD.org@localhost, pho%NetBSD.org@localhost,
gnats-admin%netbsd.org@localhost,
pkgsrc-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/48740 (lang/gcc44 to gcc46 linker fails because of whitespace)
Date: Thu, 05 Jun 2014 10:07:21 +0100
On 04/06/2014 00:20, venture37 wrote:
> Indeed with-dwarf2 & disable-multilib set, lang/gcc45 built without issues.
lang/gcc46 is buildable too,
Using built-in specs.
COLLECT_GCC=/usr/pkg/gcc46/bin/gcc
COLLECT_LTO_WRAPPER=/usr/pkg/gcc46/libexec/gcc/powerpc-apple-darwin8.11.0/4.6.4/lto-wrapper
Target: powerpc-apple-darwin8.11.0
Configured with: /usr/pkgsrc/lang/gcc46/work/gcc-4.6.4/configure
--with-gmp=/usr/pkg --with-mpc=/usr/pkg --with-mpfr=/usr/pkg
--disable-nls --enable-__cxa_atexit
--with-gxx-include-dir=/usr/pkg/gcc46/include/c++/
--prefix=/usr/pkg/gcc46 --enable-languages='c c++ fortran objc'
--enable-shared --enable-long-long --with-local-prefix=/usr/pkg/gcc46
--enable-libssp --enable-threads=posix --with-dwarf2 --disable-multilib
STRIP_FOR_TARGET=/usr/bin/strip
Thread model: posix
gcc version 4.6.4 (GCC)
So, with the stock XCode 2.5 toolchain on OS X 10.4.11
1) gcc needs to be built with dwarf2
2) disable fstack-protector as described earlier
3) if you're building on a 32bit PowerPC system (I am), disable multilib
Home |
Main Index |
Thread Index |
Old Index