https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126839

            Bug ID: 126839
           Summary: [17 Regression] Many objc failures since
                    r17-2156-g6317befec9
           Product: gcc
           Version: 17.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: objc
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hp at gcc dot gnu.org
                CC: iains at gcc dot gnu.org
  Target Milestone: ---
            Target: cris-elf, pru-elf

Ever since r17-2156-g6317befec9, "most" objc execution tests fail for cris-elf
and pru-elf, perhaps for others.  I don't know wat the common factor is; it
could be 32-bit, bare-iron (*-elf) targets or cross builds.  To me, the commit
has no obvious clue what could be amiss.

Before dying, there's a message in objc.log, for example:
spawn pru-elf-run ./bitfield-1.exe^M
objc runtime: cannot find class Object^M
sim_signal_to_host: unknown signal: 6^M
program stopped with signal 1 (Hangup).^M
FAIL: objc.dg/bitfield-1.m -fgnu-runtime execution test

  A diff of make check-objc for pru-elf compared to r17-2154:

 Running /src/gcc/testsuite/objc/execute/execute.exp ...
 Running /src/gcc/testsuite/objc.dg/attributes/attributes.exp ...
 Running /src/gcc/testsuite/objc.dg/dg.exp ...
+FAIL: objc.dg/bitfield-1.m -fgnu-runtime execution test
+FAIL: objc.dg/call-super-1.m -fgnu-runtime execution test
+FAIL: objc.dg/call-super-3.m -fgnu-runtime execution test
+FAIL: objc.dg/category-1.m -fgnu-runtime execution test
+FAIL: objc.dg/defs.m -fgnu-runtime execution test
+FAIL: objc.dg/demangle-1.m -fgnu-runtime execution test
+FAIL: objc.dg/desig-init-1.m -fgnu-runtime execution test
+FAIL: objc.dg/encode-2.m -fgnu-runtime execution test
+FAIL: objc.dg/encode-3.m -fgnu-runtime execution test
+FAIL: objc.dg/exceptions-2.m -fgnu-runtime execution test
+FAIL: objc.dg/foreach-1.m -fgnu-runtime execution test
+FAIL: objc.dg/foreach-2.m -fgnu-runtime execution test
+FAIL: objc.dg/foreach-4.m -fgnu-runtime execution test
+FAIL: objc.dg/foreach-5.m -fgnu-runtime execution test
+FAIL: objc.dg/func-ptr-1.m -fgnu-runtime execution test
+FAIL: objc.dg/func-ptr-2.m -fgnu-runtime execution test
+FAIL: objc.dg/gnu-api-2-class-meta.m -fgnu-runtime execution test
+FAIL: objc.dg/gnu-api-2-class.m -fgnu-runtime execution test
+FAIL: objc.dg/gnu-api-2-ivar.m -fgnu-runtime execution test
+FAIL: objc.dg/gnu-api-2-method.m -fgnu-runtime execution test
+FAIL: objc.dg/gnu-api-2-objc.m -fgnu-runtime execution test
+FAIL: objc.dg/gnu-api-2-objc_msg_lookup.m -fgnu-runtime execution test
+FAIL: objc.dg/gnu-api-2-object.m -fgnu-runtime execution test
+FAIL: objc.dg/gnu-api-2-protocol.m -fgnu-runtime execution test
+FAIL: objc.dg/gnu-api-2-resolve-method.m -fgnu-runtime execution test
+FAIL: objc.dg/gnu-runtime-3.m -fgnu-runtime execution test
+FAIL: objc.dg/ivar-scope-3.m -fgnu-runtime execution test
+FAIL: objc.dg/ivar-scope-4.m -fgnu-runtime execution test
+FAIL: objc.dg/lookup-1.m -fgnu-runtime execution test
+FAIL: objc.dg/method-10.m -fgnu-runtime execution test
+FAIL: objc.dg/method-13.m -fgnu-runtime execution test
+FAIL: objc.dg/method-20b.m -fgnu-runtime execution test
+FAIL: objc.dg/method-3.m -fgnu-runtime execution test
+FAIL: objc.dg/named-loops-1.m -fgnu-runtime execution test
+FAIL: objc.dg/pr103639.m -fgnu-runtime execution test
+FAIL: objc.dg/pr18255.m -fgnu-runtime execution test
+FAIL: objc.dg/pr23214.m -fgnu-runtime execution test
+FAIL: objc.dg/proto-qual-1.m -fgnu-runtime execution test
+FAIL: objc.dg/stret-1.m -fgnu-runtime execution test
+FAIL: objc.dg/super-class-3.m -fgnu-runtime execution test
+FAIL: objc.dg/va-meth-1.m -fgnu-runtime execution test
 Running /src/gcc/testsuite/objc.dg/gnu-encoding/gnu-encoding.exp ...
 Running /src/gcc/testsuite/objc.dg/lto/lto.exp ...
+FAIL: objc.dg/lto/trivial-1 objc_lto_trivial-1_0.o-objc_lto_trivial-1_0.o
execute -O0 -flto -fgnu-runtime -Wno-objc-ro\
ot-class
+FAIL: objc.dg/lto/trivial-1 objc_lto_trivial-1_0.o-objc_lto_trivial-1_0.o
execute -O2 -flto -fgnu-runtime -Wno-objc-ro\
ot-class
+FAIL: objc.dg/lto/trivial-1 objc_lto_trivial-1_0.o-objc_lto_trivial-1_0.o
execute -O0 -flto -flto-partition=none -fgnu\
-runtime -Wno-objc-root-class
+FAIL: objc.dg/lto/trivial-1 objc_lto_trivial-1_0.o-objc_lto_trivial-1_0.o
execute -O2 -flto -flto-partition=none -fgnu\
-runtime -Wno-objc-root-class
 Running /src/gcc/testsuite/objc.dg/pch/pch.exp ...
 Running /src/gcc/testsuite/objc.dg/plugin/plugin.exp ...
 Running /src/gcc/testsuite/objc.dg/property/property.exp ...
+FAIL: objc.dg/property/at-property-10.m -fgnu-runtime -Wno-objc-root-class
execution test
+FAIL: objc.dg/property/at-property-11.m -fgnu-runtime -Wno-objc-root-class
execution test
+FAIL: objc.dg/property/at-property-12.m -fgnu-runtime -Wno-objc-root-class
execution test
+FAIL: objc.dg/property/at-property-13.m -fgnu-runtime -Wno-objc-root-class
execution test
+FAIL: objc.dg/property/at-property-19.m -fgnu-runtime -Wno-objc-root-class
execution test
+FAIL: objc.dg/property/at-property-22.m -fgnu-runtime -Wno-objc-root-class
execution test
+FAIL: objc.dg/property/at-property-24.m -fgnu-runtime -Wno-objc-root-class
execution test
+FAIL: objc.dg/property/at-property-26.m -fgnu-runtime -Wno-objc-root-class
execution test
+FAIL: objc.dg/property/at-property-27.m -fgnu-runtime -Wno-objc-root-class
execution test
+FAIL: objc.dg/property/at-property-6.m -fgnu-runtime -Wno-objc-root-class
execution test
+FAIL: objc.dg/property/at-property-7.m -fgnu-runtime -Wno-objc-root-class
execution test
+FAIL: objc.dg/property/at-property-8.m -fgnu-runtime -Wno-objc-root-class
execution test
+FAIL: objc.dg/property/at-property-9.m -fgnu-runtime -Wno-objc-root-class
execution test
+FAIL: objc.dg/property/dotsyntax-1.m -fgnu-runtime -Wno-objc-root-class
execution test
+FAIL: objc.dg/property/dotsyntax-10.m -fgnu-runtime -Wno-objc-root-class
execution test
+FAIL: objc.dg/property/dotsyntax-12.m -fgnu-runtime -Wno-objc-root-class
execution test
+FAIL: objc.dg/property/dotsyntax-13.m -fgnu-runtime -Wno-objc-root-class
execution test
+FAIL: objc.dg/property/dotsyntax-16.m -fgnu-runtime -Wno-objc-root-class
execution test
+FAIL: objc.dg/property/dotsyntax-18.m -fgnu-runtime -Wno-objc-root-class
execution test
+FAIL: objc.dg/property/dotsyntax-19.m -fgnu-runtime -Wno-objc-root-class
execution test
+FAIL: objc.dg/property/dotsyntax-2.m -fgnu-runtime -Wno-objc-root-class
execution test
+FAIL: objc.dg/property/dotsyntax-21.m -fgnu-runtime -Wno-objc-root-class
execution test
+FAIL: objc.dg/property/dotsyntax-3.m -fgnu-runtime -Wno-objc-root-class
execution test
+FAIL: objc.dg/property/dotsyntax-5.m -fgnu-runtime -Wno-objc-root-class
execution test
+FAIL: objc.dg/property/dotsyntax-6.m -fgnu-runtime -Wno-objc-root-class
execution test
+FAIL: objc.dg/property/dotsyntax-7.m -fgnu-runtime -Wno-objc-root-class
execution test
+FAIL: objc.dg/property/dotsyntax-8.m -fgnu-runtime -Wno-objc-root-class
execution test
+FAIL: objc.dg/property/dotsyntax-9.m -fgnu-runtime -Wno-objc-root-class
execution test
+FAIL: objc.dg/property/dynamic-5.m -fgnu-runtime -Wno-objc-root-class
execution test
+FAIL: objc.dg/property/fsf-property-basic.m -fgnu-runtime -Wno-objc-root-class
execution test
+FAIL: objc.dg/property/fsf-property-method-access.m -fgnu-runtime
-Wno-objc-root-class execution test
+FAIL: objc.dg/property/fsf-property-named-ivar.m -fgnu-runtime
-Wno-objc-root-class execution test
+FAIL: objc.dg/property/property-1.m -fgnu-runtime -Wno-objc-root-class
execution test
+FAIL: objc.dg/property/synthesize-10.m -fgnu-runtime -Wno-objc-root-class
execution test
+FAIL: objc.dg/property/synthesize-2.m -fgnu-runtime -Wno-objc-root-class
execution test
+FAIL: objc.dg/property/synthesize-3.m -fgnu-runtime -Wno-objc-root-class
execution test
+FAIL: objc.dg/property/synthesize-4.m -fgnu-runtime -Wno-objc-root-class
execution test
+FAIL: objc.dg/property/synthesize-7.m -fgnu-runtime -Wno-objc-root-class
execution test
 Running /src/gcc/testsuite/objc.dg/special/special.exp ...
+FAIL: objc.dg/special/load-category-1.m -fgnu-runtime execution test
+FAIL: objc.dg/special/load-category-2.m -fgnu-runtime execution test
+FAIL: objc.dg/special/load-category-3.m -fgnu-runtime execution test
+FAIL: objc.dg/special/unclaimed-category-1.m -fgnu-runtime execution test
 Running /src/gcc/testsuite/objc.dg/strings/strings.exp ...
+FAIL: objc.dg/strings/strings-2.m -fgnu-runtime -Wno-objc-root-class execution
test
 Running /src/gcc/testsuite/objc.dg/tls/tls.exp ...
 Running /src/gcc/testsuite/objc.dg/torture/dg-torture.exp ...
 FAIL: objc.dg/torture/forward-1.m   -O0  -fgnu-runtime -Wno-objc-root-class
execution test
@@ -74,13 +163,62 @@ FAIL: objc.dg/torture/forward-1.m   -O3
 FAIL: objc.dg/torture/forward-1.m   -Os  -fgnu-runtime -Wno-objc-root-class
execution test
 FAIL: objc.dg/torture/forward-1.m   -O2 -flto -fno-use-linker-plugin
-flto-partition=none  -fgnu-runtime -Wno-objc-roo\
t-class execution test
 FAIL: objc.dg/torture/forward-1.m   -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects  -fgnu-runtime -Wno-objc-root-c\
lass execution test
+FAIL: objc.dg/torture/trivial.m   -O0  -fgnu-runtime -Wno-objc-root-class
execution test
+FAIL: objc.dg/torture/trivial.m   -O1  -fgnu-runtime -Wno-objc-root-class
execution test
+FAIL: objc.dg/torture/trivial.m   -O2  -fgnu-runtime -Wno-objc-root-class
execution test
+FAIL: objc.dg/torture/trivial.m   -O3 -g  -fgnu-runtime -Wno-objc-root-class
execution test
+FAIL: objc.dg/torture/trivial.m   -Os  -fgnu-runtime -Wno-objc-root-class
execution test
+FAIL: objc.dg/torture/trivial.m   -O2 -flto -fno-use-linker-plugin
-flto-partition=none  -fgnu-runtime -Wno-objc-root-\
class execution test
+FAIL: objc.dg/torture/trivial.m   -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects  -fgnu-runtime -Wno-objc-root-cla\
ss execution test
 Running /src/gcc/testsuite/objc.dg/torture/strings/strings.exp ...
+FAIL: objc.dg/torture/strings/const-str-3.m   -O0  -fgnu-runtime
-Wno-objc-root-class execution test
+FAIL: objc.dg/torture/strings/const-str-3.m   -O0  -fgnu-runtime
-Wno-objc-root-class execution test
+FAIL: objc.dg/torture/strings/const-str-3.m   -O1  -fgnu-runtime
-Wno-objc-root-class execution test
+FAIL: objc.dg/torture/strings/const-str-3.m   -O2  -fgnu-runtime
-Wno-objc-root-class execution test
+FAIL: objc.dg/torture/strings/const-str-3.m   -O3 -g  -fgnu-runtime
-Wno-objc-root-class execution test
+FAIL: objc.dg/torture/strings/const-str-3.m   -Os  -fgnu-runtime
-Wno-objc-root-class execution test
+FAIL: objc.dg/torture/strings/const-str-3.m   -O2 -flto -fno-use-linker-plugin
-flto-partition=none  -fgnu-runtime -Wn\
o-objc-root-class execution test
+FAIL: objc.dg/torture/strings/const-str-3.m   -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects  -fgnu-runtime -Wno-o\
bjc-root-class execution test
+FAIL: objc.dg/torture/strings/string1.m   -O0  -fgnu-runtime
-Wno-objc-root-class execution test
+FAIL: objc.dg/torture/strings/string1.m   -O1  -fgnu-runtime
-Wno-objc-root-class execution test
+FAIL: objc.dg/torture/strings/string1.m   -O2  -fgnu-runtime
-Wno-objc-root-class execution test
+FAIL: objc.dg/torture/strings/string1.m   -O3 -g  -fgnu-runtime
-Wno-objc-root-class execution test
+FAIL: objc.dg/torture/strings/string1.m   -Os  -fgnu-runtime
-Wno-objc-root-class execution test
+FAIL: objc.dg/torture/strings/string1.m   -O2 -flto -fno-use-linker-plugin
-flto-partition=none  -fgnu-runtime -Wno-ob\
jc-root-class execution test
+FAIL: objc.dg/torture/strings/string1.m   -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects  -fgnu-runtime -Wno-objc-\
root-class execution test
+FAIL: objc.dg/torture/strings/string2.m   -O0  -fgnu-runtime
-Wno-objc-root-class execution test
+FAIL: objc.dg/torture/strings/string2.m   -O1  -fgnu-runtime
-Wno-objc-root-class execution test
+FAIL: objc.dg/torture/strings/string2.m   -O2  -fgnu-runtime
-Wno-objc-root-class execution test
+FAIL: objc.dg/torture/strings/string2.m   -O3 -g  -fgnu-runtime
-Wno-objc-root-class execution test
+FAIL: objc.dg/torture/strings/string2.m   -Os  -fgnu-runtime
-Wno-objc-root-class execution test
+FAIL: objc.dg/torture/strings/string2.m   -O2 -flto -fno-use-linker-plugin
-flto-partition=none  -fgnu-runtime -Wno-ob\
jc-root-class execution test
+FAIL: objc.dg/torture/strings/string2.m   -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects  -fgnu-runtime -Wno-objc-\
root-class execution test
+FAIL: objc.dg/torture/strings/string3.m   -O0  -fgnu-runtime
-Wno-objc-root-class execution test
+FAIL: objc.dg/torture/strings/string3.m   -O1  -fgnu-runtime
-Wno-objc-root-class execution test
+FAIL: objc.dg/torture/strings/string3.m   -O2  -fgnu-runtime
-Wno-objc-root-class execution test
+FAIL: objc.dg/torture/strings/string3.m   -O3 -g  -fgnu-runtime
-Wno-objc-root-class execution test
+FAIL: objc.dg/torture/strings/string3.m   -Os  -fgnu-runtime
-Wno-objc-root-class execution test
+FAIL: objc.dg/torture/strings/string3.m   -O2 -flto -fno-use-linker-plugin
-flto-partition=none  -fgnu-runtime -Wno-ob\
jc-root-class execution test
+FAIL: objc.dg/torture/strings/string3.m   -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects  -fgnu-runtime -Wno-objc-\
root-class execution test
+FAIL: objc.dg/torture/strings/string4.m   -O0  -fgnu-runtime
-Wno-objc-root-class execution test
+FAIL: objc.dg/torture/strings/string4.m   -O1  -fgnu-runtime
-Wno-objc-root-class execution test
+FAIL: objc.dg/torture/strings/string4.m   -O2  -fgnu-runtime
-Wno-objc-root-class execution test
+FAIL: objc.dg/torture/strings/string4.m   -O3 -g  -fgnu-runtime
-Wno-objc-root-class execution test
+FAIL: objc.dg/torture/strings/string4.m   -Os  -fgnu-runtime
-Wno-objc-root-class execution test
+FAIL: objc.dg/torture/strings/string4.m   -O2 -flto -fno-use-linker-plugin
-flto-partition=none  -fgnu-runtime -Wno-ob\
jc-root-class execution test
+FAIL: objc.dg/torture/strings/string4.m   -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects  -fgnu-runtime -Wno-objc-\
root-class execution test
 Running /src/gcc/testsuite/objc.dg/torture/tls/tls.exp ...
+FAIL: objc.dg/torture/tls/thr-init-3.m   -O0  -fgnu-runtime execution test
+FAIL: objc.dg/torture/tls/thr-init-3.m   -O1  -fgnu-runtime execution test
+FAIL: objc.dg/torture/tls/thr-init-3.m   -O2  -fgnu-runtime execution test
+FAIL: objc.dg/torture/tls/thr-init-3.m   -O3 -g  -fgnu-runtime execution test
+FAIL: objc.dg/torture/tls/thr-init-3.m   -Os  -fgnu-runtime execution test
+FAIL: objc.dg/torture/tls/thr-init-3.m   -O2 -flto -fno-use-linker-plugin
-flto-partition=none  -fgnu-runtime executio\
n test
+FAIL: objc.dg/torture/tls/thr-init-3.m   -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects  -fgnu-runtime execution t\
est

                === objc Summary ===

-# of expected passes           2841
-# of unexpected failures       8
+# of expected passes           1714
+# of unexpected failures       145
 # of unsupported tests         70
 /obj/gcc/xgcc  version 17.0.0 20260705 (experimental) [master~1033
r17-2154-g0fe05c3034c1] (GCC)

Reply via email to