This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/71507] New: Unending compilation/google's protobuf (protstream_objectsource_test.cc)


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

            Bug ID: 71507
           Summary: Unending compilation/google's protobuf
                    (protstream_objectsource_test.cc)
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dave at treblig dot org
  Target Milestone: ---

This compile has been cooking for 50+mins on an i7 so far, nothing in the .s,
and it's RAM usage is unchanging (and not using much RAM).


[dg@major src]$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/6.1.1/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --enable-bootstrap
--enable-languages=c,c++,objc,obj-c++,fortran,ada,go,lto --prefix=/usr
--mandir=/usr/share/man --infodir=/usr/share/info
--with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared
--enable-threads=posix --enable-checking=release --enable-multilib
--with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions
--enable-gnu-unique-object --enable-linker-build-id
--with-linker-hash-style=gnu --enable-plugin --enable-initfini-array
--disable-libgcj --with-isl --enable-libmpx --enable-gnu-indirect-function
--with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 6.1.1 20160510 (Red Hat 6.1.1-2) (GCC) 
(Fedora 24 gcc-c++-6.1.1-2.fc24.x86_64 - I can see a similar report from an
Arch user that they're hitting the same problem, so I don't think it's just me)

The attached file is preprocessed from Google's protobuf;
protostream_objectsource_test.cc  and it hit this during the make check.

The full running command line is:
++ -DHAVE_CONFIG_H -I. -I.. -I./../gmock/gtest/include -I./../gmock/include
-pthread -DHAVE_PTHREAD=1 -DHAVE_ZLIB=1 -Wall -Wwrite-strings
-Woverloaded-virtual -Wno-sign-compare -g -DNDEBUG -MT
google/protobuf/util/internal/protobuf_test-protostream_objectsource_test.o -MD
-MP -MF
google/protobuf/util/internal/.deps/protobuf_test-protostream_objectsource_test.Tpo
-c -o
google/protobuf/util/internal/protobuf_test-protostream_objectsource_test.o
google/protobuf/util/internal/protostream_objectsource_test.cc

and to produce the attached file I did:
g++ -DHAVE_CONFIG_H -I. -I..  -I./../gmock/gtest/include -I./../gmock/include 
-pthread -DHAVE_PTHREAD=1 -DHAVE_ZLIB=1 -Wall -Wwrite-strings
-Woverloaded-virtual -Wno-sign-compare -g -DNDEBUG -MT
google/protobuf/util/internal/protobuf_test-protostream_objectsource_test.o -MD
-MP -MF
google/protobuf/util/internal/.deps/protobuf_test-protostream_objectsource_test.Tpo
-c -E google/protobuf/util/internal/protostream_objectsource_test.cc -o
preprocessed-protostream_objectsource_test.cc

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]