On 25/01/14 11:32, Martin Costabel wrote: > On 25/01/14 03:59, Alexander Hansen wrote: > [] >> And here's the problem: the configure script runs the following foure >> commands on line 23391-23394 (with $buildmodel="POSIX_V6_LPBIG_OFFBIG"): >> >> >> CFLAGS="`getconf ${buildmodel}_CFLAGS` $CFLAGS" >> CXXFLAGS="`getconf ${buildmodel}_CFLAGS` $CXXFLAGS" >> LIBS="`getconf ${buildmodel}_LIBS` $LIBS" >> LDFLAGS="`getconf ${buildmodel}_LDFLAGS` $LDFLAGS" >> >> >> On 10.7/Xcode 4.6, those don't return anything, but on 10.8/Xcode 5 and >> 10.9/Xcode 5, the CFLAGS, CXXFLAGS, and LDFLAGS items return "-W 64". >> >> $ getconf POSIX_V6_LPBIG_OFFBIG_LDFLAGS >> -W 64 > > So it is an Apple bug, from the confstr() function in libsystem_c.dylib. > > Here is the code where this comes from (line 160): > <https://github.com/Apple-FOSS-Mirror/Libc/blame/master/gen/confstr.c> > You can see who added it and when, but it doesn't say what he was > thinking when he did it. Maybe he meant "-m64" or something. > > I filed a bug report with Apple.
I have now received an answer from Apple on my bug report. Not very helpful, to say it mildly: Engineering has provided the following information: These flags are only valid with the c89 and c99 POSIX compiler wrappers. They are not for use with cc nor clang directly. We are revising the documentation for this and will follow up again when that is complete. -- Martin ------------------------------------------------------------------------------ WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real-time visual feedback on key security issues and trends. Skip the complicated setup - simply import a virtual appliance and go from zero to informed in seconds. http://pubads.g.doubleclick.net/gampad/clk?id=123612991&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