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

problem building 3.2 on solaris 2.8


Howdy,

I am experiencing the following problem on my solaris 2.8 system (I'm
building with the disable-multilib option now:

configure:2286: checking whether the C compiler
(/tmp/tools/gcc/gcc/obj.sparc-sun-solaris2.8/gcc/xgcc
-B/tmp/tools/gcc/gcc/obj.sparc-sun-solaris2.8/gcc/
-B/usr/lsd/SunOS.5.8/sparc-sun-solaris2.8/bin/
-B/usr/lsd/SunOS.5.8/sparc-sun-solaris2.8/lib/ -isystem
/usr/lsd/SunOS.5.8/sparc-sun-solaris2.8/include  -m64 -g -O2 ) works
configure:2302: /tmp/tools/gcc/gcc/obj.sparc-sun-solaris2.8/gcc/xgcc
-B/tmp/tools/gcc/gcc/obj.sparc-sun-solaris2.8/gcc/
-B/usr/lsd/SunOS.5.8/sparc-sun-solaris2.8/bin/
-B/usr/lsd/SunOS.5.8/sparc-sun-solaris2.8/lib/ -isystem
/usr/lsd/SunOS.5.8/sparc-sun-solaris2.8/include  -m64 -o conftest -g -O2
conftest.c  1>&5
ld: warning: file
/tmp/tools/gcc/gcc/obj.sparc-sun-solaris2.8/gcc/libgcc_eh.a(unwind-dw2-fde.o):

wrong ELF class: ELFCLASS32
Undefined                       first referenced
 symbol                             in file
__register_frame_info
/usr/lsd/SunOS.5.8/lib/gcc-lib/sparc-sun-solaris2.8/3.2/sparcv9/crtbegin.o
__deregister_frame_info
/usr/lsd/SunOS.5.8/lib/gcc-lib/sparc-sun-solaris2.8/3.2/sparcv9/crtbegin.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:

#line 2297 "configure"
#include "confdefs.h"

main(){return(0);}



config options:


../configure --prefix=/usr/lsd/$osname --verbose       \
              --x-includes=/usr/openwin/include         \
              --x-libraries=/usr/openwin/lib


compiler/assembler/loader versions: Note, suns assembler and loader.



which gcc
/usr/lsd/SunOS.5.8/bin/gcc

 gcc --version
gcc (GCC) 3.2 20020601 (experimental)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


 which as
/usr/ccs/bin/as

 which ld
/usr/ccs/bin/ld










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