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]

Re: No bootstrap on Solaris


Hi Jeff,

On Fri, Oct 12, 2001 at 04:25:20PM -0400, Jeff Sturm wrote:
> 
> 
> On Fri, 12 Oct 2001, Martin Kahlert wrote:
> > > Try the above without -g.  It looks like a problem assembling .stabs, at
> > > least in my case.  If that works, you might try to configure using
> > > `--with-dwarf2'.
> > Leaving out -g doesn't work either. Only omitting -m64 does the trick.
> 
> Perhaps you don't have 64-bit Solaris libs installed?  You'd find them in
> /usr/lib/sparcv9.  The error message you originally posted indicated a
> 32-bit libdl.so.
/usr/lib/sparcv9 contains a lot of files. libdl.so.1 and libdl.so are present, too.

Workshop5 compiler produces this:
$ cc -o t t.c -xtarget=ultra -xarch=v9
$ ldd t 
     libc.so.1 =>     /usr/lib/sparcv9/libc.so.1
     libdl.so.1 =>    /usr/lib/sparcv9/libdl.so.1

So everything should be in place.

Very strange since i used to compile previous versions without problems on the
exact same machine.

Here is how i configured the beast:
$ prefix=/home/kahlert/GCC
$ PATH=${prefix}/bin:$PATH
$ export PATH
$ ../gcc/configure --prefix=${prefix} --enable-languages=c++,f77,java \
  --enable-threads=posix --with-gnu-as --with-gnu-ld

/home/kahlert/GCC/bin/ already contains binutils-2.11.2.

Thanks
Martin.

-- 
The early bird catches the worm. If you want something else for       
breakfast, get up later.


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