Subject: Re: Can't upgrade gcc
To: Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>
From: Paul Hoffman <phoffman@proper.com>
List: tech-pkg
Date: 06/14/2000 19:20:57
At 3:26 AM +0200 6/15/00, Thomas Klausner wrote:
>Because the pattern in the Makefile doesn't include the Z[A-Z]
>kernels. Change it to
>
>ONLY_FOR_PLATFORM= ... NetBSD-1.4Z[A-Z]-i386 ...
>
>and all should be well.
Well, except for the fact that that line in the original indicated
that this build wasn't know to work on in the i386 platform. :-)
And, in fact, it does die bloody death:
=====
gmake[1]: Entering directory `/usr/pkgsrc/lang/gcc/work/objdir/gcc'
(cd intl && gmake all)
gmake[2]: Entering directory `/usr/pkgsrc/lang/gcc/work/objdir/gcc/intl'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/usr/pkgsrc/lang/gcc/work/objdir/gcc/intl'
rm -f tmplibgcc2.a
for name in _muldi3 _divdi3 _moddi3 _udivdi3 _umoddi3 _negdi2
_lshrdi3 _ashldi3 _ashrdi3 _ffsdi2 _udiv_w_sdiv _udivmoddi4 _cmpdi2
_ucmpdi2 _floatdidf _floatdisf _fixunsdfsi _fixunssfsi _fixunsdfdi
_fixdfdi _fixunssfdi _fixsfdi _fixxfdi _fixunsxfdi _floatdixf
_fixunsxfsi _fixtfdi _fixunstfdi _floatditf __gcc_bcmp _varargs
__dummy _eprintf _bb _shtab _clear_cache _trampoline __main _exit
_ctors _pure; \
do \
echo ${name}; \
/usr/pkgsrc/lang/gcc/work/objdir/gcc/xgcc
-B/usr/pkgsrc/lang/gcc/work/objdir/gcc/
-B/usr/local/i386--netbsd/bin/ -I/usr/local/i386--netbsd/include -O2
-DIN_GCC -O2 -I./include -g1 -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -I.
-I/usr/pkgsrc/lang/gcc/work/gcc-2.95.2/gcc
-I/usr/pkgsrc/lang/gcc/work/gcc-2.95.2/gcc/config
-I/usr/pkgsrc/lang/gcc/work/gcc-2.95.2/gcc/../include -c -DL${name} \
-DUSE_COLLECT2
/usr/pkgsrc/lang/gcc/work/gcc-2.95.2/gcc/libgcc2.c -o ${name}.o; \
if [ $? -eq 0 ] ; then true; else exit 1; fi; \
ar rc tmplibgcc2.a ${name}.o; \
rm -f ${name}.o; \
done
_muldi3
_divdi3
_moddi3
_udivdi3
_umoddi3
_negdi2
_lshrdi3
_ashldi3
_ashrdi3
_ffsdi2
_udiv_w_sdiv
_udivmoddi4
_cmpdi2
_ucmpdi2
_floatdidf
/var/tmp/ccma9sqL.s: Assembler messages:
/var/tmp/ccma9sqL.s:131: Error: Alignment not a power of 2
gmake[1]: *** [libgcc2.a] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/lang/gcc/work/objdir/gcc'
gmake: *** [all-gcc] Error 2
*** Error code 2
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
=====
Any help from the gcc hackers here?