public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/57578] New: SPE detection broken on Linux (bits/predefs.h: No such file or directory)
@ 2013-06-10 16:22 stigge at antcom dot de
  2013-06-11  8:07 ` [Bug target/57578] " doko at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: stigge at antcom dot de @ 2013-06-10 16:22 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 57578
           Summary: SPE detection broken on Linux (bits/predefs.h: No such
                    file or directory)
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: stigge at antcom dot de

SPE detection broken on Linux (bits/predefs.h: No such file or directory)

The build of powerpc spe on Linux aborts like this:

[...]
/«PKGBUILDDIR»/build/./gcc/xgcc -B/«PKGBUILDDIR»/build/./gcc/
-B/usr/lib/gcc-snapshot/powerpc-linux-gnuspe/bin/
-B/usr/lib/gcc-snapshot/powerpc-linux-gnuspe/lib/ -isystem
/usr/lib/gcc-snapshot/powerpc-linux-gnuspe/include -isystem
/usr/lib/gcc-snapshot/powerpc-linux-gnuspe/sys-include    -g -O2 -O2  -g -O2
-DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition  -isystem ./include   -fPIC
-mlong-double-128 -mno-minimal-toc -g -DIN_LIBGCC2 -fbuilding-libgcc
-fno-stack-protector   -fPIC -mlong-double-128 -mno-minimal-toc -I. -I.
-I../.././gcc -I../../../src/libgcc -I../../../src/libgcc/.
-I../../../src/libgcc/../gcc -I../../../src/libgcc/../include
-I../../../src/libgcc/../libdecnumber/dpd -I../../../src/libgcc/../libdecnumber
-DHAVE_CC_TLS  -o _gcov_merge_single.o -MT _gcov_merge_single.o -MD -MP -MF
_gcov_merge_single.dep -DL_gcov_merge_single -c ../../../src/libgcc/libgcov.c
In file included from /usr/include/stdio.h:28:0,
                 from ../../../src/libgcc/../gcc/tsystem.h:87,
                 from ../../../src/libgcc/libgcov.c:27:
/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or
directory
 #include <bits/predefs.h>
                          ^
compilation terminated.
[...]

Turns out that the detection of the SPE case is done via
rs6000/e500-double.h in $(tm_file_list), but e500-double.h was removed
recently, and hence not added anymore to $(tm_file_list). However, in
the SPE (i.e. e500v2) case, with_cpu is set exactly to 8548 in
config.gcc.

I solved this in gcc/config/rs6000/t-linux by replacing the line

MULTIARCH_DIRNAME = powerpc-linux-gnuspe$(if $(findstring rs6000/e500-double.h,
$(tm_file_list)),,v1)

with

MULTIARCH_DIRNAME = powerpc-linux-gnuspe$(if $(findstring
8548,$(with_cpu)),,v1)

Thanks!
>From gcc-bugs-return-424118-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 10 16:31:57 2013
Return-Path: <gcc-bugs-return-424118-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 18028 invoked by alias); 10 Jun 2013 16:31:57 -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 17971 invoked by uid 48); 10 Jun 2013 16:31:48 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/47680] [OOP] ICE with polymorphic array elements as dummy
Date: Mon, 10 Jun 2013 16:31:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 4.6.0
X-Bugzilla-Keywords: ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
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-47680-4-6shgg7K45p@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-47680-4@http.gcc.gnu.org/bugzilla/>
References: <bug-47680-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-06/txt/msg00497.txt.bz2
Content-length: 176

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

--- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Per comment #3, this PR should probably be closed.


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

* [Bug target/57578] SPE detection broken on Linux (bits/predefs.h: No such file or directory)
  2013-06-10 16:22 [Bug target/57578] New: SPE detection broken on Linux (bits/predefs.h: No such file or directory) stigge at antcom dot de
@ 2013-06-11  8:07 ` doko at gcc dot gnu.org
  2013-06-11  8:08 ` doko at gcc dot gnu.org
  2014-04-05  9:54 ` doko at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: doko at gcc dot gnu.org @ 2013-06-11  8:07 UTC (permalink / raw)
  To: gcc-bugs

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

Matthias Klose <doko at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |doko at gcc dot gnu.org

--- Comment #1 from Matthias Klose <doko at gcc dot gnu.org> ---
looks ok to me, but please send this to the gcc-patches ML and CC the powerpc
maintainers.


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

* [Bug target/57578] SPE detection broken on Linux (bits/predefs.h: No such file or directory)
  2013-06-10 16:22 [Bug target/57578] New: SPE detection broken on Linux (bits/predefs.h: No such file or directory) stigge at antcom dot de
  2013-06-11  8:07 ` [Bug target/57578] " doko at gcc dot gnu.org
@ 2013-06-11  8:08 ` doko at gcc dot gnu.org
  2014-04-05  9:54 ` doko at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: doko at gcc dot gnu.org @ 2013-06-11  8:08 UTC (permalink / raw)
  To: gcc-bugs

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

Matthias Klose <doko at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2013-06-11
     Ever confirmed|0                           |1


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

* [Bug target/57578] SPE detection broken on Linux (bits/predefs.h: No such file or directory)
  2013-06-10 16:22 [Bug target/57578] New: SPE detection broken on Linux (bits/predefs.h: No such file or directory) stigge at antcom dot de
  2013-06-11  8:07 ` [Bug target/57578] " doko at gcc dot gnu.org
  2013-06-11  8:08 ` doko at gcc dot gnu.org
@ 2014-04-05  9:54 ` doko at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: doko at gcc dot gnu.org @ 2014-04-05  9:54 UTC (permalink / raw)
  To: gcc-bugs

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

Matthias Klose <doko at gcc dot gnu.org> changed:

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

--- Comment #3 from Matthias Klose <doko at gcc dot gnu.org> ---
works on trunk


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

end of thread, other threads:[~2014-04-05  9:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-10 16:22 [Bug target/57578] New: SPE detection broken on Linux (bits/predefs.h: No such file or directory) stigge at antcom dot de
2013-06-11  8:07 ` [Bug target/57578] " doko at gcc dot gnu.org
2013-06-11  8:08 ` doko at gcc dot gnu.org
2014-04-05  9:54 ` doko 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).