Package Details: ghc8.0-bin 8.0.2-2

Git Clone URL: https://aur.archlinux.org/ghc8.0-bin.git (read-only, click to copy)
Package Base: ghc8.0-bin
Description: Binary GHC 8.0 installed on /usr/bin/ghc-8.0
Upstream URL: http://www.haskell.org/ghc/
Licenses: BSD-3-Clause
Conflicts: ghc8.0
Provides: ghc8.0
Submitter: rudy.matela
Maintainer: rudy.matela
Last Packager: rudy.matela
Votes: 1
Popularity: 0.000000
First Submitted: 2017-11-01 16:41 (UTC)
Last Updated: 2024-02-01 13:35 (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 18:15 (UTC)

Thank you for checking.

In this case, there were no dangling .o or .hi files.

I've tested this now with the exact 'hello.hs' source as you quoted, and I still get the same error as I reported (the outputted line number inside '/tmp/ghc163036_0/ghc_2.s' differs a little bit, but not significantly).

rudy.matela commented on 2024-01-31 17:12 (UTC)

@MarsSeed, it works for me out-of-the-box:

$ cat hello.hs
main = putStrLn "hello"

$ ghc-8.0 hello.hs 
[1 of 1] Compiling Main             ( hello.hs, hello.o )
Linking hello ...
$ ./hello 
hello

I tested with and without the -dynamic flag:

$ ghc-8.0 -dynamic hello.hs 
[1 of 1] Compiling Main             ( hello.hs, hello.o )
Linking hello ...
$ ./hello 
hello

Are there perhaps any "dangling" .o or .hi files from other ghc versions? Or perhaps the package is missing some dependency that I have installed and you do not... If it is the latter, I can try to review the dependencies later.

I still use this for backwards compatibility testing, and I would not like to see it deleted.

MarsSeed commented on 2024-01-28 22:02 (UTC)

ghc8.10-bin still works.

MarsSeed commented on 2024-01-28 18:48 (UTC)

Does not work:

$ ghc-8.0 helloworld.hs 
[1 of 1] Compiling Main             ( helloworld.hs, helloworld.o )
/tmp/ghc501180_0/ghc_2.s: Assembler messages:

/tmp/ghc501180_0/ghc_2.s:214:0: error:
     Error: unknown pseudo-op: `.subsections_via_symbols'
`gcc' failed in phase `Assembler'. (Exit code: 1)

Maybe this EOL version from 2017 can be deleted.