https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100327
Bug ID: 100327 Summary: [12 regression] bootstrap failure after r12-228 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: seurer at gcc dot gnu.org Target Milestone: --- g:54f0224d55a1b56dde092460ddf76913670e6efc, r12-228 commit 54f0224d55a1b56dde092460ddf76913670e6efc (HEAD) Author: Patrick McGehearty <patrick.mcgehea...@oracle.com> Date: Wed Apr 28 19:14:48 2021 +0000 Practical improvement to libgcc complex divide With this commit I am seeing the follow errors or similar on multiple powerpc64 test machines, possibly all of them. Is this using things from a later version of glibc or something that is now required? If so this is going to be a problem. /home/seurer/gcc/git/build/gcc-trunk/./gcc/xgcc -B/home/seurer/gcc/git/build/gcc-trunk/./gcc/ -B/home/seurer/gcc/git/install/gcc-trunk/powerpc64le-unknown-linux-gnu/bin/ -B/home/seurer/gcc/git/install/gcc-trunk/powerpc64le-unknown-linux-gnu/lib/ -isystem /home/seurer/gcc/git/install/gcc-trunk/powerpc64le-unknown-linux-gnu/include -isystem /home/seurer/gcc/git/install/gcc-trunk/powerpc64le-unknown-linux-gnu/sys-include -g -O2 -O2 -g -O2 -DIN_GCC -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -mlong-double-128 -mno-minimal-toc -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -fPIC -mlong-double-128 -mno-minimal-toc -I. -I. -I../.././gcc -I/home/seurer/gcc/git/gcc-trunk/libgcc -I/home/seurer/gcc/git/gcc-trunk/libgcc/. -I/home/seurer/gcc/git/gcc-trunk/libgcc/../gcc -I/home/seurer/gcc/git/gcc-trunk/libgcc/../include -I/home/seurer/gcc/git/gcc-trunk/libgcc/../libdecnumber/dpd -I/home/seurer/gcc/git/gcc-trunk/libgcc/../libdecnumber -DHAVE_CC_TLS -Wno-type-limits -mvsx -mfloat128 -mno-float128-hardware -mno-gnu-attribute -I/home/seurer/gcc/git/gcc-trunk/libgcc/soft-fp -I/home/seurer/gcc/git/gcc-trunk/libgcc/config/rs6000 -DFLOAT128_HW_INSNS -o _divkc3.o -MT _divkc3.o -MD -MP -MF _divkc3.dep -c /home/seurer/gcc/git/gcc-trunk/libgcc/config/rs6000/_divkc3.c -fvisibility=hidden -DHIDE_EXPORTS /home/seurer/gcc/git/gcc-trunk/libgcc/config/rs6000/_divkc3.c: In function '__divkc3_sw': /home/seurer/gcc/git/gcc-trunk/libgcc/config/rs6000/_divkc3.c:41:17: error: '__LIBGCC_KF_MAX__' undeclared (first use in this function) 41 | #define RBIG (__LIBGCC_KF_MAX__ / 2) | ^~~~~~~~~~~~~~~~~ /home/seurer/gcc/git/gcc-trunk/libgcc/config/rs6000/_divkc3.c:68:23: note: in expansion of macro 'RBIG' 68 | if (FABS (d) >= RBIG) | ^~~~ /home/seurer/gcc/git/gcc-trunk/libgcc/config/rs6000/_divkc3.c:41:17: note: each undeclared identifier is reported only once for each function it appears in 41 | #define RBIG (__LIBGCC_KF_MAX__ / 2) | ^~~~~~~~~~~~~~~~~ /home/seurer/gcc/git/gcc-trunk/libgcc/config/rs6000/_divkc3.c:68:23: note: in expansion of macro 'RBIG' 68 | if (FABS (d) >= RBIG) | ^~~~ /home/seurer/gcc/git/gcc-trunk/libgcc/config/rs6000/_divkc3.c:43:17: error: '__LIBGCC_KF_EPSILON__' undeclared (first use in this function) 43 | #define RMIN2 (__LIBGCC_KF_EPSILON__) | ^~~~~~~~~~~~~~~~~~~~~ /home/seurer/gcc/git/gcc-trunk/libgcc/config/rs6000/_divkc3.c:78:22: note: in expansion of macro 'RMIN2' 78 | if (FABS (d) < RMIN2) | ^~~~~ /home/seurer/gcc/git/gcc-trunk/libgcc/config/rs6000/_divkc3.c:42:17: error: '__LIBGCC_KF_MIN__' undeclared (first use in this function) 42 | #define RMIN (__LIBGCC_KF_MIN__) | ^~~~~~~~~~~~~~~~~ /home/seurer/gcc/git/gcc-trunk/libgcc/config/rs6000/_divkc3.c:87:28: note: in expansion of macro 'RMIN' 87 | if (((FABS (a) < RMIN) && (FABS (b) < RMAX2) && (FABS (d) < RMAX2)) | ^~~~ /home/seurer/gcc/git/gcc-trunk/libgcc/shared-object.mk:14: recipe for target '_divkc3.o' failed make[2]: *** [_divkc3.o] Error 1