* compiling C++ app for RM9150 board
@ 2006-05-26 8:57 Roman Mashak
2006-05-26 8:57 ` Roman Mashak
0 siblings, 1 reply; 2+ messages in thread
From: Roman Mashak @ 2006-05-26 8:57 UTC (permalink / raw)
To: linux-mips
Hello!
So, I succefully booted with PMC-sierra board RM9150. Now I need to compile
and test some C++ application on it. I use toolchain provided by PMC-sierra
and use the following compilation flags:
Creating .depend
mips64-linux-gnu-g++ -Wall -mips1 -mabi=32 -M main.cpp cmd.cpp ../ep.c >
.depend
Compiling main.cpp
mips64-linux-gnu-g++ -c -Wall -mips1 -mabi=32 main.cpp -o main.o
Compiling cmd.cpp
mips64-linux-gnu-g++ -c -Wall -mips1 -mabi=32 cmd.cpp -o cmd.o
Linking linkd
mips64-linux-gnu-g++ main.o cmd.o ../ep.c ../lib/api.a -o linkd -m
elf32btsmip
At linking stage I get whole bunch of errors:
/opt/redhat/mips64linux-031001/H-i686-pc-linux-gnulibc2.2/lib/gcc-lib/mips64-linux-gnu/3.3-mips64linux-031001/../../../../mips64-linux-gnu/bin/ld:
main.o: ABI is incompatible with that of the selected emulation
File format not recognized: failed to merge target specific data of file
main.o
/opt/redhat/mips64linux-031001/H-i686-pc-linux-gnulibc2.2/lib/gcc-lib/mips64-linux-gnu/3.3-mips64linux-031001/../../../../mips64-linux-gnu/bin/ld:
cmdProc.o: ABI is incompatible with that of the selected emulation
File format not recognized: failed to merge target specific data of file
cmdProc.o
/opt/redhat/mips64linux-031001/H-i686-pc-linux-gnulibc2.2/lib/gcc-lib/mips64-linux-gnu/3.3-mips64linux-031001/../../../../mips64-linux-gnu/bin/ld:
../lib/clnkapi.a(clnkethapilnx.o): ABI is incompatible with that of the
selected emulation
File format not recognized: failed to merge target specific data of file
../lib/clnkapi.a(clnkethapilnx.o)
/opt/redhat/mips64linux-031001/H-i686-pc-linux-gnulibc2.2/lib/gcc-lib/mips64-linux-gnu/3.3-mips64linux-031001/../../../../mips64-linux-gnu/bin/ld:
BFD 2.13-mips64linux-031001 20020920 assertion fail
/es/build/mips64linux/devo/bfd/elfxx-mips.c:1775
/opt/redhat/mips64linux-031001/H-i686-pc-linux-gnulibc2.2/lib/gcc-lib/mips64-linux-gnu/3.3-mips64linux-031001/../../../../mips64-linux-gnu/bin/ld:
BFD 2.13-mips64linux-031001 20020920 assertion fail
/es/build/mips64linux/devo/bfd/elfxx-mips.c:1778
main.o: In function `main':
main.o(.text+0x28): relocation truncated to fit: R_MIPS_GOT16 card
/opt/redhat/mips64linux-031001/H-i686-pc-linux-gnulibc2.2/lib/gcc-lib/mips64-linux-gnu/3.3-mips64linux-031001/../../../../mips64-linux-gnu/bin/ld:
BFD 2.13-mips64linux-031001 20020920 assertion fail
/es/build/mips64linux/devo/bfd/elfxx-mips.c:1775
/opt/redhat/mips64linux-031001/H-i686-pc-linux-gnulibc2.2/lib/gcc-lib/mips64-linux-gnu/3.3-mips64linux-031001/../../../../mips64-linux-gnu/bin/ld:
BFD 2.13-mips64linux-031001 20020920 assertion fail
/es/build/mips64linux/devo/bfd/elfxx-mips.c:1778
main.o(.text+0x48): relocation truncated to fit: R_MIPS_CALL16
getopt@@GLIBC_2.0
.... and so on
Seems I have some mismatch with formats?
I appreciate any hints. Thanks in advance!
With best regards, Roman Mashak. E-mail: mrv@corecom.co.kr
^ permalink raw reply [flat|nested] 2+ messages in thread
* compiling C++ app for RM9150 board
2006-05-26 8:57 compiling C++ app for RM9150 board Roman Mashak
@ 2006-05-26 8:57 ` Roman Mashak
0 siblings, 0 replies; 2+ messages in thread
From: Roman Mashak @ 2006-05-26 8:57 UTC (permalink / raw)
To: linux-mips
Hello!
So, I succefully booted with PMC-sierra board RM9150. Now I need to compile
and test some C++ application on it. I use toolchain provided by PMC-sierra
and use the following compilation flags:
Creating .depend
mips64-linux-gnu-g++ -Wall -mips1 -mabi=32 -M main.cpp cmd.cpp ../ep.c >
.depend
Compiling main.cpp
mips64-linux-gnu-g++ -c -Wall -mips1 -mabi=32 main.cpp -o main.o
Compiling cmd.cpp
mips64-linux-gnu-g++ -c -Wall -mips1 -mabi=32 cmd.cpp -o cmd.o
Linking linkd
mips64-linux-gnu-g++ main.o cmd.o ../ep.c ../lib/api.a -o linkd -m
elf32btsmip
At linking stage I get whole bunch of errors:
/opt/redhat/mips64linux-031001/H-i686-pc-linux-gnulibc2.2/lib/gcc-lib/mips64-linux-gnu/3.3-mips64linux-031001/../../../../mips64-linux-gnu/bin/ld:
main.o: ABI is incompatible with that of the selected emulation
File format not recognized: failed to merge target specific data of file
main.o
/opt/redhat/mips64linux-031001/H-i686-pc-linux-gnulibc2.2/lib/gcc-lib/mips64-linux-gnu/3.3-mips64linux-031001/../../../../mips64-linux-gnu/bin/ld:
cmdProc.o: ABI is incompatible with that of the selected emulation
File format not recognized: failed to merge target specific data of file
cmdProc.o
/opt/redhat/mips64linux-031001/H-i686-pc-linux-gnulibc2.2/lib/gcc-lib/mips64-linux-gnu/3.3-mips64linux-031001/../../../../mips64-linux-gnu/bin/ld:
../lib/clnkapi.a(clnkethapilnx.o): ABI is incompatible with that of the
selected emulation
File format not recognized: failed to merge target specific data of file
../lib/clnkapi.a(clnkethapilnx.o)
/opt/redhat/mips64linux-031001/H-i686-pc-linux-gnulibc2.2/lib/gcc-lib/mips64-linux-gnu/3.3-mips64linux-031001/../../../../mips64-linux-gnu/bin/ld:
BFD 2.13-mips64linux-031001 20020920 assertion fail
/es/build/mips64linux/devo/bfd/elfxx-mips.c:1775
/opt/redhat/mips64linux-031001/H-i686-pc-linux-gnulibc2.2/lib/gcc-lib/mips64-linux-gnu/3.3-mips64linux-031001/../../../../mips64-linux-gnu/bin/ld:
BFD 2.13-mips64linux-031001 20020920 assertion fail
/es/build/mips64linux/devo/bfd/elfxx-mips.c:1778
main.o: In function `main':
main.o(.text+0x28): relocation truncated to fit: R_MIPS_GOT16 card
/opt/redhat/mips64linux-031001/H-i686-pc-linux-gnulibc2.2/lib/gcc-lib/mips64-linux-gnu/3.3-mips64linux-031001/../../../../mips64-linux-gnu/bin/ld:
BFD 2.13-mips64linux-031001 20020920 assertion fail
/es/build/mips64linux/devo/bfd/elfxx-mips.c:1775
/opt/redhat/mips64linux-031001/H-i686-pc-linux-gnulibc2.2/lib/gcc-lib/mips64-linux-gnu/3.3-mips64linux-031001/../../../../mips64-linux-gnu/bin/ld:
BFD 2.13-mips64linux-031001 20020920 assertion fail
/es/build/mips64linux/devo/bfd/elfxx-mips.c:1778
main.o(.text+0x48): relocation truncated to fit: R_MIPS_CALL16
getopt@@GLIBC_2.0
.... and so on
Seems I have some mismatch with formats?
I appreciate any hints. Thanks in advance!
With best regards, Roman Mashak. E-mail: mrv@corecom.co.kr
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-05-26 8:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-26 8:57 compiling C++ app for RM9150 board Roman Mashak
2006-05-26 8:57 ` Roman Mashak
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox