[cvs-nhc98] Darwin i386 build nhc98/hat

Malcolm Wallace malcolm at abbess.demon.co.uk
Wed Aug 3 03:45:22 CEST 2011


build/archivist.local /Users/malcolm/Haskell/autorun started at Wed Aug  3 02:32:16 BST 2011


Reading inventory of repository /Users/malcolm/Haskell/nhc98/src/cpphs
Reading inventory of repository /Users/malcolm/Haskell/nhc98/src/libraries/base
Reading inventory of repository /Users/malcolm/Haskell/nhc98/src/libraries/Cabal
Reading inventory of repository /Volumes/leopard/Haskell/hat inventory
Linking ghcsym.out ...
ld: warning: could not create compact unwind for .LFB3: non-standard register 5 being saved in prolog
cp: src/prelude/DErrNo.z.c: No such file or directory

Time for build with gcc
collector.c: In function 'initGc':
collector.c:75: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'NodePtr'
collector.c:75: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'NodePtr'
collector.c: In function 'callGc':
collector.c:628: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int'
closureval.c: In function 'buildClosure':
closureval.c:25: warning: cast from pointer to integer of different size
ar: creating archive /Volumes/leopard/Haskell/nhc98-test-gcc/targets/ix86-Darwin10/obj/runtime/Kernel/Runtime.a
cre-mparam.c: In function 'main':
cre-mparam.c:109: warning: format '%d' expects type 'int', but argument 2 has type 'long unsigned int'
./Bounded_Int.hc:32: warning: this decimal constant is unsigned only in ISO C90
./Int.hc:1182: warning: this decimal constant is unsigned only in ISO C90
./Int.hc:2153: warning: this decimal constant is unsigned only in ISO C90
cLowBinary.c: In function 'memcheck':
cLowBinary.c:193: warning: cast from pointer to integer of different size
Undefined symbols for architecture i386:
  "_FN_Data_46List_46isPrefixOf", referenced from:
      _startLabel in Options.o
      _F0_Language_46Preprocessor_46Cpphs_46Position_46cpp2hask in Position.o
  "_FN_System_46Time_46formatCalendarTime", referenced from:
      _startLabel in MacroPass.o
  "_CF_System_46Locale_46defaultTimeLocale", referenced from:
      _startLabel in MacroPass.o
  "_CF_System_46Time_46toCalendarTime", referenced from:
      _startLabel in MacroPass.o
  "_CF_System_46Time_46getClockTime", referenced from:
      _startLabel in MacroPass.o
  "_FN_Data_46List_46intersperse", referenced from:
      _F0_Language_46Preprocessor_46Cpphs_46HashDefine_46parseHashDefine in HashDefine.o
      _F0_Language_46Preprocessor_46Cpphs_46ReadFirst_46readFirst in ReadFirst.o
  "_FN_Control_46Monad_46when", referenced from:
      _F0_Language_46Preprocessor_46Cpphs_46ReadFirst_46readFirst in ReadFirst.o
  "_CF_Control_46Monad_46MonadPlus_46Prelude_46_91_93_46mzero", referenced from:
      _F0_Text_46ParserCombinators_46HuttonMeijer_46identifier in HuttonMeijer.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
strip: can't open file: /Volumes/leopard/Haskell/nhc98-test-gcc/lib/ix86-Darwin10/MkProg (No such file or directory)
make[1]: *** [fromC] Error 1
make: *** [targets/ix86-Darwin10/hmake-gcc] Error 2

real	1m59.869s
user	1m7.772s
sys	0m46.736s
Linking ghcsym.out ...
ld: warning: could not create compact unwind for .LFB3: non-standard register 5 being saved in prolog
cp: src/prelude/DErrNo.z.c: No such file or directory

Time for build with ghc-7.0.3
Linking lib/ix86-Darwin10/hmake-PRAGMA ...
ld: warning: could not create compact unwind for .LFB3: non-standard register 5 being saved in prolog
collector.c: In function 'initGc':
collector.c:75: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'NodePtr'
collector.c:75: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'NodePtr'
collector.c: In function 'callGc':
collector.c:628: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int'
closureval.c: In function 'buildClosure':
closureval.c:25: warning: cast from pointer to integer of different size
ar: creating archive /Volumes/leopard/Haskell/nhc98-test-ghc703/targets/ix86-Darwin10/obj/runtime/Kernel/Runtime.a
cre-mparam.c: In function 'main':
cre-mparam.c:109: warning: format '%d' expects type 'int', but argument 2 has type 'long unsigned int'

Platform.hs:1:12:
    Warning: -fglasgow-exts is deprecated: Use individual extensions instead
ld: warning: could not create compact unwind for .LFB3: non-standard register 5 being saved in prolog
ld: warning: could not create compact unwind for .LFB3: non-standard register 5 being saved in prolog
ld: warning: could not create compact unwind for .LFB3: non-standard register 5 being saved in prolog
ld: warning: could not create compact unwind for .LFB3: non-standard register 5 being saved in prolog
hmake-config: Starting new config file in
  /Volumes/leopard/Haskell/nhc98-test-ghc703/lib/ix86-Darwin10/hmakerc

../hmake/Platform.hs:1:12:
    Warning: -fglasgow-exts is deprecated: Use individual extensions instead
ld: warning: could not create compact unwind for .LFB3: non-standard register 5 being saved in prolog
ld: warning: could not create compact unwind for .LFB3: non-standard register 5 being saved in prolog

Floats.hs:1:12:
    Warning: -fglasgow-exts is deprecated: Use individual extensions instead
ld: warning: could not create compact unwind for .LFB3: non-standard register 5 being saved in prolog
ld: warning: could not create compact unwind for .LFB3: non-standard register 5 being saved in prolog
/tmp/Bounded_Int.94424.hc:32: warning: this decimal constant is unsigned only in ISO C90
/tmp/Int.12575.hc:1182: warning: this decimal constant is unsigned only in ISO C90
/tmp/Int.12575.hc:2153: warning: this decimal constant is unsigned only in ISO C90
cLowBinary.c: In function 'memcheck':
cLowBinary.c:193: warning: cast from pointer to integer of different size
MkProg: Can't find module Common in user directories
	.
  Or in installed libraries/packages at
	/Library/Frameworks/GHC.framework/Versions/7.0.3-i386/usr/lib/ghc-7.0.3/base-4.3.1.0
	/Library/Frameworks/GHC.framework/Versions/7.0.3-i386/usr/lib/ghc-7.0.3/haskell98-1.1.0.1
	/Library/Frameworks/GHC.framework/Versions/7.0.3-i386/usr/lib/ghc-7.0.3/base-4.3.1.0
	/Library/Frameworks/GHC.framework/Versions/7.0.3-i386/usr/lib/ghc-7.0.3/process-1.0.1.5
	/Library/Frameworks/GHC.framework/Versions/7.0.3-i386/usr/lib/ghc-7.0.3/directory-1.1.0.0
	/Library/Frameworks/GHC.framework/Versions/7.0.3-i386/usr/lib/ghc-7.0.3/containers-0.4.0.0
  Asked for by: Main.hs
  Fix using the -I, -P, or -package flags.

Stop - hmake dependency error.
make[1]: *** [/Volumes/leopard/Haskell/nhc98-test-ghc703/lib/ix86-Darwin10/hsc2hs] Error 1
make: *** [targets/ix86-Darwin10/hsc2hs] Error 2

real	6m11.285s
user	4m7.342s
sys	1m38.158s

/Users/malcolm/Haskell/autorun finished at Wed Aug  3 02:45:21 BST 2011



More information about the Cvs-nhc98 mailing list