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

            Bug ID: 102837
           Summary: [12 regression] Many 32-bit gdc tests FAIL
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: d
          Assignee: ibuclaw at gdcproject dot org
          Reporter: ro at gcc dot gnu.org
  Target Milestone: ---
            Target: i?86-pc-solaris2.11, x86_64-pc-solaris2.11

Between 20210930 (ef37ddf477ac4b21ec4d1be9260cfd3b431fd4a9) and 20211001
(701075864ac4d1c6cec936d10f9cfc2aeb8c1699),
a large number of testsuite regressions occured on 32-bit Solaris/x86:

FAIL: gdc.test/runnable/closure.d -shared-libphobos   execution test
FAIL: gdc.test/runnable/eh.d -O2 -fPIC -shared-libphobos   execution test
FAIL: gdc.test/runnable/eh.d -O2 -shared-libphobos   execution test
FAIL: gdc.test/runnable/eh.d -fPIC -shared-libphobos   execution test
FAIL: gdc.test/runnable/eh.d -shared-libphobos   execution test
FAIL: gdc.test/runnable/eh2.d -fPIC -shared-libphobos   execution test
FAIL: gdc.test/runnable/eh2.d -shared-libphobos   execution test
FAIL: gdc.test/runnable/foreach5.d -shared-libphobos   execution test
FAIL: gdc.test/runnable/opover2.d -O2 -finline-functions -shared-libphobos  
execution test
FAIL: gdc.test/runnable/opover2.d -O2 -shared-libphobos   execution test
FAIL: gdc.test/runnable/opover2.d -finline-functions -shared-libphobos  
execution test
FAIL: gdc.test/runnable/opover2.d -shared-libphobos   execution test
FAIL: gdc.test/runnable/sdtor.d -O2 -fPIC -finline-functions -frelease
-funittest -g -shared-libphobos   execution test
FAIL: gdc.test/runnable/sdtor.d -O2 -fPIC -finline-functions -frelease
-funittest -shared-libphobos   execution test
FAIL: gdc.test/runnable/sdtor.d -O2 -fPIC -finline-functions -frelease -g
-shared-libphobos   execution test
FAIL: gdc.test/runnable/sdtor.d -O2 -fPIC -finline-functions -frelease
-shared-libphobos   execution test
FAIL: gdc.test/runnable/sdtor.d -O2 -fPIC -finline-functions -funittest -g
-shared-libphobos   execution test
FAIL: gdc.test/runnable/sdtor.d -O2 -fPIC -finline-functions -funittest
-shared-libphobos   execution test
FAIL: gdc.test/runnable/sdtor.d -O2 -fPIC -finline-functions -g
-shared-libphobos   execution test
FAIL: gdc.test/runnable/sdtor.d -O2 -fPIC -finline-functions -shared-libphobos 
 execution test
FAIL: gdc.test/runnable/sdtor.d -O2 -fPIC -frelease -funittest -g
-shared-libphobos   execution test
FAIL: gdc.test/runnable/sdtor.d -O2 -fPIC -frelease -funittest
-shared-libphobos   execution test
FAIL: gdc.test/runnable/sdtor.d -O2 -fPIC -frelease -g -shared-libphobos  
execution test
FAIL: gdc.test/runnable/sdtor.d -O2 -fPIC -frelease -shared-libphobos  
execution test
FAIL: gdc.test/runnable/sdtor.d -O2 -fPIC -funittest -g -shared-libphobos  
execution test
FAIL: gdc.test/runnable/sdtor.d -O2 -fPIC -funittest -shared-libphobos  
execution test
FAIL: gdc.test/runnable/sdtor.d -O2 -fPIC -g -shared-libphobos   execution test
FAIL: gdc.test/runnable/sdtor.d -O2 -fPIC -shared-libphobos   execution test
FAIL: gdc.test/runnable/sdtor.d -O2 -finline-functions -frelease -funittest -g
-shared-libphobos   execution test
FAIL: gdc.test/runnable/sdtor.d -O2 -finline-functions -frelease -funittest
-shared-libphobos   execution test
FAIL: gdc.test/runnable/sdtor.d -O2 -finline-functions -frelease -g
-shared-libphobos   execution test
FAIL: gdc.test/runnable/sdtor.d -O2 -finline-functions -frelease
-shared-libphobos   execution test
FAIL: gdc.test/runnable/sdtor.d -O2 -finline-functions -funittest -g
-shared-libphobos   execution test
FAIL: gdc.test/runnable/sdtor.d -O2 -finline-functions -funittest
-shared-libphobos   execution test
FAIL: gdc.test/runnable/sdtor.d -O2 -finline-functions -g -shared-libphobos  
execution test
FAIL: gdc.test/runnable/sdtor.d -O2 -finline-functions -shared-libphobos  
execution test
FAIL: gdc.test/runnable/sdtor.d -O2 -frelease -funittest -g -shared-libphobos  
execution test
FAIL: gdc.test/runnable/sdtor.d -O2 -frelease -funittest -shared-libphobos  
execution test
FAIL: gdc.test/runnable/sdtor.d -O2 -frelease -g -shared-libphobos   execution
test
FAIL: gdc.test/runnable/sdtor.d -O2 -frelease -shared-libphobos   execution
test
FAIL: gdc.test/runnable/sdtor.d -O2 -funittest -g -shared-libphobos   execution
test
FAIL: gdc.test/runnable/sdtor.d -O2 -funittest -shared-libphobos   execution
test
FAIL: gdc.test/runnable/sdtor.d -O2 -g -shared-libphobos   execution test
FAIL: gdc.test/runnable/sdtor.d -O2 -shared-libphobos   execution test
FAIL: gdc.test/runnable/sdtor.d -fPIC -finline-functions -frelease -funittest
-g -shared-libphobos   execution test
FAIL: gdc.test/runnable/sdtor.d -fPIC -finline-functions -frelease -funittest
-shared-libphobos   execution test
FAIL: gdc.test/runnable/sdtor.d -fPIC -finline-functions -frelease -g
-shared-libphobos   execution test
FAIL: gdc.test/runnable/sdtor.d -fPIC -finline-functions -frelease
-shared-libphobos   execution test
FAIL: gdc.test/runnable/sdtor.d -fPIC -finline-functions -funittest -g
-shared-libphobos   execution test
FAIL: gdc.test/runnable/sdtor.d -fPIC -finline-functions -funittest
-shared-libphobos   execution test
FAIL: gdc.test/runnable/sdtor.d -fPIC -finline-functions -g -shared-libphobos  
execution test
FAIL: gdc.test/runnable/sdtor.d -fPIC -finline-functions -shared-libphobos  
execution test
FAIL: gdc.test/runnable/sdtor.d -fPIC -frelease -funittest -g -shared-libphobos
  execution test
FAIL: gdc.test/runnable/sdtor.d -fPIC -frelease -funittest -shared-libphobos  
execution test
FAIL: gdc.test/runnable/sdtor.d -fPIC -frelease -g -shared-libphobos  
execution test
FAIL: gdc.test/runnable/sdtor.d -fPIC -frelease -shared-libphobos   execution
test
FAIL: gdc.test/runnable/sdtor.d -fPIC -funittest -g -shared-libphobos  
execution test
FAIL: gdc.test/runnable/sdtor.d -fPIC -funittest -shared-libphobos   execution
test
FAIL: gdc.test/runnable/sdtor.d -fPIC -g -shared-libphobos   execution test
FAIL: gdc.test/runnable/sdtor.d -fPIC -shared-libphobos   execution test
FAIL: gdc.test/runnable/sdtor.d -finline-functions -frelease -funittest -g
-shared-libphobos   execution test
FAIL: gdc.test/runnable/sdtor.d -finline-functions -frelease -funittest
-shared-libphobos   execution test
FAIL: gdc.test/runnable/sdtor.d -finline-functions -frelease -g
-shared-libphobos   execution test
FAIL: gdc.test/runnable/sdtor.d -finline-functions -frelease -shared-libphobos 
 execution test
FAIL: gdc.test/runnable/sdtor.d -finline-functions -funittest -g
-shared-libphobos   execution test
FAIL: gdc.test/runnable/sdtor.d -finline-functions -funittest -shared-libphobos
  execution test
FAIL: gdc.test/runnable/sdtor.d -finline-functions -g -shared-libphobos  
execution test
FAIL: gdc.test/runnable/sdtor.d -finline-functions -shared-libphobos  
execution test
FAIL: gdc.test/runnable/sdtor.d -frelease -funittest -g -shared-libphobos  
execution test
FAIL: gdc.test/runnable/sdtor.d -frelease -funittest -shared-libphobos  
execution test
FAIL: gdc.test/runnable/sdtor.d -frelease -g -shared-libphobos   execution test
FAIL: gdc.test/runnable/sdtor.d -frelease -shared-libphobos   execution test
FAIL: gdc.test/runnable/sdtor.d -funittest -g -shared-libphobos   execution
test
FAIL: gdc.test/runnable/sdtor.d -funittest -shared-libphobos   execution test
FAIL: gdc.test/runnable/sdtor.d -g -shared-libphobos   execution test
FAIL: gdc.test/runnable/sdtor.d -shared-libphobos   execution test
FAIL: gdc.test/runnable/test12.d -O2 -fPIC -finline-functions -frelease
-funittest -g -shared-libphobos   execution test
FAIL: gdc.test/runnable/test12.d -O2 -fPIC -finline-functions -frelease
-funittest -shared-libphobos   execution test
FAIL: gdc.test/runnable/test12.d -O2 -fPIC -finline-functions -funittest -g
-shared-libphobos   execution test
FAIL: gdc.test/runnable/test12.d -O2 -fPIC -finline-functions -funittest
-shared-libphobos   execution test
FAIL: gdc.test/runnable/test12.d -O2 -fPIC -frelease -funittest -g
-shared-libphobos   execution test
FAIL: gdc.test/runnable/test12.d -O2 -fPIC -frelease -funittest
-shared-libphobos   execution test
FAIL: gdc.test/runnable/test12.d -O2 -fPIC -funittest -g -shared-libphobos  
execution test
FAIL: gdc.test/runnable/test12.d -O2 -fPIC -funittest -shared-libphobos  
execution test
FAIL: gdc.test/runnable/test12.d -O2 -finline-functions -frelease -funittest -g
-shared-libphobos   execution test
FAIL: gdc.test/runnable/test12.d -O2 -finline-functions -frelease -funittest
-shared-libphobos   execution test
FAIL: gdc.test/runnable/test12.d -O2 -finline-functions -funittest -g
-shared-libphobos   execution test
FAIL: gdc.test/runnable/test12.d -O2 -finline-functions -funittest
-shared-libphobos   execution test
FAIL: gdc.test/runnable/test12.d -O2 -frelease -funittest -g -shared-libphobos 
 execution test
FAIL: gdc.test/runnable/test12.d -O2 -frelease -funittest -shared-libphobos  
execution test
FAIL: gdc.test/runnable/test12.d -O2 -funittest -g -shared-libphobos  
execution test
FAIL: gdc.test/runnable/test12.d -O2 -funittest -shared-libphobos   execution
test
FAIL: gdc.test/runnable/test12.d -fPIC -finline-functions -frelease -funittest
-g -shared-libphobos   execution test
FAIL: gdc.test/runnable/test12.d -fPIC -finline-functions -frelease -funittest
-shared-libphobos   execution test
FAIL: gdc.test/runnable/test12.d -fPIC -finline-functions -funittest -g
-shared-libphobos   execution test
FAIL: gdc.test/runnable/test12.d -fPIC -finline-functions -funittest
-shared-libphobos   execution test
FAIL: gdc.test/runnable/test12.d -fPIC -frelease -funittest -g
-shared-libphobos   execution test
FAIL: gdc.test/runnable/test12.d -fPIC -frelease -funittest -shared-libphobos  
execution test
FAIL: gdc.test/runnable/test12.d -fPIC -funittest -g -shared-libphobos  
execution test
FAIL: gdc.test/runnable/test12.d -fPIC -funittest -shared-libphobos   execution
test
FAIL: gdc.test/runnable/test12.d -finline-functions -frelease -funittest -g
-shared-libphobos   execution test
FAIL: gdc.test/runnable/test12.d -finline-functions -frelease -funittest
-shared-libphobos   execution test
FAIL: gdc.test/runnable/test12.d -finline-functions -funittest -g
-shared-libphobos   execution test
FAIL: gdc.test/runnable/test12.d -finline-functions -funittest
-shared-libphobos   execution test
FAIL: gdc.test/runnable/test12.d -frelease -funittest -g -shared-libphobos  
execution test
FAIL: gdc.test/runnable/test12.d -frelease -funittest -shared-libphobos  
execution test
FAIL: gdc.test/runnable/test12.d -funittest -g -shared-libphobos   execution
test
FAIL: gdc.test/runnable/test12.d -funittest -shared-libphobos   execution test
FAIL: gdc.test/runnable/testbounds.d -shared-libphobos   execution test
FAIL: gdc.test/runnable/testcontracts.d -O2 -finline-functions -g
-shared-libphobos   execution test
FAIL: gdc.test/runnable/testcontracts.d -O2 -finline-functions
-shared-libphobos   execution test
FAIL: gdc.test/runnable/testcontracts.d -O2 -g -shared-libphobos   execution
test
FAIL: gdc.test/runnable/testcontracts.d -O2 -shared-libphobos   execution test
FAIL: gdc.test/runnable/testcontracts.d -finline-functions -g -shared-libphobos
  execution test
FAIL: gdc.test/runnable/testcontracts.d -finline-functions -shared-libphobos  
execution test
FAIL: gdc.test/runnable/testcontracts.d -g -shared-libphobos   execution test
FAIL: gdc.test/runnable/testcontracts.d -shared-libphobos   execution test
FAIL: gdc.test/runnable/testtypeid.d -shared-libphobos   execution test
FAIL: gdc.test/runnable/xtest46.d -O2 -fPIC -finline-functions -frelease
-funittest -g -shared-libphobos   execution test
FAIL: gdc.test/runnable/xtest46.d -O2 -fPIC -finline-functions -frelease
-funittest -shared-libphobos   execution test
FAIL: gdc.test/runnable/xtest46.d -O2 -fPIC -finline-functions -frelease -g
-shared-libphobos   execution test
FAIL: gdc.test/runnable/xtest46.d -O2 -fPIC -finline-functions -frelease
-shared-libphobos   execution test
FAIL: gdc.test/runnable/xtest46.d -O2 -fPIC -finline-functions -funittest -g
-shared-libphobos   execution test
FAIL: gdc.test/runnable/xtest46.d -O2 -fPIC -finline-functions -funittest
-shared-libphobos   execution test
FAIL: gdc.test/runnable/xtest46.d -O2 -fPIC -finline-functions -g
-shared-libphobos   execution test
FAIL: gdc.test/runnable/xtest46.d -O2 -fPIC -finline-functions
-shared-libphobos   execution test
FAIL: gdc.test/runnable/xtest46.d -O2 -fPIC -frelease -funittest -g
-shared-libphobos   execution test
FAIL: gdc.test/runnable/xtest46.d -O2 -fPIC -frelease -funittest
-shared-libphobos   execution test
FAIL: gdc.test/runnable/xtest46.d -O2 -fPIC -frelease -g -shared-libphobos  
execution test
FAIL: gdc.test/runnable/xtest46.d -O2 -fPIC -frelease -shared-libphobos  
execution test
FAIL: gdc.test/runnable/xtest46.d -O2 -fPIC -funittest -g -shared-libphobos  
execution test
FAIL: gdc.test/runnable/xtest46.d -O2 -fPIC -funittest -shared-libphobos  
execution test
FAIL: gdc.test/runnable/xtest46.d -O2 -fPIC -g -shared-libphobos   execution
test
FAIL: gdc.test/runnable/xtest46.d -O2 -fPIC -shared-libphobos   execution test
FAIL: gdc.test/runnable/xtest46.d -O2 -finline-functions -frelease -funittest
-g -shared-libphobos   execution test
FAIL: gdc.test/runnable/xtest46.d -O2 -finline-functions -frelease -funittest
-shared-libphobos   execution test
FAIL: gdc.test/runnable/xtest46.d -O2 -finline-functions -frelease -g
-shared-libphobos   execution test
FAIL: gdc.test/runnable/xtest46.d -O2 -finline-functions -frelease
-shared-libphobos   execution test
FAIL: gdc.test/runnable/xtest46.d -O2 -finline-functions -funittest -g
-shared-libphobos   execution test
FAIL: gdc.test/runnable/xtest46.d -O2 -finline-functions -funittest
-shared-libphobos   execution test
FAIL: gdc.test/runnable/xtest46.d -O2 -finline-functions -g -shared-libphobos  
execution test
FAIL: gdc.test/runnable/xtest46.d -O2 -finline-functions -shared-libphobos  
execution test
FAIL: gdc.test/runnable/xtest46.d -O2 -frelease -funittest -g -shared-libphobos
  execution test
FAIL: gdc.test/runnable/xtest46.d -O2 -frelease -funittest -shared-libphobos  
execution test
FAIL: gdc.test/runnable/xtest46.d -O2 -frelease -g -shared-libphobos  
execution test
FAIL: gdc.test/runnable/xtest46.d -O2 -frelease -shared-libphobos   execution
test
FAIL: gdc.test/runnable/xtest46.d -O2 -funittest -g -shared-libphobos  
execution test
FAIL: gdc.test/runnable/xtest46.d -O2 -funittest -shared-libphobos   execution
test
FAIL: gdc.test/runnable/xtest46.d -O2 -g -shared-libphobos   execution test
FAIL: gdc.test/runnable/xtest46.d -O2 -shared-libphobos   execution test
FAIL: gdc.test/runnable/xtest46.d -fPIC -finline-functions -frelease -funittest
-g -shared-libphobos   execution test
FAIL: gdc.test/runnable/xtest46.d -fPIC -finline-functions -frelease -funittest
-shared-libphobos   execution test
FAIL: gdc.test/runnable/xtest46.d -fPIC -finline-functions -frelease -g
-shared-libphobos   execution test
FAIL: gdc.test/runnable/xtest46.d -fPIC -finline-functions -frelease
-shared-libphobos   execution test
FAIL: gdc.test/runnable/xtest46.d -fPIC -finline-functions -funittest -g
-shared-libphobos   execution test
FAIL: gdc.test/runnable/xtest46.d -fPIC -finline-functions -funittest
-shared-libphobos   execution test
FAIL: gdc.test/runnable/xtest46.d -fPIC -finline-functions -g -shared-libphobos
  execution test
FAIL: gdc.test/runnable/xtest46.d -fPIC -finline-functions -shared-libphobos  
execution test
FAIL: gdc.test/runnable/xtest46.d -fPIC -frelease -funittest -g
-shared-libphobos   execution test
FAIL: gdc.test/runnable/xtest46.d -fPIC -frelease -funittest -shared-libphobos 
 execution test
FAIL: gdc.test/runnable/xtest46.d -fPIC -frelease -g -shared-libphobos  
execution test
FAIL: gdc.test/runnable/xtest46.d -fPIC -frelease -shared-libphobos   execution
test
FAIL: gdc.test/runnable/xtest46.d -fPIC -funittest -g -shared-libphobos  
execution test
FAIL: gdc.test/runnable/xtest46.d -fPIC -funittest -shared-libphobos  
execution test
FAIL: gdc.test/runnable/xtest46.d -fPIC -g -shared-libphobos   execution test
FAIL: gdc.test/runnable/xtest46.d -fPIC -shared-libphobos   execution test
FAIL: gdc.test/runnable/xtest46.d -finline-functions -frelease -funittest -g
-shared-libphobos   execution test
FAIL: gdc.test/runnable/xtest46.d -finline-functions -frelease -funittest
-shared-libphobos   execution test
FAIL: gdc.test/runnable/xtest46.d -finline-functions -frelease -g
-shared-libphobos   execution test
FAIL: gdc.test/runnable/xtest46.d -finline-functions -frelease
-shared-libphobos   execution test
FAIL: gdc.test/runnable/xtest46.d -finline-functions -funittest -g
-shared-libphobos   execution test
FAIL: gdc.test/runnable/xtest46.d -finline-functions -funittest
-shared-libphobos   execution test
FAIL: gdc.test/runnable/xtest46.d -finline-functions -g -shared-libphobos  
execution test
FAIL: gdc.test/runnable/xtest46.d -finline-functions -shared-libphobos  
execution test
FAIL: gdc.test/runnable/xtest46.d -frelease -funittest -g -shared-libphobos  
execution test
FAIL: gdc.test/runnable/xtest46.d -frelease -funittest -shared-libphobos  
execution test
FAIL: gdc.test/runnable/xtest46.d -frelease -g -shared-libphobos   execution
test
FAIL: gdc.test/runnable/xtest46.d -frelease -shared-libphobos   execution test
FAIL: gdc.test/runnable/xtest46.d -funittest -g -shared-libphobos   execution
test
FAIL: gdc.test/runnable/xtest46.d -funittest -shared-libphobos   execution test
FAIL: gdc.test/runnable/xtest46.d -g -shared-libphobos   execution test
FAIL: gdc.test/runnable/xtest46.d -shared-libphobos   execution test

All affected tests use -shared-libphobos.

E.g. runnable/closure.d:

bar = 10
bar = 10
bar = 10
bar = 10
bar = 10
bar = 10
bar = 10
bar = 10
bar = 10
bar = 10
bar = 23
bar = 23
8
0
1
2
3
4
5
6
7
8
9
Segmentation Fault

Thread 2 received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1 (LWP 1)]
0xfe2de004 in gcc.deh.ExceptionHeader.free(gcc.deh.ExceptionHeader*)
(eh=<optimized out>) at
/vol/gcc/src/hg/master/local/libphobos/libdruntime/gcc/deh.d:210
210             *eh = ExceptionHeader.init;
(gdb) where
#0  0xfe2de004 in gcc.deh.ExceptionHeader.free(gcc.deh.ExceptionHeader*)
(eh=<optimized out>) at
/vol/gcc/src/hg/master/local/libphobos/libdruntime/gcc/deh.d:210
#1  0xfe2de128 in gcc.deh._d_throw(object.Throwable).exception_cleanup(uint,
gcc.unwind.generic._Unwind_Exception*) (code=<optimized out>, exc=<optimized
out>) at /vol/gcc/src/hg/master/local/libphobos/libdruntime/gcc/deh.d:470
#2  0xfe5e70d8 in _Unwind_DeleteException (exc=0xfe5c4df8) at
/builds/ulhg/mrcarson-trunk_106/components/gcc11/gcc-11.2.0/libgcc/unwind.inc:283
#3  0xfe2de306 in __gdc_begin_catch (unwindHeader=<optimized out>) at
/vol/gcc/src/hg/master/local/libphobos/libdruntime/gcc/deh.d:441
#4  0x08057325 in closure.test5911() ()
#5  0x080555f0 in D main ()

I haven't yet started to investigate which of the D and/or libphobos patches
in that range is the culprit.

Reply via email to