From: Peter Korsgaard <peter@korsgaard.com>
To: Bernd Kuhls <bernd@kuhls.net>
Cc: buildroot@uclibc.org
Subject: Re: [Buildroot] [PATCH 1/2] package/{glibc, localedef}: bump to version 2.38-13-g92201f16cbcfd9eafe314ef6654be2ea7ba25675
Date: Sat, 30 Sep 2023 22:59:20 +0200 [thread overview]
Message-ID: <87r0mf74yf.fsf@48ers.dk> (raw)
In-Reply-To: <pan$74e20$83ce0131$1cf2374f$6f20e2d8@ID-313208.user.individual.net> (Bernd Kuhls's message of "Sat, 30 Sep 2023 22:08:58 +0200")
>>>>> "Bernd" == Bernd Kuhls <bernd@kuhls.net> writes:
> Am Fri, 29 Sep 2023 21:32:32 +0200 schrieb Peter Korsgaard:
>> > See:
>> > https://lists.gnu.org/archive/html/info-gnu/2023-07/msg00010.html
>>
>> > Runtime tested with Qemu on Gitlab-ci:
>> > https://gitlab.com/kubu93/buildroot/-/pipelines/998435203
>> > https://gitlab.com/buildroot.org/toolchains-builder/-/pipelines/
> 998926028
> Hi,
> with this defconfig:
> BR2_x86_64=y
> BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
> BR2_PACKAGE_DHCP=y
> this patch breaks building the dhcp package:
> Building dns library in /home/bernd/buildroot/br4/output/build/dhcp-4.4.3-
> P1/bind/bind-9.11.36/lib/dns
> ./gen: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found
> (required by ./gen)
> make[4]: *** [Makefile:601: include/dns/enumtype.h] Error 1
> make[3]: *** [Makefile:595: include] Error 2
So gen is presumably built for the target, but the build system for some
reason tries to execute it on the host - E.G. it was already a problem,
but it only happened to work before as the glibc version on your build
host matched better (was >=) than the 2.38.x version we use now.
> Please note that this build error only occurs when the target and the host
> system have the same arch. For example this defconfig builds fine:
Ok, so I guess we somehow need to convince the dhcp build system to not
execute ./gen, even if target looks compatible to the host.
> BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
> BR2_PACKAGE_DHCP=y
> "git revert 34f8d874ee" fixes the problem.
> Some infos about my host system:
> $ cat /etc/debian_version
> 12.1
I believe Debian 12 uses glibc 2.36:
https://packages.debian.org/search?keywords=libc6
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2023-09-30 21:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-11 21:09 [Buildroot] [PATCH 1/2] package/{glibc, localedef}: bump to version 2.38-13-g92201f16cbcfd9eafe314ef6654be2ea7ba25675 Romain Naour
2023-09-11 21:09 ` [Buildroot] [PATCH 2/2] package/localedef: build issue with old glibc (<= 2.38) Romain Naour
2023-09-29 19:33 ` Peter Korsgaard
2023-09-29 19:32 ` [Buildroot] [PATCH 1/2] package/{glibc, localedef}: bump to version 2.38-13-g92201f16cbcfd9eafe314ef6654be2ea7ba25675 Peter Korsgaard
2023-09-30 13:48 ` Romain Naour
[not found] ` <87edigg4hb.fsf__32334.269203578$1696015980$gmane$org@48ers.dk>
2023-09-30 20:08 ` Bernd Kuhls
2023-09-30 20:59 ` Peter Korsgaard [this message]
2023-10-02 19:53 ` Bernd Kuhls
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r0mf74yf.fsf@48ers.dk \
--to=peter@korsgaard.com \
--cc=bernd@kuhls.net \
--cc=buildroot@uclibc.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox