Package Details: ghc7.6-bin 7.6.3-7

Git Clone URL: https://aur.archlinux.org/ghc7.6-bin.git (read-only, click to copy)
Package Base: ghc7.6-bin
Description: Binary GHC 7.6 installed on /usr/bin/ghc-7.6
Upstream URL: http://www.haskell.org/ghc/
Licenses: BSD-3-Clause
Conflicts: ghc7.6
Provides: ghc7.6
Submitter: rudy.matela
Maintainer: rudy.matela
Last Packager: rudy.matela
Votes: 2
Popularity: 0.000000
First Submitted: 2014-08-25 15:54 (UTC)
Last Updated: 2024-02-01 13:47 (UTC)

Latest Comments

rudy.matela commented on 2024-02-12 09:09 (UTC)

@MarsSeed, please see my comments on https://aur.archlinux.org/packages/ghc8.4-bin

MarsSeed commented on 2024-01-31 19:00 (UTC)

Thank you for checking this.

Unfortunately, after the update, when checking with your hello.hs source, I get the same unknown pseudo-op error that I've reported on some other legacy ghc packages:

$ ghc-7.6 -dynamic hello.hs
[1 of 1] Compiling Main             ( hello.hs, hello.o )
/tmp/ghc238220_0/ghc238220_0.s: Assembler messages:

/tmp/ghc238220_0/ghc238220_0.s:225:0:
     Error: unknown pseudo-op: `.subsections_via_symbols'

rudy.matela commented on 2024-01-31 16:56 (UTC)

ghc7.6-bin 7.6.3-6 is released. This adds a requirement of libffi5 for compilation with -dynamic.

@MarsSeed, you now need the -dynamic flag to compile with this:

$ cat hello.hs 
main = putStrLn "hello"
$ ghc-7.6 -dynamic hello.hs 
Linking hello ...
$ ./hello 
hello

When testing for breakages in GHC packages, please make sure you don't have any ".hi" or ".o" files compiled with other versions of GHC, otherwise you often get the "ghc: panic!" error.

It is now working on my end.

I still use this package occasionally when testing for backwards compatibility. Maybe it is useful for other people in the same way. I'd rather not have it deleted please.

MarsSeed commented on 2024-01-28 20:12 (UTC)

Broken:

$ ghc-7.6 helloworld.hs 
ghc: panic! (the 'impossible' happened)
  (GHC version 7.6.3 for x86_64-unknown-linux):
        Prelude.chr: bad argument: 2952790017

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

As this version was released in 2013, maybe it's no longer needed and can be deleted.

rudy.matela commented on 2015-05-22 08:01 (UTC)

Version 7.6.3-2 * new naming for executables, -7.6 instead of -7.6.3. This accomodates new minor versions of GHC 7.6 in case they are released; * install specific versions of executables such as hpc and hp2ps as hpc-ghc-7.6 and hp2ps-ghc-7.6.

rudy.matela commented on 2014-08-25 17:04 (UTC)

This can be installed alongside with the upstream GHC from the official repositories or haskell-core repo.

rudy.matela commented on 2014-08-25 15:56 (UTC)

Legacy version of GHC compatible with Haskell Platform 2013.2. This packages the binaries provided by the GHC team. This can be either used as a compatibility checker, or as a compiler to GHC 7.6 itself.