[PATCH] D21555: [ELF] - Do not allow mix global symbols version.

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 27 19:24:30 PDT 2016


davide added a comment.

Hmm, I think this breaks libreoffice, sorry.

  duplicate symbol _ZThn32_N4cppu16OComponentHelper14queryInterfaceERKN3com3sun4star3uno4TypeE in version script
  duplicate symbol _ZThn48_N4cppu16OComponentHelper14queryInterfaceERKN3com3sun4star3uno4TypeE in version script
  duplicate symbol _ZThn56_N4cppu16OComponentHelper14queryInterfaceERKN3com3sun4star3uno4TypeE in version script

cppuhelper/source/gcc3.map lists multiple times the same symbol :(
https://gerrit.libreoffice.org/gitweb?p=core.git;a=blob;f=cppuhelper/source/gcc3.map;h=12c29834ab1687d5747808b8a308e550962e6721;hb=refs/heads/master

`_ZThn*_N4cppu16OComponentHelper7acquireEv;`

It's actually even worse than that, the symbol is *defined* multiple times under the same version. I think they should fix their version script (and in fact I plan to propose a change upstream), but in the time being, I'd rather switch this back to a warning. I'm sending a patch soon.


Repository:
  rL LLVM

http://reviews.llvm.org/D21555





More information about the llvm-commits mailing list