Compiling gcc 4.1 on solaris 2.8 64 bits

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I am currently trying to get version 4.1 of gcc on solaris 2.8 (sparcv9) 64 bits.

But when compiling, I get this (end of the compilation, the rest is ok):

CC="cc -xildoff -xarch=v9" /export/home/common/compilers/gcc-4.1.0/configure --enable-languages=c,c++
make

{ nm -pg libgcc/sparcv9/_muldi3_s.o libgcc/sparcv9/_negdi2_s.o libgcc/sparcv9/_lshrdi3_s.o libgcc/sparcv9/_ashldi3_s.o libgcc/sparcv9/_ashrdi3_s.o libgcc/sparcv9/_cmpdi2_s.o libgcc/sparcv9/_ucmpdi2_s.o libgcc/sparcv9/_floatdidf_s.o libgcc/sparcv9/_floatdisf_s.o libgcc/sparcv9/_fixunsdfsi_s.o libgcc/sparcv9/_fixunssfsi_s.o libgcc/sparcv9/_fixunsdfdi_s.o libgcc/sparcv9/_fixdfdi_s.o libgcc/sparcv9/_fixunssfdi_s.o libgcc/sparcv9/_fixsfdi_s.o libgcc/sparcv9/_fixxfdi_s.o libgcc/sparcv9/_fixunsxfdi_s.o libgcc/sparcv9/_floatdixf_s.o libgcc/sparcv9/_fixunsxfsi_s.o libgcc/sparcv9/_fixtfdi_s.o libgcc/sparcv9/_fixunstfdi_s.o libgcc/sparcv9/_floatditf_s.o libgcc/sparcv9/_clear_cache_s.o libgcc/sparcv9/_enable_execute_stack_s.o libgcc/sparcv9/_trampoline_s.o libgcc/sparcv9/__main_s.o libgcc/sparcv9/_absvsi2_s.o libgcc/sparcv9/_absvdi2_s.o libgcc/sparcv9/_addvsi3_s.o libgcc/sparcv9/_addvdi3_s.o libgcc/sparcv9/_subvsi3_s.o libgcc/sparcv9/_subvdi3_s.o libgcc/sparcv9/_mulvsi3_s.o libgcc/sparcv9/_mulvdi3_s.o libgcc/sparcv9/_negvsi2_s.o libgcc/sparcv9/_negvdi2_s.o libgcc/sparcv9/_ctors_s.o libgcc/sparcv9/_ffssi2_s.o libgcc/sparcv9/_ffsdi2_s.o libgcc/sparcv9/_clz_s.o libgcc/sparcv9/_clzsi2_s.o libgcc/sparcv9/_clzdi2_s.o libgcc/sparcv9/_ctzsi2_s.o libgcc/sparcv9/_ctzdi2_s.o libgcc/sparcv9/_popcount_tab_s.o libgcc/sparcv9/_popcountsi2_s.o libgcc/sparcv9/_popcountdi2_s.o libgcc/sparcv9/_paritysi2_s.o libgcc/sparcv9/_paritydi2_s.o libgcc/sparcv9/_powisf2_s.o libgcc/sparcv9/_powidf2_s.o libgcc/sparcv9/_powixf2_s.o libgcc/sparcv9/_powitf2_s.o libgcc/sparcv9/_mulsc3_s.o libgcc/sparcv9/_muldc3_s.o libgcc/sparcv9/_mulxc3_s.o libgcc/sparcv9/_multc3_s.o libgcc/sparcv9/_divsc3_s.o libgcc/sparcv9/_divdc3_s.o libgcc/sparcv9/_divxc3_s.o libgcc/sparcv9/_divtc3_s.o libgcc/sparcv9/_divdi3_s.o libgcc/sparcv9/_moddi3_s.o libgcc/sparcv9/_udivdi3_s.o libgcc/sparcv9/_umoddi3_s.o libgcc/sparcv9/_udiv_w_sdiv_s.o libgcc/sparcv9/_udivmoddi4_s.o libgcc/sparcv9/unwind-dw2_s.o libgcc/sparcv9/unwind-dw2-fde_s.o libgcc/sparcv9/unwind-sjlj_s.o libgcc/sparcv9/gthr-gnat_s.o libgcc/sparcv9/unwind-c_s.o; echo %%; \
  cat /export/home/common/compilers/gcc-4.1.0/gcc/libgcc-std.ver \
    | sed -e '/^[   ]*#/d' \
          -e 's/^%\(if\|else\|elif\|endif\|define\)/#\1/' \
    | /export/home/common/compilers/gcc410obj/./gcc/xgcc -B/export/home/common/compilers/gcc410obj/./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  -O2 -g   -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  -I. -I -I/export/home/common/compilers/gcc-4.1.0/gcc -I/export/home/common/compilers/gcc-4.1.0/gcc/ -I/export/home/common/compilers/gcc-4.1.0/gcc/../include -I./../intl -I/export/home/common/compilers/gcc-4.1.0/gcc/../libcpp/include   -m64 -E -xassembler-with-cpp -; \
} | gawk -f /export/home/common/compilers/gcc-4.1.0/gcc/mkmap-symver.awk  > libgcc/sparcv9/tmp-libgcc.map
mv 'libgcc/sparcv9/tmp-libgcc.map' libgcc/sparcv9/libgcc.map
/export/home/common/compilers/gcc410obj/./gcc/xgcc -B/export/home/common/compilers/gcc410obj/./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  -O2 -g   -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/sparcv9/libgcc.map -o sparcv9/libgcc_s.so.1.tmp  -m64 libgcc/sparcv9/_muldi3_s.o libgcc/sparcv9/_negdi2_s.o libgcc/sparcv9/_lshrdi3_s.o libgcc/sparcv9/_ashldi3_s.o libgcc/sparcv9/_ashrdi3_s.o libgcc/sparcv9/_cmpdi2_s.o libgcc/sparcv9/_ucmpdi2_s.o libgcc/sparcv9/_floatdidf_s.o libgcc/sparcv9/_floatdisf_s.o libgcc/sparcv9/_fixunsdfsi_s.o libgcc/sparcv9/_fixunssfsi_s.o libgcc/sparcv9/_fixunsdfdi_s.o libgcc/sparcv9/_fixdfdi_s.o libgcc/sparcv9/_fixunssfdi_s.o libgcc/sparcv9/_fixsfdi_s.o libgcc/sparcv9/_fixxfdi_s.o libgcc/sparcv9/_fixunsxfdi_s.o libgcc/sparcv9/_floatdixf_s.o libgcc/sparcv9/_fixunsxfsi_s.o libgcc/sparcv9/_fixtfdi_s.o libgcc/sparcv9/_fixunstfdi_s.o libgcc/sparcv9/_floatditf_s.o libgcc/sparcv9/_clear_cache_s.o libgcc/sparcv9/_enable_execute_stack_s.o libgcc/sparcv9/_trampoline_s.o libgcc/sparcv9/__main_s.o libgcc/sparcv9/_absvsi2_s.o libgcc/sparcv9/_absvdi2_s.o libgcc/sparcv9/_addvsi3_s.o libgcc/sparcv9/_addvdi3_s.o libgcc/sparcv9/_subvsi3_s.o libgcc/sparcv9/_subvdi3_s.o libgcc/sparcv9/_mulvsi3_s.o libgcc/sparcv9/_mulvdi3_s.o libgcc/sparcv9/_negvsi2_s.o libgcc/sparcv9/_negvdi2_s.o libgcc/sparcv9/_ctors_s.o libgcc/sparcv9/_ffssi2_s.o libgcc/sparcv9/_ffsdi2_s.o libgcc/sparcv9/_clz_s.o libgcc/sparcv9/_clzsi2_s.o libgcc/sparcv9/_clzdi2_s.o libgcc/sparcv9/_ctzsi2_s.o libgcc/sparcv9/_ctzdi2_s.o libgcc/sparcv9/_popcount_tab_s.o libgcc/sparcv9/_popcountsi2_s.o libgcc/sparcv9/_popcountdi2_s.o libgcc/sparcv9/_paritysi2_s.o libgcc/sparcv9/_paritydi2_s.o libgcc/sparcv9/_powisf2_s.o libgcc/sparcv9/_powidf2_s.o libgcc/sparcv9/_powixf2_s.o libgcc/sparcv9/_powitf2_s.o libgcc/sparcv9/_mulsc3_s.o libgcc/sparcv9/_muldc3_s.o libgcc/sparcv9/_mulxc3_s.o libgcc/sparcv9/_multc3_s.o libgcc/sparcv9/_divsc3_s.o libgcc/sparcv9/_divdc3_s.o libgcc/sparcv9/_divxc3_s.o libgcc/sparcv9/_divtc3_s.o libgcc/sparcv9/_divdi3_s.o libgcc/sparcv9/_moddi3_s.o libgcc/sparcv9/_udivdi3_s.o libgcc/sparcv9/_umoddi3_s.o libgcc/sparcv9/_udiv_w_sdiv_s.o libgcc/sparcv9/_udivmoddi4_s.o libgcc/sparcv9/unwind-dw2_s.o libgcc/sparcv9/unwind-dw2-fde_s.o libgcc/sparcv9/unwind-sjlj_s.o libgcc/sparcv9/gthr-gnat_s.o libgcc/sparcv9/unwind-c_s.o -lc && rm -f sparcv9/libgcc_s.so && if [ -f sparcv9/libgcc_s.so.1 ]; then mv -f sparcv9/libgcc_s.so.1 sparcv9/libgcc_s.so.1.backup; else true; fi && mv sparcv9/libgcc_s.so.1.tmp sparcv9/libgcc_s.so.1 && ln -s libgcc_s.so.1 sparcv9/libgcc_s.so
ld: warning: option -YP appears more than once, first setting taken
ld: fatal: file /usr/ucblib/libucb.so: wrong ELF class: ELFCLASS32
ld: fatal: File processing errors. No output written to sparcv9/libgcc_s.so.1.tmp
collect2: ld returned 1 exit status
make[3]: *** [sparcv9/libgcc_s.so] Error 1
make[3]: Target `all' not remade because of errors.
make[3]: Leaving directory `/export/home/common/compilers/gcc410obj/gcc'
make[2]: *** [stmp-multilib] Error 2
make[2]: Target `all' not remade because of errors.
make[2]: Leaving directory `/export/home/common/compilers/gcc410obj/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Target `all-host' not remade because of errors.
make[1]: Target `all-target' not remade because of errors.
make[1]: Leaving directory `/export/home/common/compilers/gcc410obj'
make: *** [all] Error 2

Compilation exited abnormally with code 2 at Thu May 18 19:03:18

Any idea?

Than-you in advance,

Stéphane


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux