Corentin Dupont | 11 Feb 19:02 2013
Picon

"Error: junk" while building GHC

Hi all,
I'm trying to build GHC HEAD snapshot 7.7.20130210, I have the following error:

"inplace/bin/ghc-stage1" -optc-Ilibraries/ghc-prim/. -optc-I'/home/cdupont/Haskell/ghc-7.7.20130210/rts/dist/build' -optc-I'/home/cdupont/Haskell/ghc-7.7.20130210/includes' -optc-I'/home/cdupont/Haskell/ghc-7.7.20130210/includes/dist-derivedconstants/header' -fPIC -dynamic  -H32m -O    -package-name ghc-prim-0.3.1.0 -hide-all-packages -i -ilibraries/ghc-prim/. -ilibraries/ghc-prim/dist-install/build -ilibraries/ghc-prim/dist-install/build/autogen -Ilibraries/ghc-prim/dist-install/build -Ilibraries/ghc-prim/dist-install/build/autogen -Ilibraries/ghc-prim/.    -optP-include -optPlibraries/ghc-prim/dist-install/build/autogen/cabal_macros.h -package rts-1.0  -package-name ghc-prim -XHaskell98 -XCPP -XMagicHash -XForeignFunctionInterface -XUnliftedFFITypes -XUnboxedTuples -XEmptyDataDecls -XNoImplicitPrelude -O2  -no-user-package-db -rtsopts      -c libraries/ghc-prim/cbits/debug.c -o libraries/ghc-prim/dist-install/build/cbits/debug.dyn_o
debug.c: Assembler messages:

debug.c:12:0:  Error: junk `.get_pc_thunk.bx' after expression

debug.c:41:0:  Error: junk `.get_pc_thunk.bx' after expression

debug.c:63:0:
     Error: junk at end of line, first unrecognized character is `1'

debug.c:64:0:
     Error: junk at end of line, first unrecognized character is `1'

debug.c:65:0:  Error: Missing symbol name in directive

debug.c:65:0:
     Error: junk at end of line, first unrecognized character is `1'

debug.c:66:0:  Error: Missing symbol name in directive

debug.c:66:0:
     Error: junk at end of line, first unrecognized character is `.'

debug.c:67:0:
     Error: junk at end of line, first unrecognized character is `1'


The file debug.c is not even 12 lines long (and it looks correct)... Any ideas?

Thanks,
Corentin

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe <at> haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Gmane