Remi,
   I've committed a workaround for the moment for the problem on 10.9...

>   if [[ $(sw_vers -productVersion | cut -d. -f1-2) > 10.8 ]]; then
>     perl -pi -e 's|CDEBUGFLAGS = -O0 |CDEBUGFLAGS = -O0 -D_FORTIFY_SOURCE=0 
> |g'  %b/packlib/kuip/programs/kuipc/Makefile
>   fi

My tests show that the following...

1) the kuipc binary compiled on 10.8 works fine on 10.9 for the failing step 
of...

kuipc kuipcdf.cdf kuipcdf.c

2) building the kuipc on 10.9 with either -mmacosx-version-min=10.8 or the 
-isysroot on the 10.8 SDK
doesn't eliminate the failure on 10.9 when executing 'kuipc kuipcdf.cdf 
kuipcdf.c'

3) compiling kuipcc.c and kkern.c in 
/sw/src/fink.build/cernlib2006-2006b-21/2006/src/packlib/kuip/programs/kuipc
with -D_FORTIFY_SOURCE=0 appended to CDEBUGFLAGS is sufficient to suppress the 
problem on 10.9.

I plan on opening a radar with stand alone test cases derived from the 10.8 and 
failing 10.9 builds. I'll
pinpoint which of the two files are at fault, ...I suspect kupipc.c, at the 
point. The hack for the moment
impacts both files as I would have had to add a patch otherwise to allow each 
file to have its own
compile flags and that seemed like overkill.
         Jack


------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to