Your message dated Sun, 07 Dec 2025 12:49:19 +0000
with message-id <[email protected]>
and subject line Bug#286341: fixed in libtool 2.5.4-8
has caused the Debian Bug report #286341,
regarding libtool: different behavior with gcc vs. cc
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
286341: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=286341
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libtool
Version: 1.5.6-3
Severity: normal
/usr/bin/libtool behaves differently when using "cc" as compiler rather
than "gcc". Example:
$ cat test.c
int foo()
{
return 1;
}
$ /usr/bin/libtool --mode=compile gcc -c test.c
mkdir .libs
gcc -c test.c -fPIC -DPIC -o .libs/test.o
gcc -c test.c -o test.o >/dev/null 2>&1
$ /usr/bin/libtool --mode=compile cc -c test.c
cc -c test.c
mv -f test.o .libs/test.o
cc -c test.c >/dev/null 2>&1
Note that in the second case it doesn't use any PIC flags, so it
results in broken builds.
Of course, "cc" and "gcc" are actually the same compilers.
$ ls -l /usr/bin/gcc
lrwxrwxrwx 1 root root 7 2004-11-21 02:20 /usr/bin/gcc -> gcc-3.3
$ ls -l /usr/bin/cc
lrwxrwxrwx 1 root root 20 2004-11-21 02:21 /usr/bin/cc -> /etc/alternatives/cc
$ ls -l /etc/alternatives/cc
lrwxrwxrwx 1 root root 12 2004-11-21 02:21 /etc/alternatives/cc -> /usr/bin/gcc
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-k7-nforce2
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)
Versions of packages libtool depends on:
ii autotools-dev 20040822.1 Update infrastructure for config.{
ii cpp 4:3.3.4-2 The GNU C preprocessor (cpp)
ii file 4.12-1 Determines file type using "magic"
ii gcc [c-compiler] 4:3.3.4-2 The GNU C compiler
ii gcc-3.3 [c-compiler] 1:3.3.4-13 The GNU C compiler
ii libc6-dev [libc-dev] 2.3.2.ds1-18 GNU C Library: Development Librari
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: libtool
Source-Version: 2.5.4-8
Done: Alastair McKinstry <[email protected]>
We believe that the bug you reported is fixed in the latest version of
libtool, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Alastair McKinstry <[email protected]> (supplier of updated libtool package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 07 Dec 2025 12:19:28 +0000
Source: libtool
Architecture: source
Version: 2.5.4-8
Distribution: unstable
Urgency: medium
Maintainer: Alastair McKinstry <[email protected]>
Changed-By: Alastair McKinstry <[email protected]>
Closes: 286341 733935 1122012 1122013
Changes:
libtool (2.5.4-8) unstable; urgency=medium
.
[ Cyril Brulebois ]
* Fix sanitation of libtool vs. libtoolize; the former is shipped in
libtool-bin (arch:any, so binary-arch target), the latter in libtool
(arch:all, so binary-indep target).
* Use a single sed call (no pipefail in dash).
* Make sure failures are noticed inside for loops.
* Unhardcode upstream version from sanitation loops.
.
[ Gioele Barabucci ]
* d/rules: Use standard `dh` sequence to d/rules (Closes: #1122012, #1122013)
.
[ Alastair McKinstry ]
* Close previously fixed bugs. Closes: #286341, #733935
Checksums-Sha1:
65055f2cf6d050804d57097c7ba57319a711454e 2240 libtool_2.5.4-8.dsc
96daaee038bc1f7810d5b5a09457cc9d01c190af 41712 libtool_2.5.4-8.debian.tar.xz
Checksums-Sha256:
c6e076153fa6e39ce0c608cf0d1ef67ca162805d5b7e274b6a556bc4eadd1734 2240
libtool_2.5.4-8.dsc
e1e90dd340c2949c301f11a32a1eb46d08e96ef947427aa2d4cd3293f671a200 41712
libtool_2.5.4-8.debian.tar.xz
Files:
9a638b8cb01f95053dda6b45f9b0973a 2240 devel optional libtool_2.5.4-8.dsc
23463f5b3dd0c55295c29e3633d08274 41712 devel optional
libtool_2.5.4-8.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEgjg86RZbNHx4cIGiy+a7Tl2a06UFAmk1dFcACgkQy+a7Tl2a
06XNwA//Q3ykllk753u2dtcdpjtxsywkM8JQkFRI2+j1y0weiY1P0W+dSONkLsvF
HXIZdttgWb9wcT7IKNYitD82wupaa7+OvdwO/J4N8P4OgxV7qGb4P7EMcrcqnk5w
48k2rTzCgLzO06SzBC4hu/YFsLf0qjLYMezXTz3rni6XO9mZLNVO3hgksJq9Fcd4
4ZEvC469q+Dm2k/1tYafwMZy0+x5kQ9hGH9uSGpcMYhxUoR7yf/dRAF5138Kb6E/
bPytVxIthvCmv8hzRFGGog3QMCJeL/FwBUAFCW6JQdk1hlwvGcRMeyoV83X22vIk
o2EVHktI5d/zJepme/eqrjNgvtAa9Rym+lkqCS5wTMl372JTCbmxZzTylxCal34h
/6xTuJoeTd/1ITFlyJHFZGTNL19yzkIdtIi8RQnXi6cE9Sz4qNwlM0REYxq7BXLx
oXa1Czq9ZR4212BCNCA5lbjzfXCHIs8AGltYXkjjyvl5N3Ie70opXAVwCaEprQPU
MI/8ZguypYVt8nHo/fs6WXLhbZD0nF7jZM3tLXN4Z5soUCvSq2eBS0erh7gyZpDF
41F+2ey1xIdXZ4e9m64ZVdrOpy3iDJbAz8fypfz8sTJTrRcliZIu89qwEospjooT
e76wHdWcmgVvtMMyr47NrzJf/sPE27uQRnTYfwbmn27uU2IoR7s=
=4/bm
-----END PGP SIGNATURE-----
pgpO3_4tdqSYm.pgp
Description: PGP signature
--- End Message ---