DRAFT: Fix issue #2670, support for extern(Objective-C) #4361
Cirrus CI / macOS 12 arm64 shared-libs-only
completed
Nov 1, 2023 in 3m 9s
Task Summary
Instruction build failed in 00:53
Details
✅ 00:06 clone
✅ 00:52 brew
✅ 00:55 install_prerequisites
✅ 00:01 install_lit
✅ 00:03 clone_submodules
❌ 00:53 build
11 ldc2 0x0000000107cc7a88 _D2rt6dmain212_d_run_main2UAAamPUQgZiZ6runAllMFZv + 116
12 ldc2 0x0000000107cc76a4 _d_run_main + 148
13 ldc2 0x0000000104c00b04 main + 728
14 dyld 0x000000010f2d108c start + 520
/bin/sh: line 1: 1777 Segmentation fault: 11 /var/folders/76/zy5ktkns50v6gt5g8r0sf6sc0000gn/T/build/bin/ldc2 -c --output-o -conf= -w -de -preview=dip1000 -preview=dtorfields -preview=fieldwise -g -link-defaultlib-debug -d-debug -d-version=CoreUnittest -unittest -checkaction=context -linkonce-templates -relocation-model=pic -fvisibility=public -dllimport=none -d-version=Shared -I/var/folders/76/zy5ktkns50v6gt5g8r0sf6sc0000gn/T/cirrus-ci-build/runtime/druntime/src -of=/var/folders/76/zy5ktkns50v6gt5g8r0sf6sc0000gn/T/build/runtime/objects-unittest-debug-shared/core/thread/threadbase.o core/thread/threadbase.d
[138/1061] Generating objects-unittest-debug-shared/test_runner.o
FAILED: runtime/objects-unittest-debug-shared/test_runner.o
cd /var/folders/76/zy5ktkns50v6gt5g8r0sf6sc0000gn/T/cirrus-ci-build/runtime/druntime/src && /var/folders/76/zy5ktkns50v6gt5g8r0sf6sc0000gn/T/build/bin/ldc2 -c --output-o -w -de -preview=dip1000 -preview=dtorfields -preview=fieldwise -g -link-defaultlib-debug -d-debug -linkonce-templates -of=/var/folders/76/zy5ktkns50v6gt5g8r0sf6sc0000gn/T/build/runtime/objects-unittest-debug-shared/test_runner.o test_runner.d
Assertion failed: (EltTy && "Can't get a pointer to <null> type!"), function get, file Type.cpp, line 728.
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0 ldc2 0x000000010788d124 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56
1 ldc2 0x000000010788bfbc llvm::sys::RunSignalHandlers() + 72
2 ldc2 0x000000010788d778 SignalHandler(int) + 304
3 libsystem_platform.dylib 0x00000001b072f4a4 _sigtramp + 56
4 libsystem_pthread.dylib 0x00000001b0717ee0 pthread_kill + 288
5 libsystem_c.dylib 0x00000001b0652340 abort + 168
6 libsystem_c.dylib 0x00000001b0651754 err + 0
7 ldc2 0x0000000108641dfc llvm::PointerType::get(llvm::Type*, unsigned int) (.cold.2) + 0
8 ldc2 0x00000001076114c0 llvm::PointerType::get(llvm::Type*, unsigned int) + 540
9 ldc2 0x00000001048d5168 ObjCState::ObjCState(llvm::Module&) + 660
10 ldc2 0x00000001048bd448 IRState::IRState(char const*, llvm::LLVMContext&) + 260
11 ldc2 0x0000000104951944 ldc::CodeGenerator::prepareLLModule(Module*) + 132
12 ldc2 0x0000000104951b48 ldc::CodeGenerator::emit(Module*) + 144
13 ldc2 0x000000010496acc0 codegenModules(Array<Module*>&) + 516
14 ldc2 0x00000001047258a0 mars_mainBody(Param&, Array<char const*>&, Array<char const*>&) + 5080
15 ldc2 0x0000000107a2fa88 _D2rt6dmain212_d_run_main2UAAamPUQgZiZ6runAllMFZv + 116
16 ldc2 0x0000000107a2f6a4 _d_run_main + 148
17 ldc2 0x0000000104968b04 main + 728
18 dyld 0x000000010eded08c start + 520
/bin/sh: line 1: 1776 Abort trap: 6 /var/folders/76/zy5ktkns50v6gt5g8r0sf6sc0000gn/T/build/bin/ldc2 -c --output-o -w -de -preview=dip1000 -preview=dtorfields -preview=fieldwise -g -link-defaultlib-debug -d-debug -linkonce-templates -of=/var/folders/76/zy5ktkns50v6gt5g8r0sf6sc0000gn/T/build/runtime/objects-unittest-debug-shared/test_runner.o test_runner.d
[139/1061] Generating objects-unittest-debug-shared/rt/dso.o
FAILED: runtime/objects-unittest-debug-shared/rt/dso.o
cd /var/folders/76/zy5ktkns50v6gt5g8r0sf6sc0000gn/T/cirrus-ci-build/runtime/druntime/src && /var/folders/76/zy5ktkns50v6gt5g8r0sf6sc0000gn/T/build/bin/ldc2 -c --output-o -conf= -w -de -preview=dip1000 -preview=dtorfields -preview=fieldwise -g -link-defaultlib-debug -d-debug -d-version=CoreUnittest -unittest -checkaction=context -linkonce-templates -relocation-model=pic -fvisibility=public -dllimport=none -d-version=Shared -I/var/folders/76/zy5ktkns50v6gt5g8r0sf6sc0000gn/T/cirrus-ci-build/runtime/druntime/src -of=/var/folders/76/zy5ktkns50v6gt5g8r0sf6sc0000gn/T/build/runtime/objects-unittest-debug-shared/rt/dso.o rt/dso.d
Assertion failed: (EltTy && "Can't get a pointer to <null> type!"), function get, file Type.cpp, line 728.
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0 ldc2 0x00000001059cd124 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56
1 ldc2 0x00000001059cbfbc llvm::sys::RunSignalHandlers() + 72
2 ldc2 0x00000001059cd778 SignalHandler(int) + 304
3 libsystem_platform.dylib 0x00000001b072f4a4 _sigtramp + 56
4 libsystem_pthread.dylib 0x00000001b0717ee0 pthread_kill + 288
5 libsystem_c.dylib 0x00000001b0652340 abort + 168
6 libsystem_c.dylib 0x00000001b0651754 err + 0
7 ldc2 0x0000000106781dfc llvm::PointerType::get(llvm::Type*, unsigned int) (.cold.2) + 0
8 ldc2 0x00000001057514c0 llvm::PointerType::get(llvm::Type*, unsigned int) + 540
9 ldc2 0x0000000102a15168 ObjCState::ObjCState(llvm::Module&) + 660
10 ldc2 0x00000001029fd448 IRState::IRState(char const*, llvm::LLVMContext&) + 260
11 ldc2 0x0000000102a91944 ldc::CodeGenerator::prepareLLModule(Module*) + 132
12 ldc2 0x0000000102a91b48 ldc::CodeGenerator::emit(Module*) + 144
13 ldc2 0x0000000102aaacc0 codegenModules(Array<Module*>&) + 516
14 ldc2 0x00000001028658a0 mars_mainBody(Param&, Array<char const*>&, Array<char const*>&) + 5080
15 ldc2 0x0000000105b6fa88 _D2rt6dmain212_d_run_main2UAAamPUQgZiZ6runAllMFZv + 116
16 ldc2 0x0000000105b6f6a4 _d_run_main + 148
17 ldc2 0x0000000102aa8b04 main + 728
18 dyld 0x000000010d0a908c start + 520
/bin/sh: line 1: 1775 Abort trap: 6 /var/folders/76/zy5ktkns50v6gt5g8r0sf6sc0000gn/T/build/bin/ldc2 -c --output-o -conf= -w -de -preview=dip1000 -preview=dtorfields -preview=fieldwise -g -link-defaultlib-debug -d-debug -d-version=CoreUnittest -unittest -checkaction=context -linkonce-templates -relocation-model=pic -fvisibility=public -dllimport=none -d-version=Shared -I/var/folders/76/zy5ktkns50v6gt5g8r0sf6sc0000gn/T/cirrus-ci-build/runtime/druntime/src -of=/var/folders/76/zy5ktkns50v6gt5g8r0sf6sc0000gn/T/build/runtime/objects-unittest-debug-shared/rt/dso.o rt/dso.d
ninja: build stopped: subcommand failed.
Loading