This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Solaris 8 sparc to sparcv9 Cross-Compiler Problem


Greetings,
	I've been working for some time on building a sparcv9 native compiler, and
haven't quite gotten it.  I've finally run into a problem I can't seem to
find the answer for in the archives or FAQ.  I'm getting the message
"/usr/local/gcc64/sparcv9-sun-solaris2/bin/ld: cannot open values-Xa.o: No
such file or directory" when doing a make all on the cross-compiler.  The
catch is, values-Xa.o *does* exist in /usr/lib and /usr/lib/sparcv9.  There
are also symlinks in /usr/ccs/lib and /usr/ccs/lib/sparcv9.  Can anyone tell
me why the make can't find it, or if in fact it's complaining about
something else?
	Thanks in advance for any and all support!

First, the software in use:
	GCC 3.1
	Configured with:
../gcc-3.1/configure --prefix=/usr/local/gcc --with-gnu-as --with-gnu-ld --e
nable-languages=c,c++
	(compiled with gcc 2.95.2 from sunfreeware.com)

	binutils 2.12
	Configured with: ../binutils-2.12/configure --prefix=/usr/local/gcc
	(compiled with gcc 2.95.2 from sunfreeware.com)

Second, my environment:
	Sun Enterprise 250 (sparc sun4u)

Third, my build process:

	1) build 32-bit sparcv9 binutils in /usr/local/gcc64 with


../binutils-2.12/configure --prefix=/usr/local/gcc64 --with-gnu-as --with-gn
u-ld --target=sparcv9-sun-solaris2

	2) build 32-bit sparcv9 gcc with


../gcc-3.1/configure --prefix=/usr/local/gcc64 --with-gnu-as --with-gnu-ld -
-enable-languages=c,c++ --with-headers=/usr/include --target=sparcv9-sun-sol
aris2

Fourth, the detailed make failure:
	/usr/local/gcc64/sparcv9-sun-solaris2/bin/ld: cannot open values-Xa.o: No
such file or directory
	collect2: ld returned 1 exit status
	*** Error code 1
	make: Fatal error: Command failed for target `sparcv7/libgcc_s_sparcv7.so'
	Current working directory /usr/local/src/build-gcc-3.1/gcc
	*** Error code 1
	make: Fatal error: Command failed for target `stmp-multilib'
	Current working directory /usr/local/src/build-gcc-3.1/gcc
	*** Error code 1
	make: Fatal error: Command failed for target `all-gcc'



-D. Collier




------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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