#8421: GCC4 precompiled headers are broken ----------------------------+----------------------------------------- Reporter: hamish | Owner: bonefish Type: bug | Status: new Priority: normal | Milestone: R1 Component: Build System | Version: R1/Development Resolution: | Keywords: gcc precompiled headers pch Blocked By: | Blocking: Has a Patch: 1 | Platform: All ----------------------------+----------------------------------------- Comment (by hamish): GCC's PCH implementation relies on mmap honouring the address hint exactly when MAP_FIXED is not set. POSIX does not require this, so I added added a workaround in GCC that tests whether the desired region is free using create_area with B_EXACT_ADDRESS, and then mmaps with MAP_FIXED. -- Ticket URL: <http://dev.haiku-os.org/ticket/8421#comment:2> Haiku <http://dev.haiku-os.org> Haiku - the operating system.