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
ghc-7.8.4 -prof flag is broken. #386
Comments
I don't have a good solution yet, but the reason this happens is because GHC 7.8 uses the system's dynamic linker by default instead of the old static one. So cabal is trying to link GMP dynamically, but we're missing a "p_dyn" (profiling/dynamic) version of $ ls /usr/lib64/ghc-7.8.4/integer-gmp-0.5.1.0/GHC/Integer/
total 80K
drwxr-xr-x 2 root root 4.0K 2015-01-13 03:04 GMP
drwxr-xr-x 2 root root 4.0K 2015-01-13 03:04 Logarithms
-rw-r--r-- 1 root root 1.6K 2015-01-13 03:03 Logarithms.dyn_hi
-rw-r--r-- 1 root root 1.6K 2015-01-13 03:03 Logarithms.hi
-rw-r--r-- 1 root root 1.6K 2015-01-13 03:03 Logarithms.p_hi
-rw-r--r-- 1 root root 18K 2015-01-13 03:03 Type.dyn_hi
-rw-r--r-- 1 root root 18K 2015-01-13 03:03 Type.hi
-rw-r--r-- 1 root root 18K 2015-01-13 03:03 Type.p_hi A workaround is to pass |
Looks like |
Passing
|
Looks like it's not ok.
|
And then
|
I'd guess it's an effect of I'd suggest dropping |
But
|
That's unexpected. Do you have complete example for hackage package? I've tried profunctors-4.3.2 and it works.
( |
Is it still a problem for you to profile stuff on newer toolchain on ghc-7.10.2 / 7.10.3? |
I dont know. To be honest I am using |
Ah, ok. Let's close it as obsolete then. |
Hello. There is problem with ghc-7.8.4. I can not build packages in my sandbox with
-prof
flag.And so on.
It is also strange that all packages installed from portage are compiled with
profile
use flag without errors.The text was updated successfully, but these errors were encountered: