[uClibc]make test fails msoft-float/crtbegin.o missing for m68k-elf
Eldridge Mount
eldridge at labxtechnologies.com
Mon Jan 13 17:55:46 UTC 2003
Brad,
I had the same difficulty building uClibc-0.9.16 for the ColdFire
M5272C3 board; basically, I'm working with the cross-compiler toolchain
from the ColdFire uClinux port, and building uClibc wrappers. I wound
up creating symbolic links from .../msoft-float/crtbegin.o to
../crtbegin.o to take care of this; apparently the wrappers aren't aware
that these are common to all the architectures. Also, I have been
totally unable to build uClibc with position-independent code and get it
to link correctly to other position-independent code; even using static
libraries. If I could get that to work, I'd try building the GCC
toolchain again with --enable-shared so that I could build uClibc and my
own libs as shared libraries, but I get "relocation truncated" all over
the place.
- regards,
Eldridge Mount
Lab X Technologies, LLC
-----Original Message-----
From: uclibc-admin at uclibc.org [mailto:uclibc-admin at uclibc.org] On Behalf
Of Brad Clements
Sent: Monday, January 13, 2003 11:52 AM
To: uclibc at uclibc.org
Subject: [uClibc]make test fails msoft-float/crtbegin.o missing for
m68k-elf
My goal is to get Python 2.3 running on the Arcturus uCdimm Coldfire
5272 board.
I'm using a recent CVS checkout of uClinux, and kernel 2.4.x
I'm using the latest toolchain from ucLinux, m68k-elf-tools-20020410.tgz
I've configured uClibc 0.9.16 for floating point, math support with no
FPU, PIC
after make, make install, I set my path to DEVEL/usr/bin and then switch
to the uclibc
test directory and try to make the test, it fails as shown below.
I'm assuming that the msoft-float/crtbegin refs are hard-coded into the
m68k-elf
compiler, though I see reference in the changelog from August 2002 that
the gcc
wrapper is supposed to "fix" this. Perhaps I misread the changelog.
Of course, what I'm really trying to do is to get python's ./configure
to work, but it dies
with the same error shown below so .. first steps first.
any ideas?
Thanks
in: /var/local/src/uClibc-0.9.16/test
Compiling vs uClibc:
../../extra/gcc-uClibc/m68k-uclibc-gcc -Wall -Os -fomit-frame-pointer
--uclibc-use-build-dir -c arg_test.c -o arg_test.o
../../extra/gcc-uClibc/m68k-uclibc-gcc -s -Wl,-warn-common
--uclibc-use-build-dir arg_test.o -o arg_test
m68k-elf-gcc:
/usr/local/lib/gcc-lib/m68k-elf/2.95.3/msoft-float/crtbegin.o: No such
file or directory
m68k-elf-gcc:
/usr/local/lib/gcc-lib/m68k-elf/2.95.3/msoft-float/crtend.o: No such
file or directory
make[1]: *** [arg_test] Error 1
make[1]: Leaving directory `/var/local/src/uClibc-0.9.16/test/args'
--
Brad Clements, bkc at murkworks.com (315)268-1000
http://www.murkworks.com (315)268-9812 Fax
http://www.wecanstopspam.org/ AOL-IM: BKClements
_______________________________________________
uClibc mailing list
uClibc at uclibc.org
http://uclibc.org/mailman/listinfo/uclibc
More information about the uClibc
mailing list