Bug 9892 - More "safe" duplicated symbols, from OpenBSD
Summary: More "safe" duplicated symbols, from OpenBSD
Status: NEW
Alias: None
Product: Samba 4.0
Classification: Unclassified
Component: Build (show other bugs)
Version: 4.0.5
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Björn Jacke
QA Contact: Samba QA Contact
Depends on:
Reported: 2013-05-16 14:04 UTC by Vadim Zhukov
Modified: 2013-05-16 21:02 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Vadim Zhukov 2013-05-16 14:04:36 UTC
report_duplicate() function in buildtools/wafsamba/symbols.py is only called during running tests, so I opened the issue here; if I am wrong, then sorry and please feel free to correct me.

The list of "safe" to be duplicated symbols is highly platform-dependent. Here are some additions from OpenBSD, in a few groups. I'm not an expert at linker and compiler internals, so I could be wrong somewhere, of course.

ld.so-specific hooks:


C++-specific hooks for libc:


GCC CRT specifics named "java class registration hooks" (WTF?! - I don't know, either):




Old threading library compatibility goo:


Other symbols added by GCC (yes, such much; no, I don't know why do they show up here and not there):


Some or all of those could be probably added to the list of "safe" symbols. I want to discuss, what precisely, and then (if agreed) I'll prepare and send a patch.