Gentoo Archives: gentoo-embedded

From: Dave Flogeras <dflogeras2@×××××.com>
To: gentoo-embedded@l.g.o
Subject: [gentoo-embedded] uclibc-ng upgrade
Date: Thu, 09 Feb 2017 16:38:38
Message-Id: CANB0TnSESz8O=+hr62cdqD2u7z0QaPG11in-wyn+YNKE+5_qKg@mail.gmail.com
1 Hi all,
2
3 I have cross armv6j-hardfloat-linux-uclibceabi chroot that I use to create
4 binary packages for a raspberry pi. Typically, I use a qemu wrapper to
5 access the chroot and update the system, then the real hardware pulls the
6 binaries from there and life is good.
7
8 I finally pulled off the band-aid of updating to uclibc-ng. Other than a
9 little surface trouble (my own fault) following the guide worked well, and
10 I now have a fully up to date sysroot.
11
12 Now another use case I have, is that I use a cross toolchain that I've
13 created with crossdev to build a bunch of software projects against the arm
14 sysroot. I build and run the unit tests (via qemu) regularly as part of a
15 regression system.
16
17 I updated my cross environment to use
18 cross-armv6j-hardfloat-linux-uclibceabi/uclibc-ng (using a similar process
19 as explained in the uclibc-ng upgrade guide). However, now I cannot build
20 the cross gcc against uclibc-ng. It gets so far (to libgomp) then fails in
21 a conftest, with an error of "ld: cannot find crti.o: No such file or
22 directory". crti.o and crt1.o and crtn.o are all present in
23 /usr/armv6j-hardfloat-linux-uclibceabi/usr/lib, and owned by
24 cross-x-y-z/uclibc-ng. Not sure how to proceed. I can build cross gcc if
25 I set USE="", ie. building JUST a C compiler, no
26 fortran/cpp/openmp/nls/nptl.
27
28 Any insight would be great. Do I need to patch gcc? Is there a uclibc-ng
29 overlay like there is for musl that I cannot find?
30
31 Thanks,
32 Dave

Replies

Subject Author
Re: [gentoo-embedded] uclibc-ng upgrade Peter Stuge <peter@×××××.se>