[Bug 239193] lang/ghc: fix build on powerpc64 elfv1

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jul 14 08:36:57 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239193

mikael.urankar at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mikael.urankar at gmail.com

--- Comment #2 from mikael.urankar at gmail.com ---
(In reply to Piotr Kubaj from comment #1)
> Just to explain more no. 2 - ELF_V1 doesn't seem to be properly defined.

Are you sure elf_v1 is not passed as a compiler flag (it's the case for elfv2),
can you put some code in libraries/ghci/GHCi/InfoTable.hsc and look where the
build fails?

#if defined(ELF_V1)
#error "ELF_V1 system"
...
#if defined(ELF_V2)
#error "ELF_V2 system"

if you don't get an error then we should put #if defined(_CALL_ELF) &&
(_CALL_ELF == 1) instead.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-haskell mailing list