Συντάκτης: ph10 Ημερομηνία: Προς: 1278 Υ/ο: pcre-dev Αντικείμενο: Re: [pcre-dev] [Bug 1278] pcre 8.31 fails to link with Sun Studio
12 on Solaris 10 Update 10
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.