Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 6446] New: eglibc doesn't install ldconfig to target
@ 2013-08-12 14:44 bugzilla at busybox.net
  2014-02-07  9:03 ` [Buildroot] [Bug 6446] " bugzilla at busybox.net
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2013-08-12 14:44 UTC (permalink / raw)
  To: buildroot

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

           Summary: eglibc doesn't install ldconfig to target
           Product: buildroot
           Version: 2013.05
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P5
         Component: Other
        AssignedTo: unassigned at buildroot.uclibc.org
        ReportedBy: bluemrp9 at gmail.com
                CC: buildroot at uclibc.org
   Estimated Hours: 0.0


Created attachment 5030
  --> https://bugs.busybox.net/attachment.cgi?id=5030
install ldconfig to target

I am not 100% sure this is a bug.  I noticed that when using the new
experimental eglibc package, ldconfig does not get installed to the target. 
Attached is a patch.  I'm also not sure if anything else needs installed as
well (like ldd).

-- 
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 6446] eglibc doesn't install ldconfig to target
  2013-08-12 14:44 [Buildroot] [Bug 6446] New: eglibc doesn't install ldconfig to target bugzilla at busybox.net
@ 2014-02-07  9:03 ` bugzilla at busybox.net
  2014-02-07 14:52 ` bugzilla at busybox.net
  2014-02-07 15:09 ` bugzilla at busybox.net
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2014-02-07  9:03 UTC (permalink / raw)
  To: buildroot

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

--- Comment #1 from Thomas De Schampheleire <patrickdepinguin+buildroot@gmail.com> 2014-02-07 09:03:19 UTC ---
ldconfig, nor ldd, are required components on the target system.
These are not installed by default, even when using an external toolchain.

ldconfig basically updates /etc/ld.so.conf, which can be done by hand.
ldd just runs the executable with the env variable LD_TRACE_LOADED_OBJECTS=1
set, so you can obtain the same behavior with:

LD_TRACE_LOADED_OBJECTS=1 /usr/bin/foo



So I indeed don't think this is a bug.
What do other developers think?

-- 
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 6446] eglibc doesn't install ldconfig to target
  2013-08-12 14:44 [Buildroot] [Bug 6446] New: eglibc doesn't install ldconfig to target bugzilla at busybox.net
  2014-02-07  9:03 ` [Buildroot] [Bug 6446] " bugzilla at busybox.net
@ 2014-02-07 14:52 ` bugzilla at busybox.net
  2014-02-07 15:09 ` bugzilla at busybox.net
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2014-02-07 14:52 UTC (permalink / raw)
  To: buildroot

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

--- Comment #2 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 2014-02-07 14:52:49 UTC ---
I agree that this is not a bug: there is no point in having ldconfig installed
to the target, since we don't support doing development on target. Therefore,
the ld.so.cache should be generated at build time, on the build machine.

That said, I believe there is a ldconfig problem: if none was found in the
cross-compilation toolchain, we use the one from the build machine, which is
wrong. But this is not per-se related to this bug.

-- 
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 6446] eglibc doesn't install ldconfig to target
  2013-08-12 14:44 [Buildroot] [Bug 6446] New: eglibc doesn't install ldconfig to target bugzilla at busybox.net
  2014-02-07  9:03 ` [Buildroot] [Bug 6446] " bugzilla at busybox.net
  2014-02-07 14:52 ` bugzilla at busybox.net
@ 2014-02-07 15:09 ` bugzilla at busybox.net
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2014-02-07 15:09 UTC (permalink / raw)
  To: buildroot

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

Ryan Coe <bluemrp9@gmail.com> changed:

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

--- Comment #3 from Ryan Coe <bluemrp9@gmail.com> 2014-02-07 15:09:18 UTC ---
I do agree that they aren't normally needed on the target filesystem.  I am
marking this bug as invalid.

-- 
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:[~2014-02-07 15:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-12 14:44 [Buildroot] [Bug 6446] New: eglibc doesn't install ldconfig to target bugzilla at busybox.net
2014-02-07  9:03 ` [Buildroot] [Bug 6446] " bugzilla at busybox.net
2014-02-07 14:52 ` bugzilla at busybox.net
2014-02-07 15:09 ` 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