From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Albert D. Sheffer, Jr." To: gcc-help@gcc.gnu.org Subject: egcs 1.1.2 on Irix 6.5 Date: Sat, 01 Apr 2000 00:00:00 -0000 Message-ID: <388760C1.DF6568BE@gtri.gatech.edu> X-SW-Source: 2000-q1/msg00147.html Message-ID: <20000401000000.wwfeifLal2MwncwCLu8K6qLNWbubpmudrQc_7A8nym8@z> I've run into problems trying to build egcs 1.0.3a and 1.1.2 on an SGI O2 platform running Irix 6.5. Have previously successfully built egcs 1.0.3a on same platform running Irix 6.3. Could not find similar problems discussed on gcc-help list (may not have searched back far enough). My understanding is that the SGI assembler, not GAS, is to be used on Irix 6 platforms. Another note: the build script specifies TARGET_NAME=mips-sgi-irix5.3. This was used successfully on the 6.3 build. The 6.5 build of egcs 1.1.2 is failing with assembler warnings and errors, of the following type. (The 1.0.3a build also fails with assembler errors, but not identically). Any information on causes and corrections would be greatly appreciated. for name in _muldi3 _divdi3 _moddi3 _udivdi3 _umoddi3 _negdi2 _lshrdi3 _ashldi3 _ashrdi3 _ffsdi2 _udiv_w_sdiv _udivm oddi4 _cmpdi2 _ucmpdi2 _floatdidf _floatdisf _fixunsdfsi _fixunssfsi _fixunsdfdi _fixdfdi _fixunssfdi _fixsfdi _fixx fdi _fixunsxfdi _floatdixf _fixunsxfsi _fixtfdi _fixunstfdi _floatditf __gcc_bcmp _varargs __dummy _eprintf _bb _sht ab _clear_cache _trampoline __main _exit _ctors _pure; \ do \ echo ${name}; \ ./xgcc -B./ -O2 -DIN_GCC -g -I./include -g1 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I/users7/tmp/bld/egcs-1.1.2/gcc -I/users7/tmp/bld/egcs-1.1.2/gcc/config -c -D L${name} \ /users7/tmp/bld/egcs-1.1.2/gcc/libgcc2.c -o ${name}.o; \ if [ $? -eq 0 ] ; then true; else exit 1; fi; \ ` if [ -f /users7/tmp/bld/egcs-tmp/gcc/../binutils/ar ] ; then echo /users7/tmp/bld/egcs-tmp/gcc/../binutils/ar ; else if [ "mips-sgi-irix5.3" = "mips-sgi-irix5.3" ] ; 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 as WARNING: -g1 conflicts with -g; using latter value (-g1) as: Warning: /var/tmp/ccBoQBTW.s, line 1: label should be inside .ent/.end block: gcc2_compiled. gcc2_compiled.: as: Warning: /var/tmp/ccBoQBTW.s, line 1: label should be inside .ent/.end block: __gnu_compiled_c __gnu_compiled_c: _divdi3 as WARNING: -g1 conflicts with -g; using latter value (-g1) as: Warning: /var/tmp/ccuJqTVz.s, line 1: label should be inside .ent/.end block: gcc2_compiled. gcc2_compiled.: as: Warning: /var/tmp/ccuJqTVz.s, line 1: label should be inside .ent/.end block: __gnu_compiled_c __gnu_compiled_c: _moddi3 as WARNING: -g1 conflicts with -g; using latter value (-g1) as: Warning: /var/tmp/ccU7dMIe.s, line 1: label should be inside .ent/.end block: gcc2_compiled. gcc2_compiled.: as: Warning: /var/tmp/ccU7dMIe.s, line 1: label should be inside .ent/.end block: __gnu_compiled_c __gnu_compiled_c: as: Warning: /var/tmp/ccU7dMIe.s, line 2: SP not changed by a multiple of 16 as: Warning: /var/tmp/ccU7dMIe.s, line 2: SP not changed by a multiple of 16 ... _ffsdi2 as WARNING: -g1 conflicts with -g; using latter value (-g1) as: Warning: /var/tmp/ccWhu6vT.s, line 1: label should be inside .ent/.end block: gcc2_compiled. gcc2_compiled.: as: Warning: /var/tmp/ccWhu6vT.s, line 1: label should be inside .ent/.end block: __gnu_compiled_c __gnu_compiled_c: as: Warning: /var/tmp/ccWhu6vT.s, line 1: Label in branch delay slot 1: and $6,$7,0x0001 as: Warning: /var/tmp/ccWhu6vT.s, line 1: Label in branch delay slot 1: and $6,$7,0x0001 as: Error: /var/tmp/ccWhu6vT.s, line 1: stmt extends past logical end .globl ffs .text make[2]: *** [libgcc2.a] Error 1 make[2]: Leaving directory `/users7/tmp/bld/egcs-tmp/gcc' make[1]: *** [bootstrap-lean] Error 2 make[1]: Leaving directory `/users7/tmp/bld/egcs-tmp/gcc' make: *** [bootstrap-lean-nocompare] Error 2 -- Albert D. Sheffer, Jr. Senior Research Scientist GTRI/EOEML, Georgia Institute of Technology Atlanta, GA 30332 e-mail: albert.sheffer@gtri.gatech.edu