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]
Other format: [Raw text]

problem running test_installed suite was Re: more on mips-elf test installed


Hi again,

I have verified that my toolset tests much better when in the
build tree than with test_installed and I have tracked the
difference down to this:

Executing on host: gcc /usr/share/dejagnu/testglue.c  -c    -o
/usr3/ftp_archive/gnu/gcc/ss/b-3.2.1/r-arm-elf/testglue.o    (timeout =
300)

Notice that testglue.c is being compiled by the NATIVE compiler -- not
the cross!!!  What needs to be set to make runtest use the correct 
compiler on testglue.c?

Thanks.

--joel

Joel Sherrill wrote:
> 
> Hi,
> 
> I now appear to have all the parts installed correctly but
> I am getting this weird error:
> 
> /opt/gnucross/lib/gcc-lib/mips-elf/3.2.1/../../../../mips-elf/bin/ld:
> /opt/gnucross/lib/gcc-lib/mips-elf/3.2.1/../../../../mips-elf/lib/crt0.o:
> Relocations in generic ELF (EM: 0)^M
> /opt/gnucross/lib/gcc-lib/mips-elf/3.2.1/../../../../mips-elf/lib/crt0.o:
> could not read symbols: File in wrong format^M
> collect2: ld returned 1 exit status^M
> compiler exited with status 1
> output is:
> /opt/gnucross/lib/gcc-lib/mips-elf/3.2.1/../../../../mips-elf/bin/ld:
> /opt/gnucross/lib/gcc-lib/mips-elf/3.2.1/../../../../mips-elf/lib/crt0.o:
> Relocations in generic ELF (EM: 0)^M
> 
> When I do a file on that crt0.o, I get
> 
> /opt/gnucross/lib/gcc-lib/mips-elf/3.2.1/../../../../mips-elf/lib/crt0.o:
> ELF 32-bit MSB relocatable, no machine, version 1, stripped
> 
> Even when I try a simple main(){}, I get the same error so it is not
> specific to the gcc test suite. :(
> 
> Any ideas?
> 
> Thanks.
> 
> --joel sherrill


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