[Buildroot] [Bug 10996] bogus musl ARM toolchain

bugzilla at busybox.net bugzilla at busybox.net
Sun May 13 20:16:32 UTC 2018


--- Comment #3 from Thomas Petazzoni <thomas.petazzoni at free-electrons.com> ---
(In reply to Yann E. MORIN from comment #2)
Nope, because you're looking at the wrong place. The reason why the build fail
is because the "configuration" step which detects if mktime() is available or
not fails and concludes that mktime() is not available. See the string "
Check for mktime". Due to this, NO_MKTIME is defined, and this code path is
broken in util.c/timezone.c.

So there are really two problems:

 (1) That is doesn't detect the availability of mktime() because -static is not
passed during the detection test.

 (2) That the NO_MKTIME case is broken.

However, I believe (2) is not really relevant for Buildroot, as all three C
libraries provide mktime(). So all we need to fix is (1).

You are receiving this mail because:
You are on the CC list for the bug.

More information about the buildroot mailing list