https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118941
Bug ID: 118941 Summary: tic6x-elf: "Error: label not at start of execute packet" when building libstdc++ for C++23 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: joel at gcc dot gnu.org Target Milestone: --- Building with binutils-gdb, newlib-cygwin, and gcc (25256ec1df10f2eb183e1c1ab0c890e9fdd94384) from their respective masters as of 19 February 2025 in one-tree style, a build targeting tic6x-elf fails if C++ is enabled. When built for just C, gcc reports this as the version: tic6x-elf-gcc (GCC) 15.0.1 20250219 (experimental) After enabling C++, failure output is as follows: libtool: compile: /home/joel/test-gcc/b-tic6x-elf-gcc/./gcc/xgcc -shared-libgcc -B/home/joel/test-gcc/b-tic6x-elf-gcc/./gcc -nostdinc++ -L/home/joel/test-gcc/b-tic6x-elf-gcc/tic6x-elf/libstdc++-v3/src -L/home/joel/test-gcc/b-tic6x-elf-gcc/tic6x-elf/libstdc++-v3/src/.libs -L/home/joel/test-gcc/b-tic6x-elf-gcc/tic6x-elf/libstdc++-v3/libsupc++/.libs -nostdinc -B/home/joel/test-gcc/b-tic6x-elf-gcc/tic6x-elf/newlib/ -isystem /home/joel/test-gcc/b-tic6x-elf-gcc/tic6x-elf/newlib/targ-include -isystem /home/joel/test-gcc/gcc/newlib/libc/include -B/home/joel/test-gcc/b-tic6x-elf-gcc/tic6x-elf/libgloss/tic6x -L/home/joel/test-gcc/b-tic6x-elf-gcc/tic6x-elf/libgloss/libnosys -L/home/joel/test-gcc/gcc/libgloss/tic6x -B/home/joel/test-gcc/install-tic6x/tic6x-elf/bin/ -B/home/joel/test-gcc/install-tic6x/tic6x-elf/lib/ -isystem /home/joel/test-gcc/install-tic6x/tic6x-elf/include -isystem /home/joel/test-gcc/install-tic6x/tic6x-elf/sys-include -I/home/joel/test-gcc/gcc/libstdc++-v3/../libgcc -I/home/joel/test-gcc/b-tic6x-elf-gcc/tic6x-elf/libstdc++-v3/include/tic6x-elf -I/home/joel/test-gcc/b-tic6x-elf-gcc/tic6x-elf/libstdc++-v3/include -I/home/joel/test-gcc/gcc/libstdc++-v3/libsupc++ -std=gnu++23 -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=19 -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=stacktrace.lo -fimplicit-templates -g -O2 -c ../../../../../gcc/libstdc++-v3/src/c++23/stacktrace.cc -o stacktrace.o /tmp/ccZup7Rw.s: Assembler messages: /tmp/ccZup7Rw.s:44: Error: label not at start of execute packet /tmp/ccZup7Rw.s:76: Error: label not at start of execute packet /tmp/ccZup7Rw.s:92: Error: label not at start of execute packet make[5]: *** [Makefile:599: stacktrace.lo] Error 1 The output from the assembler looks similar to that in 114910 (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114910) . This may be another instance of the same failure. But I have no idea.