[uclibc-ng-devel] uClibc-ng 1.0.26: custom prefix

Waldemar Brodkorb wbx at uclibc-ng.org
Wed Oct 25 19:15:02 CEST 2017

Hi Alex,
Alex Potapenko wrote,

> Hi,
> I've upgraded Optware-ng uClibc-ng from 1.0.15 to 1.0.26 a while ago. It called
> for recompilation of most of the packages, but this issue seems to be resolved
> now. The issue I'd like to report is that when the linker (ld-uClibc.so.0) is
> built, UCLIBC_RUNTIME_PREFIX seems to evaluate to "/", even
> though RUNTIME_PREFIX is set to "/opt" (see attached config). I had to resort
> to patching uClibc-ng sources (https://github.com/Optware/Optware-ng/blob/
> master/sources/buildroot-armeabi-ng/uclibc-ng-patches/010-ldso.patch,
> %OPTWARE_TARGET_PREFIX% is replaced with "/opt") to get this fixed. It wasn't
> so with 1.0.15, setting RUNTIME_PREFIX to "/opt" made linker look for libs only
> in "/opt/lib", "/opt/usr/lib", etc., and not in "/lib" and such. Is this change
> intended, or is it a bug?

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.

May be a side effect of all-in-one libc.so changeset?

best regards

More information about the devel mailing list