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

ldc checkPhase fails #61316

Closed
worldofpeace opened this issue May 11, 2019 · 2 comments

Comments

Projects
None yet
4 participants
@worldofpeace
Copy link
Member

commented May 11, 2019

ldc checkPhase fails

See build log

1600:  ... fail_compilation/testhtml2.html -O (-d -dw)
1600:  ... fail_compilation/testhtml3.html -O (-d -dw)
1600:  ... fail_compilation/testhtml.html -O (-d -dw)
1600: make: Leaving directory '/build/ldc-1.15.0-src/tests/d2/dmd-testsuite'
4/4 Test #1600: dmd-testsuite ....................   Passed  193.09 sec

The following tests passed:
        clean-dmd-testsuite-debug
        clean-dmd-testsuite
        dmd-testsuite-debug
        dmd-testsuite

100% tests passed, 0 tests failed out of 4

Total Test time (real) = 193.14 sec
Test project /build/ldc-1.15.0-src/build
    Start 1: build-ldc2-unittest
1/2 Test #1: build-ldc2-unittest ..............   Passed   40.02 sec
    Start 2: ldc2-unittest
2/2 Test #2: ldc2-unittest ....................Child aborted***Exception:   0.03 sec
Fatal error in EH code: DWARF header has unexpected format 2


50% tests passed, 1 tests failed out of 2

Total Test time (real) =  40.08 sec

The following tests FAILED:
          2 - ldc2-unittest (Child aborted)
Errors while running CTest
builder for '/nix/store/hxzygqhkhg4kqs2wdcmim65lp20vwbq3-ldc-1.15.0.drv' failed with exit code 8

It seems to have been disabled on darwin but now fails on all platforms.

According to @ThomasMader this was introduced in #56744.
See #61222 (comment) for more details.

Interestingly enough the same failure was seen with LLVM 7 in ldc-developers/ldc#2954

cc @matthewbauer

@ThomasMader

This comment has been minimized.

Copy link
Contributor

commented May 12, 2019

I think I was wrong. I guess the problem is the switch to llvm 7 from llvm 5 as a default.
I will try it out and follow up with a PR if everything works.

@ThomasMader ThomasMader referenced this issue May 12, 2019

Merged

Fix ldc #61354

4 of 10 tasks complete
@ThomasMader

This comment has been minimized.

Copy link
Contributor

commented May 12, 2019

That was the problem this issue can be closed with #61354.

@c0bw3b c0bw3b closed this May 12, 2019

pull bot pushed a commit to evanjs/nixpkgs that referenced this issue May 12, 2019

tadeokondrak added a commit to tadeokondrak/nixpkgs that referenced this issue May 17, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.