[pcre-dev] [Bug 1278] pcre 8.31 fails to link with Sun Studi…

Kezdőlap
Üzenet törlése
Szerző: Dagobert Michelsen
Dátum:  
Címzett: pcre-dev
Régi témák: [pcre-dev] [Bug 1278] New: pcre 8.31 fails to link with Sun Studio 12 on Solaris 10 Update 10
Tárgy: [pcre-dev] [Bug 1278] pcre 8.31 fails to link with Sun Studio 12 on Solaris 10 Update 10
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1278




--- Comment #13 from Dagobert Michelsen <dam@???> 2013-12-27 12:05:08 ---
Hi Philip,

basically all versions after the addition of -Wl,-i… are affected. The
reasons why this pops up now is a change in the Sun Studio compiler. Older
unpatched versions accepted both -Wl,-i and -Qoptions ld -i, interim-versions
only accepted the first notation leading to the described problems. The
solution is to just use the recent Solaris Studio version and the error
vanishes. I don't know if it is worth working around an issue of older compiler
versions, probably not.

The issue with the name mangling is currently done by the assumption that only
g++ and assorted linkers accept -i on legacy function aliasing. Before going
deeper in the discussion I would like to know if the introduced function alias
is MacOS-specific as the comment suggests. If yes, I suggest shielding the test
to the MacOS-platform where to my knowledge gcc is the only compiler anyway.

Best regards -- Dago


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email