top | item 35694292

(no title)

vchuravy | 2 years ago

Don't ask me about GNU_UNIQUE...

Due to some wonderful C++ features the dynamic linker is forced to unify symbols across shared libraries, even if those symbols have different versions.

This utterly breaks loading multiple libLLVM's except if you build the copy you care about with -no-gnu-unique (or whatever the flag was called)

I have seen wonderful things like the initializers of an already loaded libLLVM being rerun when a new one is loaded.

discuss

order

planede|2 years ago

The presume wonderful C++ feature is spelled __attribute__((weak)) in GNU C.