|
From: | sam at gentoo dot org |
Subject: | [Bug ld/32372] New: bfd fails to build with GCC trunk (defaults to -std=gnu23) (bfd/elf64-ppc.c:4667:20: error: incompatible types when returning type ‘_Bool’ but ‘struct plt_entry **’ was expected) |
Date: | Sat, 16 Nov 2024 04:32:10 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=32372 Bug ID: 32372 Summary: bfd fails to build with GCC trunk (defaults to -std=gnu23) (bfd/elf64-ppc.c:4667:20: error: incompatible types when returning type ‘_Bool’ but ‘struct plt_entry **’ was expected) Product: binutils Version: unspecified Status: NEW Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: sam at gentoo dot org Target Milestone: --- GCC trunk now defaults to -std=gnu23: ``` /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-devel/binutils-9999/work/binutils/bfd -DBINDIR='"/usr/x86_64-pc-linux-gnu/binutils-bin/9999"' -DLIBDIR='"/usr/lib64/binutils/x86_64-pc-linux-gnu/9999"' -I. -I/var/tmp/portage/sys-devel/binutils-9999/work/binutils/bfd -I/var/tmp/portage/sys-devel/binutils-9999 /work/binutils/bfd/../include -DHAVE_all_vecs -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144 -O3 -march=native -mtls-dialect=gnu2 -pipe -fcf-protection=none -fdiagnostics-color=always -fdiagnostics-urls=never -frecord-gcc-switches -fdiagnostics-details -Warray-bounds -Wstrict-aliasing -Wfree-nonheap-object -Wuninitialized -Wmaybe-un initialized -Wreturn-type -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -Warray-bounds -fdiagnostics-details -Wstringop-overread -Wstringop-overflow -Wstringop-truncation -Wbuiltin-declaration-mismatch -ggdb3 -fprofile-generate -flto=jobserver -ffat-lto-objects -c -o elf64-ppc.lo /var/tmp/portage/sys-devel/binutils-9999/work/binutils/bfd/elf64-ppc.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-devel/binutils-9999/work/binutils/bfd -DBINDIR=\"/usr/x86_64-pc-linux-gnu/binutils-bin/9999\" -DLIBDIR=\"/usr/lib64/binutils/x86_64-pc-linux-gnu/9999\" -I. -I/var/tmp/portage/sys-devel/binutils-9999/work/binutils/bfd -I/var/tmp/portage/sys-devel/binutils-9999/work/binutils/bfd/../inclu de -DHAVE_all_vecs -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144 -O3 -march=native -mtls-dialect=gnu2 -pipe -fcf-protection=none -fdiagnostics-color=always -fdiagnostics-urls=never -frecord-gcc-switches -fdiagnostics-details -Warray-bounds -Wstrict-aliasing -Wfree-nonheap-object -Wuninitialized -Wmaybe-uninitialized -Wreturn-type -Werro r=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -Warray-bounds -fdiagnostics-details -Wstringop-overread -Wstringop-overflow -Wstringop-truncation -Wbuiltin-declaration-mismatch -ggdb3 -fprofile-generate -flto=jobserver -ffat-lto-objects -c /var/tmp/portage/sys-devel/binutils-9999/work/binutils/bfd/elf64-ppc.c -fPIC -DPIC -o .libs/elf64-ppc.o /var/tmp/portage/sys-devel/binutils-9999/work/binutils/bfd/elf64-ppc.c: In function ‘update_local_sym_info’: /var/tmp/portage/sys-devel/binutils-9999/work/binutils/bfd/elf64-ppc.c:4667:20: error: incompatible types when returning type ‘_Bool’ but ‘struct plt_entry **’ was expected 4667 | return false; | ^~~~~ make[4]: *** [Makefile:1773: elf64-ppc.lo] Error 1 ``` -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |