debcrafters-packages team mailing list archive
-
debcrafters-packages team
-
Mailing list archive
-
Message #03206
[Bug 2115734] Re: glibc: tests FTBFS on ppc64el with new float128 ABI
** Merge proposal linked:
https://code.launchpad.net/~ubuntu-core-dev/ubuntu/+source/glibc/+git/glibc/+merge/488220
--
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:
New
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