[GHC] #7680: -prof build: trying to 'show' a 'Double' leads to 'Char.intToDigit: not a digit' crash
GHC
cvs-ghc at haskell.org
Mon Mar 25 08:42:04 CET 2013
#7680: -prof build: trying to 'show' a 'Double' leads to 'Char.intToDigit: not a
digit' crash
-------------------------------+--------------------------------------------
Reporter: slyfox | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.6.2
Keywords: | Os: Unknown/Multiple
Architecture: x86_64 (amd64) | Failure: None/Unknown
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
-------------------------------+--------------------------------------------
Comment(by slyfox):
My '''mk/build.mk''':
{{{
# Gentoo changes
docdir = /usr/share/doc/ghc-7.6.2
htmldir = /usr/share/doc/ghc-7.6.2
SRC_HC_OPTS+= -optc-march=corei7-avx -opta-march=corei7-avx -optc-
mtune=corei7-avx -opta-mtune=corei7-avx -optc-ggdb -optl-Wl,--hash-
style=gnu -optc-Wa,--noexecstack -opta-Wa,--noexecstack
SRC_CC_OPTS+=-march=corei7-avx -mtune=corei7-avx -O2 -pipe -ggdb
-march=corei7-avx -march=corei7-avx -mtune=corei7-avx -mtune=corei7-avx
-ggdb -Wa,--noexecstack -Wa,--noexecstack
SRC_LD_OPTS+= -Wl,--hash-style=gnu
BUILD_DOCBOOK_PDF = NO
BUILD_DOCBOOK_PS = NO
BUILD_DOCBOOK_HTML = NO
HADDOCK_DOCS = NO
SRC_HC_OPTS+=-w
GhcWithLlvmCodeGen=NO
INTEGER_LIBRARY=integer-gmp
}}}
I guess -march breaks some RTS bits.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7680#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list