Mac OS X 10.5

Anders F Bjöšrklund afb at algonet.se
Wed Oct 31 08:38:21 PDT 2007


Dave Cheney skrev:

> My compile consistently bombs out at this line
> 
> gcc   -g -DENABLE_CHECKING -DENABLE_ASSERT_CHECKING -DIN_GCC   -W -Wall 
> -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic 
> -Wno-long-long -Wno-variadic-macros -Wold-style-definition   
> -mdynamic-no-pic -DHAVE_CONFIG_H  -o gdc \
>     d/d-spec.o d/d-gcc.o version.o prefix.o intl.o darwin-driver.o 
> ../libcpp/libcpp.a ./../intl/libintl.a /usr/lib/libiconv.dylib  
> ../libiberty/libiberty.a
> Undefined symbols:
>  "_need_pthreads", referenced from:
>      _need_pthreads$non_lazy_ptr in d-spec.o

AFAIK, that's just a failed patch...

diff -cr gcc-orig/gcc.c gcc/gcc.c
*** gcc-orig/gcc.c	Sat Jan 21 13:38:48 2006
--- gcc/gcc.c	Thu Mar  1 10:27:25 2007
***************
*** 134,139 ****
--- 134,142 ----
   /* Flag set by cppspec.c to 1.  */
   int is_cpp_driver;

+ /* Flag set by drivers needing Pthreads. */
+ int need_pthreads;
+
   /* Flag saying to pass the greatest exit code returned by a sub-process
      to the calling program.  */
   static int pass_exit_codes;

--anders


More information about the D.gnu mailing list