This is the mail archive of the gcc@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: egcs-19980628 & blitz++


Gerald -

Thanks for the tip.  Even tho I set the binutils-2.9.1 bin
directory first in the PATH env variable (and binutils lib
first in LD_LIBRARY_PATH), it looks like
collect2 is picking up stuff from /usr/ccs/lib.  

How can I make sure that the binutils as and ld will be
invoked?

Thanks again,
- Ted

Reading specs from
/local/swl/egcs-19980628/SunOS5/lib/gcc-lib/sparc-sun-solaris2.5.1/egcs-2.91.43/specs
gcc version egcs-2.91.43 19980628 (gcc2 ss-980502 experimental)
/local/swl/egcs-19980628/SunOS5/lib/gcc-lib/sparc-sun-solaris2.5.1/egcs-2.91.43/collect2
-V -Y P,/usr/ccs/lib:/usr/lib -Qy -o array
/local/swl/egcs-19980628/SunOS5/lib/gcc-lib/sparc-sun-solaris2.5.1/egcs-2.91.43/crt1.o
/local/swl/egcs-19980628/SunOS5/lib/gcc-lib/sparc-sun-solaris2.5.1/egcs-2.91.43/crti.o
/usr/ccs/lib/values-Xa.o
/local/swl/egcs-19980628/SunOS5/lib/gcc-lib/sparc-sun-solaris2.5.1/egcs-2.91.43/crtbegin.o
-L../lib
-L/local/swl/egcs-19980628/SunOS5/lib/gcc-lib/sparc-sun-solaris2.5.1/egcs-2.91.43
-L/local/swl/egcs-19980628/SunOS5/sparc-sun-solaris2.5.1/lib
-L/usr/ccs/bin -L/usr/ccs/lib -L/local/swl/egcs-19980628/SunOS5/lib
array.o -lblitz -lstdc++ -lm -lgcc -lc -lgcc
/local/swl/egcs-19980628/SunOS5/lib/gcc-lib/sparc-sun-solaris2.5.1/egcs-2.91.43/crtend.o
/local/swl/egcs-19980628/SunOS5/lib/gcc-lib/sparc-sun-solaris2.5.1/egcs-2.91.43/crtn.o
ld: Software Generation Utilities (SGU) SunOS/ELF (LK-2.0 (S/I) -
versioning)
ld: warning: file array.o: relocation against external symbol
`__t13_bz_ArrayExpr1Zt15_bz_ArrayExprOp3Zt21_bz_ArrayExprConstant1ZdZt13_bz_ArrayExpr1Zt15_bz_ArrayExprOp3Zt13_bz_ArrayExpr1Zt15_bz_ArrayExprOp3Zt13_bz_ArrayExpr1Zt15_bz_ArrayExprOp3Zt13_bz_ArrayExpr1Zt15_bz_ArrayExprOp3Zt13_bz_ArrayExpr1Zt15_bz_ArrayExprOp3Zt13_bz_ArrayExpr1Zt15_bz_ArrayExprOp3Zt13_bz_ArrayExpr1Zt15_bz_ArrayExprOp3Zt21_bz_ArrayExprConstant1ZdZt13ArrayIterator2Zfi3Zt8Multiply2ZdZfZt13ArrayIterator2Zfi3Zt3Add2ZdZfZt13ArrayIterator2Zfi3Zt3Add2ZdZfZt13ArrayIterator2Zfi3Zt3Add2ZdZfZt13ArrayIterator2Zfi3Zt3Add2ZdZfZt13ArrayIterator2Zfi3Zt3Add2ZdZfZt13ArrayIterator2Zfi3Zt3Add2ZdZfZt8Multiply2ZdZdRCt13_bz_ArrayExpr1Zt15_bz_ArrayExprOp3Zt21_bz_ArrayExprConstant1ZdZt13_bz_ArrayExpr1Zt15_bz_ArrayExprOp3Zt13_bz_ArrayExpr1Zt15_bz_ArrayExprOp3Zt13_bz_ArrayExpr1Zt15_bz_ArrayExprOp3Zt1'
	from a non-allocatable section `.stab'
	cannot be processed at runtime: relocation ignored
Undefined			first referenced
 symbol  			    in file
__t13_bz_ArrayExpr1Zt15_bz_ArrayExprOp3Zt21_bz_ArrayExprConstant1ZdZt13_bz_ArrayExpr1Zt15_bz_ArrayExprOp3Zt13_bz_ArrayExpr1Zt15_bz_ArrayExprOp3Zt13_bz_ArrayExpr1Zt15_bz_ArrayExprOp3Zt13_bz_ArrayExpr1Zt15_bz_ArrayExprOp3Zt13_bz_ArrayExpr1Zt15_bz_ArrayExprOp3Zt13_bz_ArrayExpr1Zt15_bz_ArrayExprOp3Zt13_bz_ArrayExpr1Zt15_bz_ArrayExprOp3Zt21_bz_ArrayExprConstant1ZdZt13ArrayIterator2Zfi3Zt8Multiply2ZdZfZt13ArrayIterator2Zfi3Zt3Add2ZdZfZt13ArrayIterator2Zfi3Zt3Add2ZdZfZt13ArrayIterator2Zfi3Zt3Add2ZdZfZt13ArrayIterator2Zfi3Zt3Add2ZdZfZt13ArrayIterator2Zfi3Zt3Add2ZdZfZt13ArrayIterator2Zfi3Zt3Add2ZdZfZt8Multiply2ZdZdRCt13_bz_ArrayExpr1Zt15_bz_ArrayExprOp3Zt21_bz_ArrayExprConstant1ZdZt13_bz_ArrayExpr1Zt15_bz_ArrayExprOp3Zt13_bz_ArrayExpr1Zt15_bz_ArrayExprOp3Zt13_bz_ArrayExpr1Zt15_bz_ArrayExprOp3Zt1
array.o
ld: fatal: Symbol referencing errors. No output written to array
collect2: ld returned 1 exit status



Gerald Pfeifer wrote:
> 
> On Fri, 3 Jul 1998, Ted Irons wrote:
> > On a Solaris 2.5.1 machine using egcs-19980628 and binutils-2.9.1:
> >
> > While compiling array.cpp in the examples directory of the blitz++
> > (blitz-0.3-alpha-01) library (from http://monet.uwaterloo.ca/blitz/ )
> > I get the following error.
> 
> Hmm, this is just a wild guess, but just to make sure: Are you indeed
> using ld from binutils (and not Sun's as, e.g.)?
> 
> You can check this out by adding the -v option the invocations of gcc/g++.
> 
> Gerald
> --
> Gerald Pfeifer (Jerry)      Vienna University of Technology
> pfeifer@dbai.tuwien.ac.at   http://www.dbai.tuwien.ac.at/~pfeifer/


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