Skip to contentSkip to conversation

New: rootfs lacks /lib64 directory for 64 bits arch

Buildroot bugzilla at busybox.net 1 participant 3 messages Dec 15, 2010 – Feb 3, 2011

lore
Share & tools
lore
#0 lore raw

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

Summary: rootfs lacks /lib64 directory for 64 bits arch
Product: buildroot
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: major
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: bardon.pro at gmail.com
CC: buildroot at uclibc.org
Estimated Hours: 0.0

bug version: Buildroot-2010.11 (does not exists in version field).

When x86_64/generic (Crosstool-NG toolchain, glibc) architecture is chosen compiled executables expect to have pure 64 bit libs in lib64 :

/src/buildroot-2010.11$ ldd output/target/bin/bash

        linux-vdso.so.1 =>  (0x00007fff50fff000)
        libncurses.so.5 => /lib/libncurses.so.5 (0x00007fe7f6c2b000)
        libdl.so.2 => /lib/libdl.so.2 (0x00007fe7f6a27000)
        libc.so.6 => /lib/libc.so.6 (0x00007fe7f66d4000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fe7f6e6a000)

ld-linux-x86-64.so.2 is located in /lib.

Need to have a link from lib64 to lib in fs/skeleton :

cd fs/skeleton
ln -s /lib lib64

4 drwxr-xr-x 16 andromede andromede 4096 d?c 15 16:51 . 4 drwxr-xr-x 14 andromede andromede 4096 nov 30 16:52 ..

4 drwxr-xr-x  2 andromede andromede 4096 nov 30 16:52 bin
4 drwxr-xr-x  3 andromede andromede 4096 nov 30 16:52 dev
4 drwxr-xr-x  5 andromede andromede 4096 nov 30 16:52 etc
4 drwxr-xr-x  2 andromede andromede 4096 nov 30 16:52 home
4 drwxr-xr-x  2 andromede andromede 4096 nov 30 16:52 lib
0 lrwxrwxrwx  1 andromede andromede    4 d?c 15 16:51 lib64 -> /lib
4 drwxr-xr-x  2 andromede andromede 4096 nov 30 16:52 mnt
4 drwxr-xr-x  2 andromede andromede 4096 nov 30 16:52 opt
4 drwxr-xr-x  2 andromede andromede 4096 nov 30 16:52 proc
4 drwxr-xr-x  2 andromede andromede 4096 nov 30 16:52 root
4 drwxr-xr-x  2 andromede andromede 4096 nov 30 16:52 sbin
4 drwxr-xr-x  2 andromede andromede 4096 nov 30 16:52 sys
4 drwxr-xr-x  2 andromede andromede 4096 nov 30 16:52 tmp
4 drwxr-xr-x  6 andromede andromede 4096 nov 30 16:52 usr
4 drwxr-xr-x  3 andromede andromede 4096 nov 30 16:52 var

refs:

GCC 4.3.5
Glibc 2.11.1
(generated by Crosstool-NG 1.9)
target is Intel x86_64.

Signature · 3 lines
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.
#1 lore raw

[Buildroot] [Bug 2971] rootfs lacks /lib64 directory for 64 bits arch

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

Bardon.j <[email protected]> changed:

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

               Host|                            |x86_64-linux-gnu
            Version|unspecified                 |2009.11
   Target Milestone|2010.11                     |---
             Target|                            |x86_64-custom-linux-gnu
Signature · 3 lines
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.
#2 lore raw

[Buildroot] [Bug 2971] rootfs lacks /lib64 directory for 64 bits arch

In reply to bugzilla at busybox.net

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

Gustavo Zacarias <[email protected]> changed:

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

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Gustavo Zacarias <[email protected]> --- This has been fixed in modern versions of buildroot.

Signature · 3 lines
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.