Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 8301] New: ldconfig parameter in Makefile
@ 2015-08-17 17:16 bugzilla at busybox.net
  2015-08-24 20:18 ` [Buildroot] [Bug 8301] " bugzilla at busybox.net
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla at busybox.net @ 2015-08-17 17:16 UTC (permalink / raw)
  To: buildroot

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

           Summary: ldconfig parameter in Makefile
           Product: buildroot
           Version: 2015.05
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
        AssignedTo: unassigned at buildroot.uclibc.org
        ReportedBy: ncfernan at gmail.com
                CC: buildroot at uclibc.org
   Estimated Hours: 0.0


The ldconfig invocation on the top Makefile seems to be wrong.
At line 586 the parameter "-r" first set the new root and then the command
tries to open the new config file, but at the wrong place:

/sbin/ldconfig -r $(TARGET_DIR) \
               -f $(TARGET_DIR)/etc/ld.so.conf;

The above command will always report a file not found, so it must be fixed to:

/sbin/ldconfig -r $(TARGET_DIR) \
               -f /etc/ld.so.conf;

The same applies to line 583.

-- 
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] 2+ messages in thread

* [Buildroot] [Bug 8301] ldconfig parameter in Makefile
  2015-08-17 17:16 [Buildroot] [Bug 8301] New: ldconfig parameter in Makefile bugzilla at busybox.net
@ 2015-08-24 20:18 ` bugzilla at busybox.net
  0 siblings, 0 replies; 2+ messages in thread
From: bugzilla at busybox.net @ 2015-08-24 20:18 UTC (permalink / raw)
  To: buildroot

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

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

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

--- Comment #1 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 2015-08-24 20:18:19 UTC ---
No, using /etc/ld.so.conf to generate the ld.so cache for the target is
completely wrong. The proper fix is to completely get rid of the ldconfig stuff
in Buildroot, since it cannot work properly in a cross-compiled environment.

-- 
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] 2+ messages in thread

end of thread, other threads:[~2015-08-24 20:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-17 17:16 [Buildroot] [Bug 8301] New: ldconfig parameter in Makefile bugzilla at busybox.net
2015-08-24 20:18 ` [Buildroot] [Bug 8301] " 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