-
Notifications
You must be signed in to change notification settings - Fork 698
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
Regression in HEAD leading to build path leaking into object files (preprocessors) #10242
Comments
Seems that |
It seems this absolute path originates a long way back in |
This is the change which seems to fix things for local source packages.
|
@mpickering If I understand wwell, the |
@Kleidukos 3.12 doesn't have this regression but it's important to fix before 3.14 I believe. |
Quite right indeed. |
@mpickering Have you coordinated with @sheaf for a fix? |
Yes, Matthew fixed this in #10256 (now merged). |
Fantastic, this brightens my day. |
In Cabal HEAD, when hsc2hs is invoked an absolute path is passed which then leaks into the object files due to this path being used in a LINE pragma.
In older versions of Cabal this is a relative path which doesn't include the build directory.
I suspect this is due to work performed by @sheaf so I will coordinate investigations with him to investigate a fix.
The text was updated successfully, but these errors were encountered: