This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: x86 PIC regressions
- To: Richard Henderson <rth at cygnus dot com>, "H.J. Lu" <hjl at lucon dot org>
- Subject: Re: x86 PIC regressions
- From: Robert Lipe <robertl at dgii dot com>
- Date: Wed, 2 Sep 1998 14:07:15 -0500
- Cc: egcs at cygnus dot com, egcs-patches at cygnus dot com
- References: <19980827135954.O3677@dgii.com> <m0zE4KM-00038xC@ocean.lucon.org> <19980902013530.K1741@dgii.com> <19980902110308.A16527@dot.cygnus.com>
> The following fixes it.
Thanx for the patch.
It now fails to bootstrap for me on either i686-pc-linux-gnu or
i686-pc-sco3.2v5.0.5. Both targets abort in the same place. Reverting
Richard's patch from this morning allows the bootstrap to finish.
Here is the pertinent capture from the Linux host.
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}; \
./xgcc -B./ -O2 -DIN_GCC -W -Wall -O2 -g -W -Wall -I./include -fPIC -g1 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I/play/egcs/gcc -I/play/egcs/gcc/config -c -DL${name} \
/play/egcs/gcc/libgcc2.c -o ${name}.o; \
if [ $? -eq 0 ] ; then true; else exit 1; fi; \
` if [ -f /home/robertl/tmp/negcs/gcc/../binutils/ar ] ; then echo /home/robertl/tmp/negcs/gcc/../binutils/ar ; else if [ "i686-pc-linux-gnu" = "i686-pc-linux-gnu" ] ; then echo ar; else t='s,x,x,'; echo ar | sed -e $t ; fi; fi` 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
_floatdisf
_fixunsdfsi
_fixunssfsi
_fixunsdfdi
/play/egcs/gcc/emit-rtl.c:1486: Internal compiler error in function change_address
make[1]: *** [libgcc2.a] Error 1
make[1]: Leaving directory `/home/robertl/tmp/negcs/gcc'
make: *** [bootstrap3] Error 2