Anything we can help with?

I was able to get a binary for netbsd20 working. However with building it I get a few errors. So I tried doing the cross compiling an unregistered version, but I get the same errors in the same spot.


-----------------------------------------------------------------------
==fptools== gmake all -wr;
in /devel/build/NetBSD/ghc/ghc-6.4/ghc/compiler
------------------------------------------------------------------------
test: unknownunknown: bad number
test: unknownunknown: bad number
test: unknownunknown: bad number
test: unknownunknown: bad number
test: unknownunknown: bad number
test: unknownunknown: bad number
test: unknownunknown: bad number
/usr/local/bin/ghc -H16m -O -H32m -istage1/utils -istage1/basicTypes -istage1/types -istage1/hsSyn -istage1/prelude -istage1/rename -istage1/typecheck -istage1/deSugar -istage1/coreSyn -istage1/specialise -istage1/simplCore -istage1/stranal -istage1/stgSyn -istage1/simplStg -istage1/codeGen -istage1/main -istage1/profiling -istage1/parser -istage1/cprAnalysis -istage1/compMan -istage1/ndpFlatten -istage1/iface -istage1/cmm -Istage1 -DOMIT_NATIVE_CODEGEN -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -IcodeGen -InativeGen -Iparser -package posix -fvia-C -recomp -Rghc-timing -O -fasm -H16M '-#include "hschooks.h"' -i../lib/compat -c utils/PrimPacked.lhs -o stage1/utils/PrimPacked.o -ohi stage1/utils/PrimPacked.hi


utils/PrimPacked.lhs:244:
    Warning: foreign declaration uses deprecated non-standard syntax

utils/PrimPacked.lhs:248:
    Warning: foreign declaration uses deprecated non-standard syntax

utils/PrimPacked.lhs:251:
    Warning: foreign declaration uses deprecated non-standard syntax

utils/PrimPacked.lhs:254:
    Warning: foreign declaration uses deprecated non-standard syntax

utils/PrimPacked.lhs:257:
    Warning: foreign declaration uses deprecated non-standard syntax
ghc-6.2.1: panic! (the `impossible' happened, GHC version 6.2.1):
        This compiler was built without a native code generator
    Use -fvia-C instead

Please report it as a compiler bug to glasgow-haskell-bugs@haskell.org,
or http://sourceforge.net/projects/ghc/.


<<ghc: 52317700 bytes, 11 GCs, 1196258/2344568 avg/max bytes residency (2 samples), 17M in use, 0.00 INIT (0.00 elapsed), 1.96 MUT (2.21 elapsed), 0.26 GC (0.27 elapsed) :ghc>>


-------------------------------------------------------------------

I tried using -fvia-C however I don't think I was using it correctly.

-Jessica

~~~~~~~~~~~~~~
[EMAIL PROTECTED]
Panix Staff
_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to