public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/61639] New: GCC 4.7.4 can't longer compile clang
@ 2014-06-28 15:53 alp at rsu dot ru
  2014-06-28 16:41 ` [Bug c++/61639] " alp at rsu dot ru
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: alp at rsu dot ru @ 2014-06-28 15:53 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 61639
           Summary: GCC 4.7.4 can't longer compile clang
           Product: gcc
           Version: 4.7.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: alp at rsu dot ru

After updating GCC from 4.7.3 to 4.7.4 I can't longer compile Clang 3.3 (or
3.4.1) on OpenIndiana (illumos distribution).

While linking clang-check I receive the following error:

llvm[5]: Compiling CIndexCodeCompletion.cpp for Release+Asserts build (PIC)
llvm[5]: Linking Release+Asserts executable clang-check (without symbols)
Undefined                       first referenced
 symbol                             in file
vtable for clang::tooling::FrontendActionFactory*
clang::tooling::newFrontendActionFactory<clang_check::ClangCheckActionFactory>(clang_check::ClangCheckActionFactory*,
clang::tooling::SourceFileCallbacks*)::FrontendActionFactoryAdapter::ConsumerFactoryAdaptor
/export/home/alp/srcs/oi-userland/components/clang/build/i86/tools/clang/tools/clang-check/Release+Asserts/ClangCheck.o
ld: fatal: symbol referencing errors. No output written to
/export/home/alp/srcs/oi-userland/components/clang/build/i86/Release+Asserts/bin/clang-check
collect2: error: ld returned 1 exit status
make[5]: ***
[/export/home/alp/srcs/oi-userland/components/clang/build/i86/Release+Asserts/bin/clang-check]
Error 1
make[5]: Leaving directory
`/export/home/alp/srcs/oi-userland/components/clang/build/i86/tools/clang/tools/clang-check'
make[4]: *** [clang-check/.makeall] Error 2

Everything works with GCC 4.7.3


$ gcc -v 
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/gcc/4.7/lib/gcc/i386-pc-solaris2.11/4.7.4/lto-wrapper
Target: i386-pc-solaris2.11
Configured with:
/export/home/alp/srcs/oi-userland/components/gcc47/gcc-4.7.4/configure
CC=/usr/gcc/4.7/bin/gcc CXX=/usr/gcc/4.7/bin/g++ F77=/usr/gcc/4.7/bin/gfortran
FC=/usr/gcc/4.7/bin/gfortran CFLAGS='-g -O2' CXXFLAGS=' ' FFLAGS=' ' FCFLAGS=
LDFLAGS=-m32 PKG_CONFIG_PATH=/usr/lib/pkgconfig --prefix=/usr/gcc/4.7
--mandir=/usr/gcc/4.7/share/man --bindir=/usr/gcc/4.7/bin
--libdir=/usr/gcc/4.7/lib --sbindir=/usr/gcc/4.7/sbin
--sbindir=/usr/gcc/4.7/bin --libdir=/usr/gcc/4.7/lib
--libexecdir=/usr/gcc/4.7/lib --host i386-pc-solaris2.11 --build
i386-pc-solaris2.11 --target i386-pc-solaris2.11
--with-boot-ldflags=-R/usr/gcc/4.7/lib --enable-plugins --enable-objc-gc
--enable-languages=c,c++,fortran,lto,objc --enable-ld=no
--with-build-time-tools=/usr/gnu/i386-pc-solaris2.11/bin --disable-libitm
--with-gnu-as --with-as=/usr/bin/gas LDFLAGS=-R/usr/gcc/4.7/lib
Thread model: posix
gcc version 4.7.4 (GCC)


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

* [Bug c++/61639] GCC 4.7.4 can't longer compile clang
  2014-06-28 15:53 [Bug c++/61639] New: GCC 4.7.4 can't longer compile clang alp at rsu dot ru
@ 2014-06-28 16:41 ` alp at rsu dot ru
  2014-06-30 13:23 ` jakub at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: alp at rsu dot ru @ 2014-06-28 16:41 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Alexander Pyhalov <alp at rsu dot ru> ---
LLVM developers confirmed the issue exists on OSX whith gcc 4.7.4 (but not
4.8/4.9).


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

* [Bug c++/61639] GCC 4.7.4 can't longer compile clang
  2014-06-28 15:53 [Bug c++/61639] New: GCC 4.7.4 can't longer compile clang alp at rsu dot ru
  2014-06-28 16:41 ` [Bug c++/61639] " alp at rsu dot ru
@ 2014-06-30 13:23 ` jakub at gcc dot gnu.org
  2014-07-30 13:55 ` jfeltz at gmail dot com
  2015-03-25 15:59 ` mpolacek at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-06-30 13:23 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
4.7.x is not supported anymore, so even if this was a bug in 4.7.4, it is not
going to be fixed.


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

* [Bug c++/61639] GCC 4.7.4 can't longer compile clang
  2014-06-28 15:53 [Bug c++/61639] New: GCC 4.7.4 can't longer compile clang alp at rsu dot ru
  2014-06-28 16:41 ` [Bug c++/61639] " alp at rsu dot ru
  2014-06-30 13:23 ` jakub at gcc dot gnu.org
@ 2014-07-30 13:55 ` jfeltz at gmail dot com
  2015-03-25 15:59 ` mpolacek at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: jfeltz at gmail dot com @ 2014-07-30 13:55 UTC (permalink / raw)
  To: gcc-bugs

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

John Feltz <jfeltz at gmail dot com> changed:

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

--- Comment #4 from John Feltz <jfeltz at gmail dot com> ---
This bug needs to be redefined as it also occurs with gcc-4.9.1 as well, but
may not actually be a fault of gcc (on a Debian squeeze system with compiled
gcc-4.9.1).


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

* [Bug c++/61639] GCC 4.7.4 can't longer compile clang
  2014-06-28 15:53 [Bug c++/61639] New: GCC 4.7.4 can't longer compile clang alp at rsu dot ru
                   ` (2 preceding siblings ...)
  2014-07-30 13:55 ` jfeltz at gmail dot com
@ 2015-03-25 15:59 ` mpolacek at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2015-03-25 15:59 UTC (permalink / raw)
  To: gcc-bugs

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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2015-03-25
                 CC|                            |mpolacek at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Without a testcase there's nothing to do.


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

end of thread, other threads:[~2015-03-25 15:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-28 15:53 [Bug c++/61639] New: GCC 4.7.4 can't longer compile clang alp at rsu dot ru
2014-06-28 16:41 ` [Bug c++/61639] " alp at rsu dot ru
2014-06-30 13:23 ` jakub at gcc dot gnu.org
2014-07-30 13:55 ` jfeltz at gmail dot com
2015-03-25 15:59 ` mpolacek 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).