public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/42798]  New: --enable-build-with-cxx bootstrap fails on i686-pc-linux-gnu (Fedora12)
@ 2010-01-19  9:36 amylaar at gcc dot gnu dot org
  2010-01-19 15:31 ` [Bug bootstrap/42798] " amylaar at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: amylaar at gcc dot gnu dot org @ 2010-01-19  9:36 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1671 bytes --]

I am trying to build mainline GCC (revision 156033) configured
with -enable-build-with-cxx .

I get the following error during bootstrap:

make[3]: Entering directory `/user/inria/fsf/bld-gcc-cxx2/libcpp'
g++  -I../../gcc/libcpp -I. -I../../gcc/libcpp/../include
-I../../gcc/libcpp/include  -g -W -Wall -Wwrite-strings
-Wmissing-format-attribute -pedantic -Wno-long-long  -I../../gcc/libcpp -I.
-I../../gcc/libcpp/../include -I../../gcc/libcpp/include  -c -o charset.o -MT
charset.o -MMD -MP -MF .deps/charset.Tpo ../../gcc/libcpp/charset.c
In file included from ../../gcc/libcpp/system.h:341,
                 from ../../gcc/libcpp/charset.c:22:
../../gcc/libcpp/../include/libiberty.h:106: error: new declaration ‘char*
basename(const char*)’
/usr/include/string.h:601: error: ambiguates old declaration ‘const char*
basename(const char*)’
make[3]: *** [charset.o] Error 1
make[3]: Leaving directory `/user/inria/fsf/bld-gcc-cxx2/libcpp'
make[2]: *** [all-stage1-libcpp] Error 2
make[2]: Leaving directory `/user/inria/fsf/bld-gcc-cxx2'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/user/inria/fsf/bld-gcc-cxx2'
make: *** [bootstrap] Error 2


-- 
           Summary: --enable-build-with-cxx bootstrap fails on i686-pc-
                    linux-gnu (Fedora12)
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Keywords: build
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: amylaar at gcc dot gnu dot org
  GCC host triplet: i686-pc-linux-gnu


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


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

* [Bug bootstrap/42798] --enable-build-with-cxx bootstrap fails on i686-pc-linux-gnu (Fedora12)
  2010-01-19  9:36 [Bug bootstrap/42798] New: --enable-build-with-cxx bootstrap fails on i686-pc-linux-gnu (Fedora12) amylaar at gcc dot gnu dot org
@ 2010-01-19 15:31 ` amylaar at gcc dot gnu dot org
  2010-01-22  0:01 ` amylaar at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: amylaar at gcc dot gnu dot org @ 2010-01-19 15:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from amylaar at gcc dot gnu dot org  2010-01-19 15:31 -------
This patch:
http://gcc.gnu.org/ml/gcc-patches/2010-01/msg01019.html
gets past this failure, and has also been successfully
bootstrapped & regtested without --enable-build-with-cxx bootstrap on
i686-pc-linux-gnu


-- 

amylaar at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


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


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

* [Bug bootstrap/42798] --enable-build-with-cxx bootstrap fails on i686-pc-linux-gnu (Fedora12)
  2010-01-19  9:36 [Bug bootstrap/42798] New: --enable-build-with-cxx bootstrap fails on i686-pc-linux-gnu (Fedora12) amylaar at gcc dot gnu dot org
  2010-01-19 15:31 ` [Bug bootstrap/42798] " amylaar at gcc dot gnu dot org
@ 2010-01-22  0:01 ` amylaar at gcc dot gnu dot org
  2010-01-30  5:08 ` amylaar at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: amylaar at gcc dot gnu dot org @ 2010-01-22  0:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from amylaar at gcc dot gnu dot org  2010-01-22 00:01 -------
I can't do any--enable-build-with-cxx bootstraps / test without this patch.


-- 

amylaar at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |blocker
           Priority|P3                          |P2


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


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

* [Bug bootstrap/42798] --enable-build-with-cxx bootstrap fails on i686-pc-linux-gnu (Fedora12)
  2010-01-19  9:36 [Bug bootstrap/42798] New: --enable-build-with-cxx bootstrap fails on i686-pc-linux-gnu (Fedora12) amylaar at gcc dot gnu dot org
  2010-01-19 15:31 ` [Bug bootstrap/42798] " amylaar at gcc dot gnu dot org
  2010-01-22  0:01 ` amylaar at gcc dot gnu dot org
@ 2010-01-30  5:08 ` amylaar at gcc dot gnu dot org
  2010-02-17 15:44 ` amylaar at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: amylaar at gcc dot gnu dot org @ 2010-01-30  5:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from amylaar at gcc dot gnu dot org  2010-01-30 05:08 -------
Subject: Bug 42798

Author: amylaar
Date: Sat Jan 30 05:08:11 2010
New Revision: 156379

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156379
Log:
include:
        PR bootstrap/42798
        * libiberty.h: Check _GNU_SOURCE to decide wheather to test
        HAVE_GNU_SOURCE_DECL_BASENAME or HAVE_DECL_BASENAME.
libiberty:
        PR bootstrap/42798
        * configure.ac: Add AC_CHECK_GNU_SOURCE_DECLS(basename).
        * aclocal.m4 (AC_CHECK_GNU_SOURCE_DECL): Define.
        (AC_CHECK_GNU_SOURCE_DECLS): Likewise.
        * configure, config.in: Regenerate.

Modified:
    branches/milepost-20100130-branch/include/ChangeLog
    branches/milepost-20100130-branch/include/libiberty.h
    branches/milepost-20100130-branch/libiberty/ChangeLog
    branches/milepost-20100130-branch/libiberty/aclocal.m4
    branches/milepost-20100130-branch/libiberty/config.in
    branches/milepost-20100130-branch/libiberty/configure
    branches/milepost-20100130-branch/libiberty/configure.ac


-- 


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


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

* [Bug bootstrap/42798] --enable-build-with-cxx bootstrap fails on i686-pc-linux-gnu (Fedora12)
  2010-01-19  9:36 [Bug bootstrap/42798] New: --enable-build-with-cxx bootstrap fails on i686-pc-linux-gnu (Fedora12) amylaar at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2010-01-30  5:08 ` amylaar at gcc dot gnu dot org
@ 2010-02-17 15:44 ` amylaar at gcc dot gnu dot org
  2010-06-01 19:22 ` amylaar at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: amylaar at gcc dot gnu dot org @ 2010-02-17 15:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from amylaar at gcc dot gnu dot org  2010-02-17 15:43 -------
This is the current patch under discussion:
http://gcc.gnu.org/ml/gcc/2010-02/msg00176.html


-- 


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


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

* [Bug bootstrap/42798] --enable-build-with-cxx bootstrap fails on i686-pc-linux-gnu (Fedora12)
  2010-01-19  9:36 [Bug bootstrap/42798] New: --enable-build-with-cxx bootstrap fails on i686-pc-linux-gnu (Fedora12) amylaar at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2010-02-17 15:44 ` amylaar at gcc dot gnu dot org
@ 2010-06-01 19:22 ` amylaar at gcc dot gnu dot org
  2010-06-01 20:47 ` rwild at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: amylaar at gcc dot gnu dot org @ 2010-06-01 19:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from amylaar at gcc dot gnu dot org  2010-06-01 19:22 -------
I posted an autoconf patch on the autoconf list, which has not been
reviewed since it was posted in February:
http://lists.gnu.org/archive/html/autoconf/2010-02/msg00057.html

The problem persists with gcc trunk revision 160116 on
i686-pc-linux-gnu (Fedora13).


-- 

amylaar at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-06-01 19:22:08
               date|                            |


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


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

* [Bug bootstrap/42798] --enable-build-with-cxx bootstrap fails on i686-pc-linux-gnu (Fedora12)
  2010-01-19  9:36 [Bug bootstrap/42798] New: --enable-build-with-cxx bootstrap fails on i686-pc-linux-gnu (Fedora12) amylaar at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2010-06-01 19:22 ` amylaar at gcc dot gnu dot org
@ 2010-06-01 20:47 ` rwild at gcc dot gnu dot org
  2010-06-03  6:33 ` rwild at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rwild at gcc dot gnu dot org @ 2010-06-01 20:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from rwild at gcc dot gnu dot org  2010-06-01 20:46 -------
Update: <http://thread.gmane.org/gmane.comp.gcc.patches/201265/focus=7094>
GCC patch: <http://gcc.gnu.org/ml/gcc-patches/2010-06/msg00089.html>


-- 


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


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

* [Bug bootstrap/42798] --enable-build-with-cxx bootstrap fails on i686-pc-linux-gnu (Fedora12)
  2010-01-19  9:36 [Bug bootstrap/42798] New: --enable-build-with-cxx bootstrap fails on i686-pc-linux-gnu (Fedora12) amylaar at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2010-06-01 20:47 ` rwild at gcc dot gnu dot org
@ 2010-06-03  6:33 ` rwild at gcc dot gnu dot org
  2010-06-03  6:46 ` rwild at gcc dot gnu dot org
  2010-06-03 11:13 ` rguenth at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: rwild at gcc dot gnu dot org @ 2010-06-03  6:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from rwild at gcc dot gnu dot org  2010-06-03 06:33 -------
Subject: Bug 42798

Author: rwild
Date: Thu Jun  3 06:32:27 2010
New Revision: 160210

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=160210
Log:
Import AC_CHECK_DECL for C++ fixes from git Autoconf.

config/:
        PR bootstrap/42798
        * override.m4 (_AC_CHECK_DECL_BODY, _AC_CHECK_DECLS): Import
        definitions from git Autoconf.

Modified:
    trunk/config/ChangeLog
    trunk/config/override.m4


-- 


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


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

* [Bug bootstrap/42798] --enable-build-with-cxx bootstrap fails on i686-pc-linux-gnu (Fedora12)
  2010-01-19  9:36 [Bug bootstrap/42798] New: --enable-build-with-cxx bootstrap fails on i686-pc-linux-gnu (Fedora12) amylaar at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2010-06-03  6:33 ` rwild at gcc dot gnu dot org
@ 2010-06-03  6:46 ` rwild at gcc dot gnu dot org
  2010-06-03 11:13 ` rguenth at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: rwild at gcc dot gnu dot org @ 2010-06-03  6:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from rwild at gcc dot gnu dot org  2010-06-03 06:45 -------
Subject: Bug 42798

Author: rwild
Date: Thu Jun  3 06:45:02 2010
New Revision: 160211

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=160211
Log:
Fix PR bootstrap/42798.

libiberty/:
        PR bootstrap/42798
        * configure.ac: Check for declaration of 'basename(char *)'.
        * configure: Regenerate.

libcpp/:
        PR bootstrap/42798
        * configure.ac: Check for declaration of 'basename(char *)'.
        * configure: Regenerate.
        * config.in: Regenerate.

libjava/:
        * configure: Regenerate.

libjava/classpath/:
        * configure: Regenerate.

fixincludes/:
        PR bootstrap/42798
        * configure.ac: Check for declaration of 'basename(char *)'.
        * configure: Regenerate.

Modified:
    trunk/fixincludes/ChangeLog
    trunk/fixincludes/configure
    trunk/fixincludes/configure.ac
    trunk/libcpp/ChangeLog
    trunk/libcpp/config.in
    trunk/libcpp/configure
    trunk/libcpp/configure.ac
    trunk/libiberty/ChangeLog
    trunk/libiberty/configure
    trunk/libiberty/configure.ac
    trunk/libjava/ChangeLog
    trunk/libjava/classpath/ChangeLog
    trunk/libjava/classpath/configure
    trunk/libjava/configure


-- 


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


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

* [Bug bootstrap/42798] --enable-build-with-cxx bootstrap fails on i686-pc-linux-gnu (Fedora12)
  2010-01-19  9:36 [Bug bootstrap/42798] New: --enable-build-with-cxx bootstrap fails on i686-pc-linux-gnu (Fedora12) amylaar at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2010-06-03  6:46 ` rwild at gcc dot gnu dot org
@ 2010-06-03 11:13 ` rguenth at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-06-03 11:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from rguenth at gcc dot gnu dot org  2010-06-03 11:12 -------
Fixed.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.6.0


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


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

end of thread, other threads:[~2010-06-03 11:13 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-19  9:36 [Bug bootstrap/42798] New: --enable-build-with-cxx bootstrap fails on i686-pc-linux-gnu (Fedora12) amylaar at gcc dot gnu dot org
2010-01-19 15:31 ` [Bug bootstrap/42798] " amylaar at gcc dot gnu dot org
2010-01-22  0:01 ` amylaar at gcc dot gnu dot org
2010-01-30  5:08 ` amylaar at gcc dot gnu dot org
2010-02-17 15:44 ` amylaar at gcc dot gnu dot org
2010-06-01 19:22 ` amylaar at gcc dot gnu dot org
2010-06-01 20:47 ` rwild at gcc dot gnu dot org
2010-06-03  6:33 ` rwild at gcc dot gnu dot org
2010-06-03  6:46 ` rwild at gcc dot gnu dot org
2010-06-03 11:13 ` rguenth at gcc dot gnu dot 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).