public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/63827] New: parallel make in libjava broken at r217383
@ 2014-11-11 23:46 howarth at bromo dot med.uc.edu
  2014-11-12  2:31 ` [Bug bootstrap/63827] " howarth at bromo dot med.uc.edu
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: howarth at bromo dot med.uc.edu @ 2014-11-11 23:46 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63827

            Bug ID: 63827
           Summary: parallel make in libjava broken at r217383
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: howarth at bromo dot med.uc.edu

At r217383, the parallel make of libjava is broken and fails at...

libtool: compile:  /sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/./gcc/gcj
-B/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/x86_64-apple-darwin13.4.0/libjava/
-B/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/./gcc/
-B/sw/lib/gcc5.0/x86_64-apple-darwin13.4.0/bin/
-B/sw/lib/gcc5.0/x86_64-apple-darwin13.4.0/lib/ -isystem
/sw/lib/gcc5.0/x86_64-apple-darwin13.4.0/include -isystem
/sw/lib/gcc5.0/x86_64-apple-darwin13.4.0/sys-include -fomit-frame-pointer -Usun
-fclasspath= -fbootclasspath=../../../gcc-5-20141111/libjava/classpath/lib
--encoding=UTF-8 -Wno-deprecated -fbootstrap-classes -g -O2
-fsource-filename=/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/x86_64-apple-darwin13.4.0/libjava/classpath/lib/classes
-fjni -findirect-dispatch -fno-indirect-classes -c @gnu-xml-libxmlj.list 
-fno-common -o .libs/gnu-xml-libxmlj.o
libtool: compile:  /sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/./gcc/gcj
-B/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/x86_64-apple-darwin13.4.0/libjava/
-B/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/./gcc/
-B/sw/lib/gcc5.0/x86_64-apple-darwin13.4.0/bin/
-B/sw/lib/gcc5.0/x86_64-apple-darwin13.4.0/lib/ -isystem
/sw/lib/gcc5.0/x86_64-apple-darwin13.4.0/include -isystem
/sw/lib/gcc5.0/x86_64-apple-darwin13.4.0/sys-include -fomit-frame-pointer -Usun
-fclasspath= -fbootclasspath=../../../gcc-5-20141111/libjava/classpath/lib
--encoding=UTF-8 -Wno-deprecated -fbootstrap-classes -g -O2
-fsource-filename=/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/x86_64-apple-darwin13.4.0/libjava/classpath/lib/classes
-fjni -findirect-dispatch -fno-indirect-classes -c @gnu-xml-pipeline.list 
-fno-common -o .libs/gnu-xml-pipeline.o
Makefile:10240: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
'/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/x86_64-apple-darwin13.4.0/libjava'
Makefile:17122: recipe for target 'all-target-libjava' failed
make[1]: *** [all-target-libjava] Error 2
make[1]: Leaving directory '/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir'
Makefile:20722: recipe for target 'bootstrap' failed
make: *** [bootstrap] Error 2
make: INTERNAL: Exiting with 1 jobserver tokens available; should be 16!
### execution of /tmp/fink.XbwhN failed, exit code 2
### execution of /tmp/fink.hta2O failed, exit code 2

suspect this is from r217374.


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug bootstrap/63827] parallel make in libjava broken at r217383
  2014-11-11 23:46 [Bug bootstrap/63827] New: parallel make in libjava broken at r217383 howarth at bromo dot med.uc.edu
@ 2014-11-12  2:31 ` howarth at bromo dot med.uc.edu
  2014-11-12  3:46 ` howarth at bromo dot med.uc.edu
                   ` (12 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: howarth at bromo dot med.uc.edu @ 2014-11-12  2:31 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63827

--- Comment #1 from howarth at bromo dot med.uc.edu ---
This is for a build on x86_64-apple-darwin13 at r217383 with...

 ../gcc-5-20141111/configure --prefix=/sw --prefix=/sw/lib/gcc5.0
--mandir=/sw/share/man --infodir=/sw/lib/gcc5.0/info
--enable-languages=c,c++,fortran,lto,objc,obj-c++,java --with-gmp=/sw
--with-libiconv-prefix=/sw --with-isl=/sw --with-mpc=/sw --with-system-zlib
--x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
--program-suffix=-fsf-5.0

make -j 16 bootstrap


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug bootstrap/63827] parallel make in libjava broken at r217383
  2014-11-11 23:46 [Bug bootstrap/63827] New: parallel make in libjava broken at r217383 howarth at bromo dot med.uc.edu
  2014-11-12  2:31 ` [Bug bootstrap/63827] " howarth at bromo dot med.uc.edu
@ 2014-11-12  3:46 ` howarth at bromo dot med.uc.edu
  2014-11-12  9:58 ` rguenth at gcc dot gnu.org
                   ` (11 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: howarth at bromo dot med.uc.edu @ 2014-11-12  3:46 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63827

--- Comment #2 from howarth at bromo dot med.uc.edu ---
Parallel make works in r217382.


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug bootstrap/63827] parallel make in libjava broken at r217383
  2014-11-11 23:46 [Bug bootstrap/63827] New: parallel make in libjava broken at r217383 howarth at bromo dot med.uc.edu
  2014-11-12  2:31 ` [Bug bootstrap/63827] " howarth at bromo dot med.uc.edu
  2014-11-12  3:46 ` howarth at bromo dot med.uc.edu
@ 2014-11-12  9:58 ` rguenth at gcc dot gnu.org
  2014-11-12 12:23 ` manu at gcc dot gnu.org
                   ` (10 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-11-12  9:58 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63827

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
I've also seen parallel bootstrap break once last week.  Of course hard to
track...


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug bootstrap/63827] parallel make in libjava broken at r217383
  2014-11-11 23:46 [Bug bootstrap/63827] New: parallel make in libjava broken at r217383 howarth at bromo dot med.uc.edu
                   ` (2 preceding siblings ...)
  2014-11-12  9:58 ` rguenth at gcc dot gnu.org
@ 2014-11-12 12:23 ` manu at gcc dot gnu.org
  2014-11-12 12:38 ` howarth at bromo dot med.uc.edu
                   ` (9 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: manu at gcc dot gnu.org @ 2014-11-12 12:23 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63827

--- Comment #4 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
I haven't tried to reproduce this yet, but I don't see how that patch could
lead to this. What is actually the error that triggers that failure in make?
>From gcc-bugs-return-466511-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 12 12:28:49 2014
Return-Path: <gcc-bugs-return-466511-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 18081 invoked by alias); 12 Nov 2014 12:28:48 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 18039 invoked by uid 55); 12 Nov 2014 12:28:44 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/59708] clang-compatible checked arithmetic builtins
Date: Wed, 12 Nov 2014 12:28:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-59708-4-aV5hJbi0xK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-59708-4@http.gcc.gnu.org/bugzilla/>
References: <bug-59708-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-11/txt/msg00983.txt.bz2
Content-length: 7902

https://gcc.gnu.org/bugzilla/show_bug.cgi?idY708

--- Comment #15 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Nov 12 12:28:06 2014
New Revision: 217415

URL: https://gcc.gnu.org/viewcvs?rev!7415&root=gcc&view=rev
Log:
    PR c/59708
    * builtin-attrs.def (ATTR_NOTHROW_TYPEGENERIC_LEAF): New attribute.
    * builtins.c (fold_builtin_arith_overflow): New function.
    (fold_builtin_3): Use it.
    * builtins.def (BUILT_IN_ADD_OVERFLOW, BUILT_IN_SUB_OVERFLOW,
    BUILT_IN_MUL_OVERFLOW, BUILT_IN_SADD_OVERFLOW, BUILT_IN_SADDL_OVERFLOW,
    BUILT_IN_SADDLL_OVERFLOW, BUILT_IN_SSUB_OVERFLOW,
    BUILT_IN_SSUBL_OVERFLOW, BUILT_IN_SSUBLL_OVERFLOW,
    BUILT_IN_SMUL_OVERFLOW, BUILT_IN_SMULL_OVERFLOW,
    BUILT_IN_SMULLL_OVERFLOW, BUILT_IN_UADDL_OVERFLOW,
    BUILT_IN_UADDLL_OVERFLOW, BUILT_IN_USUB_OVERFLOW,
    BUILT_IN_USUBL_OVERFLOW, BUILT_IN_USUBLL_OVERFLOW,
    BUILT_IN_UMUL_OVERFLOW, BUILT_IN_UMULL_OVERFLOW,
    BUILT_IN_UMULLL_OVERFLOW): New built-in functions.
    * builtin-types.def (BT_PTR_UINT, BT_PTR_ULONG, BT_PTR_LONGLONG,
    BT_FN_BOOL_INT_INT_INTPTR, BT_FN_BOOL_LONG_LONG_LONGPTR,
    BT_FN_BOOL_LONGLONG_LONGLONG_LONGLONGPTR, BT_FN_BOOL_UINT_UINT_UINTPTR,
    BT_FN_BOOL_ULONG_ULONG_ULONGPTR,
    BT_FN_BOOL_ULONGLONG_ULONGLONG_ULONGLONGPTR, BT_FN_BOOL_VAR): New.
    * expr.c (write_complex_part): Remove prototype, no longer static.
    * expr.h (write_complex_part): New prototype.
    * function.c (aggregate_value_p): For internal functions return 0.
    * gimple-fold.c (arith_overflowed_p): New functions.
    (gimple_fold_call): Fold {ADD,SUB,MUL}_OVERFLOW internal calls.
    * gimple-fold.h (arith_overflowed_p): New prototype.
    * tree-ssa-dce.c: Include tree-ssa-propagate.h and gimple-fold.h.
    (find_non_realpart_uses, maybe_optimize_arith_overflow): New
    functions.
    (eliminate_unnecessary_stmts): Transform {ADD,SUB,MUL}_OVERFLOW
    into COMPLEX_CST/COMPLEX_EXPR if IMAGPART_EXPR of the result is
    never used.
    * gimplify.c (gimplify_call_expr): Handle gimplification of
    internal calls with lhs.
    * internal-fn.c (get_range_pos_neg, get_min_precision,
    expand_arith_overflow_result_store): New functions.
    (ubsan_expand_si_overflow_addsub_check): Renamed to ...
    (expand_addsub_overflow): ... this.  Add LOC, LHS, ARG0, ARG1,
    UNSR_P, UNS0_P, UNS1_P, IS_UBSAN arguments, remove STMT argument.
    Handle ADD_OVERFLOW and SUB_OVERFLOW expansion.
    (ubsan_expand_si_overflow_neg_check): Renamed to ...
    (expand_neg_overflow): ... this.  Add LOC, LHS, ARG1, IS_UBSAN
    arguments, remove STMT argument.  Handle SUB_OVERFLOW with
    0 as first argument expansion.
    (ubsan_expand_si_overflow_mul_check): Renamed to ...
    (expand_mul_overflow): ... this.  Add LOC, LHS, ARG0, ARG1,
    UNSR_P, UNS0_P, UNS1_P, IS_UBSAN arguments, remove STMT argument.
    Handle MUL_OVERFLOW expansion.
    (expand_UBSAN_CHECK_ADD): Use expand_addsub_overflow, prepare
    arguments for it.
    (expand_UBSAN_CHECK_SUB): Use expand_addsub_overflow or
    expand_neg_overflow, prepare arguments for it.
    (expand_UBSAN_CHECK_MUL): Use expand_mul_overflow, prepare arguments
    for it.
    (expand_arith_overflow, expand_ADD_OVERFLOW, expand_SUB_OVERFLOW,
    expand_MUL_OVERFLOW): New functions.
    * internal-fn.def (ADD_OVERFLOW, SUB_OVERFLOW, MUL_OVERFLOW): New
    internal functions.
    * tree-vrp.c (check_for_binary_op_overflow): New function.
    (extract_range_basic): Handle {REAL,IMAG}PART_EXPR if the operand
    is SSA_NAME set by {ADD,SUB,MUL}_OVERFLOW internal functions.
    (simplify_internal_call_using_ranges): Handle {ADD,SUB,MUL}_OVERFLOW
    internal functions.
    * optabs.def (umulv4_optab): New optab.
    * config/i386/i386.md (umulv<mode>4, <u>mulvqi4): New define_expands.
    (*umulv<mode>4, *<u>mulvqi4): New define_insns.
    * doc/extend.texi (Integer Overflow Builtins): Document
    __builtin_*_overflow.
c-family/
    * c-common.c (check_builtin_function_arguments): Handle
    BUILT_IN_{ADD,SUB,MUL}_OVERFLOW.
testsuite/
    * c-c++-common/builtin-arith-overflow-1.c: New test.
    * c-c++-common/torture/builtin-arith-overflow-10.c: New test.
    * c-c++-common/torture/builtin-arith-overflow-11.c: New test.
    * c-c++-common/torture/builtin-arith-overflow-12.c: New test.
    * c-c++-common/torture/builtin-arith-overflow-12.h: New file.
    * c-c++-common/torture/builtin-arith-overflow-13.c: New test.
    * c-c++-common/torture/builtin-arith-overflow-14.c: New test.
    * c-c++-common/torture/builtin-arith-overflow-15.c: New test.
    * c-c++-common/torture/builtin-arith-overflow-16.c: New test.
    * c-c++-common/torture/builtin-arith-overflow-17.c: New test.
    * c-c++-common/torture/builtin-arith-overflow-18.c: New test.
    * c-c++-common/torture/builtin-arith-overflow-1.c: New test.
    * c-c++-common/torture/builtin-arith-overflow-1.h: New file.
    * c-c++-common/torture/builtin-arith-overflow-2.c: New test.
    * c-c++-common/torture/builtin-arith-overflow-3.c: New test.
    * c-c++-common/torture/builtin-arith-overflow-4.c: New test.
    * c-c++-common/torture/builtin-arith-overflow-5.c: New test.
    * c-c++-common/torture/builtin-arith-overflow-6.c: New test.
    * c-c++-common/torture/builtin-arith-overflow-7.c: New test.
    * c-c++-common/torture/builtin-arith-overflow-8.c: New test.
    * c-c++-common/torture/builtin-arith-overflow-9.c: New test.
    * c-c++-common/torture/builtin-arith-overflow.h: New file.
    * gcc.dg/builtin-arith-overflow-1.c: New test.
    * gcc.dg/builtin-arith-overflow-2.c: New test.

Added:
    trunk/gcc/testsuite/c-c++-common/builtin-arith-overflow-1.c
    trunk/gcc/testsuite/c-c++-common/torture/builtin-arith-overflow-1.c
    trunk/gcc/testsuite/c-c++-common/torture/builtin-arith-overflow-1.h
    trunk/gcc/testsuite/c-c++-common/torture/builtin-arith-overflow-10.c
    trunk/gcc/testsuite/c-c++-common/torture/builtin-arith-overflow-11.c
    trunk/gcc/testsuite/c-c++-common/torture/builtin-arith-overflow-12.c
    trunk/gcc/testsuite/c-c++-common/torture/builtin-arith-overflow-12.h
    trunk/gcc/testsuite/c-c++-common/torture/builtin-arith-overflow-13.c
    trunk/gcc/testsuite/c-c++-common/torture/builtin-arith-overflow-14.c
    trunk/gcc/testsuite/c-c++-common/torture/builtin-arith-overflow-15.c
    trunk/gcc/testsuite/c-c++-common/torture/builtin-arith-overflow-16.c
    trunk/gcc/testsuite/c-c++-common/torture/builtin-arith-overflow-17.c
    trunk/gcc/testsuite/c-c++-common/torture/builtin-arith-overflow-18.c
    trunk/gcc/testsuite/c-c++-common/torture/builtin-arith-overflow-2.c
    trunk/gcc/testsuite/c-c++-common/torture/builtin-arith-overflow-3.c
    trunk/gcc/testsuite/c-c++-common/torture/builtin-arith-overflow-4.c
    trunk/gcc/testsuite/c-c++-common/torture/builtin-arith-overflow-5.c
    trunk/gcc/testsuite/c-c++-common/torture/builtin-arith-overflow-6.c
    trunk/gcc/testsuite/c-c++-common/torture/builtin-arith-overflow-7.c
    trunk/gcc/testsuite/c-c++-common/torture/builtin-arith-overflow-8.c
    trunk/gcc/testsuite/c-c++-common/torture/builtin-arith-overflow-9.c
    trunk/gcc/testsuite/c-c++-common/torture/builtin-arith-overflow.h
    trunk/gcc/testsuite/gcc.dg/builtin-arith-overflow-1.c
    trunk/gcc/testsuite/gcc.dg/builtin-arith-overflow-2.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/builtin-attrs.def
    trunk/gcc/builtin-types.def
    trunk/gcc/builtins.c
    trunk/gcc/builtins.def
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c-common.c
    trunk/gcc/config/i386/i386.md
    trunk/gcc/doc/extend.texi
    trunk/gcc/expr.c
    trunk/gcc/expr.h
    trunk/gcc/function.c
    trunk/gcc/gimple-fold.c
    trunk/gcc/gimple-fold.h
    trunk/gcc/gimplify.c
    trunk/gcc/internal-fn.c
    trunk/gcc/internal-fn.def
    trunk/gcc/optabs.def
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-dce.c
    trunk/gcc/tree-vrp.c


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug bootstrap/63827] parallel make in libjava broken at r217383
  2014-11-11 23:46 [Bug bootstrap/63827] New: parallel make in libjava broken at r217383 howarth at bromo dot med.uc.edu
                   ` (3 preceding siblings ...)
  2014-11-12 12:23 ` manu at gcc dot gnu.org
@ 2014-11-12 12:38 ` howarth at bromo dot med.uc.edu
  2014-11-12 12:44 ` howarth at bromo dot med.uc.edu
                   ` (8 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: howarth at bromo dot med.uc.edu @ 2014-11-12 12:38 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63827

--- Comment #5 from howarth at bromo dot med.uc.edu ---
This is extremely reproducible at r217383 on darwin and no other breakage in
the parallel make has been seen this week prior to this commit. The accumulated
error messages in the failing build are...

make[3]: *** read jobs pipe: No such file or directory.  Stop.
make[3]: *** Waiting for unfinished jobs....
...
ake[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
'/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/x86_64-apple-darwin13.4.0/libjava'
Makefile:17122: recipe for target 'all-target-libjava' failed
make[1]: *** [all-target-libjava] Error 2
make[1]: Leaving directory '/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir'
Makefile:20722: recipe for target 'bootstrap' failed
make: *** [bootstrap] Error 2
make: INTERNAL: Exiting with 1 jobserver tokens available; should be 16!

It looks like the failure occurs when the java classes are being compiled. Can
we revert r217383 until the flaw in its handling of the parallel make is
resolved? Having to build gcc serially is very painful.


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug bootstrap/63827] parallel make in libjava broken at r217383
  2014-11-11 23:46 [Bug bootstrap/63827] New: parallel make in libjava broken at r217383 howarth at bromo dot med.uc.edu
                   ` (4 preceding siblings ...)
  2014-11-12 12:38 ` howarth at bromo dot med.uc.edu
@ 2014-11-12 12:44 ` howarth at bromo dot med.uc.edu
  2014-11-12 12:53 ` manu at gcc dot gnu.org
                   ` (7 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: howarth at bromo dot med.uc.edu @ 2014-11-12 12:44 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63827

--- Comment #6 from howarth at bromo dot med.uc.edu ---
(In reply to Manuel López-Ibáñez from comment #4)
> I haven't tried to reproduce this yet, but I don't see how that patch could
> lead to this. What is actually the error that triggers that failure in make?

The only "trigger" I see is r217383 and 'make -j 16 bootstrap'. I have been
building darwin bootstraps about 10 times a day for the past week and this
failure never appeared prior to r217383. I do have GNU make 4.1 installed on
this machine. I'll remove that in favor of the darwin system GNU make 3.81 and
see if that suppresses the failure.
>From gcc-bugs-return-466513-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 12 12:44:15 2014
Return-Path: <gcc-bugs-return-466513-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 32745 invoked by alias); 12 Nov 2014 12:44:15 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 32109 invoked by uid 48); 12 Nov 2014 12:44:09 -0000
From: "jamborm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/63814] g++.dg/ipa/pr61160-1.C fails with -m32 on darwin14
Date: Wed, 12 Nov 2014 12:44:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: ipa
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jamborm at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-63814-4-TwdFOzbbvb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63814-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63814-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-11/txt/msg00985.txt.bz2
Content-length: 267

https://gcc.gnu.org/bugzilla/show_bug.cgi?idc814

--- Comment #4 from Martin Jambor <jamborm at gcc dot gnu.org> ---
Dominique, if you could pinpoint exactly the revision causing this, it
would be great.  Most of us do not have access to a darwin machine.
Thanks.


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug bootstrap/63827] parallel make in libjava broken at r217383
  2014-11-11 23:46 [Bug bootstrap/63827] New: parallel make in libjava broken at r217383 howarth at bromo dot med.uc.edu
                   ` (5 preceding siblings ...)
  2014-11-12 12:44 ` howarth at bromo dot med.uc.edu
@ 2014-11-12 12:53 ` manu at gcc dot gnu.org
  2014-11-12 13:01 ` howarth at bromo dot med.uc.edu
                   ` (6 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: manu at gcc dot gnu.org @ 2014-11-12 12:53 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63827

--- Comment #7 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to howarth from comment #5)
> It looks like the failure occurs when the java classes are being compiled.
> Can we revert r217383 until the flaw in its handling of the parallel make is
> resolved? Having to build gcc serially is very painful.

Can you try reverting it locally and making a diff of the build logs? It
doesn't make sense that a patch that only affects Fortran and does not change
any build files breaks libjava, but I guess everything is possible. The errors
that you mention do not clarify what is "missing/broken". Isn't there any error
earlier produced by gcc or libtool?
>From gcc-bugs-return-466516-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 12 12:54:37 2014
Return-Path: <gcc-bugs-return-466516-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7733 invoked by alias); 12 Nov 2014 12:54:37 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 7495 invoked by uid 55); 12 Nov 2014 12:54:33 -0000
From: "hjl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug testsuite/63830] c-c++-common/asan/strlen-overflow-1.c fails on x32
Date: Wed, 12 Nov 2014 12:54:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: testsuite
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-63830-4-1fz0ax66h0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63830-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63830-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-11/txt/msg00988.txt.bz2
Content-length: 514

https://gcc.gnu.org/bugzilla/show_bug.cgi?idc830

--- Comment #1 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> ---
Author: hjl
Date: Wed Nov 12 12:54:00 2014
New Revision: 217417

URL: https://gcc.gnu.org/viewcvs?rev!7417&root=gcc&view=rev
Log:
Avoid tail call in c-c++-common/asan/strlen-overflow-1.c

    PR testsuite/63830
    * c-c++-common/asan/strlen-overflow-1.c (main): Avoid tail call.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/c-c++-common/asan/strlen-overflow-1.c


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug bootstrap/63827] parallel make in libjava broken at r217383
  2014-11-11 23:46 [Bug bootstrap/63827] New: parallel make in libjava broken at r217383 howarth at bromo dot med.uc.edu
                   ` (6 preceding siblings ...)
  2014-11-12 12:53 ` manu at gcc dot gnu.org
@ 2014-11-12 13:01 ` howarth at bromo dot med.uc.edu
  2014-11-12 13:11 ` howarth at bromo dot med.uc.edu
                   ` (5 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: howarth at bromo dot med.uc.edu @ 2014-11-12 13:01 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63827

--- Comment #8 from howarth at bromo dot med.uc.edu ---
(In reply to Manuel López-Ibáñez from comment #7)
> (In reply to howarth from comment #5)
> > It looks like the failure occurs when the java classes are being compiled.
> > Can we revert r217383 until the flaw in its handling of the parallel make is
> > resolved? Having to build gcc serially is very painful.
> 
> Can you try reverting it locally and making a diff of the build logs? It
> doesn't make sense that a patch that only affects Fortran and does not
> change any build files breaks libjava, but I guess everything is possible.
> The errors that you mention do not clarify what is "missing/broken". Isn't
> there any error earlier produced by gcc or libtool?

Sorry about accidentally cc'ing you on this PR. This is breakage in the libjava
parallel make introduced by r217383.
>From gcc-bugs-return-466519-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 12 13:08:53 2014
Return-Path: <gcc-bugs-return-466519-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 18199 invoked by alias); 12 Nov 2014 13:08:52 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 18054 invoked by uid 48); 12 Nov 2014 13:08:43 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/63814] g++.dg/ipa/pr61160-1.C fails with -m32 on darwin14
Date: Wed, 12 Nov 2014 13:08:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: ipa
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-63814-4-zjsoEUB0eQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63814-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63814-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-11/txt/msg00991.txt.bz2
Content-length: 1094

https://gcc.gnu.org/bugzilla/show_bug.cgi?idc814

--- Comment #5 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Dominique, if you could pinpoint exactly the revision causing this, it
> would be great.  Most of us do not have access to a darwin machine.
> Thanks.

It was what I tried to do, but I finally found that the failures do not trigger
when gcc is configured with --enable-checking=release (probably obvious).

> This appeared between revisions r216154 (OK) and r216633 (ICE).

Then this should be replaced with

This appeared between revisions r216102 (OK) and r216633 (ICE).

I'll restart the bisection without --enable-checking=release!-(

Note that I have found the following problem

[Book15] f90/bug% /opt/gcc/gcc4.10p-216154p2b/bin/g++ -O3 --param
ipa-cp-eval-threshold=1 /opt/gcc/work/gcc/testsuite/g++.dg/ipa/pr61160-2.C
-std=gnu++11 -m32 -std=gnu++98
[Book15] f90/bug% a.out
                                                                    Abort

where 216154p2b is r216154 with patches to bootstrap.


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug bootstrap/63827] parallel make in libjava broken at r217383
  2014-11-11 23:46 [Bug bootstrap/63827] New: parallel make in libjava broken at r217383 howarth at bromo dot med.uc.edu
                   ` (7 preceding siblings ...)
  2014-11-12 13:01 ` howarth at bromo dot med.uc.edu
@ 2014-11-12 13:11 ` howarth at bromo dot med.uc.edu
  2014-11-12 13:33 ` dmalcolm at gcc dot gnu.org
                   ` (4 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: howarth at bromo dot med.uc.edu @ 2014-11-12 13:11 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63827

--- Comment #9 from howarth at bromo dot med.uc.edu ---
Now I see why I accidentally cc'd Manu. This breakage occurred in the commit
just prior to the jit commit which, as a fortune commit, indeed doesn't make
much sense.


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug bootstrap/63827] parallel make in libjava broken at r217383
  2014-11-11 23:46 [Bug bootstrap/63827] New: parallel make in libjava broken at r217383 howarth at bromo dot med.uc.edu
                   ` (8 preceding siblings ...)
  2014-11-12 13:11 ` howarth at bromo dot med.uc.edu
@ 2014-11-12 13:33 ` dmalcolm at gcc dot gnu.org
  2014-11-12 13:49 ` howarth at bromo dot med.uc.edu
                   ` (3 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: dmalcolm at gcc dot gnu.org @ 2014-11-12 13:33 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63827

--- Comment #10 from dmalcolm at gcc dot gnu.org ---
(In reply to howarth from comment #9)
> Now I see why I accidentally cc'd Manu. This breakage occurred in the commit
> just prior to the jit commit which, as a fortune commit, indeed doesn't make
> much sense.

Sorry, I'm getting confused.  Can you clarify:
* the latest revision on trunk you know of that succeeds, and
* the earliest revision on trunk you know of that fails?
to narrow things down.

[alternatively, do you still think this the fault of my jit commit? (r217374)]

Thanks


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug bootstrap/63827] parallel make in libjava broken at r217383
  2014-11-11 23:46 [Bug bootstrap/63827] New: parallel make in libjava broken at r217383 howarth at bromo dot med.uc.edu
                   ` (9 preceding siblings ...)
  2014-11-12 13:33 ` dmalcolm at gcc dot gnu.org
@ 2014-11-12 13:49 ` howarth at bromo dot med.uc.edu
  2014-11-12 15:29 ` manu at gcc dot gnu.org
                   ` (2 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: howarth at bromo dot med.uc.edu @ 2014-11-12 13:49 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63827

--- Comment #11 from howarth at bromo dot med.uc.edu ---
(In reply to dmalcolm from comment #10)
> (In reply to howarth from comment #9)
> > Now I see why I accidentally cc'd Manu. This breakage occurred in the commit
> > just prior to the jit commit which, as a fortune commit, indeed doesn't make
> > much sense.
> 
> Sorry, I'm getting confused.  Can you clarify:
> * the latest revision on trunk you know of that succeeds, and
> * the earliest revision on trunk you know of that fails?
> to narrow things down.
> 
> [alternatively, do you still think this the fault of my jit commit?
> (r217374)]
> 
> Thanks

I am rerunning my tests. I can definitely say the bootstrap is broken
post-r217814 in the libjava parallel make. Retesting if r217813 is in play.
Also trying to make sure this problem is seen in a reduced build of
--enable-languages=c,c++,java compared with the
--enable-languages=c,c++,fortran,lto,objc,obj-c++,java which I normally test.


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug bootstrap/63827] parallel make in libjava broken at r217383
  2014-11-11 23:46 [Bug bootstrap/63827] New: parallel make in libjava broken at r217383 howarth at bromo dot med.uc.edu
                   ` (10 preceding siblings ...)
  2014-11-12 13:49 ` howarth at bromo dot med.uc.edu
@ 2014-11-12 15:29 ` manu at gcc dot gnu.org
  2014-11-12 20:22 ` howarth at bromo dot med.uc.edu
  2015-10-24 19:20 ` howarth.at.gcc at gmail dot com
  13 siblings, 0 replies; 15+ messages in thread
From: manu at gcc dot gnu.org @ 2014-11-12 15:29 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="UTF-8", Size: 8990 bytes --]

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63827

--- Comment #12 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to howarth from comment #11)
> I am rerunning my tests. I can definitely say the bootstrap is broken
> post-r217814 in the libjava parallel make. Retesting if r217813 is in play.
> Also trying to make sure this problem is seen in a reduced build of
> --enable-languages=c,c++,java compared with the
> --enable-languages=c,c++,fortran,lto,objc,obj-c++,java which I normally test.

If you are using --enable-checking=release, perhaps you are seeing:
https://gcc.gnu.org/ml/gcc-patches/2014-11/msg01240.html
>From gcc-bugs-return-466534-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 12 15:37:53 2014
Return-Path: <gcc-bugs-return-466534-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 16885 invoked by alias); 12 Nov 2014 15:37:53 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 16844 invoked by uid 48); 12 Nov 2014 15:37:47 -0000
From: "howarth at bromo dot med.uc.edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/63827] parallel make in libjava broken at r217383
Date: Wed, 12 Nov 2014 15:37:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: bootstrap
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: howarth at bromo dot med.uc.edu
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-63827-4-I4IYqE8kxX@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63827-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63827-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-11/txt/msg01006.txt.bz2
Content-length: 1034

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63827

--- Comment #13 from howarth at bromo dot med.uc.edu ---
(In reply to Manuel López-Ibáñez from comment #12)
> (In reply to howarth from comment #11)
>
> If you are using --enable-checking=release, perhaps you are seeing:
> https://gcc.gnu.org/ml/gcc-patches/2014-11/msg01240.html

I'm not using --enable-checking= at all so for trunk that should default to
checking, no? So far, at r217382 and r217383 for the reduced language set of
c,c++,java, I don't see the bootstrap failure. I am currently testing
c,c++,fortran,java but my suspicion is that I may need the full language set of
c,c++,fortran,lto,objc,obj-c++,java to reproduce this here. If so, then would
imagine I am seeing a slight shift in the timing of the build what tickles a
latent parallel make issue in libjava. Certainly every failure I have seem
in...

make: INTERNAL: Exiting with 1 jobserver tokens available; should be 16!

appears associated with the build in the libjava directory.
>From gcc-bugs-return-466535-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 12 15:40:16 2014
Return-Path: <gcc-bugs-return-466535-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 18995 invoked by alias); 12 Nov 2014 15:40:14 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 18967 invoked by uid 48); 12 Nov 2014 15:40:10 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/60420] [DR 1510] Bogus "error:=?UTF-8?Q? ‘const’ qualifiers cannot be applied to ‘int&’?=" with lambda
Date: Wed, 12 Nov 2014 15:40:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo.carlini at oracle dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status assigned_to short_desc
Message-ID: <bug-60420-4-HPZc9lyAKL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-60420-4@http.gcc.gnu.org/bugzilla/>
References: <bug-60420-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-11/txt/msg01007.txt.bz2
Content-length: 740

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60420

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |paolo.carlini at oracle dot com
            Summary|[C++11] Bogus "error:       |[DR 1510] Bogus "error:
                   |‘const’ qualifiers cannot   |‘const’ qualifiers cannot
                   |be applied to ‘int&’" with  |be applied to ‘int&’" with
                   |lambda                      |lambda
>From gcc-bugs-return-466536-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 12 16:25:02 2014
Return-Path: <gcc-bugs-return-466536-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 2666 invoked by alias); 12 Nov 2014 16:25:01 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 2347 invoked by uid 48); 12 Nov 2014 16:24:58 -0000
From: "iains at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug preprocessor/63834] New: [5 Regression] unrecognised __has_attribute(xxxx) test causes segv (prevents bootstrap on darwin12).
Date: Wed, 12 Nov 2014 16:25:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: preprocessor
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: blocker
X-Bugzilla-Who: iains at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter attachments.created
Message-ID: <bug-63834-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-11/txt/msg01008.txt.bz2
Content-length: 1087

https://gcc.gnu.org/bugzilla/show_bug.cgi?idc834

            Bug ID: 63834
           Summary: [5 Regression] unrecognised __has_attribute(xxxx) test
                    causes segv (prevents bootstrap on darwin12).
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: preprocessor
          Assignee: unassigned at gcc dot gnu.org
          Reporter: iains at gcc dot gnu.org

Created attachment 33947
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id3947&actioníit
Test header

The changes at r217292 have introduced a segv for the attached testcase.

AFAICT the code is valid, this is used in a key system header on x86-64-darwin
so is a bootstrap blocker. Fails at stage#2 because libiberty's config.h
contains nonsense.

---

./gcc/xgcc -Bgcc avtest.h -E

avtest.h:1:0: internal compiler error: Segmentation fault: 11
 #ifdef __has_attribute
 ^

avtest.h:1:0: internal compiler error: Abort trap: 6
xgcc: internal compiler error: Abort trap: 6 (program cc1)
Abort trap: 6


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug bootstrap/63827] parallel make in libjava broken at r217383
  2014-11-11 23:46 [Bug bootstrap/63827] New: parallel make in libjava broken at r217383 howarth at bromo dot med.uc.edu
                   ` (11 preceding siblings ...)
  2014-11-12 15:29 ` manu at gcc dot gnu.org
@ 2014-11-12 20:22 ` howarth at bromo dot med.uc.edu
  2015-10-24 19:20 ` howarth.at.gcc at gmail dot com
  13 siblings, 0 replies; 15+ messages in thread
From: howarth at bromo dot med.uc.edu @ 2014-11-12 20:22 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63827

howarth at bromo dot med.uc.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #14 from howarth at bromo dot med.uc.edu ---
Closing as the parallel make issue seems to have gone latent again in todays
svn pulls of gcc trunk.


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug bootstrap/63827] parallel make in libjava broken at r217383
  2014-11-11 23:46 [Bug bootstrap/63827] New: parallel make in libjava broken at r217383 howarth at bromo dot med.uc.edu
                   ` (12 preceding siblings ...)
  2014-11-12 20:22 ` howarth at bromo dot med.uc.edu
@ 2015-10-24 19:20 ` howarth.at.gcc at gmail dot com
  13 siblings, 0 replies; 15+ messages in thread
From: howarth.at.gcc at gmail dot com @ 2015-10-24 19:20 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63827

Jack Howarth <howarth.at.gcc at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |howarth.at.gcc at gmail dot com

--- Comment #15 from Jack Howarth <howarth.at.gcc at gmail dot com> ---
(In reply to Jack Howarth from comment #5)
> This is extremely reproducible at r217383 on darwin and no other breakage in
> the parallel make has been seen this week prior to this commit. The
> accumulated error messages in the failing build are...
> 
> make[3]: *** read jobs pipe: No such file or directory.  Stop.
> make[3]: *** Waiting for unfinished jobs....
> ...
> ake[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> '/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/x86_64-apple-darwin13.4.0/
> libjava'
> Makefile:17122: recipe for target 'all-target-libjava' failed
> make[1]: *** [all-target-libjava] Error 2
> make[1]: Leaving directory
> '/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir'
> Makefile:20722: recipe for target 'bootstrap' failed
> make: *** [bootstrap] Error 2
> make: INTERNAL: Exiting with 1 jobserver tokens available; should be 16!
> 
> It looks like the failure occurs when the java classes are being compiled.
> Can we revert r217383 until the flaw in its handling of the parallel make is
> resolved? Having to build gcc serially is very painful.

This issue has reappeared OS X 10.11 for make 4.1 built with NLS support when
executed under the fink package manager using the system perl. The cause
appears to be the indirect linkage of the CoreFoundation framework via libintl.
The CoreFoundation frameworks sources don't contain any EINTR handling for
interruptible system calls like read(), etc so there will be potential race
conditions for programs using fork()/exec() like make.

radr://23248551 "The CoreFoundation framework and associated libraries aren't
fork()/exec() safe"


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2015-10-24 19:20 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-11 23:46 [Bug bootstrap/63827] New: parallel make in libjava broken at r217383 howarth at bromo dot med.uc.edu
2014-11-12  2:31 ` [Bug bootstrap/63827] " howarth at bromo dot med.uc.edu
2014-11-12  3:46 ` howarth at bromo dot med.uc.edu
2014-11-12  9:58 ` rguenth at gcc dot gnu.org
2014-11-12 12:23 ` manu at gcc dot gnu.org
2014-11-12 12:38 ` howarth at bromo dot med.uc.edu
2014-11-12 12:44 ` howarth at bromo dot med.uc.edu
2014-11-12 12:53 ` manu at gcc dot gnu.org
2014-11-12 13:01 ` howarth at bromo dot med.uc.edu
2014-11-12 13:11 ` howarth at bromo dot med.uc.edu
2014-11-12 13:33 ` dmalcolm at gcc dot gnu.org
2014-11-12 13:49 ` howarth at bromo dot med.uc.edu
2014-11-12 15:29 ` manu at gcc dot gnu.org
2014-11-12 20:22 ` howarth at bromo dot med.uc.edu
2015-10-24 19:20 ` howarth.at.gcc at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).