Skip to content

Unexpected behavior between builds, and compiled #2024

Closed Answered by N-R-K
AlexanderTheGr8-gr asked this question in Q&A
Discussion options

You must be logged in to vote

and I get THIS!

That's just how the NAMEFIRST patch works.

Also, I noticed how the option "-U" seems useless in most versions (All the static ones, except musl).

It's a glibc limitation. If you try to build a static version with glibc with -U enabled (O_NOUG=0, the default) then you'd get this warning at linktime:

nnn.c:(.text+0xa9b2): warning: Using 'getgrgid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
nnn.c:(.text+0xa955): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@AlexanderTheGr8-gr
Comment options

Answer selected by AlexanderTheGr8-gr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants