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

Páxina inicial
Borrar esta mensaxe
Autor: Philip Hazel
Data:  
Para: pcre-dev
Temas antigos: [pcre-dev] [Bug 1278] New: pcre 8.31 fails to link with Sun Studio 12 on Solaris 10 Update 10
Asunto: [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 #12 from Philip Hazel <ph10@???> 2013-12-27 11:16:51 ---
On Thu, 26 Dec 2013, Dagobert Michelsen wrote:

> --- 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.


8.31 is quite old now. Have you tried 8.32, 8.33, or the recently
released 8.34? The only mentions of Solaris in the ChangeLog don't seem
to relate to this issue, however.

It sounds as if this might be a problem with libtool and/or autoconf,
but I am not an expert in those. I have no idea if it is possible to do
what you suggest and alter libtool's behaviour in a particular
environment.

Philip


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