public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/61354] New: GCC bootstrap with LTO fails in trunk when built with isl
@ 2014-05-29  9:34 venkataramanan.kumar at amd dot com
  2014-05-30  8:12 ` [Bug middle-end/61354] " mkuvyrkov at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: venkataramanan.kumar at amd dot com @ 2014-05-29  9:34 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 61354
           Summary: GCC bootstrap with LTO fails in trunk when built with
                    isl
           Product: gcc
           Version: lto
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: venkataramanan.kumar at amd dot com

Machine: AMD64
Revision tested: trunk 210955

sources/gcc-fsf/gcc/configure
--prefix=/work/builds/lto-native-bootstrap-install-trunk
--with-build-config=bootstrap-lto

make -j4 


(Snip)
../../../sources/gcc-fsf/gcc/isl/isl_map_simplify.c: In function
âisl_basic_map_drop_redundant_divsâ:
../../../sources/gcc-fsf/gcc/isl/isl_map_simplify.c:3046:19: error: âlast_negâ
may be used uninitialized in this function [-Werror=maybe-uninitialized]
         bmap->ineq[last_neg] + 1,
                   ^
../../../sources/gcc-fsf/gcc/isl/isl_map_simplify.c:3007:17: note: âlast_negâ
was declared here
   int last_pos, last_neg;
                 ^
../../../sources/gcc-fsf/gcc/isl/isl_map_simplify.c:3062:9: error: âlast_posâ
may be used uninitialized in this function [-Werror=maybe-uninitialized]
        !ok_to_set_div_from_bound(bmap, i, last_pos)) {
         ^
../../../sources/gcc-fsf/gcc/isl/isl_map_simplify.c:3007:7: note: âlast_posâ
was declared here
   int last_pos, last_neg;
(Snip)
>From gcc-bugs-return-452794-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 29 11:00:56 2014
Return-Path: <gcc-bugs-return-452794-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 9394 invoked by alias); 29 May 2014 11:00:55 -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 8943 invoked by uid 48); 29 May 2014 11:00:49 -0000
From: "kuehro at gmx dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgcc/61309] cilk-plus tests fail with: hidden symbol `__cpu_model' in /x/gcc/testsuite/g++/../../libgcc.a(cpuinfo.o) is referenced by DSO
Date: Thu, 29 May 2014 11:00:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libgcc
X-Bugzilla-Version: 4.10.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: kuehro at gmx dot de
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: cc
Message-ID: <bug-61309-4-LXeOq2wHFg@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-61309-4@http.gcc.gnu.org/bugzilla/>
References: <bug-61309-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-05/txt/msg02486.txt.bz2
Content-length: 996

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

Kai-Uwe Eckhardt <kuehro at gmx dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kuehro at gmx dot de

--- Comment #1 from Kai-Uwe Eckhardt <kuehro at gmx dot de> ---
In NetBSD pkgsrc this was fixed by the following patch (with
 --prefix=/usr/pkg/gcc410snapshot ):

--- libcilkrts/configure.orig    2014-03-26 19:16:35.000000000 +0000
+++ libcilkrts/configure
@@ -14496,7 +14496,7 @@ rm -f core conftest.err conftest.$ac_obj
     conftest$ac_exeext conftest.$ac_ext

 if test $enable_shared = yes; then
-  link_cilkrts="-lcilkrts %{static: $LIBS}"
+  link_cilkrts="-rpath /usr/pkg/gcc410snapshot/lib --as-needed -lgcc_s
-lcilkrts %{static $LIBS}"
 else
   link_cilkrts="-lcilkrts $LIBS"
 fi


The libgcc_s.so from /usr/lib is used where the symbol __cpu_model is missing.

Good luck,

Kai-Uwe


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

* [Bug middle-end/61354] GCC bootstrap with LTO fails in trunk when built with isl
  2014-05-29  9:34 [Bug middle-end/61354] New: GCC bootstrap with LTO fails in trunk when built with isl venkataramanan.kumar at amd dot com
@ 2014-05-30  8:12 ` mkuvyrkov at gcc dot gnu.org
  2014-05-30  8:59 ` venkataramanan.kumar at amd dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: mkuvyrkov at gcc dot gnu.org @ 2014-05-30  8:12 UTC (permalink / raw)
  To: gcc-bugs

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

Maxim Kuvyrkov <mkuvyrkov at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |mkuvyrkov at gcc dot gnu.org
         Resolution|---                         |INVALID

--- Comment #1 from Maxim Kuvyrkov <mkuvyrkov at gcc dot gnu.org> ---
./contrib/download_prerequisites should be run at the top-level directory of
GCC source.  If run inside ./gcc/ sources of supporting libraries will be
treated with same strict requirement as GCC code.

Closing as INVALID.


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

* [Bug middle-end/61354] GCC bootstrap with LTO fails in trunk when built with isl
  2014-05-29  9:34 [Bug middle-end/61354] New: GCC bootstrap with LTO fails in trunk when built with isl venkataramanan.kumar at amd dot com
  2014-05-30  8:12 ` [Bug middle-end/61354] " mkuvyrkov at gcc dot gnu.org
@ 2014-05-30  8:59 ` venkataramanan.kumar at amd dot com
  2014-05-30 22:12 ` venkataramanan.kumar at amd dot com
  2014-06-02  8:02 ` rguenth at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: venkataramanan.kumar at amd dot com @ 2014-05-30  8:59 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Venkataramanan <venkataramanan.kumar at amd dot com> ---
Maxim, 

"sources/gcc-fsf/gcc" is the top level source directory and it contains the
contrib folder.

gcc compiler sources are in "sources/gcc-fsf/gcc/gcc".


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

* [Bug middle-end/61354] GCC bootstrap with LTO fails in trunk when built with isl
  2014-05-29  9:34 [Bug middle-end/61354] New: GCC bootstrap with LTO fails in trunk when built with isl venkataramanan.kumar at amd dot com
  2014-05-30  8:12 ` [Bug middle-end/61354] " mkuvyrkov at gcc dot gnu.org
  2014-05-30  8:59 ` venkataramanan.kumar at amd dot com
@ 2014-05-30 22:12 ` venkataramanan.kumar at amd dot com
  2014-06-02  8:02 ` rguenth at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: venkataramanan.kumar at amd dot com @ 2014-05-30 22:12 UTC (permalink / raw)
  To: gcc-bugs

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

Venkataramanan <venkataramanan.kumar at amd dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at ucw dot cz

--- Comment #3 from Venkataramanan <venkataramanan.kumar at amd dot com> ---
I am closing this PR since it seems to be problem with ISL code. The bug occurs
while building stage 1 "cc1" via link time optimizer "lto1" and now compiler is
detecting uninitialized code in ISL.

During bootstrap compiler treats all warnings as errors.


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

* [Bug middle-end/61354] GCC bootstrap with LTO fails in trunk when built with isl
  2014-05-29  9:34 [Bug middle-end/61354] New: GCC bootstrap with LTO fails in trunk when built with isl venkataramanan.kumar at amd dot com
                   ` (2 preceding siblings ...)
  2014-05-30 22:12 ` venkataramanan.kumar at amd dot com
@ 2014-06-02  8:02 ` rguenth at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-06-02  8:02 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
When doing LTO bootstrap it's wise to add --disable-werror.


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

end of thread, other threads:[~2014-06-02  8:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-29  9:34 [Bug middle-end/61354] New: GCC bootstrap with LTO fails in trunk when built with isl venkataramanan.kumar at amd dot com
2014-05-30  8:12 ` [Bug middle-end/61354] " mkuvyrkov at gcc dot gnu.org
2014-05-30  8:59 ` venkataramanan.kumar at amd dot com
2014-05-30 22:12 ` venkataramanan.kumar at amd dot com
2014-06-02  8:02 ` rguenth at gcc dot gnu.org

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).