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

Startseite
Nachricht löschen
Autor: Dagobert Michelsen
Datum:  
To: pcre-dev
Alte Treads: [pcre-dev] [Bug 1278] New: pcre 8.31 fails to link with Sun Studio 12 on Solaris 10 Update 10
Betreff: [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

Dagobert Michelsen <dam@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dam@???





--- Comment #11 from Dagobert Michelsen <dam@???> 2013-12-26 23:29:06 ---
The problem is that the detection during configure time uses -Wl,-i…
explicitly as arguments to CC whereas later on libtool is used which transforms
-Wl,-i… to -Qoption ld -i…
Now Sun Studio 12 unfortunately accepts -Wl,-i… but bails out on -Qoption ld
-i…
Newer compiler versions like Solaris Studio 12.3 work consistently on both
variants and fail to compile.
As the name-mangling is gcc-specific I suggest restricting the aliasing to gcc
only. Also the test could be enhanced to use libtool in the same way the
compilation does to test the exact relevant behavior.


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