From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 620AC3858D34; Wed, 1 May 2024 16:24:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 620AC3858D34 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1714580664; bh=MowmZpYl5U9fLuytZznAVsxjuUxNbUD6Rw2hE3aour8=; h=From:To:Subject:Date:From; b=O+jw8IeZq6LtbLXQDpUcoV5EJk3515pFznQdenomY+Ld0z+Dat9eU+TwHRXvuSMO/ 6WMPVTYS3e1kWrJX4w0E5lmHf4FMG8n9kcU/NxK6RV8/jYCPBSb+QJzwlX8qIr9/ij FlxWmduDXEoDYJQmZPXp1T8lk0URVWy5N2rKeVUc= From: "dkm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/114910] New: can't build a c6x cross compiler Date: Wed, 01 May 2024 16:24:22 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dkm at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D114910 Bug ID: 114910 Summary: can't build a c6x cross compiler Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: dkm at gcc dot gnu.org Target Milestone: --- Hello, I'm building a c6x cross compiler using crosstool-ng (with newlib). Configured with: configure --build=3Dx86_64-build_pc-linux-gnu --host=3Dx86_64-build_pc-linu= x-gnu --target=3Dtic6x-elf --prefix=3D/root/crosstool-scratch/tic6x-elf --exec_prefix=3D/root/crosstool-scratch/tic6x-elf --with-local-prefix=3D/root/crosstool-scratch/tic6x-elf/tic6x-elf --with-headers=3D/root/crosstool-scratch/tic6x-elf/tic6x-elf/include --with-newlib --enable-threads=3Dno --disable-shared --with-pkgversion=3Dcrosstool-NG 1.26.0.72_810021d --enable-__cxa_atexit --disable-libgomp --disable-libmudflap --disable-libmpx --disable-libssp --disable-libquadmath --disable-libquadmath-support --with-gmp=3D/mnt/dkm/git/crosstool-ng/.build/tic6x-elf/buildtools --with-mpfr=3D/mnt/dkm/git/crosstool-ng/.build/tic6x-elf/buildtools --with-mpc=3D/mnt/dkm/git/crosstool-ng/.build/tic6x-elf/buildtools --with-isl=3D/mnt/dkm/git/crosstool-ng/.build/tic6x-elf/buildtools --enable= -lto --enable-target-optspace --disable-nls --enable-multiarch --enable-languages=3Dc,c++ The failing command: /mnt/dkm/git/crosstool-ng/.build/tic6x-elf/build/build-cc-gcc-final/./gcc/x= gcc -B/mnt/dkm/git/crosstool-ng/.build/tic6x-elf/build/build-cc-gcc-final/./gcc/ -B/root/crosstool-scratch/tic6x-elf/tic6x-elf/bin/ -B/root/crosstool-scratch/tic6x-elf/tic6x-elf/lib/ -isystem /root/crosstool-scratch/tic6x-elf/tic6x-elf/include -isystem /root/crosstool-scratch/tic6x-elf/tic6x-elf/sys-include -g -O2 -idirafter /root/crosstool-scratch/tic6x-elf/tic6x-elf/include -g -Os -mbig-endian -O2= -g -O2 -idirafter /root/crosstool-scratch/tic6x-elf/tic6x-elf/include -g -Os -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wno-narrowing -Wwrite-strin= gs -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition= =20 -isystem ./include -msdata=3Dnone -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -msdata=3Dnone -I. -I. -I../../.././gcc -I/mnt/dkm/git/crosstool-ng/.build/tic6x-elf/src/gcc/libgcc -I/mnt/dkm/git/crosstool-ng/.build/tic6x-elf/src/gcc/libgcc/. -I/mnt/dkm/git/crosstool-ng/.build/tic6x-elf/src/gcc/libgcc/../gcc -I/mnt/dkm/git/crosstool-ng/.build/tic6x-elf/src/gcc/libgcc/../include=20 -DHAVE_CC_TLS -DUSE_EMUTLS -o hardcfr.o -MT hardcfr.o -MD -MP -MF hardcfr.= dep=20 -c /mnt/dkm/git/crosstool-ng/.build/tic6x-elf/src/gcc/libgcc/hardcfr.c -fvisibility=3Dhidden -DHIDE_EXPORTS -save-temps --verbose-asm hardcfr.s: Assembler messages:=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20 hardcfr.s:164: Error: label not at start of execute packet=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 hardcfr.s:335: Error: label not at start of execute packet=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 hardcfr.s:340: Error: label not at start of execute packet=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 hardcfr.s:357: Error: label not at start of execute packet=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 hardcfr.s:381: Error: label not at start of execute packet=20=20 with corresponding assembly: 161 =E2=94=82 .loc 1 165 3 is_stmt 0 162 =E2=94=82 callp .s2 (consume_seq), B3 ;# 163 =E2=94=82 .LVL9: 164 =E2=94=82 || stw .d1t1 A7, *A4 ;# cfg_it__lsm.31, *cfg_it_8(D) 165 =E2=94=82 ;# /mnt/dkm/git/crosstool-ng/.build/tic6x-elf/src/gcc/libgcc/hardcfr.c:167:=20= =20 return true; 166 =E2=94=82 .loc 1 167 9 335 =E2=94=82 || add .l1x 12, B15, A4 ;#,, 336 =E2=94=82 ;# /mnt/dkm/git/crosstool-ng/.build/tic6x-elf/src/gcc/libgcc/hardcfr.c:287:=20= =20=20 consume_seq (&cfg_it); 337 =E2=94=82 .loc 1 287 4 338 =E2=94=82 callp .s2 (consume_seq), B3 ;# 339 =E2=94=82 .LVL15: 340 =E2=94=82 || add .l1x 12, B15, A4 ;#,, 341 =E2=94=82 .L14: 342 =E2=94=82 .LBE66: 343 =E2=94=82 .loc 1 274 35 is_stmt 1 discriminator 2 344 =E2=94=82 .LVL16: 345 =E2=94=82 b .s1 .L12 ;# 346 =E2=94=82 || add .d1 A10, 1, A10 ;# i,, i 347 =E2=94=82 nop 5 ;# 348 =E2=94=82 ;; jump to .L12 occurs ;# 349 =E2=94=82 .LVL17: 350 =E2=94=82 .L13: 351 =E2=94=82 .LBB67: 352 =E2=94=82 .loc 1 292 4 353 =E2=94=82 ;# /mnt/dkm/git/crosstool-ng/.build/tic6x-elf/src/gcc/libgcc/hardcfr.c:292: = if (!check_seq (visited, &cfg_it)) 354 =E2=94=82 .loc 1 292 9 is_stmt 0 355 =E2=94=82 callp .s2 (check_seq), B3 ;# 356 =E2=94=82 .LVL18: 357 =E2=94=82 || add .l2 12, B15, B4 ;#,, 358 =E2=94=82 || mv .d1 A15, A4 ;# visited, 359 =E2=94=82 ;# /mnt/dkm/git/crosstool-ng/.build/tic6x-elf/src/gcc/libgcc/hardcfr.c:292: = if (!check_seq (visited, &cfg_it)) 360 =E2=94=82 .loc 1 292 7 discriminator 1 361 =E2=94=82 extu .s1 A4, 24, 24, A0 ;# tmp129, _1 362 =E2=94=82 [A0] b .s1 .L15 ;# 363 =E2=94=82 nop 5 ;# 364 =E2=94=82 ;; condjump to .L15 occurs ;# 365 =E2=94=82 .LVL19: 366 =E2=94=82 .L16: 367 =E2=94=82 .loc 1 293 6 is_stmt 1 368 =E2=94=82 .LBB64: 369 =E2=94=82 .LBB65: 370 =E2=94=82 .loc 1 262 3 371 =E2=94=82 callp .s2 (abort), B3 ;# 372 =E2=94=82 .LVL20: 373 =E2=94=82 .L15: 374 =E2=94=82 .LBE65: 375 =E2=94=82 .LBE64: 376 =E2=94=82 .loc 1 296 4 377 =E2=94=82 ;# /mnt/dkm/git/crosstool-ng/.build/tic6x-elf/src/gcc/libgcc/hardcfr.c:296: = if (!check_seq (visited, &cfg_it)) 378 =E2=94=82 .loc 1 296 9 is_stmt 0 379 =E2=94=82 callp .s2 (check_seq), B3 ;# 380 =E2=94=82 .LVL21: 381 =E2=94=82 || add .l2 12, B15, B4 ;#,, 382 =E2=94=82 || mv .d1 A15, A4 ;# visited, 383 =E2=94=82 ;# /mnt/dkm/git/crosstool-ng/.build/tic6x-elf/src/gcc/libgcc/hardcfr.c:296: = if (!check_seq (visited, &cfg_it))=