* [Buildroot] uclibc-ng: bump to 1.0.18
@ 2016-09-29 18:17 Lance Fredrickson
2016-09-29 18:22 ` Waldemar Brodkorb
0 siblings, 1 reply; 5+ messages in thread
From: Lance Fredrickson @ 2016-09-29 18:17 UTC (permalink / raw)
To: buildroot
I've been anticipating uclibc-ng 1.0.18 since it follows musl's lead and
put everything (librt, libdl, pthread etc) into libc.
On a previous release of buildroot I tried changing to 1.0.18 and it
stops in the build. I also just tried a fresh clone of Master and come
upon the same error.
make[1]: Entering directory
'/home/lance/buildroot/output/build/uclibc-1.0.18/utils'
HOSTCC utils/locale.host
../extra/locale/programs/locale.c:35:32: fatal error:
bits/uClibc_locale.h: No such file or directory
#include <bits/uClibc_locale.h>
^
compilation terminated.
Makefile.in:113: recipe for target '../utils/locale.host' failed
It appears by this point that it's successfully built the the library
itself, but is failing on 'hostutils'?
I've attached a simple config that Master will fail on. Maybe should be
fixed upstream from you, but thought I'd mention it here.
Lance
-------------- next part --------------
BR2_arm=y
BR2_cortex_a9=y
BR2_OPTIMIZE_2=y
BR2_TOOLCHAIN_BUILDROOT_INET_RPC=y
BR2_TOOLCHAIN_BUILDROOT_LOCALE=y
BR2_TOOLCHAIN_BUILDROOT_USE_SSP=y
# BR2_UCLIBC_INSTALL_UTILS is not set
BR2_BINUTILS_VERSION_2_25_X=y
BR2_GCC_VERSION_6_X=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_INIT_NONE=y
# BR2_PACKAGE_BUSYBOX is not set
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] uclibc-ng: bump to 1.0.18
2016-09-29 18:17 [Buildroot] uclibc-ng: bump to 1.0.18 Lance Fredrickson
@ 2016-09-29 18:22 ` Waldemar Brodkorb
2016-09-29 22:00 ` Lance Fredrickson
0 siblings, 1 reply; 5+ messages in thread
From: Waldemar Brodkorb @ 2016-09-29 18:22 UTC (permalink / raw)
To: buildroot
Hi Lance,
Lance Fredrickson wrote,
> I've been anticipating uclibc-ng 1.0.18 since it follows musl's lead and put
> everything (librt, libdl, pthread etc) into libc.
> On a previous release of buildroot I tried changing to 1.0.18 and it stops
> in the build. I also just tried a fresh clone of Master and come upon the
> same error.
>
> make[1]: Entering directory
> '/home/lance/buildroot/output/build/uclibc-1.0.18/utils'
> HOSTCC utils/locale.host
> ../extra/locale/programs/locale.c:35:32: fatal error: bits/uClibc_locale.h:
> No such file or directory
> #include <bits/uClibc_locale.h>
> ^
> compilation terminated.
> Makefile.in:113: recipe for target '../utils/locale.host' failed
>
It is fixed upstream and a patch was sent to br mailinglist.
I enabled the locale utility for target testing while playing with
uClibc-ng locale support, but haven't recognized that buildroot
als build all utils host variants.
:)
best regards
Waldemar
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] uclibc-ng: bump to 1.0.18
2016-09-29 18:22 ` Waldemar Brodkorb
@ 2016-09-29 22:00 ` Lance Fredrickson
2016-09-30 2:57 ` Waldemar Brodkorb
0 siblings, 1 reply; 5+ messages in thread
From: Lance Fredrickson @ 2016-09-29 22:00 UTC (permalink / raw)
To: buildroot
On 9/29/2016 12:22 PM, Waldemar Brodkorb wrote:
> It is fixed upstream and a patch was sent to br mailinglist.
Thanks, that seems to take care of it.
I'm running into one more hiccup, and I'm not sure whether this is more
buildroot or uclibc-ng.
I've been using buildroot primarily for its ability to create
toolchains, I haven't been compiling any included packages. For my
purposes I need backtrace support, so I add "UCLIBC_HAS_BACKTRACE=y"
into uClibc-ng.config. Now when doing the final GCC compilation where
it appears to be creating libgcc, I get the following error.
/opt/tomatoware/arm-soft-mmc/usr/arm-buildroot-linux-uclibcgnueabi/bin/ld:
cannot find /lib/libubacktrace.so.1
My guess as to what's happening is is that ld is told to link with
backtrace, but that functionality has been has been put into libc. At
the location of the toolchain libraries, I created some symlinks from
backtrace (libubacktrace.so...) to libc and this made it happy and it
finished compiling the toolchain. So I think either in the compilation
process, it needs to not pass backtrace to the linker, or it needs a
symlink to libc like I've placed.
Lance
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] uclibc-ng: bump to 1.0.18
2016-09-29 22:00 ` Lance Fredrickson
@ 2016-09-30 2:57 ` Waldemar Brodkorb
2016-09-30 5:05 ` Lance Fredrickson
0 siblings, 1 reply; 5+ messages in thread
From: Waldemar Brodkorb @ 2016-09-30 2:57 UTC (permalink / raw)
To: buildroot
Hi Lance,
Lance Fredrickson wrote,
> On 9/29/2016 12:22 PM, Waldemar Brodkorb wrote:
> >It is fixed upstream and a patch was sent to br mailinglist.
>
> Thanks, that seems to take care of it.
> I'm running into one more hiccup, and I'm not sure whether this is more
> buildroot or uclibc-ng.
>
> I've been using buildroot primarily for its ability to create toolchains, I
> haven't been compiling any included packages. For my purposes I need
> backtrace support, so I add "UCLIBC_HAS_BACKTRACE=y" into uClibc-ng.config.
> Now when doing the final GCC compilation where it appears to be creating
> libgcc, I get the following error.
>
> /opt/tomatoware/arm-soft-mmc/usr/arm-buildroot-linux-uclibcgnueabi/bin/ld:
> cannot find /lib/libubacktrace.so.1
>
> My guess as to what's happening is is that ld is told to link with
> backtrace, but that functionality has been has been put into libc. At the
> location of the toolchain libraries, I created some symlinks from backtrace
> (libubacktrace.so...) to libc and this made it happy and it finished
> compiling the toolchain. So I think either in the compilation process, it
> needs to not pass backtrace to the linker, or it needs a symlink to libc
> like I've placed.
I think another uClibc-ng regression, can you please try attached
buildroot patch?
best regards
Waldemar
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-uclibc-remove-linker-scripts-for-libubacktrace-libua.patch
Type: text/x-diff
Size: 4654 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20160930/0f06e85a/attachment.bin>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] uclibc-ng: bump to 1.0.18
2016-09-30 2:57 ` Waldemar Brodkorb
@ 2016-09-30 5:05 ` Lance Fredrickson
0 siblings, 0 replies; 5+ messages in thread
From: Lance Fredrickson @ 2016-09-30 5:05 UTC (permalink / raw)
To: buildroot
On 9/29/2016 8:57 PM, Waldemar Brodkorb wrote:
> I think another uClibc-ng regression, can you please try attached
> buildroot patch?
Thanks for you attention to this!
The patch for Rules.mak takes out 1 too many 'endif' statements. Adding
in the missing one allowed the toolchain to compile without issue.
Lance
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-09-30 5:05 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-29 18:17 [Buildroot] uclibc-ng: bump to 1.0.18 Lance Fredrickson
2016-09-29 18:22 ` Waldemar Brodkorb
2016-09-29 22:00 ` Lance Fredrickson
2016-09-30 2:57 ` Waldemar Brodkorb
2016-09-30 5:05 ` Lance Fredrickson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox