This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

New Build Error On gcc-3.4.6


Gentle People:

   I get the following error when building gcc-3.4.6 on my Solaris 8 Sparc
System:

"/usr/local/sparc-sun-solaris2.8/bin/ld:libgcc/./libgcc.map: file format not recognized; treating as linker script
/usr/local/sparc-sun-solaris2.8/bin/ld:libgcc/./libgcc.map:1: parse error
collect2: ld returned 1 exit status
gmake[2]: *** [libgcc_s.so] Error 1
gmake[2]: Leaving directory `/export/home/tools/gcc/gcc-3.4.6-obj/gcc'
gmake[1]: *** [stmp-multilib] Error 2
gmake[1]: Leaving directory `/export/home/tools/gcc/gcc-3.4.6-obj/gcc'
gmake: *** [all-gcc] Error 2:


A longer listing is included at the botton of this email.

The file libgcc.map appears to have been created by the build process:
/export/home/tools/gcc/gcc-3.4.6-obj/gcc/libgcc/libgcc.map

- Gmake Version:
root@Sun# gmake --version
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for sparc-sun-solaris2.8

- Gcc Version:
root@Sun# gcc --version
gcc (GCC) 3.1

- Commands used:
cd /export/home/tools/gcc
mkdir gcc-3.4.6-obj
chmod 777 gcc-3.4.6-obj
cd gcc-3.4.6-obj
/export/home/tools/gcc/gcc-3.4.6/configure
gmake

- Longer Error Listing:
gmake[3]: Entering directory `/export/home/tools/gcc/gcc-3.4.6-obj/gcc'
gmake[3]: Leaving directory `/export/home/tools/gcc/gcc-3.4.6-obj/gcc'
/export/home/tools/gcc/gcc-3.4.6-obj/gcc/xgcc -B/export/home/tools/gcc/gcc-3.4.6-obj/gcc/ -B/usr/local/sparc-sun-solaris2.8/bin/ -B/usr/local/sparc-sun-solaris2.8/lib/ -isystem /usr/local/sparc-sun-solaris2.8/include -isystem /usr/local/sparc-sun-solaris2.8/sys-include -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -shared -nodefaultlibs -Wl,-h,libgcc_s.so.1 -Wl,-z,text -Wl,-z,defs -Wl,-M,libgcc/./libgcc.map -o libgcc_s.so.1.tmp libgcc/./_muldi3.o libgcc/./_negdi2.o libgcc/./_lshrdi3.o libgcc/./_ashldi3.o libgcc/./_ashrdi3.o libgcc/./_cmpdi2.o libgcc/./_ucmpdi2.o libgcc/./_floatdidf.o libgcc/./_floatdisf.o libgcc/./_fixunsdfsi.o libgcc/./_fixunssfsi.o libgcc/./_fixunsdfdi.o libgcc/./_fixdfdi.o libgcc/./_fixunssfdi.o libgcc/./_fixsfdi.o libgcc/./_fixxfdi.o libgcc/./_fixunsxfdi.o libgcc/./_floatdixf.o libgcc/./_fixunsxfsi.o libgcc/./_fixtfdi.o libgcc/./_fixunstfdi.o libgcc/./_floatditf.o libgcc/./_clear_cache.o libgcc/./_enable_execute_stack.o libgcc/./_trampoline.o libgcc/./__main.o libgcc/./_absvsi2.o libgcc/./_absvdi2.o libgcc/./_addvsi3.o libgcc/./_addvdi3.o libgcc/./_subvsi3.o libgcc/./_subvdi3.o libgcc/./_mulvsi3.o libgcc/./_mulvdi3.o libgcc/./_negvsi2.o libgcc/./_negvdi2.o libgcc/./_ctors.o libgcc/./_ffssi2.o libgcc/./_ffsdi2.o libgcc/./_clz.o libgcc/./_clzsi2.o libgcc/./_clzdi2.o libgcc/./_ctzsi2.o libgcc/./_ctzdi2.o libgcc/./_popcount_tab.o libgcc/./_popcountsi2.o libgcc/./_popcountdi2.o libgcc/./_paritysi2.o libgcc/./_paritydi2.o libgcc/./_divdi3.o libgcc/./_moddi3.o libgcc/./_udivdi3.o libgcc/./_umoddi3.o libgcc/./_udiv_w_sdiv.o libgcc/./_udivmoddi4.o libgcc/./unwind-dw2.o libgcc/./unwind-dw2-fde.o libgcc/./unwind-sjlj.o libgcc/./gthr-gnat.o libgcc/./unwind-c.o -lc && rm -f libgcc_s.so && if [ -f libgcc_s.so.1 ]; then mv -f libgcc_s.so.1 libgcc_s.so.1.backup; else true; fi && mv libgcc_s.so.1.tmp libgcc_s.so.1 && ln -s libgcc_s.so.1 libgcc_s.so
/usr/local/sparc-sun-solaris2.8/bin/ld:libgcc/./libgcc.map: file format not recognized; treating as linker script
/usr/local/sparc-sun-solaris2.8/bin/ld:libgcc/./libgcc.map:1: parse error
collect2: ld returned 1 exit status
gmake[2]: *** [libgcc_s.so] Error 1
gmake[2]: Leaving directory `/export/home/tools/gcc/gcc-3.4.6-obj/gcc'
gmake[1]: *** [stmp-multilib] Error 2
gmake[1]: Leaving directory `/export/home/tools/gcc/gcc-3.4.6-obj/gcc'
gmake: *** [all-gcc] Error 2








Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]