cabal should complain about unlisted modules #1664

schell opened this Issue Feb 3, 2014 · 4 comments


None yet
4 participants

schell commented Feb 3, 2014

Not listing other-modules results in ld: illegal text reloc. It seems like it should instead warn about unlisted modules since an illegal text reloc is rather esoteric, though I'm sure it's just forwarding the error from ghc.

I've created a little test case at

BTW, this seems to only happen when building a library.


dcoutts commented Feb 3, 2014

I think we've already got a ticket somewhere about enforcing that all modules be listed, to stop authors from forgetting to do so.

schell commented Feb 3, 2014

#1455 could be that related ticket?


23Skidoo commented Feb 3, 2014

@schell Looks like it.


ttuegel commented Apr 23, 2015

See #1746.

@ttuegel ttuegel closed this Apr 23, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment