Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 637908

Summary: glibc 2.25-r9/clang 5.0.1/llvm 5.0.1 shows extra message "relink *.so with *.so for IFUNC symbol `longjmp'
Product: Gentoo Linux Reporter: Zhixu Liu <zhixu.liu>
Component: Current packagesAssignee: LLVM support project <llvm>
Status: RESOLVED OBSOLETE    
Severity: normal CC: hydrapolic, mgorny
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Zhixu Liu 2017-11-17 03:51:09 UTC
after upgrade glibc to 2.25-r9, nginx show following message:
/usr/sbin/nginx: Relink `/usr/lib64/libpng16.so.16' with `/lib64/libpthread.so.0' for IFUNC symbol `longjmp'
/usr/sbin/nginx: Relink `/usr/lib64/libfreetype.so.6' with `/lib64/libpthread.so.0' for IFUNC symbol `longjmp'

this seems has been solved at https://sourceware.org/bugzilla/show_bug.cgi?id=21041
Comment 1 Tomáš Mózes 2017-11-17 04:57:33 UTC
Did you try rebuilding libpng?
Comment 2 Zhixu Liu 2017-11-17 05:29:32 UTC
yes, the first thing for me to do is rebuild libpng and freetype, but didn't resolv the problem
Comment 3 Zhixu Liu 2017-11-17 05:35:10 UTC
yes, after recompiling libpng and freetype, the problem still exist.

then I switch the compiler to gcc (clang before), problem disappear, so this is a clang problem? I'll do more analysis then
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-11-22 18:11:11 UTC
I'm sorry but we don't have the resources to support ancient Clang versions. If you plan to use clang to compile packages on Gentoo, please use ~arch.
Comment 5 Zhixu Liu 2017-12-15 02:53:52 UTC
after upgrade clang/llvm to 4.0.1, the problem still exist.

# clang -v
clang version 4.0.1 (tags/RELEASE_401/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/4/bin
Selected GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Selected multilib: .;@m64
Comment 6 Zhixu Liu 2018-01-18 01:57:17 UTC
after upgrade clang/llvm to 5.0.1, the problem still exist.

# nginx -v
nginx: Relink `/usr/lib64/libpng16.so.16' with `/lib64/libpthread.so.0' for IFUNC symbol `longjmp'
nginx: Relink `/usr/lib64/libfreetype.so.6' with `/lib64/libpthread.so.0' for IFUNC symbol `longjmp'
nginx version: nginx/1.12.2

# clang -v
clang version 5.0.1 (tags/RELEASE_501/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/5/bin
Selected GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Selected multilib: .;@m64
Comment 7 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-05-01 09:18:52 UTC
Mass-closing bugs reported for removed LLVM versions.  Feel free to reopen if the issue still applies and there is no newer report for it.