Gcc copies of system headers.
Andrew Thomas Pinski
pinskia@gmail.com
Tue Mar 24 22:26:00 GMT 2009
Sent from my iPhone
On Mar 24, 2009, at 2:50 PM, Aran Clauson <aran@100acres.us> wrote:
> Description:
> Gcc "fixes" some system header files and keeps its own
> copies in the install directory. This causes serious
> problems when upgrading NetBSD. In these situations, gcc's
> copies need to be edited by hand. On NetBSD, these headers
> don't need fixing.
When upgrading the system headers you are supposed to rerun
fixincludes like most other smart systems do. But yes these can be
bypassed too which fixes only part of the problem.
>
>
> NOTE: This patch includes a change for sys/types.h specific
> to NetBSD and a change to math.h for all targets. I can't
> exhaustively test the math.h as I don't have all targets.
> Please take a closer look at that part of the patch.
>
> Test Cases
> A test case would involve an os upgrade and reboot. I think
> this is outside the scope of DejaGnu.
>
> Change Log
> Removed unnecessary fixes to NetBSD's sys/types.h and
> math.h.
>
> Bootstrap & test
> Target/Host: i386-unknown-netbsdelf5.99.7
> gcc tests are identical between the patched and unpatched
> builds.
>
> <inclhack.patch>
More information about the Gcc-patches
mailing list