public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/57171] New: Internal compiler error: Error reporting routines re-entered.
@ 2013-05-04 15:31 zgenjix at yahoo dot com
  2013-05-04 16:06 ` [Bug c++/57171] " paolo.carlini at oracle dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: zgenjix at yahoo dot com @ 2013-05-04 15:31 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 57171
           Summary: Internal compiler error: Error reporting routines
                    re-entered.
    Classification: Unclassified
           Product: gcc
           Version: 4.7.3
            Status: UNCONFIRMED
          Severity: critical
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zgenjix@yahoo.com


I'm using Ubuntu and get this message. I've attached the file from the output.

libtool: compile:  g++ -DPACKAGE_NAME=\"libbitcoin\"
-DPACKAGE_TARNAME=\"libbitcoin\" -DPACKAGE_VERSION=\"0.1\"
"-DPACKAGE_STRING=\"libbitcoin 0.1\"" -DPACKAGE_BUGREPORT=\"genjix@riseup.net\"
-DPACKAGE_URL=\"\" -DPACKAGE=\"libbitcoin\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" "-DHAVE_BOOST=/**/"
-I. -I./../include -std=gnu++0x -Wall -Wno-unused-parameter -pedantic -pthread
-Wextra -fstack-protector-all -ggdb -MT leveldb_blockchain.lo -MD -MP -MF
.deps/leveldb_blockchain.Tpo -c blockchain/leveldb/leveldb_blockchain.cpp 
-fPIC -DPIC -o .libs/leveldb_blockchain.o
blockchain/leveldb/leveldb_blockchain.cpp: In member function 'void
libbitcoin::leveldb_blockchain::do_store(const libbitcoin::message::block&,
libbitcoin::blockchain::store_block_handler)':
blockchain/leveldb/leveldb_blockchain.cpp:183:54: warning: narrowing conversion
of 'depth' from 'int' to 'size_t {aka unsigned int}' inside { } [-Wnarrowing]
'
Internal compiler error: Error reporting routines re-entered.
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.7/README.Bugs> for instructions.
Preprocessed source stored into /tmp/ccaY0ov7.out file, please attach this to
your bugreport.
make[1]: *** [leveldb_blockchain.lo] Error 1
make[1]: Leaving directory `/home/genjix/src/libbitcoin/src'
make: *** [install-recursive] Error 1


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

* [Bug c++/57171] Internal compiler error: Error reporting routines re-entered.
  2013-05-04 15:31 [Bug c++/57171] New: Internal compiler error: Error reporting routines re-entered zgenjix at yahoo dot com
@ 2013-05-04 16:06 ` paolo.carlini at oracle dot com
  2013-05-04 16:31 ` zgenjix at yahoo dot com
  2013-05-04 16:42 ` paolo.carlini at oracle dot com
  2 siblings, 0 replies; 4+ messages in thread
From: paolo.carlini at oracle dot com @ 2013-05-04 16:06 UTC (permalink / raw)
  To: gcc-bugs


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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2013-05-04
     Ever Confirmed|0                           |1
           Severity|critical                    |normal

--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2013-05-04 16:06:06 UTC ---
Please provide the preprocessed .ii per the bug reporting instructions.


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

* [Bug c++/57171] Internal compiler error: Error reporting routines re-entered.
  2013-05-04 15:31 [Bug c++/57171] New: Internal compiler error: Error reporting routines re-entered zgenjix at yahoo dot com
  2013-05-04 16:06 ` [Bug c++/57171] " paolo.carlini at oracle dot com
@ 2013-05-04 16:31 ` zgenjix at yahoo dot com
  2013-05-04 16:42 ` paolo.carlini at oracle dot com
  2 siblings, 0 replies; 4+ messages in thread
From: zgenjix at yahoo dot com @ 2013-05-04 16:31 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #2 from Amir Taaki <zgenjix at yahoo dot com> 2013-05-04 16:31:05 UTC ---
https://mega.co.nz/#!P5ACwTCS!FKmUL1h0s77t2Wq0R5h8XRJCfuwSThAf30C1VDPHBno

"The file you are trying to attach is 3772 kilobytes (KB) in size. Attachments
cannot be more than 1000 KB.
We recommend that you store your attachment elsewhere and then insert the URL
to it in a comment, or in the URL field for this bug.
Alternately, if your attachment is an image, you could convert it to a
compressible format like JPG or PNG and try again. "

I figured out where the bug was coming from. I'm using
std::unique_ptr<leveldb::DB>, and passing some of those into a constructor for
an object which expects leveldb::DB*. The implicit cast was proving problematic
(yielding the error given above), but using foo.get() instead of just passing
foo is fine.


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

* [Bug c++/57171] Internal compiler error: Error reporting routines re-entered.
  2013-05-04 15:31 [Bug c++/57171] New: Internal compiler error: Error reporting routines re-entered zgenjix at yahoo dot com
  2013-05-04 16:06 ` [Bug c++/57171] " paolo.carlini at oracle dot com
  2013-05-04 16:31 ` zgenjix at yahoo dot com
@ 2013-05-04 16:42 ` paolo.carlini at oracle dot com
  2 siblings, 0 replies; 4+ messages in thread
From: paolo.carlini at oracle dot com @ 2013-05-04 16:42 UTC (permalink / raw)
  To: gcc-bugs


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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
      Known to work|                            |4.8.0, 4.9.0
         Resolution|                            |FIXED

--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> 2013-05-04 16:41:57 UTC ---
Thanks. Note that normally you really want to reduce your testcase to a
manageable size. Anyway, the problem doesn't affect 4.8 and 4.9 and doesn't
seem a regression.


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

end of thread, other threads:[~2013-05-04 16:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-04 15:31 [Bug c++/57171] New: Internal compiler error: Error reporting routines re-entered zgenjix at yahoo dot com
2013-05-04 16:06 ` [Bug c++/57171] " paolo.carlini at oracle dot com
2013-05-04 16:31 ` zgenjix at yahoo dot com
2013-05-04 16:42 ` paolo.carlini at oracle dot com

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).