GNU bug report logs -
#19810
C++ library fails to compile/link with Sun C++ 5.12 with libtool 2.4.5
Previous Next
To reply to this bug, email your comments to 19810 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-libtool <at> gnu.org
:
bug#19810
; Package
libtool
.
(Sat, 07 Feb 2015 22:34:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Bob Friesenhahn <bfriesen <at> simple.dallas.tx.us>
:
New bug report received and forwarded. Copy sent to
bug-libtool <at> gnu.org
.
(Sat, 07 Feb 2015 22:34:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
While attending to libtiff, I noticed that its small C++ library
component fails to link using Sun C++ 5.12 when using libtool 2.4.5.
It succeeds to link with libtool 2.4.4. Other tools used (in common)
are autoconf 2.69 and automake 1.15. No special CXXFLAGS were
specified.
Doing a diff of the successful and failing output, I see that
libraries which appeared before on the link line are now missing.
Good:
libtool: link: ... -lm -library=Cstd -library=Crun -lc -O
Bad:
libtool: link: ... -lm -lc -O
I assume that the problem was added on 2014-12-12 by this change:
libtool: more carefully avoid automatic -Cstd -Crun on Sun Pro CXX.
* m4/libtool.m4 (_LT_FUNC_SUNCC_CSTD_ABI): New function factored out
of repeated code. Take note of other known -Cstd incompatible
compiler flags.
(_LT_SYS_HIDDEN_LIBDEPS): Use it to determine whether -Cstd -Crun
can be safely added to postdeps with Sun Pro CXX.
* NEWS: Update.
* NO-THANKS: Add Marc Glisse.
Reported by Marc Glisse
Bob
--
Bob Friesenhahn
bfriesen <at> simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
Information forwarded
to
bug-libtool <at> gnu.org
:
bug#19810
; Package
libtool
.
(Sun, 08 Feb 2015 10:17:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 19810 <at> debbugs.gnu.org (full text, mbox):
Hi Bob,
On Feb 7, 2015, at 10:33 PM, Bob Friesenhahn <bfriesen <at> simple.dallas.tx.us> wrote:
>
> While attending to libtiff, I noticed that its small C++ library component fails to link using Sun C++ 5.12 when using libtool 2.4.5. It succeeds to link with libtool 2.4.4. Other tools used (in common) are autoconf 2.69 and automake 1.15. No special CXXFLAGS were specified.
>
> Doing a diff of the successful and failing output, I see that libraries which appeared before on the link line are now missing.
>
> Good:
>
> libtool: link: ... -lm -library=Cstd -library=Crun -lc -O
>
> Bad:
>
> libtool: link: ... -lm -lc -O
>
> I assume that the problem was added on 2014-12-12 by this change:
>
> libtool: more carefully avoid automatic -Cstd -Crun on Sun Pro CXX.
> * m4/libtool.m4 (_LT_FUNC_SUNCC_CSTD_ABI): New function factored out
> of repeated code. Take note of other known -Cstd incompatible
> compiler flags.
> (_LT_SYS_HIDDEN_LIBDEPS): Use it to determine whether -Cstd -Crun
> can be safely added to postdeps with Sun Pro CXX.
> * NEWS: Update.
> * NO-THANKS: Add Marc Glisse.
> Reported by Marc Glisse
>
> Bob
I plan to roll a release today or tomorrow, so please commit a fix or revert changeset before then if you'd like to fix this bug before then!
Cheers,
Gary
Information forwarded
to
bug-libtool <at> gnu.org
:
bug#19810
; Package
libtool
.
(Sun, 08 Feb 2015 20:50:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 19810 <at> debbugs.gnu.org (full text, mbox):
On Sun, 8 Feb 2015, Gary V. Vaughan wrote:
>
> I plan to roll a release today or tomorrow, so please commit a fix
> or revert changeset before then if you'd like to fix this bug before
> then!
I doubt that this issue can be resolved in that time-frame. I am
unsure if this failure is due to this specific compiler version (which
happened to be invoked under OpenIndiana), or would be a
commonly-occuring failure.
The latest Oracle Studio compiler (which I do not yet have) now
supports something like 4 different C++ run-time libraries, now also
including the GNU C++ library. Understanding the permutations, and
how to test for them would take research and testing.
Bob
--
Bob Friesenhahn
bfriesen <at> simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
This bug report was last modified 10 years and 138 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.