#1225: configure of yi generates error message on AMD 64-bit OpenBSD 4.0
----------------------+-----------------------------------------------------
Reporter: guest | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 6.6.2
Component: Compiler | Version: 6.6
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Architecture: x86_64 (amd64)
Os: OpenBSD |
----------------------+-----------------------------------------------------
Changes (by igloo):
* milestone: => 6.6.2
Old description:
> A40:/home/daf/Yi/yi-0.1.0}./configure
> checking for ghc... ghc
> checking for ghc-pkg... ghc-pkg
> checking for hsc2hs... hsc2hs
> checking for ghc version... 6.6
> checking for value of __GLASGOW_HASKELL__... ghc-6.6:
> /usr/local/lib/ghc-6.6/HSbase.o: unknown architecture
> ghc-6.6: panic! (the 'impossible' happened)
> (GHC version 6.6 for x86_64-unknown-openbsd):
> loadObj: failed
>
> Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
New description:
{{{
A40:/home/daf/Yi/yi-0.1.0}./configure
checking for ghc... ghc
checking for ghc-pkg... ghc-pkg
checking for hsc2hs... hsc2hs
checking for ghc version... 6.6
checking for value of __GLASGOW_HASKELL__... ghc-6.6:
/usr/local/lib/ghc-6.6/HSbase.o: unknown architecture
ghc-6.6: panic! (the 'impossible' happened)
(GHC version 6.6 for x86_64-unknown-openbsd):
loadObj: failed
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
}}}
Comment:
Linker.c does have an
{{{
#ifdef EM_X86_64
case EM_X86_64: IF_DEBUG(linker,debugBelch( "x86_64" )); break;
#endif
}}}
case, but I guess this isn't right for OpenBSD. Fixing it could be as
simple as putting the necessary case here, but there may also need to be
other changes to the Linker.
I'll put it in the 6.6.2 milestone for now, but we might end up moving it
into _|_
if it turns out to be non-trivial and no-one is interested in working on
it.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1225>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs