GNU bug report logs - #51213
ghci missing reference to gcc

Previous Next

Package: guix;

Reported by: Jack Hill <jackhill <at> jackhill.us>

Date: Thu, 14 Oct 2021 20:01:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Jack Hill <jackhill <at> jackhill.us>
To: 51213 <at> debbugs.gnu.org
Subject: bug#51213: ghci missing reference to gcc
Date: Sun, 17 Oct 2021 00:11:03 -0400 (EDT)
On Thu, 14 Oct 2021, Jack Hill wrote:

> Hi Guix,
>
> Using Guix 5fafb6e792c1e18ec223f0c7fb350d0c9b962a45, running ghci in an 
> environment can't find gcc:

Some more observations about this problem. It only occurs with our two 
newest GHC packages (8.10.7 and 8.8.4), previous releases start ghci and 
perform light usage fine. However, all releases fail to build executables 
without gcc-toolchain in the path:

```
jackhill <at> alperton /tmp [env]$ ghc hello.hs 
[1 of 1] Compiling Main             ( hello.hs, hello.o )

<no location info>: error:
    Warning: Couldn't figure out C compiler information!
             Make sure you're using GNU gcc, or clang
ghc: could not execute: gcc
jackhill <at> alperton /tmp [env]$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 8.10.7
```

Interestingly, clang-toolchain can be substituted for gcc-toolchain to get 
a working ghci, but with 8.10.7, compiling with gcc still doesn't work, 
but ghc 7.10.2 find clang-toolchain to be satisfactory.

Best,
Jack




This bug report was last modified 1 year and 264 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.