Patch applied: bootstrap/30678] sysmacros.h corrupted by Fixincludes

Richard Guenther richard.guenther@gmail.com
Mon Feb 5 14:40:00 GMT 2007


On 2/5/07, Richard Guenther <richard.guenther@gmail.com> wrote:
> On 2/4/07, Bruce Korb <bkorb@gnu.org> wrote:
> > Thank you, Ron.
> > Regards, Bruce
>
> This broke bootstrap on SLES9 with glibc 2.3.3:
>
> .libs/environ.o(.text+0x0): In function `gnu_dev_major':
> /gcc/spec/sb-vangelis-head-64/x86_64/build/./gcc/include/sys/sysmacros.h:56:
> multiple definition of `gnu_dev_major'
> .libs/compile_options.o(.text+0x0):/gcc/spec/sb-vangelis-head-64/x86_64/build/./gcc/include/sys/sysmacros.h:56:
> first defined here
> .libs/environ.o(.text+0x20): In function `gnu_dev_minor':
> /gcc/spec/sb-vangelis-head-64/x86_64/build/./gcc/include/sys/sysmacros.h:66:
> multiple definition of `gnu_dev_minor'
> .libs/compile_options.o(.text+0x20):/gcc/spec/sb-vangelis-head-64/x86_64/build/./gcc/include/sys/sysmacros.h:66:
> first defined here
> .libs/environ.o(.text+0x40): In function `gnu_dev_makedev':
> /gcc/spec/sb-vangelis-head-64/x86_64/build/./gcc/include/sys/sysmacros.h:76:
> multiple definition of `gnu_dev_makedev'
>
> etc.
>
> please revert.

For reference, the two variants are attached.  Note that libgfortran
is build with -std=gnu99.

Richard.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sysmacros.h.orig
Type: application/octet-stream
Size: 2443 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070205/4993f9f4/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sysmacros.h
Type: text/x-chdr
Size: 2781 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070205/4993f9f4/attachment.bin>


More information about the Gcc-patches mailing list