public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug d/102837] New: [12 regression] Many 32-bit gdc tests FAIL
@ 2021-10-19 12:36 ro at gcc dot gnu.org
  2021-10-19 12:36 ` [Bug d/102837] " ro at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: ro at gcc dot gnu.org @ 2021-10-19 12:36 UTC (permalink / raw)
  To: gcc-bugs

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.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug d/102837] [12 regression] Many 32-bit gdc tests FAIL
  2021-10-19 12:36 [Bug d/102837] New: [12 regression] Many 32-bit gdc tests FAIL ro at gcc dot gnu.org
@ 2021-10-19 12:36 ` ro at gcc dot gnu.org
  2021-10-19 19:28 ` pinskia at gcc dot gnu.org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: ro at gcc dot gnu.org @ 2021-10-19 12:36 UTC (permalink / raw)
  To: gcc-bugs

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

Rainer Orth <ro at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |12.0

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug d/102837] [12 regression] Many 32-bit gdc tests FAIL
  2021-10-19 12:36 [Bug d/102837] New: [12 regression] Many 32-bit gdc tests FAIL ro at gcc dot gnu.org
  2021-10-19 12:36 ` [Bug d/102837] " ro at gcc dot gnu.org
@ 2021-10-19 19:28 ` pinskia at gcc dot gnu.org
  2021-10-19 19:29 ` pinskia at gcc dot gnu.org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-10-19 19:28 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
It is one of the following:
g:8088a33df5f62fd6416fb8cb158b791e639aa707
g:0111153234120de7f87b050df78f0d9819ca4214
g:efa5449a094d3887e124d400ff0410af2c745b2d

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug d/102837] [12 regression] Many 32-bit gdc tests FAIL
  2021-10-19 12:36 [Bug d/102837] New: [12 regression] Many 32-bit gdc tests FAIL ro at gcc dot gnu.org
  2021-10-19 12:36 ` [Bug d/102837] " ro at gcc dot gnu.org
  2021-10-19 19:28 ` pinskia at gcc dot gnu.org
@ 2021-10-19 19:29 ` pinskia at gcc dot gnu.org
  2021-10-25 11:32 ` ro at CeBiTec dot Uni-Bielefeld.DE
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-10-19 19:29 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #1)
> It is one of the following:
> g:8088a33df5f62fd6416fb8cb158b791e639aa707

Most likely this one.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug d/102837] [12 regression] Many 32-bit gdc tests FAIL
  2021-10-19 12:36 [Bug d/102837] New: [12 regression] Many 32-bit gdc tests FAIL ro at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2021-10-19 19:29 ` pinskia at gcc dot gnu.org
@ 2021-10-25 11:32 ` ro at CeBiTec dot Uni-Bielefeld.DE
  2021-10-25 21:37 ` ibuclaw at gcc dot gnu.org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: ro at CeBiTec dot Uni-Bielefeld.DE @ 2021-10-25 11:32 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> ---
> --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
> (In reply to Andrew Pinski from comment #1)
>> It is one of the following:
>> g:8088a33df5f62fd6416fb8cb158b791e639aa707
>
> Most likely this one.

Actually, it's

commit efa5449a094d3887e124d400ff0410af2c745b2d
Author: Iain Buclaw <ibuclaw@gdcproject.org>
Date:   Sat Sep 25 19:50:52 2021 +0200

    libphobos: Give _Unwind_Exception an alignment that best resembles
__attribute__((aligned))

in particular

+else version (X86)      private enum __aligned__ = 16;

I don't yet see where/how struct _Unwind_Execption is allocated to
guarantee that alignment.  Depending on the answer PR libstdc++/77691
(32-bit Solaris/x86 malloc only returns 8-byte aligned memory) or the
fact that the stack is only 4-byte aligned following the i386 psABI) may
be relevant.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug d/102837] [12 regression] Many 32-bit gdc tests FAIL
  2021-10-19 12:36 [Bug d/102837] New: [12 regression] Many 32-bit gdc tests FAIL ro at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2021-10-25 11:32 ` ro at CeBiTec dot Uni-Bielefeld.DE
@ 2021-10-25 21:37 ` ibuclaw at gcc dot gnu.org
  2021-10-30 22:19 ` ibuclaw at gdcproject dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: ibuclaw at gcc dot gnu.org @ 2021-10-25 21:37 UTC (permalink / raw)
  To: gcc-bugs

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

ibuclaw at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ibuclaw at gcc dot gnu.org

--- Comment #4 from ibuclaw at gcc dot gnu.org ---
(In reply to ro@CeBiTec.Uni-Bielefeld.DE from comment #3)
> Actually, it's
> 
> commit efa5449a094d3887e124d400ff0410af2c745b2d
> Author: Iain Buclaw <ibuclaw@gdcproject.org>
> Date:   Sat Sep 25 19:50:52 2021 +0200
> 
>     libphobos: Give _Unwind_Exception an alignment that best resembles
> __attribute__((aligned))
>     
> in particular
> 
> +else version (X86)      private enum __aligned__ = 16;
> 
> I don't yet see where/how struct _Unwind_Execption is allocated to
> guarantee that alignment.  Depending on the answer PR libstdc++/77691
> (32-bit Solaris/x86 malloc only returns 8-byte aligned memory) or the
> fact that the stack is only 4-byte aligned following the i386 psABI) may
> be relevant.
i386 psABI would likely be the most relevant detail here.  I'll see if exposing
the value of __attribute__((aligned)) to D CTFE is possible.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug d/102837] [12 regression] Many 32-bit gdc tests FAIL
  2021-10-19 12:36 [Bug d/102837] New: [12 regression] Many 32-bit gdc tests FAIL ro at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2021-10-25 21:37 ` ibuclaw at gcc dot gnu.org
@ 2021-10-30 22:19 ` ibuclaw at gdcproject dot org
  2021-10-31 18:52 ` cvs-commit at gcc dot gnu.org
  2021-10-31 21:43 ` ibuclaw at gdcproject dot org
  7 siblings, 0 replies; 9+ messages in thread
From: ibuclaw at gdcproject dot org @ 2021-10-30 22:19 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Iain Buclaw <ibuclaw at gdcproject dot org> ---
Testing this patch.

--- a/libphobos/libdruntime/gcc/deh.d
+++ b/libphobos/libdruntime/gcc/deh.d
@@ -207,7 +207,7 @@ struct ExceptionHeader
      */
     static void free(ExceptionHeader* eh) @nogc
     {
-        *eh = ExceptionHeader.init;
+        __builtin_memset(eh, 0, ExceptionHeader.sizeof);
         if (eh != &ehstorage)
             __builtin_free(eh);
     }

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug d/102837] [12 regression] Many 32-bit gdc tests FAIL
  2021-10-19 12:36 [Bug d/102837] New: [12 regression] Many 32-bit gdc tests FAIL ro at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2021-10-30 22:19 ` ibuclaw at gdcproject dot org
@ 2021-10-31 18:52 ` cvs-commit at gcc dot gnu.org
  2021-10-31 21:43 ` ibuclaw at gdcproject dot org
  7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-10-31 18:52 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Iain Buclaw <ibuclaw@gcc.gnu.org>:

https://gcc.gnu.org/g:d41092ec52f46d2f4b08fff8d1519e50354331b0

commit r12-4813-gd41092ec52f46d2f4b08fff8d1519e50354331b0
Author: Iain Buclaw <ibuclaw@gdcproject.org>
Date:   Sun Oct 31 18:07:16 2021 +0100

    d: Fix regressing test failures on ix86-solaris2.11

    The _Unwind_Exception struct had its alignment adjusted to 16-bytes,
    however malloc() on Solaris X86 is not guaranteed to allocate memory
    aligned to 16-bytes as well.

            PR d/102837

    libphobos/ChangeLog:

            * libdruntime/gcc/deh.d (ExceptionHeader.free): Use memset to reset
            contents of internal EH storage.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug d/102837] [12 regression] Many 32-bit gdc tests FAIL
  2021-10-19 12:36 [Bug d/102837] New: [12 regression] Many 32-bit gdc tests FAIL ro at gcc dot gnu.org
                   ` (6 preceding siblings ...)
  2021-10-31 18:52 ` cvs-commit at gcc dot gnu.org
@ 2021-10-31 21:43 ` ibuclaw at gdcproject dot org
  7 siblings, 0 replies; 9+ messages in thread
From: ibuclaw at gdcproject dot org @ 2021-10-31 21:43 UTC (permalink / raw)
  To: gcc-bugs

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

Iain Buclaw <ibuclaw at gdcproject dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #7 from Iain Buclaw <ibuclaw at gdcproject dot org> ---
Fix committed.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-10-31 21:43 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-19 12:36 [Bug d/102837] New: [12 regression] Many 32-bit gdc tests FAIL ro at gcc dot gnu.org
2021-10-19 12:36 ` [Bug d/102837] " ro at gcc dot gnu.org
2021-10-19 19:28 ` pinskia at gcc dot gnu.org
2021-10-19 19:29 ` pinskia at gcc dot gnu.org
2021-10-25 11:32 ` ro at CeBiTec dot Uni-Bielefeld.DE
2021-10-25 21:37 ` ibuclaw at gcc dot gnu.org
2021-10-30 22:19 ` ibuclaw at gdcproject dot org
2021-10-31 18:52 ` cvs-commit at gcc dot gnu.org
2021-10-31 21:43 ` ibuclaw at gdcproject dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).