GNU bug report logs -
#11911
libtool ignoring parameters in link mode ?
Previous Next
To reply to this bug, email your comments to 11911 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-libtool <at> gnu.org
:
bug#11911
; Package
libtool
.
(Wed, 11 Jul 2012 16:17:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
espie <at> nerim.net
:
New bug report received and forwarded. Copy sent to
bug-libtool <at> gnu.org
.
(Wed, 11 Jul 2012 16:17:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
This behavior verified in old libtool-1.5 and in most recent libtool-2.4...
I'm pretty sure that's not intentional design. Maybe it is, but
undocumented.
I've seen several instances of bogus build infrastructures doing
wacky things such as
libtool link cc -o somelib --export-symbols a.def ...
or
libtool link cc -o prog a.c a.o
in both cases, this 'works': in the end link command, the extra
stuff simply gets ignored.
So in the first case, --export-symbols which is a mispelled -export-symbols
gets ignored.
And in the second case, the extra copy of the c file gets ignored.
I'm pretty much surprised, I thought that in general, whatever you passed
to libtool that it didn't know about it would just pass it along to the
linker stage.
At the very least, I believe that simply ignoring those extra arguments
is very dangerous... in the first case, you end up having a library that
exports every symbol where you thought you only were exporting some symbols!
Information forwarded
to
bug-libtool <at> gnu.org
:
bug#11911
; Package
libtool
.
(Wed, 10 Oct 2012 16:11:02 GMT)
Full text and
rfc822 format available.
Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):
I second that.
Found the same behavior here! :-(
This bug report was last modified 12 years and 249 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.