This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: 3.4 PATCH: Fix Solaris/x86 bootstrap failure (-Werror fallout)
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