Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 6452] New: eglibc from Linaro 2013.07 not copied to target correctly
@ 2013-08-14  5:11 bugzilla at busybox.net
  2013-10-02 13:20 ` [Buildroot] [Bug 6452] " bugzilla at busybox.net
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2013-08-14  5:11 UTC (permalink / raw)
  To: buildroot

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

           Summary: eglibc from Linaro 2013.07 not copied to target
                    correctly
           Product: buildroot
           Version: 2013.05
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P5
         Component: Other
        AssignedTo: unassigned at buildroot.uclibc.org
        ReportedBy: henry at echelon.com
                CC: buildroot at uclibc.org
   Estimated Hours: 0.0


Created attachment 5042
  --> https://bugs.busybox.net/attachment.cgi?id=5042
Preserve toolchain sysroot lib's directory structure on target

When building buildroot with Linaro 2013.07 (configured as external or custom
tool), the target would fail to come up, with error:

/sbin/init: error while loading shared libraries: libc.so.6: cannot open shared
object file: No such file or directory

The reason is that starting with Linaro 2013.07, they switched to eglibc-2.17
with multi-arch support. Arch-specific libraries, including libc.so.6, are
expected to be in /lib/arm-linux-gnueabihf/ instead of just /lib. However,
copy_toolchain_lib_root() in helper.mk would end up copying them to /lib rather
than arch-specific directories.

Attached is my own patch to preserve the toolchain sysroot's lib directory
structure, except for SUPPORT_LIB_DIR which are still copied directly under
DESTDIR.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [Bug 6452] eglibc from Linaro 2013.07 not copied to target correctly
  2013-08-14  5:11 [Buildroot] [Bug 6452] New: eglibc from Linaro 2013.07 not copied to target correctly bugzilla at busybox.net
@ 2013-10-02 13:20 ` bugzilla at busybox.net
  2013-10-06 14:32 ` bugzilla at busybox.net
  2013-10-30 21:54 ` bugzilla at busybox.net
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2013-10-02 13:20 UTC (permalink / raw)
  To: buildroot

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

--- Comment #1 from Jaap Crezee <jaap@jcz.nl> 2013-10-02 13:20:54 UTC ---
I am having the same issue with the current master of buildroot-git. When
building binaries with the linaro toolchain, generated binaries expect
libc.so.6 to be in /lib/arm-linux-gnueabihf/ but they are only copied to /lib .
A simple symlink also resolves the issue, but I argue with myself if this is
correct...

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [Bug 6452] eglibc from Linaro 2013.07 not copied to target correctly
  2013-08-14  5:11 [Buildroot] [Bug 6452] New: eglibc from Linaro 2013.07 not copied to target correctly bugzilla at busybox.net
  2013-10-02 13:20 ` [Buildroot] [Bug 6452] " bugzilla at busybox.net
@ 2013-10-06 14:32 ` bugzilla at busybox.net
  2013-10-30 21:54 ` bugzilla at busybox.net
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2013-10-06 14:32 UTC (permalink / raw)
  To: buildroot

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

--- Comment #2 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 2013-10-06 14:32:41 UTC ---
I've sent a fix for this problem as part of the patch set at
http://lists.busybox.net/pipermail/buildroot/2013-October/079647.html.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [Bug 6452] eglibc from Linaro 2013.07 not copied to target correctly
  2013-08-14  5:11 [Buildroot] [Bug 6452] New: eglibc from Linaro 2013.07 not copied to target correctly bugzilla at busybox.net
  2013-10-02 13:20 ` [Buildroot] [Bug 6452] " bugzilla at busybox.net
  2013-10-06 14:32 ` bugzilla at busybox.net
@ 2013-10-30 21:54 ` bugzilla at busybox.net
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2013-10-30 21:54 UTC (permalink / raw)
  To: buildroot

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

Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 2013-10-30 21:54:18 UTC ---
This has now been fixed in the latest master by adding a symlink in /lib.
Another fix was needed to create a symlink in /usr/lib, and this patch is
pending in the for-peter-2013.11 branch. Marking this bug as fixed.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-10-30 21:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-14  5:11 [Buildroot] [Bug 6452] New: eglibc from Linaro 2013.07 not copied to target correctly bugzilla at busybox.net
2013-10-02 13:20 ` [Buildroot] [Bug 6452] " bugzilla at busybox.net
2013-10-06 14:32 ` bugzilla at busybox.net
2013-10-30 21:54 ` bugzilla at busybox.net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox