You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cabal v2.2 c-sources fails to link when .c file happens to have the same base name as a .hs file #5960
I stumbled upon a weird issue. The capitalization of a .c file specified in c-sources affects whether its symbols get linked to the resulting executable. Has anyone seen anything like this?
Jumped the gun a little. I think this is caused by the C file having the same name as a .hs file instead. Breaking at linking like this can't be a good failure mode...
changed the title [-]Cabal v2.2 c-sources undefined symbol when .c file capitalized [/-][+]Cabal v2.2 c-sources fails to link when .c file happens to have the same base name as a .hs file[/+]on Mar 24, 2019
Activity
moll commentedon Mar 24, 2019
Jumped the gun a little. I think this is caused by the C file having the same name as a
.hsfile instead. Breaking at linking like this can't be a good failure mode...[-]Cabal v2.2 c-sources undefined symbol when .c file capitalized [/-][+]Cabal v2.2 c-sources fails to link when .c file happens to have the same base name as a .hs file[/+]