Hi,
Lance Fredrickson wrote,
On 11/2/2016 12:05 PM, Waldemar Brodkorb wrote:
>Hi Lance,
>Lance Fredrickson wrote,
>
>>It seems as if static libc is missing symbols for libdl in uclibc-ng 1.0.19.
>>When trying to static link I get the typical 'undefined to dl....'
errors,
>>but dynamic linking is successful.
>But isn't that what is expected. From my understanding, you can't
>use dl* functions if you are using a fully static linked binary.
This commit removed libdl.a from libc.a:
9b1077dc70e52ee85a718bce3fcfec7ae9af2967
The reason was a bug report via IRC, where old release libc.a was
compared to new release libc.a. The old didn't contained any libdl.a
code but a fully libdl.a.
So you suggesting adding back libdl.a functions into libc.a?
But what this work for any real applications compiled statically?
It would link correctly, but would it work at runtime?
best regards
Waldemar