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 02/06/2014 12:26, Venture37 wrote:
On 28/05/2014 21:35, venture37 wrote:
  My previous changes to get things to build was to make the following
  changes to the Makefile

  CONFIGURE_ARGS=       --with-dwarf2
  CONFIGURE_ARGS=       --disable-multilib
  CONFIGURE_ENV=        AS=/mycctools/bin/as
  CONFIGURE_ENV=        AS_TARGET=/mycctools/bin/as

Correction, though I previously reported gcc44 & gcc45 were buildable
now I hadn't removed the newer opendarwin linker from my $PATH, gcc45
does not build with the stock Xcode 2.5 linker.
You need to force dwarf2 & disable-multilib if you're on a 32bit PowerPC

Indeed with-dwarf2 & disable-multilib set, lang/gcc45 built without issues.

/usr/pkg/gcc45/bin/gcc -v
Using built-in specs.
Target: powerpc-apple-darwin8.11.0
Configured with: /usr/pkgsrc/lang/gcc45/work/gcc-4.5.3/configure --with-gmp=/usr/pkg --with-mpc=/usr/pkg --with-mpfr=/usr/pkg --disable-nls --enable-__cxa_atexit --with-gxx-include-dir=/usr/pkg/gcc45/include/c++/ --prefix=/usr/pkg/gcc45 --enable-languages='c obj-c++ c++ fortran objc' --enable-shared --enable-long-long --with-local-prefix=/usr/pkg/gcc45 --enable-libssp --enable-threads=posix --with-dwarf2 --disable-multilib STRIP_FOR_TARGET=/usr/bin/strip
Thread model: posix
gcc version 4.5.3 (GCC)

Home | Main Index | Thread Index | Old Index