[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1015522: marked as done (libsigsegv: ftbfs with LTO (link time optimization) enabled)



Your message dated Wed, 24 Sep 2025 07:38:06 +0000
with message-id <E1v1K4k-005aPe-0C@fasolo.debian.org>
and subject line Bug#1015522: fixed in libsigsegv 2.15-1
has caused the Debian Bug report #1015522,
regarding libsigsegv: ftbfs with LTO (link time optimization) enabled
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 owner@bugs.debian.org
immediately.)


-- 
1015522: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1015522
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:libsigsegv
Version: 2.14-1
Severity: minor
Tags: sid bookworm
User: debian-gcc@lists.debian.org
Usertags: ftbfs-lto

This package currently fails to build (at least on the amd64
architecture) with link time optimizations enabled.  For a background
for LTO please see

https://wiki.debian.org/ToolChain/LTO

The goal is to enable this optimization by default in an upcoming
Debian release in dpkg-buildflags for 64bit architectures.  The goal
is to get this package to build with link time optimizations, or to
explicitly disable link time optimizations for this package build.

To reproduce the build failure, enable the lto optimization in
testing/unstable by adding "optimize=+lto" to DEB_BUILD_MAINT_OPTIONS
in the debian/rules file, or if this macro is unset, just set it:

export DEB_BUILD_MAINT_OPTIONS = optimize=+lto

Please try to fix the build with lto enabled, fixing the packaging or
forwarding the issue upstream. If the issue cannot be fixed,
explicitly disallow building the package with lto by adding to your
rules file:

export DEB_BUILD_MAINT_OPTIONS = optimize=-lto

or adding that string to your existing setting of DEB_BUILD_MAINT_OPTIONS.

The full build log can be found at:
http://qa-logs.debian.net/2022/06/09/dpkglto/libsigsegv_2.14-1_unstable_dpkglto.log
The last lines of the build log are at the end of this report.

[...]
In file included from fault-linux-x86_64-old.h:17,
                 from fault.h:36,
                 from handler-unix.c:77,
                 from handler.c:19:
/usr/include/x86_64-linux-gnu/asm/sigcontext.h:98:8: error: redefinition of ‘struct _xmmreg’
   98 | struct _xmmreg {
      |        ^~~~~~~
In file included from /usr/include/signal.h:288,
                 from sigsegv.h:31,
                 from handler-unix.c:25,
                 from handler.c:19:
/usr/include/x86_64-linux-gnu/bits/sigcontext.h:53:8: note: originally defined here
   53 | struct _xmmreg
      |        ^~~~~~~
In file included from fault-linux-x86_64-old.h:17,
                 from fault.h:36,
                 from handler-unix.c:77,
                 from handler.c:19:
/usr/include/x86_64-linux-gnu/asm/sigcontext.h:180:8: error: redefinition of ‘struct _ymmh_state’
  180 | struct _ymmh_state {
      |        ^~~~~~~~~~~
In file included from /usr/include/signal.h:288,
                 from sigsegv.h:31,
                 from handler-unix.c:25,
                 from handler.c:19:
/usr/include/x86_64-linux-gnu/bits/sigcontext.h:184:8: note: originally defined here
  184 | struct _ymmh_state
      |        ^~~~~~~~~~~
In file included from fault-linux-x86_64-old.h:17,
                 from fault.h:36,
                 from handler-unix.c:77,
                 from handler.c:19:
/usr/include/x86_64-linux-gnu/asm/sigcontext.h:192:8: error: redefinition of ‘struct _xstate’
  192 | struct _xstate {
      |        ^~~~~~~
In file included from /usr/include/signal.h:288,
                 from sigsegv.h:31,
                 from handler-unix.c:25,
                 from handler.c:19:
/usr/include/x86_64-linux-gnu/bits/sigcontext.h:189:8: note: originally defined here
  189 | struct _xstate
      |        ^~~~~~~
In file included from fault-linux-x86_64-old.h:17,
                 from fault.h:36,
                 from handler-unix.c:77,
                 from handler.c:19:
/usr/include/x86_64-linux-gnu/asm/sigcontext.h:317:8: error: redefinition of ‘struct sigcontext’
  317 | struct sigcontext {
      |        ^~~~~~~~~~
In file included from /usr/include/signal.h:288,
                 from sigsegv.h:31,
                 from handler-unix.c:25,
                 from handler.c:19:
/usr/include/x86_64-linux-gnu/bits/sigcontext.h:139:8: note: originally defined here
  139 | struct sigcontext
      |        ^~~~~~~~~~
In file included from handler.c:19:
handler-unix.c: In function ‘sigsegv_handler’:
handler-unix.c:359:57: warning: initialization of ‘stackoverflow_context_t’ {aka ‘struct sigcontext *’} from incompatible pointer type ‘struct sigcontext *’ [-Wincompatible-pointer-types]
  359 |                       stackoverflow_context_t context = (SIGSEGV_FAULT_CONTEXT);
      |                                                         ^
make[3]: *** [Makefile:496: handler.lo] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:434: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:366: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: libsigsegv
Source-Version: 2.15-1
Done: Peter Van Eynde <pvaneynd@debian.org>

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

Debian distribution maintenance software
pp.
Peter Van Eynde <pvaneynd@debian.org> (supplier of updated libsigsegv 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: Wed, 24 Sep 2025 08:24:18 +0200
Source: libsigsegv
Architecture: source
Version: 2.15-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Common Lisp Team <debian-common-lisp@lists.debian.org>
Changed-By: Peter Van Eynde <pvaneynd@debian.org>
Closes: 1015522
Changes:
 libsigsegv (2.15-1) unstable; urgency=medium
 .
   [ Sébastien Villemot ]
   * Remove myself from Uploaders
 .
   [ Peter Van Eynde ]
   * Add all signing keys
   * New upstream version 2.15
   * This upstream also works with LTO (link time optimization) enabled.
     (Closes: #1015522)
Checksums-Sha1:
 f41c8b1bfb163699ffb710e97bc0f19ba21e5b69 2467 libsigsegv_2.15-1.dsc
 2ac62456ce0834107ed8e5709e91794485c2d8e4 494383 libsigsegv_2.15.orig.tar.gz
 1ff70ccb4fa5a4d2d38825527b87689db7a0b7e9 228 libsigsegv_2.15.orig.tar.gz.asc
 ea5f2db23991402a8d32df88073b78468ebbbac6 23412 libsigsegv_2.15-1.debian.tar.xz
 6c0b66b6b04f0009221c4d1dd20cf044cc3caa00 6450 libsigsegv_2.15-1_amd64.buildinfo
Checksums-Sha256:
 bdf563b9abbcde1f3d2c1f6a30b1bea859d35cf8e10757ae3ae4df5319e63b2f 2467 libsigsegv_2.15-1.dsc
 036855660225cb3817a190fc00e6764ce7836051bacb48d35e26444b8c1729d9 494383 libsigsegv_2.15.orig.tar.gz
 72a772fbea15850a1dac43bf4a05822367fb29725d8e0d69ae4759953874f3fe 228 libsigsegv_2.15.orig.tar.gz.asc
 105f8d6ec20da700146e2e534541e513880d2935a8d0c28a2754c1c6b8b27e5d 23412 libsigsegv_2.15-1.debian.tar.xz
 08347ed17f6e0fde9b10bdbe5bcf8e5ca25af7417f40d5f15627fa063c1c2be3 6450 libsigsegv_2.15-1_amd64.buildinfo
Files:
 7b0e25fb1fd50ffadc906514ec7fcc61 2467 libdevel optional libsigsegv_2.15-1.dsc
 c2885785b3e5d1c94b1adb22b3002ccc 494383 libdevel optional libsigsegv_2.15.orig.tar.gz
 862fce7f724c21da2c1423ebebb5e242 228 libdevel optional libsigsegv_2.15.orig.tar.gz.asc
 698683c2162e660ac79af2d451d561cd 23412 libdevel optional libsigsegv_2.15-1.debian.tar.xz
 a45d06d11866c7195fc65528ca128bfc 6450 libdevel optional libsigsegv_2.15-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iQKTBAEBCgB9FiEEq/pVygOvMEtssvu/qyvF+S+rne0FAmjTj6ZfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEFC
RkE1NUNBMDNBRjMwNEI2Q0IyRkJCRkFCMkJDNUY5MkZBQjlERUQACgkQqyvF+S+r
ne0XDQ//b+q8oLkqw8MALulg55qLpCWpIsq4Ywe2HotHykAa8/zlWJ+ZudxrKEbg
BvE4hbJ46ft6l3UWQWZKnt5rEKUvyp/biZLCrvczWx3Ba60CN5hz5Tf2YnrGkHp3
ehnu4SoBYZJqji3L8X8ekGg2IfzGd+vLDAq9Fy8KkxUKpYjQ8eqJxVJJyvxbAzhW
72nBogTh1CX7bYjpo91OOHDyWvFGAeSSKjIvzaEC9tMn6ieq4HXAeOupPnVfsFh7
Mj9TxeiasB8YPW8aP/4HN5Ky4gYVde72T7f2bX4jRa78WS0C9lAesJBpZzIfDZH1
I9huvIpswEaOD+Wczhj0jMJxbTvzeVKWm6OrwsBOsF9W/6BReTto9UvhijG31S9z
DPrXqDWCgpP+696jZo6J6o2GKyL1Sa1QMZKVfsfJUbcYswKC33W43L1zvTDWDuAZ
v4IowMaERINXcnMSx3rYBky5Na9DPUR8qwEupbuTra5UOLzwRdEb5t9zTFtt78It
TOW7eArvERG7tiQnSdeZ3Ydp9b5A2CCaShFhn57iSIHu0174R/4MoGDkV3tV6+Tv
ajAClC2pZ8AFS6A0sXjNEF79t3IxTM8dH3nhJMhRbjVNHnn+maUdoVksgGGVvoxe
4NGnGNsrMbMizmdA+aY8CPxyJ+RhZCsGcjfdvOuHDfFXTKUSNqc=
=ilvP
-----END PGP SIGNATURE-----

Attachment: pgpncIHPets91.pgp
Description: PGP signature


--- End Message ---

Reply to: