Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Git master fails to build on Linux x86_64 #646

Closed
dnadlinger opened this issue Jun 27, 2014 · 3 comments
Closed

Git master fails to build on Linux x86_64 #646

dnadlinger opened this issue Jun 27, 2014 · 3 comments

Comments

@dnadlinger
Copy link
Member

Seems like the druntime build segfaults with Git master (cd8c937) on Linux x86_64, built against LLVM 3.4:

0  ldc2            0x0000000001493322 llvm::sys::PrintStackTrace(_IO_FILE*) + 50
1  ldc2            0x0000000001492d7c
2  libpthread.so.0 0x00007f7f7e1944b0
3  ldc2            0x00000000007061c0 stripModifiers(Type*) + 0
4  ldc2            0x00000000007a110f DtoType(Type*) + 15
5  ldc2            0x0000000000703e85 DtoAlloca(Type*, char const*) + 21
6  ldc2            0x000000000071bc5c CallExp::toElem(IRState*) + 4668
7  ldc2            0x000000000070dcd7 Expression::toElemDtor(IRState*) + 583
8  ldc2            0x0000000000733c8e
9  ldc2            0x0000000000733d84
10 ldc2            0x0000000000733d84
11 ldc2            0x0000000000733b84 Statement_toIR(Statement*, IRState*) + 36
12 ldc2            0x00000000006e93d4 DtoDefineFunction(FuncDeclaration*) + 2196
13 ldc2            0x0000000000743f13
14 ldc2            0x0000000000743f13
15 ldc2            0x0000000000743e8e Declaration_codegen(Dsymbol*) + 46
16 ldc2            0x0000000000725b6d Module::genLLVMModule(llvm::LLVMContext&) + 669
17 ldc2            0x00000000005e769f main + 7423
18 libc.so.6       0x00007f7f7cd47000 __libc_start_main + 240
19 ldc2            0x000000000060ae8f
/bin/sh: line 1:  7641 Segmentation fault      /home/dash/tmp/ldc_master/bin//ldc2 --output-o -c -I/home/dash/work/ldc-3C7D17/runtime/druntime/src -I/home/dash/work/ldc-3C7D17/runtime/druntime/src/gc /home/dash/work/ldc-3C7D17/runtime/druntime/src/ldc/eh.d -of/home/dash/tmp/ldc_master/runtime/src/ldc/eh.o -w -d -O3 -release -disable-invariants
runtime/CMakeFiles/druntime-ldc.dir/build.make:720: recipe for target 'runtime/src/ldc/eh.o' failed

Not sure why this doesn't seem to happen on Travis (which is a few revisions behind, though).

@dnadlinger
Copy link
Member Author

Also fails on Travis: https://travis-ci.org/ldc-developers/ldc/builds/28628944

@redstar
Copy link
Member

redstar commented Jun 27, 2014

That's my fault. This commit is missing: AlexeyProkhin@1e64942

@redstar
Copy link
Member

redstar commented Jun 28, 2014

Fixed with the merge of #644.

@redstar redstar closed this as completed Jun 28, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants