On Wed, Oct 25, 2017 at 8:15 PM, Waldemar Brodkorb wbx@uclibc-ng.org wrote:
I think it is not intented. Do you see in which commit the regression was introduced?
I don't remember any change in this area.
After waisting an hour or so, I realized that build system I was using set RUNTIME_PREFIX from command line, so it's not uClibc-ng issue. Sorry for false-alarm.
The MULTILIB_DIR issue, however, is valid. One can see line similar to the following when opening the built linker with nano ("/" runtime prefix, default MULTILIB_DIR="lib"):
^@$ORIGIN^@.^@/lib/:/usrlib/^@/lib:/usr/lib:/usr/X11R6/lib^@ld-uClibc.so.1^@Standalone
execution is not enabled
which after using the attached patch changes to valid
^@$ORIGIN^@.^@/lib/:/usr/lib/^@/lib:/usr/lib:/usr/X11R6/lib^@ld-uClibc.so.1^@Standalone
execution is not enabled