Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid bfd target #28

Open
ctx2002 opened this issue Sep 25, 2019 · 0 comments
Open

Invalid bfd target #28

ctx2002 opened this issue Sep 25, 2019 · 0 comments

Comments

@ctx2002
Copy link

ctx2002 commented Sep 25, 2019

Hi:

I am try to build a xinu qemu image.
here is how I have done.

1> use docker to pull download , dockcross/linux-mipsel cross compiler.
$CC -v has following output:

Using built-in specs.
COLLECT_GCC=/usr/bin/mipsel-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/mipsel-linux-gnu/4.9/lto-wrapper
Target: mipsel-linux-gnu
Configured with: ../src/configure -v --with-pkgversion=' 4.9.2-10' --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs --enable-languages=c,c++,go,fortran,objc --prefix=/usr --program-suffix=-4.9 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libitm --disable-libsanitizer --disable-libquadmath --enable-plugin --with-system-zlib --enable-multiarch --with-arch-32=mips2 --with-tune-32=mips32 --disable-multilib --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=mipsel-linux-gnu --program-prefix=mipsel-linux-gnu-
Thread model: posix
gcc version 4.9.2 ( 4.9.2-10)

2> ran this command to build xinu for qemu

make -C compile PLATFORM=mipsel-qemu COMPILER_ROOT=/usr/bin/mipsel-linux-gnu-

and have got following error message:

make: Entering directory '/xinu/compile'
-e Compiling ../system/initialize.o
-e Object Copy data/testarp.pcap.o
/usr/bin/mipsel-linux-gnu-objcopy:data/testarp.pcap.o: Invalid bfd target
Makefile:362: recipe for target 'data/testarp.pcap.o' failed
make: *** [data/testarp.pcap.o] Error 1
make: Leaving directory '/xinu/compile'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant