Hi all,

Building the latest HEAD on my machine (OS X 10.5, x86) fails with the
following message.  I can reproduce this with a pristine source tree.

>From what I can tell, a bunch of "-u _base_GHC[etc]" flags are being
passed to gcc from hsc2hs, which gets them from Cabal, which sees them
in rts/package.conf.in (ld-options field).  I suspect this problem is
related to the recent switch to always use gcc for hsc2hs instead of
ghc, since the latter probably does define those symbols.  But I'm not
sure where to go from there.

Any thoughts?

Thanks,
-Judah


Configuring hpc-0.5...
cd hpc    && /Volumes/GHC/ghc3/libraries/cabal-bin /usr/local/bin/ghc
/Volumes/GHC/ghc3/libraries/bootstrapping.conf build
--distpref=dist-bootstrapping
Preprocessing library hpc-0.5...
Undefined symbols:
  "_base_GHCziStable_StablePtr_con_info", referenced from:
  "_base_GHCziPtr_Ptr_con_info", referenced from:
  "_base_GHCziFloat_Fzh_con_info", referenced from:
  "_base_GHCziIOBase_BlockedIndefinitely_closure", referenced from:
  "_base_GHCziBase_False_closure", referenced from:
  "_base_GHCziIOBase_stackOverflow_closure", referenced from:
  "_base_GHCziFloat_Fzh_static_info", referenced from:
  "_base_GHCziIOBase_NonTermination_closure", referenced from:
  "_base_GHCziFloat_Dzh_con_info", referenced from:
  "_base_GHCziWord_W16zh_static_info", referenced from:
  "_base_GHCziInt_I32zh_static_info", referenced from:
  "_base_GHCziWord_W8zh_static_info", referenced from:
  "_base_GHCziBase_Izh_con_info", referenced from:
  "_base_GHCziConc_ensureIOManagerIsRunning_closure", referenced from:
  "_base_GHCziWord_Wzh_static_info", referenced from:
  "_base_GHCziWeak_runFinalizzerBatch_closure", referenced from:
  "_base_GHCziInt_I8zh_static_info", referenced from:
  "_base_GHCziWord_W64zh_static_info", referenced from:
  "_base_GHCziWord_W32zh_static_info", referenced from:
  "_base_GHCziBase_Czh_static_info", referenced from:
  "_base_GHCziBase_Czh_con_info", referenced from:
  "_base_GHCziBase_True_closure", referenced from:
  "_base_GHCziInt_I16zh_static_info", referenced from:
  "_base_GHCziPack_unpackCString_closure", referenced from:
  "_base_GHCziIOBase_Deadlock_closure", referenced from:
  "_base_GHCziPtr_Ptr_static_info", referenced from:
  "_base_GHCziFloat_Dzh_static_info", referenced from:
  "_base_GHCziIOBase_NestedAtomically_closure", referenced from:
  "_base_GHCziStable_StablePtr_static_info", referenced from:
  "_base_GHCziInt_I64zh_static_info", referenced from:
  "_base_GHCziBase_Izh_static_info", referenced from:
  "_base_GHCziPtr_FunPtr_con_info", referenced from:
  "_base_GHCziIOBase_BlockedOnDeadMVar_closure", referenced from:
  "_base_GHCziIOBase_heapOverflow_closure", referenced from:
ld: symbol(s) not found
collect2: ld returned 1 exit status
linking dist-bootstrapping/build/Trace/Hpc/Reflect_hsc_make.o failed
command was: /usr/bin/gcc -framework GMP
-L/usr/local/lib/ghc-6.8.3/lib/directory-1.0.0.1
-L/usr/local/lib/ghc-6.8.3/lib/filepath-1.1.0.0
-L/usr/local/lib/ghc-6.8.3/lib/old-time-1.0.0.0
-L/usr/local/lib/ghc-6.8.3/lib/old-locale-1.0.0.0
-L/usr/local/lib/ghc-6.8.3/lib/containers-0.1.0.2
-L/usr/local/lib/ghc-6.8.3/lib/array-0.1.0.0
-L/usr/local/lib/ghc-6.8.3/lib/base-3.0.2.0 -L/usr/local/lib/ghc-6.8.3
-lm -u _base_GHCziBase_Izh_static_info -u
_base_GHCziBase_Czh_static_info -u _base_GHCziFloat_Fzh_static_info -u
_base_GHCziFloat_Dzh_static_info -u _base_GHCziPtr_Ptr_static_info -u
_base_GHCziWord_Wzh_static_info -u _base_GHCziInt_I8zh_static_info -u
_base_GHCziInt_I16zh_static_info -u _base_GHCziInt_I32zh_static_info
-u _base_GHCziInt_I64zh_static_info -u
_base_GHCziWord_W8zh_static_info -u _base_GHCziWord_W16zh_static_info
-u _base_GHCziWord_W32zh_static_info -u
_base_GHCziWord_W64zh_static_info -u
_base_GHCziStable_StablePtr_static_info -u
_base_GHCziBase_Izh_con_info -u _base_GHCziBase_Czh_con_info -u
_base_GHCziFloat_Fzh_con_info -u _base_GHCziFloat_Dzh_con_info -u
_base_GHCziPtr_Ptr_con_info -u _base_GHCziPtr_FunPtr_con_info -u
_base_GHCziStable_StablePtr_con_info -u _base_GHCziBase_False_closure
-u _base_GHCziBase_True_closure -u
_base_GHCziPack_unpackCString_closure -u
_base_GHCziIOBase_stackOverflow_closure -u
_base_GHCziIOBase_heapOverflow_closure -u
_base_GHCziIOBase_NonTermination_closure -u
_base_GHCziIOBase_BlockedOnDeadMVar_closure -u
_base_GHCziIOBase_BlockedIndefinitely_closure -u
_base_GHCziIOBase_Deadlock_closure -u
_base_GHCziIOBase_NestedAtomically_closure -u
_base_GHCziWeak_runFinalizzerBatch_closure -u
_base_GHCziConc_ensureIOManagerIsRunning_closure
-Wl,-search_paths_first
dist-bootstrapping/build/Trace/Hpc/Reflect_hsc_make.o -o
dist-bootstrapping/build/Trace/Hpc/Reflect_hsc_make
make[1]: *** [bootstrapping.conf] Error 1
make: *** [stage1] Error 2



  From what I can tell:
- the rts package sets the

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to