Skip to contentSkip to conversation

New: Make 4.4.1 breaks glibc 2.38 build when cross compiling for arm_hf

Buildroot [email protected] 1 participant 3 messages May 13, 2024 – Jun 15, 2024

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=16072

Bug ID: 16072
Summary: Make 4.4.1 breaks glibc 2.38 build when cross
compiling for arm_hf
Product: buildroot
Version: 2024.02.1
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---

make 4.4.1 is showing some strange behavior when it comes to handling command line variables. Buildroot passes 'install_root' command line variable to the glibc build, this variable is processed in :

buildroot-2024.02.1/output/build/glibc-2.38-44-gd37c2b20a4787463d192b32041c3406c2bd91de0/build/config.make:

...
install_root = $(DESTDIR)
...

DESTDIR is empty
With make 4.4.1, install_root gets overridden in config.make With make 4.2.1, install_root DOES NOT get overridden

Due to this overriding, glibc tries to install its artifacts in '/' which fails

Farhan

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

[Buildroot] [Bug 16072] Make 4.4.1 breaks glibc 2.38 build when cross compiling for arm_hf

https://bugs.busybox.net/show_bug.cgi?id=16072

--- Comment #1 from Farhan Ali <[email protected]> --- Just adding this for reference:

make command-line variables cannot be overridden with simple assignment:

https://www.gnu.org/software/make/manual/html_node/Overriding.html

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw

[Buildroot] [Bug 16072] Make 4.4.1 breaks glibc 2.38 build when cross compiling for arm_hf

In reply to [email protected]

https://bugs.busybox.net/show_bug.cgi?id=16072

Yann E. MORIN <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED
                 CC|                            |[email protected]

--- Comment #2 from Yann E. MORIN <[email protected]> --- Thank you for your report.

The issue tracker for the Buildroot project has been moved to the Gitlab.com issue tracker:
https://gitlab.com/buildroot.org/buildroot/-/issues

We are taking this opportunity to close old issues in this old tracker. If you believe your issue is still relevant, please open one in the new issue tracker.

Thank you!

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot