debcrafters-packages team mailing list archive
-
debcrafters-packages team
-
Mailing list archive
-
Message #05011
[Bug 2115734] Re: glibc: tests FTBFS on ppc64el with new float128 ABI
This bug was fixed in the package glibc - 2.41-9ubuntu1
---------------
glibc (2.41-9ubuntu1) questing; urgency=medium
* Merge from Debian unstable (LP: #2111998)
Dropped changes, superseded:
- Ignore test results on ppc64el, known issues.
Amended:
- d/tests: disable apparmor userns restrictions (LP #2059278)
Changed to allow for running on non-restrictive kernels, as
Ubuntu Apparmor sometimes lags behind the kernel.
* Update from upstream stable branch
* build: use envvars for CFLAGS rather than configparms (LP: #2115734)
glibc (2.41-9) unstable; urgency=medium
[ Aurelien Jarno ]
* debian/patches/git-updates.diff: update from upstream stable branch:
- Fix loading TLS-using modules using LD_AUDIT.
- Add tests for CVE-2025-4802.
- Fix swapped wcsncpy and wcpncpy function names in IFUNC definition.
- Fix elf/tst-execstack-prog-static-tunable on sparc64.
- Remove POWER10 optimized strcmp function (GLIBC-SA-2025-0003 /
CVE-2025-5702). Closes: #1107365.
- Remove POWER10 optimized strncmp function (GLIBC-SA-2025-0004 /
CVE-2025-5745). Closes: #1107366.
- Remove POWER10 optimized memchr function.
[ Samuel Thibault ]
* debian/patches/hurd-i386/git-rename.diff: Make rename refuse trailing
slashes.
* debian/patches/hurd-i386/local-64b-align.diff: Avoid 64b typing error on
RPCs using 64b fields in structures.
glibc (2.41-8) unstable; urgency=medium
[ Samuel Thibault ]
* debian/testsuite-xfail-debian.mk: xfail tst-execstack-prog-static-tunable
on hurd-any. Drop duplicate unsupported stances commited uptream.
* debian/patches/hurd-i386/git-dup-refcnt.diff: Fix detecting too many dups.
* debian/patches/hurd-i386/git-xstate.diff: Fix restoring SSE state on
signals.
* debian/patches/hurd-i386/local-intr-msg-clobber.diff: Drop now-useless
patch.
* debian/patches/hurd-i386/git-utime-EINVAL.diff: Make *utime*s catch invalid
times.
* debian/patches/hurd-i386/git-xstate-initialized.diff: Fix crash in dash.
* debian/patches/hurd-i386/git-signal-fpe-exceptions.diff: Fix crash in FPE
handlers.
* debian/patches/hurd-i386/git-symlink-eexist.diff: Fix gnulib testsuite.
[ Adriano Rafael Gomes ]
* Update Brazilian Portuguese debconf translation. Closes: #1103446.
[ Aurelien Jarno ]
* debian/rules.d/debhelper.mk: do not replace LIBC in debhelper.in files.
This was used for lintian overrides, but it is not used anymore. Closes:
#1104099.
* debian/patches/git-updates.diff: update from upstream stable branch:
- Fix elf/tst-audit10 test failure on x86 systems without AVX. Closes:
#1103303.
- Fix pthread_getattr_np failure when executable stack tunable is set.
glibc (2.41-7) unstable; urgency=medium
[ Samuel Thibault ]
* debian/patches/hurd-i386/git-pthread_setcancel.diff: Fix tst-cond32.
[ Atila KOÇ ]
* Update Turkish debconf translation. Closes: #1101162.
[ Remus-Gabriel Chelu ]
* Update Romanian debconf translation. Closes: #1101814.
[ Aurelien Jarno ]
* debian/patches/git-updates.diff: update from upstream stable branch:
- Build a FMA version of atanh, sinh and tanh functions using IFUNC on
amd64.
- Fix a crash on amd64 when disabling XSAVEC through the glibc.cpu.hwcaps
tunable.
- Extend glibc.rtld.execstack tunable to force executable stack.
- Detect Intel Arrow Lake, Panther Lake, Clearwater Forest, and Diamond
Rapids CPUs.
- Handle unknown Intel processors with default tuning.
* debhelper.in/libc.NEWS: add an entry to describe the executable stack
change and provide workaround.
-- Simon Chopin <schopin@xxxxxxxxxx> Wed, 02 Jul 2025 17:38:51 +0200
** Changed in: glibc (Ubuntu)
Status: New => Fix Released
** CVE added: https://cve.org/CVERecord?id=CVE-2025-4802
** CVE added: https://cve.org/CVERecord?id=CVE-2025-5702
** CVE added: https://cve.org/CVERecord?id=CVE-2025-5745
--
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/2115734
Title:
glibc: tests FTBFS on ppc64el with new float128 ABI
Status in glibc package in Ubuntu:
Fix Released
Bug description:
Currently, in the archive, testsuite failures are being ignored.
However, once that is fixed, on ppc64el, the build fails with the
following error:
powerpc64le-linux-gnu-gcc -D_DISTRO_EVADE_TIME_BITS -U_FILE_OFFSET_BITS -U_TIME_BITS /<<PKGBUILDDIR>>/build-tree/ppc64el-libc/math/test-tgmath3-atan2.c -c -std=gnu11 -fgnu89-inline -pipe -O2 -g -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -O3 -fno-tree-vectorize -Wno-error=stringop-overflow -mcpu=power9 -Wall -Wwrite-strings -Wundef -Wimplicit-fallthrough -Werror -fmerge-all-constants -frounding-math -fstack-protector-strong -fno-common -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -Wstrict-prototypes -Wold-style-definition -fmath-errno -Wno-psabi -mno-gnu-attribute -fPIE -fno-builtin -isystem /<<PKGBUILDDIR>>/debian/include <<LOTS_OF_-I_FLAGS>> -nostdinc -isystem /usr/lib/gcc/powerpc64le-linux-gnu/14/include -isystem /<<PKGBUILDDIR>>/debian/include -D_LIBC_REENTRANT -include /<<PKGBUILDDIR>>/build-tree/ppc64el-libc/libc-modules.h -DMODULE_NAME=testsuite -include ../include/libc-symbols.h -DPIC -DTOP_NAMESPACE=glibc -I../soft-fp -o /<<PKGBUILDDIR>>/build-tree/ppc64el-libc/math/test-tgmath3-atan2.o -MD -MP -MF /<<PKGBUILDDIR>>/build-tree/ppc64el-libc/math/test-tgmath3-atan2.o.dt -MT /<<PKGBUILDDIR>>/build-tree/ppc64el-libc/math/test-tgmath3-atan2.o
/<<PKGBUILDDIR>>/build-tree/ppc64el-libc/math/test-tgmath3-atan2.c: In function ‘test_atan2_132’:
/<<PKGBUILDDIR>>/build-tree/ppc64el-libc/math/test-tgmath3-atan2.c:1247:66: error: conflicting types for ‘var_long_double_Float64x’; have ‘_Float64x’
1247 | extern typeof (atan2 (vol_var_long_double, vol_var__Float64x)) var_long_double_Float64x __attribute__ ((unused));
| ^~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/build-tree/ppc64el-libc/math/test-tgmath3-atan2.c:179:22: note: previous declaration of ‘var_long_double_Float64x’ with type ‘long_double_Float64x’ {aka ‘long double’}
179 | long_double_Float64x var_long_double_Float64x __attribute__ ((unused));
| ^~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [../o-iterator.mk:9: /<<PKGBUILDDIR>>/build-tree/ppc64el-libc/math/test-tgmath3-atan2.o] Error 1
This test file is generated. I have confirmed that the generated file
is identical regardless of the default ABI used by GCC.
For comparison, a manual build of the same source tree with "mkcd
build; ../configure --prefix; make; make check" yields the following
gcc invocation:
gcc /home/ubuntu/glibc-2.41/build/math/test-tgmath3-atan2.c -c
-std=gnu11 -fgnu89-inline -g -O2 -mabi=ibmlongdouble -Wall -Wwrite-
strings -Wundef -Wimplicit-fallthrough -Werror -fmerge-all-constants
-frounding-math -fno-stack-protector -fno-common -U_FORTIFY_SOURCE
-Wstrict-prototypes -Wold-style-definition -fmath-errno -Wno-psabi
-mno-gnu-attribute -fPIE -fno-builtin <LOTS_OF_-I_FLAGS>
-D_LIBC_REENTRANT -include /home/ubuntu/glibc-2.41/build/libc-
modules.h -DMODULE_NAME=testsuite -include ../include/libc-symbols.h
-DPIC -DTOP_NAMESPACE=glibc -I../soft-fp -o
/home/ubuntu/glibc-2.41/build/math/test-tgmath3-atan2.o -MD -MP -MF
/home/ubuntu/glibc-2.41/build/math/test-tgmath3-atan2.o.dt -MT
/home/ubuntu/glibc-2.41/build/math/test-tgmath3-atan2.o
One will note that the default build script adds -mabi=ibmlongdouble
It turns out that the way we pass CFLAGS will cause the build system
to sometimes ignore file-specific flags rather than combining them.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/2115734/+subscriptions
References