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)



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