Skip to content

no dyn_o generated for C files #940

Closed
bos opened this Issue May 24, 2012 · 1 comment

3 participants

@bos
Haskell member
bos commented May 24, 2012

(Imported from Trac #950, reported by guest on 2012-05-11)

When verifying a bug in GHC-7.5.20120510 I think I discovered a bug in Cabal-1.15.0 that is shipped with the nightly build of GHC.
In the llvm-base package the C/C++ modules in the cbits directory are only compiled for the static version and the dynamic objects are not generated. This results in the compiler error:

gcc: dist/build/cbits/extra.dyn_o: file not found
gcc: dist/build/cbits/free.dyn_o: file not found
gcc: dist/build/cbits/malloc.dyn_o: file not found
gcc: dist/build/cbits/support.dyn_o: file not found
@23Skidoo 23Skidoo pushed a commit to 23Skidoo/cabal that referenced this issue Jun 4, 2012
@kosmikus kosmikus Handle test and bench stanzas without dependencies properly in modula…
…r solver.

During index conversion, the modular solver was discarding test and
bench stanzas without dependencies. As a result, constraints to enable
tests and benchmarks were then ignored in the solver.

This should close issue #940.
4c360d4
@jsl
jsl commented Feb 28, 2015

According to the reference above, commit 4c360d4 fixes this issue. Even if it doesn't, this refers to a very old version of cabal, and the ticket doesn't have a lot of information with which to reproduce the problem. I propose closing, but please re-open or create a new ticket if this problem persists.

@ttuegel ttuegel closed this Feb 28, 2015
@23Skidoo 23Skidoo pushed a commit to 23Skidoo/cabal that referenced this issue May 5, 2015
@kosmikus kosmikus Handle test and bench stanzas without dependencies properly in modula…
…r solver.

During index conversion, the modular solver was discarding test and
bench stanzas without dependencies. As a result, constraints to enable
tests and benchmarks were then ignored in the solver.

This should close issue #940.
390085e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.