Bug 11246 - Glibc 2.28 - fails to build host-bison and host-m4
Summary: Glibc 2.28 - fails to build host-bison and host-m4
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-17 18:11 UTC by happycorsair
Modified: 2018-08-29 20:07 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description happycorsair 2018-08-17 18:11:04 UTC
Bleeding edge Linux distros (such as Arch Linux or Fedora) have switched some time ago to glibc 2.28. It has broken building of bison and m4 host packages.

It can be fixed by using these patches (the same problem was found in Fedora and OpenWRT):

https://github.com/openwrt/openwrt/commit/8ae84899865ea14ce9d55cffa5de5ddd7167c680

https://github.com/openwrt/openwrt/blob/e5d47f32131849a69a9267de51a30d6be1f0d0ac/tools/bison/patches/110-glibc-change-work-around.patch
Comment 1 Thomas Petazzoni 2018-08-17 21:35:49 UTC
Separate bugs for bison and m4 would have been better. Indeed, m4 is already fixed: https://git.buildroot.org/buildroot/commit/?id=c48f8a64626c60bd1b46804b7cf1a699ff53cdf3, but Bison is not fixed yet.
Comment 2 Thomas Petazzoni 2018-08-29 20:07:53 UTC
Bison has been fixed by https://git.buildroot.org/buildroot/commit/package/bison?id=373ac58b82d2430b745e90c7c8b39e319949882a, so the bug is fixed.