Your message dated Tue, 24 Feb 2026 09:49:01 +0000
with message-id <[email protected]>
and subject line Bug#1128863: fixed in gcc-12 12.5.0-8
has caused the Debian Bug report #1128863,
regarding gcc-12: FTBFS with glibc 2.43 due to SYS_SECCOMP symbol collision
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.)


-- 
1128863: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1128863
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: gcc-12
Version: 12.5.0-7
Severity: important
Tags: ftbfs upstream
Justification: fails to build from source
User: [email protected]
Usertags: glibc-2.43

Dear maintainer(s),

gcc-12 fails to build from source with glibc 2.43, currently in
experimental. From the build log:

| sysinfo.go:7718:7: error: redefinition of 'SYS_SECCOMP'
|  7718 | const SYS_SECCOMP = _SYS_SECCOMP
|       |       ^
| sysinfo.go:7512:7: note: previous definition of 'SYS_SECCOMP' was here
|  7512 | const SYS_SECCOMP = _SYS_seccomp
|       |       ^
| libtool: compile:  /build/reproducible-path/gcc-12-12.5.0/build/./gcc/gccgo 
-B/build/reproducible-path/gcc-12-12.5.0/build/./gcc/ 
-B/usr/aarch64-linux-gnu/bin/ -B/usr/aarch64-linux-gnu/lib/ -isystem 
/usr/aarch64-linux-gnu/include -isystem /usr/aarch64-linux-gnu/sys-include 
-isystem /build/reproducible-path/gcc-12-12.5.0/build/sys-include -fchecking=1 
-O2 -g -I . -c -fgo-pkgpath=path ../../../src/libgo/go/path/match.go 
../../../src/libgo/go/path/path.go -o path.o >/dev/null 2>&1
| mv -f .deps/ubsan_diag.Tpo .deps/ubsan_diag.Plo
| libtool: compile:  /build/reproducible-path/gcc-12-12.5.0/build/./gcc/gccgo 
-B/build/reproducible-path/gcc-12-12.5.0/build/./gcc/ 
-B/usr/aarch64-linux-gnu/bin/ -B/usr/aarch64-linux-gnu/lib/ -isystem 
/usr/aarch64-linux-gnu/include -isystem /usr/aarch64-linux-gnu/sys-include 
-isystem /build/reproducible-path/gcc-12-12.5.0/build/sys-include -fchecking=1 
-O2 -g -I . -c -fgo-pkgpath=sort ../../../src/libgo/go/sort/search.go 
../../../src/libgo/go/sort/slice.go ../../../src/libgo/go/sort/slice_go113.go 
../../../src/libgo/go/sort/sort.go ../../../src/libgo/go/sort/zfuncversion.go 
-o sort.o >/dev/null 2>&1
| libtool: compile:  /build/reproducible-path/gcc-12-12.5.0/build/./gcc/xgcc 
-shared-libgcc -B/build/reproducible-path/gcc-12-12.5.0/build/./gcc -nostdinc++ 
-L/build/reproducible-path/gcc-12-12.5.0/build/aarch64-linux-gnu/libstdc++-v3/src
 
-L/build/reproducible-path/gcc-12-12.5.0/build/aarch64-linux-gnu/libstdc++-v3/src/.libs
 
-L/build/reproducible-path/gcc-12-12.5.0/build/aarch64-linux-gnu/libstdc++-v3/libsupc++/.libs
 -B/usr/aarch64-linux-gnu/bin/ -B/usr/aarch64-linux-gnu/lib/ -isystem 
/usr/aarch64-linux-gnu/include -isystem /usr/aarch64-linux-gnu/sys-include 
-isystem /build/reproducible-path/gcc-12-12.5.0/build/sys-include -fchecking=1 
-D_GNU_SOURCE -D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS 
-D__STDC_LIMIT_MACROS -DPIC -DCAN_SANITIZE_UB=1 -DUBSAN_CAN_USE_CXXABI=1 -I. 
-I../../../../src/libsanitizer/ubsan -I.. -I ../../../../src/libsanitizer -I 
../../../../src/libsanitizer/include -Wall -W -Wno-unused-parameter 
-Wwrite-strings -pedantic -Wno-long-long -fPIC -fno-builtin -fno-exceptions 
-fno-rtti -fomit-frame-pointer -funwind-tables -fvisibility=hidden 
-Wno-variadic-macros -I../../libstdc++-v3/include 
-I../../libstdc++-v3/include/aarch64-linux-gnu 
-I../../../../src/libsanitizer/../libstdc++-v3/libsupc++ -std=gnu++14 -g -O2 
-D_GNU_SOURCE -MT ubsan_handlers.lo -MD -MP -MF .deps/ubsan_handlers.Tpo -c 
../../../../src/libsanitizer/ubsan/ubsan_handlers.cpp -o ubsan_handlers.o 
>/dev/null 2>&1
| make[6]: *** [Makefile:3051: syscall.lo] Error 1
| make[6]: *** Waiting for unfinished jobs....

...

| make[1]: *** [debian/rules2:1328: stamps/05-build-stamp] Error 2
| make[1]: Leaving directory '/build/reproducible-path/gcc-12-12.5.0'
| make: *** [debian/rules:51: build] Error 2
| dpkg-buildpackage: error: debian/rules build subprocess failed with exit 
status 2

The full build log is available here [1].

The issue is due to the definition of SYS_SECCOMP in <signal/signal.h>
added in glibc 2.43 [2].

I would like to thanks Emanuele Rocca for doing the archive rebuild on a
fast arm64 server.

Regards
Aurelien

[1] 
https://people.debian.org/~ema/glibc-2.43-rebuilds/output-1/gcc-12_arm64.build
[2] 
https://sourceware.org/git/?p=glibc.git;a=commit;h=6f120faf649f03a261e3e64d5b5991030383c1b3

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
[email protected]                     http://aurel32.net

--- End Message ---
--- Begin Message ---
Source: gcc-12
Source-Version: 12.5.0-8
Done: Matthias Klose <[email protected]>

We believe that the bug you reported is fixed in the latest version of
gcc-12, 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.
Matthias Klose <[email protected]> (supplier of updated gcc-12 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: Tue, 24 Feb 2026 10:34:58 +0100
Source: gcc-12
Architecture: source
Version: 12.5.0-8
Distribution: unstable
Urgency: medium
Maintainer: Debian GCC Maintainers <[email protected]>
Changed-By: Matthias Klose <[email protected]>
Closes: 1128863
Changes:
 gcc-12 (12.5.0-8) unstable; urgency=medium
 .
   * Fix PR go/105225, taken from the trunk. Closes: #1128863.
Checksums-Sha1:
 094fac66aea140baefa60629ba2ce8d3138de47e 21580 gcc-12_12.5.0-8.dsc
 5f8e98496a9d42f74e34573ffdcfd38dd616f914 580368 gcc-12_12.5.0-8.debian.tar.xz
 92da317d25b476e7db4c0714ec60080655b133d2 9846 gcc-12_12.5.0-8_source.buildinfo
Checksums-Sha256:
 385163e57a6f188e53404d34a498d706aedb95cb515e84a13549097febdd21ca 21580 
gcc-12_12.5.0-8.dsc
 15e574418a9f817f2801b381d69f1eb9597bcb448997e603c06b2026f448059f 580368 
gcc-12_12.5.0-8.debian.tar.xz
 38ae72599476b1063af3f06051bee58ff0aff1cbff92230c018b66be474ec138 9846 
gcc-12_12.5.0-8_source.buildinfo
Files:
 ae885cc9981492ba83fd4fd99546ca54 21580 devel optional gcc-12_12.5.0-8.dsc
 4675a20f60eb126050ba4954dfcf254d 580368 devel optional 
gcc-12_12.5.0-8.debian.tar.xz
 6795629fa204fde7276ad97f2cf5ba1f 9846 devel optional 
gcc-12_12.5.0-8_source.buildinfo

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

iQJEBAEBCgAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAmmdcTUQHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9QtoEACLVmqTs3RC2AFyBDekFDxFpx29a4sooKSN
iPm7Z7yA86ZV5b2PRzPRuH6b/PwILeRHHkuIVaGbW7UtW9RyVjzIJcM6FmW7+XOp
OXDXTXBSWac6NleBVv4x98eHroU8u1791v3P2LexY+x5nCoyLlV21e2Oi4Ij4gcL
AKQzce6F1DOFJ0wNvO1mv6f+NG+K/LM5KpAZZ4v6XHjPVWNVN7gGjP0837LGsEAS
aT1busE0MsETRmYOJSBWWgfuWugK20t/GYvuhHL7Az4IFk1u6F6RKIZVfhxbU+a4
+70nvwXsxD4qYEdwdERMJQYBrny+zzWptmT/Sk9XKM01Bg7/VGAGjE07IJ/S4TI/
8zQrvMBIzFQyuvuxrykhd2kGrMQs/+K8PABxPKUKvASXgN8ZnAkfrdBqpmEOX9Y+
Rj7BDwepJOT/Woxs3YIIvXMNpviAT8Gy40IXUQrxe9RUHqgoENLU30r5mqpsiasK
uRDVnwGm0MZ85Ouo79tOOzmp36DSJLHPHjMaL2NNFywVtb/dtHiit43Kj8S3NJFJ
9EFrOR8aqQBkz57RCbCcLquBOyRdFGVKpwLhDuEzxj8XrLNhNbTcafq+ArJPLB8h
OyLYZr4t4AtOFFH8n7nbGkzWuw2GOhloqkua9WFzi7mcuPenaAjm+fADSpXI62QW
bKnrgehg7g==
=ZseA
-----END PGP SIGNATURE-----

Attachment: pgpOFFYfq8A13.pgp
Description: PGP signature


--- End Message ---

Reply via email to