Package Details: ghc8.4-bin 8.4.4-4

Git Clone URL: https://aur.archlinux.org/ghc8.4-bin.git (read-only, click to copy)
Package Base: ghc8.4-bin
Description: Binary GHC 8.4 installed on /usr/bin/ghc-8.4
Upstream URL: http://www.haskell.org/ghc/
Licenses: BSD-3-Clause
Conflicts: ghc8.4
Provides: ghc8.4
Submitter: rudy.matela
Maintainer: rudy.matela
Last Packager: rudy.matela
Votes: 1
Popularity: 0.000000
First Submitted: 2021-04-09 20:34 (UTC)
Last Updated: 2024-02-06 16:39 (UTC)

Latest Comments

rudy.matela commented on 2024-02-06 16:54 (UTC)

@MarsSeed, about the assembler issues...

What is the output when you run ghc-8.4 with the -v flag?

$ ghc-8.4 -v helloworld2.hs
...

What about if you run it with the interpreter?

$ runghc-8.4 helloworld2.hs

What about GHCi? Does it load fine for you?

$ ghci-8.4
GHCi, version 8.4.4: http://www.haskell.org/ghc/  :? for help
Prelude> head [1,2,3]
1
Prelude> 

rudy.matela commented on 2024-02-06 16:45 (UTC)

ghc8.4-bin v8.4.4-4 is released:

  • add numactl as a dependency;
  • tighten dependencies a bit;
  • fix install of ghc manual page;
  • fix location of license install.

MarsSeed commented on 2024-02-01 15:11 (UTC)

Now this needs depends=numactl (libnuma.so.1), otherwise this happens:

$ ghc-8.4 helloworld2.hs
/usr/lib/ghc-8.4.4/bin/ghc: error while loading shared libraries: 
    libnuma.so.1: cannot open shared object file: No such file or directory

Once that is installed, the unknown pseudo-op error happens for me here as well:

$ ghc-8.4 helloworld2.hs
[1 of 1] Compiling Main             ( helloworld2.hs, helloworld2.o )
/tmp/ghc311528_0/ghc_2.s: Assembler messages:

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

I get the same result with the -dynamic switch.

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

@MarsSeed, I don't think this package is broken. It still works for me out-of-the-box:

$ ls
hello.hs

$ cat hello.hs 
main = putStrLn "hello"

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

$ ./hello 
hello

To compile programs using this package, please double-check that you have no ".o" and ".hi" files compiled with more recent versions of GHC, otherwise you will get a ghc: panic! error:

$ ghc -dynamic hello.hs 
[1 of 1] Compiling Main             ( hello.hs, hello.o )
Linking hello ...
$ ghc-8.4 hello.hs 
ghc: panic! (the 'impossible' happened)
  (GHC version 8.4.4 for x86_64-unknown-linux):
    Prelude.chr: bad argument: 10864333

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

If you do have these, you can remove them with rm -f *.hi *.o before compiling and it should work fine:

$ rm *.hi *.o
$ ghc-8.4 hello.hs 
[1 of 1] Compiling Main             ( hello.hs, hello.o )
Linking hello ...

I still use and maintain this package and I would not like to see it deleted. Other people that test for backwards compatibility may find this package useful as well.

MarsSeed commented on 2024-01-28 21:23 (UTC)

Broken:

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

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

But I think this version from 2017 is not needed and can be deleted.