[haiku-bugs] Re: [Haiku] #8421: GCC4 precompiled headers are broken

#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 bonefish):

 Yes, it would make sense to find the nearest free space, but it makes just
 as much sense to find the nearest free space in one direction. POSIX
 specifies the given address to be a suggestion to find a suitable near
 address. So even ignoring the hint, as we currently do, would be OK.
 Neither the Linux nor the FreeBSD man page say that the respective kernel
 finds the nearest address. I find using `B_BASE_ADDRESS` a perfectly
 adequate solution (probably the most relevant property is actually using
 the given address if it is usable, anyway -- I guess that's what gcc
 relies on either intentionally or by mistake).

 Sure, if we already had a `B_NEAREST_ADDRESS` it would be fine to use
 that, but I wouldn't just add it for that purpose. Particularly because --
 as I wrote before -- I don't see any actual use case for it.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/8421#comment:7>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: