https://sourceware.org/bugzilla/show_bug.cgi?id=29512
Bug ID: 29512 Summary: ld non-canon ref to canon protected function check breaks Solaris/x86 Product: binutils Version: 2.39 Status: NEW Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: ro at gcc dot gnu.org CC: hjl.tools at gmail dot com Target Milestone: --- Host: i?86-pc-solaris2.11 Target: i?86-pc-solaris2.11 Build: i?86-pc-solaris2.11 While I'd successfully bootstrapped gcc trunk with binutils from the 2.39 branch on Solaris 11.4/x86 some time ago,trying the same with the actual release broke: genmatch fails to link with /vol/gcc/bin/gld-2.39: ../libcpp/libcpp.a(macro.o): non-canonical reference to canonical protected function `gmtime@@SYSVABI_1.3' in /lib/libc.so /vol/gcc/bin/gld-2.39: failed to set dynamic section sizes: bad value collect2: error: ld returned 1 exit status make[3]: *** [Makefile:3040: build/genmatch] Error 1 >From the description of the patch introducing this (late in the 2.39 release cycle), I get the impression that this imposes a glibc requirement on all x86 ELF targets. By disabling the check in bfd/elf32-i386.c and bfd/elf64-x86-64.c, I managed to finish the bootstrap successfully. -- You are receiving this mail because: You are on the CC list for the bug.