#30076: boehmgc build fails on Tiger/PowerPC (error: 'MAP_ANON' undeclared) due to the configure.cppflags-append line ---------------------------------+------------------------------------------ Reporter: vinc17@… | Owner: waqar@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: boehmgc ---------------------------------+------------------------------------------ Comment(by jeremyhu@…): * I moved it from cflags to cppflags for correctness. * -D_XOPEN_SOURCE is not a valid #define. You must specify a value for _XOPEN_SOURCE. * -D_DARWIN_C_SOURCE is wanted to pull in darwin extensions to POSIX (which is what was intended). _XOPEN_SOURCE is only provided to deal with boehmgc's use of very- deprecated functionality from ucontext.h MAP_ANON is defined in sys/mman.h, it is not POSIX and is thus pulled in with -D_DARWIN_C_SOURCE How is MAP_ANON conditionally declared on Tiger? Maybe it really does need the -D_NONSTD_SOURCE on Tiger ... ? -- Ticket URL: <https://trac.macports.org/ticket/30076#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS