3.4 PATCH: Fix Solaris/x86 bootstrap failure (-Werror fallout)
Rainer Orth
ro@TechFak.Uni-Bielefeld.DE
Wed Nov 5 12:54:00 GMT 2003
Eric Botcazou writes:
> > * config/i386/t-sol2 (TARGET_LIBGCC2_CFLAGS): Add -Wno-error.
>
> IMHO this is ugly, because you will have '-Werror -Wno-error' on the command
> line.
This was only intended as a stopgap measure.
> Now that -Werror is gone, I think the real problems should be fixed instead
> of being papered over. Probably not on mainline though.
Exactly: have non-Solaris 2 targets not use sol2.h and include <sys/mman.h>
again. I'll see if I get to this.
Rainer
-----------------------------------------------------------------------------
Rainer Orth, Faculty of Technology, Bielefeld University
More information about the Gcc-patches
mailing list