[GHC] #14695: ghc --interactive error: "gcc: error: libgmp.so: No such file or directory"
GHC
ghc-devs at haskell.org
Sun Jan 21 11:39:30 UTC 2018
#14695: ghc --interactive error: "gcc: error: libgmp.so: No such file or directory"
-------------------------------------+-------------------------------------
Reporter: osa1 | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version:
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by osa1):
`-v3` output:
{{{
$ ghc-stage2 --interactive -v3
GHCi, version 8.5.20180117: http://www.haskell.org/ghc/ :? for help
Glasgow Haskell Compiler, Version 8.5.20180117, stage 2 booted by GHC
version 8.2.2
Using binary package database:
/home/omer/haskell/ghc_2/inplace/lib/package.conf.d/package.cache
Using binary package database:
/home/omer/.ghc/x86_64-linux-8.5.20180117/package.conf.d/package.cache
package flags []
loading package database
/home/omer/haskell/ghc_2/inplace/lib/package.conf.d
loading package database
/home/omer/.ghc/x86_64-linux-8.5.20180117/package.conf.d
wired-in package ghc-prim mapped to ghc-prim-0.5.2.0
wired-in package integer-gmp mapped to integer-gmp-1.0.1.0
wired-in package base mapped to base-4.11.0.0
wired-in package rts mapped to rts
wired-in package template-haskell mapped to template-haskell-2.13.0.0
wired-in package ghc mapped to ghc-8.5
wired-in package dph-seq not found.
wired-in package dph-par not found.
*** Parser [source]:
!!! Parser [source]: finished in 0.51 milliseconds, allocated 0.266
megabytes
*** Desugar:
*** Simplify [expr]:
!!! Simplify [expr]: finished in 0.18 milliseconds, allocated 0.120
megabytes
*** CorePrep [expr]:
!!! CorePrep [expr]: finished in 15.25 milliseconds, allocated 1.425
megabytes
*** ByteCodeGen [Ghci1]:
!!! ByteCodeGen [Ghci1]: finished in 0.12 milliseconds, allocated 0.132
megabytes
Loading package ghc-prim-0.5.2.0 ... linking ... done.
*** gcc:
gcc -fno-stack-protector -DTABLES_NEXT_TO_CODE '-fuse-ld=gold'
-B/home/omer/haskell/ghc_2/libraries/integer-gmp/dist-install/build
-B/home/omer/lib -B/home/omer/lib64 -B --print-file-name libgmp.so
gcc: error: libgmp.so: No such file or directory
gcc: fatal error: no input files
compilation terminated.
*** Deleting temp files:
Deleting:
*** Deleting temp dirs:
Deleting:
`gcc' failed in phase `gcc'. (Exit code: 1)
}}}
gcc version:
{{{
$ gcc --version
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.5) 5.4.0 20160609
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14695#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list