bug-gnu-utils
[Top][All Lists]
Advanced

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

error bij linken met g++ (fwd)


From: Pieter.Donche
Subject: error bij linken met g++ (fwd)
Date: Tue, 16 Jan 2001 16:48:48 +0100 (MET)

Hi,

I installed bin-utils-2.9.1 on our Sun Solaris 2.6 system.
Previously we used binutils-2.8.1 (since Jan 26 1998) 

After installing (./configure reported Configuring for a
sparc-sun-solaris2.6 host. which is OK), make and make install
the binary in /usr/local/bin, libraries in /usr/local/lib and
man pages where replaced.

Immediatly after, a user reported a linking problem with g++ (2.95.1)
which was not there last week (on the same program source file)
and is most probably caused by the change of binutils:

g++ -o IeeeCC754 -L/opt/SUNWspro/lib -lsunmath -lCrun bitstring.o fp.o hex.o 
IeeeCC754.o  BasicOp/SunSparc/fpenv_SunSparc.o BasicOp/SunSparc/BasicOptest.o
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.1/libgcc.a: could not read 
symbols: Bad value
collect2: ld returned 1 exit status
make: *** [SunSparc] Error 1

I retried with configuring and making binutils from a parallel directory
objdir, as 'recommended' in the binutils/README file but it does not
change anything.

I wonder if you could tell us what is going wrong ?

(last time, with binutils-2.8.1 there where no problems..)

Yours sincerely,

Pieter
  _______________
 / Pieter Donche \____________________________________________
 | I.T. Manager                 e-mail address@hidden \
 | Dept. Mathem. & Computer Science     tel +32(0)3/820.24.29 |
 | University of Antwerp, room A2.23    fax +32(0)3/820.24.21 |
 | (UIA) Universiteitsplein 1,  B 2610 Wilrijk,  BELGIUM (EU) |
 |____________________________________________________________|




reply via email to

[Prev in Thread] Current Thread [Next in Thread]