Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
LLVM libxcrypt symbols
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
GekkoNZ
n00b
n00b


Joined: 19 Feb 2025
Posts: 1

PostPosted: Wed Feb 19, 2025 11:10 pm    Post subject: LLVM libxcrypt symbols Reply with quote

I'm having a problem compiling libxcrypt with clang/llvm on a systemd/llvm profile

libxcrypt appears to compile but the library doesn't contain certain symbols such as:
crypt_gensalt
crypt
crypt_rn
crypt_ra
crypt_r
crypt_gensalt_rn
crypt_gensalt_ra
crypt_checksalt
crypt_preferred_method

Compiling things like pam and shadow fail because of this.

COMMON_FLAGS="-march=x86-64-v3 -mtune=znver3 -O2 -pipe -fomit-frame-pointer -flto=thin"
LDFLAGS="${LDFLAGS} -Wl,--undefined-version"

GNU toolchain compiles this just fine with the same flags

Any advice appreciated.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum