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]

Bug in egcs 1.1 release for mips-sgi-irix6.2



	There appears to be a library search path error in the egcs 1.1
release for mips-sgi-irix6.2.  The output of egcs, whilst attempting to
build an application that requires libm.so is below:

g++ -O -DNDEBUG -v -I./ -I./common/  -o cinemond cmApp.o cmSample.o
cmSignalMan.o cmdSampleMan.o cmdProcessTable.o cmdNetworkTable.o
cmdDataMan.o cinemond.o             libCommon.a -lXm -lXt -lX11
Reading specs from /usr/local/lib/gcc-lib/mips-sgi-irix6.2/egcs-2.91.57/specs
gcc version egcs-2.91.57 19980901 (egcs-1.1 release)
 /usr/local/lib/gcc-lib/mips-sgi-irix6.2/egcs-2.91.57/collect2 -call_shared
-no_unresolved -init __do_global_ctors -fini __do_global_dtors
-_SYSTYPE_SVR4 -woff 131 -n32 -o cinemond /usr/lib32/mips3/crt1.o
/usr/local/lib/gcc-lib/mips-sgi-irix6.2/egcs-2.91.57/crtbegin.o
-L/usr/local/lib/gcc-lib/mips-sgi-irix6.2/egcs-2.91.57
-L/usr/local/mips-sgi-irix6.2/lib -L/usr/bin -L/usr/local/lib cmApp.o
cmSample.o cmSignalMan.o cmdSampleMan.o cmdProcessTable.o cmdNetworkTable.o
cmdDataMan.o cinemond.o libCommon.a -lXm -lXt -lX11 -lstdc++ -lm
-dont_warn_unused -lgcc -warn_unused -L/usr/lib32/mips3 -L/usr/lib32
-dont_warn_unused -lc -warn_unused -dont_warn_unused -lgcc -warn_unused
/usr/local/lib/gcc-lib/mips-sgi-irix6.2/egcs-2.91.57/crtend.o
/usr/lib32/mips3/crtn.o
 ld: WARNING 84: /usr/lib32/libXm.so is not used for resolving any symbol.
 ld: FATAL 9: I/O error (-lm): No such file or directory
 collect2: ld returned 32 exit status
 make: *** [cinemond] Error 1

	Note that libm.so is not found, although it exists in /usr/lib.  I
think the problem is that collect2 emits a -L/usr/bin instead of -L/usr/lib
(just prior to emitting -L/usr/local/lib).  I have been unable to find
where in the egcs source the problem arises so I can't suggest a fix at
this time.

	(Note:  This program builds successfully with SGI's compiler suite.)

	If this bug has already been reported I appologize for the
duplication.  I haven't found it in the egcs-bugs archive.

Cheers,
Bob

--
                                   Bob Amen
                                Culver City, CA
                             Visualize Whorled Peas




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