Debian Bug report logs - #1070872
libm.a lost fmod + fmodf on i386 + m68k

version graph

Package: libc6-dev; Maintainer for libc6-dev is GNU Libc Maintainers <debian-glibc@lists.debian.org>; Source for libc6-dev is src:glibc (PTS, buildd, popcon).

Affects: src:zsh

Reported by: Adrian Bunk <bunk@debian.org>

Date: Fri, 10 May 2024 23:06:01 UTC

Severity: serious

Tags: ftbfs

Found in version glibc/2.38-7

Fixed in version glibc/2.38-11

Done: Aurelien Jarno <aurel32@debian.org>

Bug is archived. No further changes may be made.

Forwarded to https://sourceware.org/bugzilla/show_bug.cgi?id=31488

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, GNU Libc Maintainers <debian-glibc@lists.debian.org>:
Bug#1070872; Package libc6-dev. (Fri, 10 May 2024 23:06:03 GMT) (full text, mbox, link).


Acknowledgement sent to Adrian Bunk <bunk@debian.org>:
New Bug report received and forwarded. Copy sent to GNU Libc Maintainers <debian-glibc@lists.debian.org>. (Fri, 10 May 2024 23:06:03 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Adrian Bunk <bunk@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libm.a lost fmod + fmodf on i386 + m68k
Date: Sat, 11 May 2024 02:03:37 +0300
Package: libc6-dev
Version: 2.38-7
Severity: serious
Tags: ftbfs
Control: affects -1 src:zsh

https://buildd.debian.org/status/logs.php?pkg=zsh&ver=5.9-6%2Bb1

...
gcc -static   -o zsh main.o  `cat stamp-modobjs`   -lpcre2-8 -lgdbm -lcap -lncursesw -ltinfo -ltinfo -lrt -lm  -lc
...
./obj-static/Src/../../Src/math.c:1260:(.text+0x1d8e): undefined reference to `fmod'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:228: zsh] Error 1



$ objdump -t /usr/lib/i386-linux-gnu/libm.a | grep fmod
w_fmodl_compat.o:     file format elf32-i386
w_fmod_compat.o:     file format elf32-i386
w_fmodf_compat.o:     file format elf32-i386
e_fmodl.o:     file format elf32-i386
00000000 g     F .text  00000013 __ieee754_fmodl
w_fmodl.o:     file format elf32-i386
00000000 g     F .text  00000085 __fmodl
00000000         *UND*  00000000 __ieee754_fmodl
00000000  w    F .text  00000085 fmodf64x
00000000  w    F .text  00000085 fmodl
e_fmod.o:     file format elf32-i386
00000000 g     F .text  00000013 __ieee754_fmod
w_fmod.o:     file format elf32-i386
e_fmodf.o:     file format elf32-i386
00000000 g     F .text  00000013 __ieee754_fmodf
w_fmodf.o:     file format elf32-i386
e_fmodf128.o:     file format elf32-i386
00000000 g     F .text  00000c9b __ieee754_fmodf128
00000000         *UND*  00000000 __ieee754_fmodf128
00000000         *UND*  00000000 __ieee754_fmodf128
w_fmodf128.o:     file format elf32-i386
00000000 g     F .text  00000237 __fmodf128
00000000         *UND*  00000000 __ieee754_fmodf128
00000000  w    F .text  00000237 fmodf128
$


With 2.37-13 this is instead:

$ objdump -t /usr/lib/i386-linux-gnu/libm.a | grep fmod
w_fmodl_compat.o:     file format elf32-i386
w_fmod_compat.o:     file format elf32-i386
w_fmodf_compat.o:     file format elf32-i386
e_fmodl.o:     file format elf32-i386
00000000 g     F .text  00000013 __ieee754_fmodl
w_fmodl.o:     file format elf32-i386
00000000 g     F .text  00000085 __fmodl
00000000         *UND*  00000000 __ieee754_fmodl
00000000  w    F .text  00000085 fmodf64x
00000000  w    F .text  00000085 fmodl
e_fmod.o:     file format elf32-i386
00000000 g     F .text  00000013 __ieee754_fmod
w_fmod.o:     file format elf32-i386
00000000 g     F .text  0000006b __fmod
00000000         *UND*  00000000 __ieee754_fmod
00000000  w    F .text  0000006b fmodf32x
00000000  w    F .text  0000006b fmodf64
00000000  w    F .text  0000006b fmod
e_fmodf.o:     file format elf32-i386
00000000 g     F .text  00000013 __ieee754_fmodf
w_fmodf.o:     file format elf32-i386
00000000 g     F .text  00000063 __fmodf
00000000         *UND*  00000000 __ieee754_fmodf
00000000  w    F .text  00000063 fmodf32
00000000  w    F .text  00000063 fmodf
e_fmodf128.o:     file format elf32-i386
00000000 g     F .text  00000cc5 __ieee754_fmodf128
00000000         *UND*  00000000 __ieee754_fmodf128
00000000         *UND*  00000000 __ieee754_fmodf128
w_fmodf128.o:     file format elf32-i386
00000000 g     F .text  00000237 __fmodf128
00000000         *UND*  00000000 __ieee754_fmodf128
00000000  w    F .text  00000237 fmodf128
$



Added indication that 1070872 affects src:zsh Request was from Adrian Bunk <bunk@debian.org> to submit@bugs.debian.org. (Fri, 10 May 2024 23:06:03 GMT) (full text, mbox, link).


Set Bug forwarded-to-address to 'https://sourceware.org/bugzilla/show_bug.cgi?id=31488'. Request was from Aurelien Jarno <aurel32@debian.org> to control@bugs.debian.org. (Sat, 11 May 2024 09:54:02 GMT) (full text, mbox, link).


Message sent on to Adrian Bunk <bunk@debian.org>:
Bug#1070872. (Sat, 11 May 2024 10:33:19 GMT) (full text, mbox, link).


Message #12 received at 1070872-submitter@bugs.debian.org (full text, mbox, reply):

From: Aurelien Jarno <noreply@salsa.debian.org>
To: 1070872-submitter@bugs.debian.org
Subject: Bug#1070872 marked as pending in glibc
Date: Sat, 11 May 2024 10:31:33 +0000
Control: tag -1 pending

Hello,

Bug #1070872 in glibc reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/glibc-team/glibc/-/commit/cddca4c12be51d67d8f383b2ccf21b6335b61898

------------------------------------------------------------------------
debian/patches/any/submitted-static-*.diff: add proposed patches to fix various missing math function in libm.a.  Closes: #1070872.
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1070872



Added tag(s) pending. Request was from Aurelien Jarno <noreply@salsa.debian.org> to 1070872-submitter@bugs.debian.org. (Sat, 11 May 2024 10:33:19 GMT) (full text, mbox, link).


Reply sent to Aurelien Jarno <aurel32@debian.org>:
You have taken responsibility. (Sat, 11 May 2024 21:39:05 GMT) (full text, mbox, link).


Notification sent to Adrian Bunk <bunk@debian.org>:
Bug acknowledged by developer. (Sat, 11 May 2024 21:39:05 GMT) (full text, mbox, link).


Message #19 received at 1070872-close@bugs.debian.org (full text, mbox, reply):

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 1070872-close@bugs.debian.org
Subject: Bug#1070872: fixed in glibc 2.38-11
Date: Sat, 11 May 2024 21:35:43 +0000
[Message part 1 (text/plain, inline)]
Source: glibc
Source-Version: 2.38-11
Done: Aurelien Jarno <aurel32@debian.org>

We believe that the bug you reported is fixed in the latest version of
glibc, 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 1070872@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Aurelien Jarno <aurel32@debian.org> (supplier of updated glibc 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 11 May 2024 23:17:18 +0200
Source: glibc
Architecture: source
Version: 2.38-11
Distribution: unstable
Urgency: medium
Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
Changed-By: Aurelien Jarno <aurel32@debian.org>
Closes: 1070872 1070875
Changes:
 glibc (2.38-11) unstable; urgency=medium
 .
   [ Aurelien Jarno ]
   * debian/testsuite-xfail-debian.mk: ignore a few math failures due to GCC
     13 on hppa.  Closes: #1070875.
   * debian/patches/any/submitted-static-*.diff: add proposed patches to fix
     various missing math function in libm.a.  Closes: #1070872.
   * debian/testsuite-xfail-debian.mk: mark tst-support_descriptors as XFAIL,
     due to sbuild bug #1070003.
Checksums-Sha1:
 cb16f1fe7d3a90116921dfec258d9b1686b894d0 7535 glibc_2.38-11.dsc
 cc793377025830f66fb937ad2b6316f630c11bfc 429076 glibc_2.38-11.debian.tar.xz
 2c283e082e8a33880c389204e658e0d97a5c5e6a 9945 glibc_2.38-11_source.buildinfo
Checksums-Sha256:
 e3673f0f0f7371335ed6d9ac1221d33c62604af8171686282a481da8e7a4aa80 7535 glibc_2.38-11.dsc
 336d41903e4c2b12a71bb646b68c9c295c980a4a7f22a43da70aadbcfa80a825 429076 glibc_2.38-11.debian.tar.xz
 c8f760e85c32c0d5ec7d97431213e67682fc285dbc0d58aaf2812482746624e6 9945 glibc_2.38-11_source.buildinfo
Files:
 a811ef2a956ad933930fc7eebfeff191 7535 libs required glibc_2.38-11.dsc
 f28787622972a7abf9aaaa410e185856 429076 libs required glibc_2.38-11.debian.tar.xz
 8107fceff977128d94b922275a6a3f3a 9945 libs required glibc_2.38-11_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEUryGlb40+QrX1Ay4E4jA+JnoM2sFAmY/4XoACgkQE4jA+Jno
M2uXFg//Yje3QGX/t1bfLHjnkWHCdUm+YttbET18bsbObuT4jdGgv4aDUgEmhXB3
ncB+BAJI6mJiaRjLu6E9eaHlVyMhzpMSVlJ40O12XVo45W3gxtjZ5RxrO8HEso4b
8HFWwtpt6wa2VnQqmneaoNdHA/ZYpPI9dDvELlanvvIc7u6pzQ7606A3oTd+O/Aw
RnXaRWrREPKi305+1bEzShymgcM+uDxlQ1w6PhXiEPlbROg6Qg+Oz8CbJHM9UAMJ
T984QNwTfJRSLtkSmxl1bv8dOoaNJop8qiXdlEGgavs87cEACB7e5RObzZNzNTXl
f09sHzdc1NIpjuNXGUYr5V7RcKl0A59rvk1mWHcR3PHPtbvKUHpRJumhxmzWioDc
h6pNxj0NnUomWNNgvBnhzykpxzSGkWAtrqi6lEdh8HQMt5FsFwNKOZaj7ytRYjNO
a3h0FdD4lGKupJKe2nwgpurT91Oc/C0TwobYvxuyrPMEgp7pkzhQrc5UXvH4kWMA
tih7Da6qhHZk/xjxi6GjUL65X5lQM7gxSOxeuWzC2K1y4evxNH9Qi1vp6HUZGn75
9hrCjeYKgUawGVZZIX/10PDzZEcCY5xfhU+kylunjp7QtgOPxmmmYLqWQxndV7MN
4M85cYWE1F/5j44i8L8Jgpk4CQnD1epL7roHi5zBuBJO3Ai5Bo0=
=o9yh
-----END PGP SIGNATURE-----

[Message part 2 (application/pgp-signature, inline)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 10 Jun 2024 07:29:07 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Aug 8 02:19:17 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.