| Summary: | Dynamic Linker with Standalone Support breaks with LDSO_PRELINK_SUPPORT | ||
|---|---|---|---|
| Product: | uClibc | Reporter: | nixscripter <nixscripter> |
| Component: | Other | Assignee: | unassigned |
| Status: | NEW --- | ||
| Severity: | normal | CC: | uclibc-cvs |
| Priority: | P5 | ||
| Version: | 0.9.33.2 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
|
Description
nixscripter
2016-03-05 17:19:03 UTC
Nevermind that. I'm not awake yet. I think it actually has something to do with the way symbols are (not) exposed by libc. I'm still working on it. Okay, I've done a bit more digging, and it's not actually the standalone mode that's broken. If I disable prelinking:
LDSO_STANDALONE_SUPPORT=y
# LDSO_PRELINK_SUPPORT is not set
Then the message prints:
Usage: ld.so [OPTION]... EXECUTABLE-FILE [ARGS-FOR-PROGRAM...]
You have invoked `ld.so', the helper program for shared library executables.
This program usually lives in the file `/lib/ld.so', and special directives
in executable files using ELF shared libraries tell the system's program
loader to load the helper program from this file. This helper program loads
the shared libraries needed by the program executable, prepares the program
to run, and runs it. You may invoke this helper program directly from the
command line to load and run an ELF executable file; this is like executing
that file itself, but always uses this helper program from the file you
specified, instead of the helper program file specified in the executable
file you run. This is mostly of use for maintainers to test new versions
of this helper program; chances are you did not intend to run this program.
--library-path PATH use given PATH instead of content of the environment
variable LD_LIBRARY_PATH
So that seems to be the issue
|