[Bug build/32420] New: GCC 6 can't build glibc 2.41
hjl.tools at gmail dot com
sourceware-bugzilla@sourceware.org
Thu Dec 5 00:36:25 GMT 2024
https://sourceware.org/bugzilla/show_bug.cgi?id=32420
Bug ID: 32420
Summary: GCC 6 can't build glibc 2.41
Product: glibc
Version: 2.41
Status: NEW
Severity: normal
Priority: P2
Component: build
Assignee: unassigned at sourceware dot org
Reporter: hjl.tools at gmail dot com
CC: carlos at redhat dot com
Target Milestone: ---
The current glibc
commit 776938e8b8dcf2b59998979e91cc0f9db7d771a8
Author: Joseph Myers <josmyers@redhat.com>
Date: Wed Dec 4 20:04:04 2024 +0000
Implement C23 sinpi
doesn't build with GCC 6:
$ /usr/gcc-6.4.1-x32/bin/gcc
/export/build/gnu/tools-build/glibc-gitlab-test/build-x86_64-linux/math/s_cospif128.c
-c -std=gnu11 -fgnu89-inline -O2 -g -Wall -Wwrite-strings -Wundef -Werror
-fmerge-all-constants -frounding-math -fstack-protector-all -fno-common
-U_FORTIFY_SOURCE -Wstrict-prototypes -Wold-style-definition -fno-math-errno
-fPIE -I../include
-I/export/build/gnu/tools-build/glibc-gitlab-test/build-x86_64-linux/math
-I/export/build/gnu/tools-build/glibc-gitlab-test/build-x86_64-linux
-I../sysdeps/unix/sysv/linux/x86_64/64
-I../sysdeps/unix/sysv/linux/x86_64/include -I../sysdeps/unix/sysv/linux/x86_64
-I../sysdeps/unix/sysv/linux/x86/include -I../sysdeps/unix/sysv/linux/x86
-I../sysdeps/x86/nptl -I../sysdeps/unix/sysv/linux/wordsize-64
-I../sysdeps/x86_64/nptl -I../sysdeps/unix/sysv/linux/include
-I../sysdeps/unix/sysv/linux -I../sysdeps/nptl -I../sysdeps/pthread
-I../sysdeps/gnu -I../sysdeps/unix/inet -I../sysdeps/unix/sysv
-I../sysdeps/unix/x86_64 -I../sysdeps/unix -I../sysdeps/posix
-I../sysdeps/x86_64/64 -I../sysdeps/x86_64/fpu/multiarch
-I../sysdeps/x86_64/fpu -I../sysdeps/x86/fpu -I../sysdeps/x86_64/multiarch
-I../sysdeps/x86_64 -I../sysdeps/x86/include -I../sysdeps/x86
-I../sysdeps/ieee754/float128 -I../sysdeps/ieee754/ldbl-96/include
-I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64
-I../sysdeps/ieee754/flt-32 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754
-I../sysdeps/generic -I.. -I../libio -I. -D_LIBC_REENTRANT -include
/export/build/gnu/tools-build/glibc-gitlab-test/build-x86_64-linux/libc-modules.h
-DMODULE_NAME=libm -include ../include/libc-symbols.h -DPIC
-DTOP_NAMESPACE=glibc -I../soft-fp -o
/export/build/gnu/tools-build/glibc-gitlab-test/build-x86_64-linux/math/s_cospif128.o
-MD -MP -MF
/export/build/gnu/tools-build/glibc-gitlab-test/build-x86_64-linux/math/s_cospif128.o.dt
-MT
/export/build/gnu/tools-build/glibc-gitlab-test/build-x86_64-linux/math/s_cospif128.o
In file included from
/export/build/gnu/tools-build/glibc-gitlab-test/build-x86_64-linux/math/s_cospif128.c:1:0:
./s_cospi_template.c: In function ‘__cospif128’:
./s_cospi_template.c:29:27: error: invalid suffix "f128" on floating constant
x = M_FABS (x - M_MLIT (2.0) * M_SUF (round) (M_LIT (0.5) * x));
^
../sysdeps/generic/math-type-macros-float128.h:31:19: note: in definition of
macro ‘M_MLIT’
#define M_MLIT(c) c ## f128
^
$
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list