This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH v4 04/20] add configury
- From: Iain Sandoe <iain at codesourcery dot com>
- To: Paolo Bonzini <bonzini at gnu dot org>
- Cc: Gerald Pfeifer <gerald at pfeifer dot com>, Tom Tromey <tromey at redhat dot com>, <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 30 Sep 2013 16:47:07 +0100
- Subject: Re: [PATCH v4 04/20] add configury
- Authentication-results: sourceware.org; auth=none
- References: <1379945520-3839-1-git-send-email-tromey at redhat dot com> <1379945520-3839-5-git-send-email-tromey at redhat dot com> <alpine dot LNX dot 2 dot 00 dot 1309272239160 dot 2211 at trevally dot site> <52492C0A dot 4030505 at gnu dot org>
On 30 Sep 2013, at 08:45, Paolo Bonzini wrote:
> Il 27/09/2013 21:45, Gerald Pfeifer ha scritto:
>> I believe this may be breaking all my testers on FreeBSD
>> (i386-unknown-freebsd10.0 for example). The timing of when this
>> patchset went in fits pretty much when my builds started to break
>> and I am wondering about some code.
>>
>> Here is the failure mode:
>>
>> gmake[2]: Entering directory `/scratch/tmp/gerald/OBJ-0927-1848/gcc'
>> g++ -c -DIN_GCC_FRONTEND -g -O2 -DIN_GCC -fno-exceptions -fno-rtti
>> -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
>> -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long
>> -Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common
>> -DHAVE_CONFIG_H -I. -Ic -I/scratch/tmp/gerald/gcc-HEAD/gcc ...[-I
>> options]...
>> -o c/c-lang.o -MT c/c-lang.o -MMD -MP -MF c/.deps/c-lang.TPo
>> /scratch/tmp/gerald/gcc-HEAD/gcc/c/c-lang.c
>> cc1plus: error: unrecognized command line option "-Wno-narrowing"
>> gmake[2]: *** [c/c-lang.o] Error 1
>> gmake[1]: *** [install-gcc] Error 2
>> gmake: *** [install] Error 2
>>
>> The issue is the invocation of g++ (the old system compiler, not what
>> we built) with -Wno-narrowing (a new option).
>
> Why is install building anything?
I don't know if the case above is related, but AFAICT, java always builds ec1 at install time (and I wonder what the reason for that is).
Iain