www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 21042] New: Darwin_64_64 fails autotester, but no clue in log

https://issues.dlang.org/show_bug.cgi?id=21042

          Issue ID: 21042
           Summary: Darwin_64_64 fails autotester, but no clue in log file
                    when CFGalwaysframe is turned off
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Mac OS X
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: bugzilla digitalmars.com

https://auto-tester.puremagic.com/show-run.ghtml?projectid=1&runid=4111685&isPull=true

The failure can be triggered by turning off CFGalwaysframe in
backend/backconfig.d.

Could it be this: "ld: warning: could not create compact unwind"?

The end of the log file is:

---------------------------------------
/Users/braddr/sandbox/at-client/pull-4111685-Darwin_64_64/dmd/generated/osx/release/64/dmd
-m64 -fPIC -w -I../../src -I../../import -Isrc -defaultlib= -debuglib= -dip1000
-L-lpthread -L-lm
-L/Users/braddr/sandbox/at-client/pull-4111685-Darwin_64_64/druntime/generated/osx/debug/64/libdruntime.a
-g -debug -ofgenerated/osx/debug/64/test19433 src/test19433.d
src/memory.cpp:9:5: warning: 'auto' type specifier is a C++11 extension
[-Wc++11-extensions]
    auto p = new int(20); // ensure new pointer is different from released
pointer
    ^
1 warning generated.
ld: warning: could not create compact unwind for
__D2rt9backtrace5dwarf23traceHandlerOpApplyImplFAxPvMDFKmKxAaZiZ16processCallstackMFAxhZi:
offset of saved registers too far to encode
ld: warning: could not create compact unwind for
__D2gc4impl12conservativeQw3Gcx8ctfeBinsFNbZG2049g: offset of saved registers
too far to encode
mkdir -p generated/osx/debug/64/
/Users/braddr/sandbox/at-client/pull-4111685-Darwin_64_64/dmd/generated/osx/release/64/dmd
-m64 -fPIC -w -I../../src -I../../import -Isrc -defaultlib= -debuglib= -dip1000
-L-lpthread -L-lm
-L/Users/braddr/sandbox/at-client/pull-4111685-Darwin_64_64/druntime/generated/osx/debug/64/libdruntime.a
-g -debug -extern-std=c++11 -main -unittest -version=CoreUnittest -c
-of=./generated/osx/debug/64/array_11_d.o src/array_test.d
/Users/braddr/sandbox/at-client/pull-4111685-Darwin_64_64/dmd/generated/osx/release/64/dmd
-m64 -fPIC -w -I../../src -I../../import -Isrc -defaultlib= -debuglib= -dip1000
-L-lpthread -L-lm
-L/Users/braddr/sandbox/at-client/pull-4111685-Darwin_64_64/druntime/generated/osx/debug/64/libdruntime.a
-g -debug -ofgenerated/osx/debug/64/test20459 src/test20459.d
c++ -m64 -fPIC -Wall -std=c++11 -o generated/osx/debug/64/array_11
src/array.cpp ./generated/osx/debug/64/array_11_d.o
/Users/braddr/sandbox/at-client/pull-4111685-Darwin_64_64/druntime/generated/osx/debug/64/libdruntime.a
-lpthread
Testing test19433
./generated/osx/debug/64/test19433 --DRT-dont-eat-me
Testing test20459
./generated/osx/debug/64/test20459 foo bar -- --DRT-gcopts=profile:1
ld: warning: could not create compact unwind for
__D2rt9backtrace5dwarf23traceHandlerOpApplyImplFAxPvMDFKmKxAaZiZ16processCallstackMFAxhZi:
offset of saved registers too far to encode
ld: warning: could not create compact unwind for
__D2gc4impl12conservativeQw3Gcx8ctfeBinsFNbZG2049g: offset of saved registers
too far to encode
Testing allocator
Testing new
timelimit -t 10 ./generated/osx/debug/64/allocator 
timelimit -t 10 ./generated/osx/debug/64/new 
1 modules passed unittests
1 modules passed unittests
Testing memory
Testing utility
timelimit -t 10 ./generated/osx/debug/64/utility 
timelimit -t 10 ./generated/osx/debug/64/memory 
1 modules passed unittests
1 modules passed unittests
Testing array_11
timelimit -t 10 ./generated/osx/debug/64/array_11 
rm generated/osx/debug/64/memory generated/osx/debug/64/array_11
generated/osx/debug/64/utility generated/osx/debug/64/new
generated/osx/debug/64/allocator
done

--
Jul 12 2020