This is the mail archive of the gcc@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]

3.0.2 cannot be built under Solaris 2.6


hello - I have tried to build gcc-3.0.2 under solaris 2.6, starting with
the installed gcc 3.0.1 and with gnu as and ld (binutils 2.11.2). please,
help...

i did:

zcat /usr/archive/dist/gcc-3.0.2.tar.gz | tar xof -
mkdir objdir && cd objdir
../gcc-3.0.2/configure --prefix=/opt/gnu --with-gcc
make bootstrap

and i got the following message:

...
make[2]: Entering directory `/home/loreti/work/objdir/gcc'
for d in libgcc; do \
  if [ -d $d ]; then true; else mkdir $d; fi \
done
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
./xgcc -B./ -B/opt/gnu/sparc-sun-solaris2.6/bin/ -isystem /opt/gnu/sparc-sun-solaris2.6/include -O2   -DIN_GCC  -DSVR4  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -fPIC -g1 -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.map -o libgcc_s.so   libgcc/./_muldi3.o libgcc/./_divdi3.o libgcc/./_moddi3.o libgcc/./_udivdi3.o libgcc/./_umoddi3.o libgcc/./_negdi2.o libgcc/./_lshrdi3.o libgcc/./_ashldi3.o libgcc/./_ashrdi3.o libgcc/./_ffsdi2.o libgcc/./_clz.o libgcc/./_udiv_w_sdiv.o libgcc/./_udivmoddi4.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/./_trampoline.o libgcc/./__main.o libgcc/./_exit.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/./unwind-dw2.o libgcc/./unwind-dw2-fde.o libgcc/./unwind-sjlj.o -lc && rm -f libgcc_s.so.1 && ln -s libgcc_s.so libgcc_s.so.1
/opt/gnu/sparc-sun-solaris2.6/bin/ld:libgcc.map: file format not recognized; treating as linker script
/opt/gnu/sparc-sun-solaris2.6/bin/ld:libgcc.map:1: parse error
collect2: ld returned 1 exit status
make[2]: *** [libgcc_s.so] Error 1
make[2]: Leaving directory `/home/loreti/work/objdir/gcc'
make[1]: *** [libgcc.a] Error 2
make[1]: Leaving directory `/home/loreti/work/objdir/gcc'
make: *** [all-gcc] Error 2

the file libgcc.map contains:

GCC_3.0 {
  global:
	_Unwind_GetDataRelBase;
	__register_frame_table;
	__ucmpdi2;
	__addvsi3;
	_Unwind_GetTextRelBase;
	_Unwind_GetLanguageSpecificData;
	__fixunssfdi;
	__floatdidf;
	__register_frame_info_bases;
	__deregister_frame_info;
	_Unwind_DeleteException;
	__subvdi3;
	_Unwind_GetRegionStart;
	_Unwind_Resume;
	__clear_cache;
	__negvsi2;
	__cmpdi2;
	__ashldi3;
	__deregister_frame_info_bases;
	__register_frame_info_table;
	__absvsi2;
	__register_frame_info_table_bases;
	_Unwind_Find_FDE;
	__ffsdi2;
	_Unwind_ForcedUnwind;
	_Unwind_GetGR;
	__subvsi3;
	__register_frame_info;
	__ashrdi3;
	_Unwind_GetIP;
	__floatditf;
	__lshrdi3;
	__mulvdi3;
	__muldi3;
	__udivdi3;
	__udivmoddi4;
	__umoddi3;
	__divdi3;
	__addvdi3;
	__moddi3;
	_Unwind_RaiseException;
	__negvdi2;
	__mulvsi3;
	__fixtfdi;
	__fixdfdi;
	__fixunsdfsi;
	__deregister_frame;
	_Unwind_SetGR;
	__negdi2;
	__fixsfdi;
	__fixunstfdi;
	__register_frame;
	_Unwind_SetIP;
	__fixunssfsi;
	__floatdisf;
	__fixunsdfdi;
	__absvdi2;

  local:
	*;
};

-- 
Maurizio Loreti                         http://www.pd.infn.it/~loreti/mlo.html
Univ. of Padova, Dept. of Physics - Padova, Italy            loreti@pd.infn.it


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