public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "howarth at bromo dot med.uc.edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/63699] New: bootstrap fails with Apple clang 6.0
Date: Fri, 31 Oct 2014 12:56:00 -0000	[thread overview]
Message-ID: <bug-63699-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 63699
           Summary: bootstrap fails with Apple clang 6.0
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: howarth at bromo dot med.uc.edu

Current gcc trunk fails to bootstrap on x86_64-apple-darwin14 (using the other
current proposed bootstrap patches for darwin) due to the following compiler
error against the clang 6.0 compilers...

make[4]: Entering directory
`/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/libcc1'
/bin/sh ./libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../gcc-5.0-20141029/libcc1  -I ../../gcc-5.0-20141029/libcc1/../include -I
../../gcc-5.0-20141029/libcc1/../libgcc -I .././gcc
-I../../gcc-5.0-20141029/libcc1/../gcc -I
../../gcc-5.0-20141029/libcc1/../gcc/c -I
../../gcc-5.0-20141029/libcc1/../gcc/c-family -I
../../gcc-5.0-20141029/libcc1/../libcpp/include -I/sw/include -I/sw/include  
-W -Wall  -fvisibility=hidden -g -MT plugin.lo -MD -MP -MF .deps/plugin.Tpo -c
-o plugin.lo ../../gcc-5.0-20141029/libcc1/plugin.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../gcc-5.0-20141029/libcc1 -I
../../gcc-5.0-20141029/libcc1/../include -I
../../gcc-5.0-20141029/libcc1/../libgcc -I .././gcc
-I../../gcc-5.0-20141029/libcc1/../gcc -I
../../gcc-5.0-20141029/libcc1/../gcc/c -I
../../gcc-5.0-20141029/libcc1/../gcc/c-family -I
../../gcc-5.0-20141029/libcc1/../libcpp/include -I/sw/include -I/sw/include -W
-Wall -fvisibility=hidden -g -MT plugin.lo -MD -MP -MF .deps/plugin.Tpo -c
../../gcc-5.0-20141029/libcc1/plugin.cc  -fno-common -DPIC -o .libs/plugin.o
In file included from ../../gcc-5.0-20141029/libcc1/plugin.cc:34:
In file included from ../../gcc-5.0-20141029/libcc1/../gcc/gcc-plugin.h:29:
../../gcc-5.0-20141029/libcc1/../gcc/coretypes.h:62:1: warning: class 'rtx_def'
was previously declared as a struct [-Wmismatched-tags]
class rtx_def;
^
../../gcc-5.0-20141029/libcc1/../gcc/coretypes.h:55:8: note: previous use is
here
struct rtx_def;
       ^
In file included from ../../gcc-5.0-20141029/libcc1/plugin.cc:34:
In file included from ../../gcc-5.0-20141029/libcc1/../gcc/gcc-plugin.h:33:
In file included from ../../gcc-5.0-20141029/libcc1/../gcc/hash-set.h:24:
In file included from ../../gcc-5.0-20141029/libcc1/../gcc/hash-table.h:200:
../../gcc-5.0-20141029/libcc1/../gcc/ggc.h:315:15: warning: struct 'rtx_def'
was previously declared as a class [-Wmismatched-tags]
static inline struct rtx_def *
              ^
../../gcc-5.0-20141029/libcc1/../gcc/coretypes.h:62:7: note: previous use is
here
class rtx_def;
      ^
In file included from ../../gcc-5.0-20141029/libcc1/plugin.cc:34:
In file included from ../../gcc-5.0-20141029/libcc1/../gcc/gcc-plugin.h:33:
In file included from ../../gcc-5.0-20141029/libcc1/../gcc/hash-set.h:24:
In file included from ../../gcc-5.0-20141029/libcc1/../gcc/hash-table.h:200:
../../gcc-5.0-20141029/libcc1/../gcc/ggc.h:318:11: warning: struct 'rtx_def'
was previously declared as a class [-Wmismatched-tags]
  return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT);
          ^
../../gcc-5.0-20141029/libcc1/../gcc/coretypes.h:62:7: note: previous use is
here
class rtx_def;
      ^
In file included from ../../gcc-5.0-20141029/libcc1/plugin.cc:40:
In file included from ../../gcc-5.0-20141029/libcc1/../gcc/tree-core.h:29:
In file included from ../../gcc-5.0-20141029/libcc1/../gcc/double-int.h:23:
../../gcc-5.0-20141029/libcc1/../gcc/wide-int.h:370:3: warning: extraneous
template parameter list in template specialization
  template <>
  ^~~~~~~~~~~
../../gcc-5.0-20141029/libcc1/../gcc/wide-int.h:377:3: warning: extraneous
template parameter list in template specialization
  template <>
  ^~~~~~~~~~~
../../gcc-5.0-20141029/libcc1/../gcc/wide-int.h:384:3: warning: extraneous
template parameter list in template specialization
  template <>
  ^~~~~~~~~~~
../../gcc-5.0-20141029/libcc1/../gcc/wide-int.h:394:3: warning: extraneous
template parameter list in template specialization
  template <>
  ^~~~~~~~~~~
../../gcc-5.0-20141029/libcc1/../gcc/wide-int.h:401:3: warning: extraneous
template parameter list in template specialization
  template <>
  ^~~~~~~~~~~
../../gcc-5.0-20141029/libcc1/../gcc/wide-int.h:411:3: warning: extraneous
template parameter list in template specialization
  template <>
  ^~~~~~~~~~~
../../gcc-5.0-20141029/libcc1/../gcc/wide-int.h:422:3: warning: extraneous
template parameter list in template specialization
  template <>
  ^~~~~~~~~~~
../../gcc-5.0-20141029/libcc1/../gcc/wide-int.h:886:3: warning: extraneous
template parameter list in template specialization
  template <>
  ^~~~~~~~~~~
../../gcc-5.0-20141029/libcc1/../gcc/wide-int.h:965:3: warning: extraneous
template parameter list in template specialization
  template <>
  ^~~~~~~~~~~
../../gcc-5.0-20141029/libcc1/../gcc/wide-int.h:1127:1: warning:
'fixed_wide_int_storage' defined as a class template here but previously
declared as a
      struct template [-Wmismatched-tags]
class GTY(()) fixed_wide_int_storage
^
../../gcc-5.0-20141029/libcc1/../gcc/wide-int.h:286:18: note: did you mean
class here?
template <int N> struct fixed_wide_int_storage;
                 ^~~~~~
                 class
../../gcc-5.0-20141029/libcc1/../gcc/wide-int.h:1152:3: warning: extraneous
template parameter list in template specialization
  template <>
  ^~~~~~~~~~~
In file included from ../../gcc-5.0-20141029/libcc1/plugin.cc:40:
../../gcc-5.0-20141029/libcc1/../gcc/tree-core.h:1473:2: warning: struct
'symtab_node' was previously declared as a class [-Wmismatched-tags]
 struct symtab_node *symtab_node;
 ^
../../gcc-5.0-20141029/libcc1/../gcc/ipa-ref.h:26:7: note: previous use is here
class symtab_node;
      ^
In file included from ../../gcc-5.0-20141029/libcc1/plugin.cc:58:
In file included from
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:438:
In file included from
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cwchar:107:
In file included from
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cwctype:54:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cctype:51:72:
error: use of undeclared
      identifier 'do_not_use_isalnum_with_safe_ctype'
inline _LIBCPP_INLINE_VISIBILITY int __libcpp_isalnum(int __c) {return
isalnum(__c);}
                                                                       ^
../../gcc-5.0-20141029/libcc1/../include/safe-ctype.h:126:20: note: expanded
from macro 'isalnum'
#define isalnum(c) do_not_use_isalnum_with_safe_ctype
                   ^


             reply	other threads:[~2014-10-31 12:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-31 12:56 howarth at bromo dot med.uc.edu [this message]
2014-10-31 13:30 ` [Bug other/63699] " howarth at bromo dot med.uc.edu
2014-11-05  5:47 ` andreast at gcc dot gnu.org
2014-11-07  8:42 ` fxcoudert at gcc dot gnu.org
2014-11-07  8:43 ` [Bug bootstrap/63699] " fxcoudert at gcc dot gnu.org
2014-11-07  8:46 ` [Bug bootstrap/63699] Bootstrap fails in libcc1 on darwin14 fxcoudert at gcc dot gnu.org
2014-11-09 20:35 ` howarth at bromo dot med.uc.edu
2014-11-11  9:20 ` fxcoudert at gcc dot gnu.org
2014-11-11  9:21 ` fxcoudert at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-63699-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).