https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117649
Bug ID: 117649 Summary: [15 regression] [RISC-V] binutils miscompiled by r15-4224-gc8957c8779954c Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: sch...@linux-m68k.org CC: jeffreyalaw at gmail dot com, jovan.vu...@rt-rk.com Target Milestone: --- Target: riscv*-*-* Binutils is miscompiled by r15-4224-gc8957c8779954c, symptoms are failed assertion in md_convert_frag, visible during a configure run: configure:4667: checking whether we are cross compiling configure:4675: gcc -o conftest -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -g -Wno-error conftest.c >&5 /tmp/ccxUmFlJ.s: Assembler messages: /tmp/ccxUmFlJ.s: Internal error in md_convert_frag at ../../gas/config/tc-riscv.c:5327. Please report this bug. configure:4679: $? = 1 configure:4686: ./conftest ../configure: line 4688: ./conftest: No such file or directory configure:4690: $? = 127 configure:4697: error: in `/home/abuild/rpmbuild/BUILD/binutils-2.43.50.20241118/build-dir': configure:4699: error: cannot run C compiled programs.