#3594: ppc stage1 panic for --enable-shared
---------------------------------+------------------------------------------
Reporter: juhpetersen | Owner:
Type: bug | Status: new
Priority: normal | Milestone: _|_
Component: Compiler | Version: 6.13
Keywords: | Difficulty: Unknown
Os: Unknown/Multiple | Testcase:
Architecture: powerpc | Failure: None/Unknown
---------------------------------+------------------------------------------
Comment(by PHO):
And I report that now I can build the darcs HEAD on powerpc-apple-darwin
with shared libraries (with the patch I posted to #3260).
PlatformSupportsSharedLibs should include it.
{{{
--- old-ghc/mk/config.mk.in 2010-05-08 23:45:23.000000000 +0900
+++ new-ghc/mk/config.mk.in 2010-05-08 23:45:23.000000000 +0900
@@ -103,7 +103,7 @@
GhcLibProfiled=$(if $(filter p,$(GhcLibWays)),YES,NO)
# Do we support shared libs?
-PlatformSupportsSharedLibs = $(if $(filter $(TARGETPLATFORM),i386
-unknown-linux x86_64-unknown-linux i386-unknown-freebsd x86_64-unknown-
freebsd i386-unknown-mingw32 i386-apple-darwin),YES,NO)
+PlatformSupportsSharedLibs = $(if $(filter $(TARGETPLATFORM),i386
-unknown-linux x86_64-unknown-linux i386-unknown-freebsd x86_64-unknown-
freebsd i386-unknown-mingw32 i386-apple-darwin powerpc-apple-
darwin),YES,NO)
# Build a compiler that will build *unregisterised* libraries and
# binaries by default. Unregisterised code is supposed to compile and
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3594#comment:3>
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