public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/58242] New: [4.9 regression] linux-android.c:40:7: error: 'OPTION_BIONIC' was not declared in this scope breaks bootstrap on powerpc64-linux
@ 2013-08-26  7:27 mikpe at it dot uu.se
  2013-08-26  9:08 ` [Bug bootstrap/58242] " ubizjak at gmail dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: mikpe at it dot uu.se @ 2013-08-26  7:27 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58242

            Bug ID: 58242
           Summary: [4.9 regression] linux-android.c:40:7: error:
                    'OPTION_BIONIC' was not declared in this scope breaks
                    bootstrap on powerpc64-linux
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mikpe at it dot uu.se

Attempting to bootstrap gcc-4.9-20130825 on powerpc64-linux fails with:

g++ -c   -g -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  
-DHAVE_CONFIG_H -I. -I. -I/mnt/archive/gcc-4.9-20130825/gcc
-I/mnt/archive/gcc-4.9-20130825/gcc/.
-I/mnt/archive/gcc-4.9-20130825/gcc/../include
-I/mnt/archive/gcc-4.9-20130825/gcc/../libcpp/include
-I/home/mikpe/pkgs/linux-ppc64/gmp-5.1.2/include
-I/home/mikpe/pkgs/linux-ppc64/mpfr-3.1.2/include
-I/home/mikpe/pkgs/linux-ppc64/mpc-1.0.1/include 
-I/mnt/archive/gcc-4.9-20130825/gcc/../libdecnumber
-I/mnt/archive/gcc-4.9-20130825/gcc/../libdecnumber/dpd -I../libdecnumber
-I/mnt/archive/gcc-4.9-20130825/gcc/../libbacktrace    -I. -I.
-I/mnt/archive/gcc-4.9-20130825/gcc -I/mnt/archive/gcc-4.9-20130825/gcc/.
-I/mnt/archive/gcc-4.9-20130825/gcc/../include
-I/mnt/archive/gcc-4.9-20130825/gcc/../libcpp/include
-I/home/mikpe/pkgs/linux-ppc64/gmp-5.1.2/include
-I/home/mikpe/pkgs/linux-ppc64/mpfr-3.1.2/include
-I/home/mikpe/pkgs/linux-ppc64/mpc-1.0.1/include 
-I/mnt/archive/gcc-4.9-20130825/gcc/../libdecnumber
-I/mnt/archive/gcc-4.9-20130825/gcc/../libdecnumber/dpd -I../libdecnumber
-I/mnt/archive/gcc-4.9-20130825/gcc/../libbacktrace   \
        /mnt/archive/gcc-4.9-20130825/gcc/config/linux-android.c
/mnt/archive/gcc-4.9-20130825/gcc/config/linux-android.c: In function 'bool
linux_android_libc_has_function(function_class)':
/mnt/archive/gcc-4.9-20130825/gcc/config/linux-android.c:40:7: error:
'OPTION_BIONIC' was not declared in this scope
make[3]: *** [linux-android.o] Error 1

The previous weekly snapshot, 4.9-20130818, bootstrapped fine on this machine.


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

* [Bug bootstrap/58242] [4.9 regression] linux-android.c:40:7: error: 'OPTION_BIONIC' was not declared in this scope breaks bootstrap on powerpc64-linux
  2013-08-26  7:27 [Bug bootstrap/58242] New: [4.9 regression] linux-android.c:40:7: error: 'OPTION_BIONIC' was not declared in this scope breaks bootstrap on powerpc64-linux mikpe at it dot uu.se
@ 2013-08-26  9:08 ` ubizjak at gmail dot com
  2013-08-28  9:18 ` rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: ubizjak at gmail dot com @ 2013-08-26  9:08 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: 3874 bytes --]

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58242

Uroš Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aivchenk at gmail dot com

--- Comment #1 from Uroš Bizjak <ubizjak at gmail dot com> ---
Patch at [1] that fixes this issue is awaiting review.

[1] http://gcc.gnu.org/ml/gcc-patches/2013-08/msg01245.html
>From gcc-bugs-return-428396-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Aug 26 09:53:52 2013
Return-Path: <gcc-bugs-return-428396-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 14489 invoked by alias); 26 Aug 2013 09:53:51 -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 14455 invoked by uid 48); 26 Aug 2013 09:53:47 -0000
From: "hp at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/58243] New: Suboptimal structure initialization with tree-sra
Date: Mon, 26 Aug 2013 09:53:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hp 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 keywords bug_severity priority component assigned_to reporter cc attachments.created
Message-ID: <bug-58243-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: 2013-08/txt/msg01320.txt.bz2
Content-length: 1530

http://gcc.gnu.org/bugzilla/show_bug.cgi?idX243

            Bug ID: 58243
           Summary: Suboptimal structure initialization with tree-sra
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Keywords: missed-optimization
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hp at gcc dot gnu.org
                CC: jamborm at gcc dot gnu.org

Created attachment 30700
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id0700&actioníit
Example C code to be compiled at -O2 with/without -fno-tree-sra

See the attached code, which initializes a structure 4 byte long and copies it
through the pointer parameter in various similar functions, except func0 which
does the same bitwise setting using unsigned int to act as a reference for the
generated code (assuming a specific structure layout).

All functions are functionally equivalent; all struct members are set to
constants, either implicitly or explicitly, at initialization or afterwards,
and should be compiled to the same code at -O2.  With tree-sra (default) that
does not happen: there's byte-wise setting for at least x86_64-linux,
armv5-linux-gnueabi and cris-* for some of the functions.  With -O2
-fno-tree-sra the same code is generated for all functions.  Observed for
x86_64-unknown-linux-gnu, armv5-linux-gnueabi and cris-elf at r201882.

(I thought there already was a PR for this but couldn't find any.)


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

* [Bug bootstrap/58242] [4.9 regression] linux-android.c:40:7: error: 'OPTION_BIONIC' was not declared in this scope breaks bootstrap on powerpc64-linux
  2013-08-26  7:27 [Bug bootstrap/58242] New: [4.9 regression] linux-android.c:40:7: error: 'OPTION_BIONIC' was not declared in this scope breaks bootstrap on powerpc64-linux mikpe at it dot uu.se
  2013-08-26  9:08 ` [Bug bootstrap/58242] " ubizjak at gmail dot com
@ 2013-08-28  9:18 ` rguenth at gcc dot gnu.org
  2013-09-02  8:47 ` ebotcazou at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-08-28  9:18 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58242

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.9.0


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

* [Bug bootstrap/58242] [4.9 regression] linux-android.c:40:7: error: 'OPTION_BIONIC' was not declared in this scope breaks bootstrap on powerpc64-linux
  2013-08-26  7:27 [Bug bootstrap/58242] New: [4.9 regression] linux-android.c:40:7: error: 'OPTION_BIONIC' was not declared in this scope breaks bootstrap on powerpc64-linux mikpe at it dot uu.se
  2013-08-26  9:08 ` [Bug bootstrap/58242] " ubizjak at gmail dot com
  2013-08-28  9:18 ` rguenth at gcc dot gnu.org
@ 2013-09-02  8:47 ` ebotcazou at gcc dot gnu.org
  2013-09-05 11:43 ` aivchenk at gmail dot com
  2013-09-05 16:48 ` mikpe at it dot uu.se
  4 siblings, 0 replies; 6+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2013-09-02  8:47 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58242

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2013-09-02
                 CC|                            |ebotcazou at gcc dot gnu.org
     Ever confirmed|0                           |1
              Build|powerpc64-linux             |powerpc*-linux

--- Comment #2 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Likewise on PowerPC/Linux.


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

* [Bug bootstrap/58242] [4.9 regression] linux-android.c:40:7: error: 'OPTION_BIONIC' was not declared in this scope breaks bootstrap on powerpc64-linux
  2013-08-26  7:27 [Bug bootstrap/58242] New: [4.9 regression] linux-android.c:40:7: error: 'OPTION_BIONIC' was not declared in this scope breaks bootstrap on powerpc64-linux mikpe at it dot uu.se
                   ` (2 preceding siblings ...)
  2013-09-02  8:47 ` ebotcazou at gcc dot gnu.org
@ 2013-09-05 11:43 ` aivchenk at gmail dot com
  2013-09-05 16:48 ` mikpe at it dot uu.se
  4 siblings, 0 replies; 6+ messages in thread
From: aivchenk at gmail dot com @ 2013-09-05 11:43 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58242

--- Comment #3 from Alexander Ivchenko <aivchenk at gmail dot com> ---
Should be fixed now by r202274


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

* [Bug bootstrap/58242] [4.9 regression] linux-android.c:40:7: error: 'OPTION_BIONIC' was not declared in this scope breaks bootstrap on powerpc64-linux
  2013-08-26  7:27 [Bug bootstrap/58242] New: [4.9 regression] linux-android.c:40:7: error: 'OPTION_BIONIC' was not declared in this scope breaks bootstrap on powerpc64-linux mikpe at it dot uu.se
                   ` (3 preceding siblings ...)
  2013-09-05 11:43 ` aivchenk at gmail dot com
@ 2013-09-05 16:48 ` mikpe at it dot uu.se
  4 siblings, 0 replies; 6+ messages in thread
From: mikpe at it dot uu.se @ 2013-09-05 16:48 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58242

Mikael Pettersson <mikpe at it dot uu.se> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Mikael Pettersson <mikpe at it dot uu.se> ---
Yes, bootstrap is restored on powerpc64-linux with trunk @ 202274.  Closing.


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

end of thread, other threads:[~2013-09-05 16:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-26  7:27 [Bug bootstrap/58242] New: [4.9 regression] linux-android.c:40:7: error: 'OPTION_BIONIC' was not declared in this scope breaks bootstrap on powerpc64-linux mikpe at it dot uu.se
2013-08-26  9:08 ` [Bug bootstrap/58242] " ubizjak at gmail dot com
2013-08-28  9:18 ` rguenth at gcc dot gnu.org
2013-09-02  8:47 ` ebotcazou at gcc dot gnu.org
2013-09-05 11:43 ` aivchenk at gmail dot com
2013-09-05 16:48 ` mikpe at it dot uu.se

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