public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "vchou79 at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/56804] New: lto1: internal compiler error: bytecode stream: found non-null terminated string
Date: Mon, 01 Apr 2013 22:18:00 -0000	[thread overview]
Message-ID: <bug-56804-4@http.gcc.gnu.org/bugzilla/> (raw)


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

             Bug #: 56804
           Summary: lto1: internal compiler error: bytecode stream: found
                    non-null terminated string
    Classification: Unclassified
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: vchou79@gmail.com


bash-4.1$ x86_64-w64-mingw32-gcc -I. -flto -c -save-temps -o lto-bug.o
lto-bug.c 
lto-bug.c: In function 'check_vpx_codec_dec_init_ver':
lto-bug.c:3:50: warning: cast from pointer to integer of different size
[-Wpointer-to-int-cast]
 long check_vpx_codec_dec_init_ver(void) { return (long)
vpx_codec_dec_init_ver; }
                                                  ^
bash-4.1$ x86_64-w64-mingw32-gcc -L. -flto -save-temps -o lto-bug.exe lto-bug.o
-lvpx
lto1: internal compiler error: bytecode stream: found non-null terminated
string
0xa58590 bp_unpack_string(data_in*, bitpack_d*)
        ../../gcc-4_9-trunk/gcc/data-streamer-in.c:112
0x7da427 unpack_ts_translation_unit_decl_value_fields
        ../../gcc-4_9-trunk/gcc/tree-streamer-in.c:383
0x7da427 unpack_value_fields
        ../../gcc-4_9-trunk/gcc/tree-streamer-in.c:465
0x7dafcd streamer_read_tree_bitfields(lto_input_block*, data_in*, tree_node*)
        ../../gcc-4_9-trunk/gcc/tree-streamer-in.c:510
0x5feb03 lto_read_tree
        ../../gcc-4_9-trunk/gcc/lto-streamer-in.c:1012
0x5feb03 lto_input_tree(lto_input_block*, data_in*)
        ../../gcc-4_9-trunk/gcc/lto-streamer-in.c:1082
0x7d8344 lto_input_ts_decl_minimal_tree_pointers
        ../../gcc-4_9-trunk/gcc/tree-streamer-in.c:641
0x7d8344 streamer_read_tree_body(lto_input_block*, data_in*, tree_node*)
        ../../gcc-4_9-trunk/gcc/tree-streamer-in.c:981
0x5feb11 lto_read_tree
        ../../gcc-4_9-trunk/gcc/lto-streamer-in.c:1015
0x5feb11 lto_input_tree(lto_input_block*, data_in*)
        ../../gcc-4_9-trunk/gcc/lto-streamer-in.c:1082
0x7d84ee lto_input_ts_type_common_tree_pointers
        ../../gcc-4_9-trunk/gcc/tree-streamer-in.c:765
0x7d84ee streamer_read_tree_body(lto_input_block*, data_in*, tree_node*)
        ../../gcc-4_9-trunk/gcc/tree-streamer-in.c:999
0x5feb11 lto_read_tree
        ../../gcc-4_9-trunk/gcc/lto-streamer-in.c:1015
0x5feb11 lto_input_tree(lto_input_block*, data_in*)
        ../../gcc-4_9-trunk/gcc/lto-streamer-in.c:1082
0x7d7f19 lto_input_ts_common_tree_pointers
        ../../gcc-4_9-trunk/gcc/tree-streamer-in.c:601
0x7d7f19 streamer_read_tree_body(lto_input_block*, data_in*, tree_node*)
        ../../gcc-4_9-trunk/gcc/tree-streamer-in.c:972
0x5feb11 lto_read_tree
        ../../gcc-4_9-trunk/gcc/lto-streamer-in.c:1015
0x5feb11 lto_input_tree(lto_input_block*, data_in*)
        ../../gcc-4_9-trunk/gcc/lto-streamer-in.c:1082
0x41f69f lto_read_decls
        ../../gcc-4_9-trunk/gcc/lto/lto.c:2086
0x41f69f lto_file_finalize
        ../../gcc-4_9-trunk/gcc/lto/lto.c:2339
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
lto-wrapper: x86_64-w64-mingw32-gcc returned 1 exit status
[Leaving LTRANS lto-bug.exe.ltrans.out]
[Leaving LTRANS /tmp/cc2HMJtw.args]
/home/slave/local/xmingw-4_9-trunk-w64-seh/lib/gcc/x86_64-w64-mingw32/4.9.0/../../../../x86_64-w64-mingw32/bin/ld:
lto-wrapper failed
collect2: error: ld returned 1 exit status
bash-4.1$ cat lto-bug.c
#include <vpx/vpx_decoder.h>
#include <vpx/vp8dx.h>
long check_vpx_codec_dec_init_ver(void) { return (long) vpx_codec_dec_init_ver;
}
int main(void) { return 0; }


             reply	other threads:[~2013-04-01 22:18 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-01 22:18 vchou79 at gmail dot com [this message]
2013-04-01 22:21 ` [Bug lto/56804] " vchou79 at gmail dot com
2013-04-01 23:18 ` vchou79 at gmail dot com
2013-04-02  9:15 ` rguenth at gcc dot gnu.org
2013-04-02  9:45 ` vchou79 at gmail dot com
2013-04-02 13:25 ` rguenth at gcc dot gnu.org
2013-04-02 23:48 ` vchou79 at gmail dot com
2013-04-03  8:05 ` rguenth at gcc dot gnu.org
2013-04-03 10:55 ` vchou79 at gmail dot com
2013-04-03 11:10 ` vchou79 at gmail dot com
2013-04-03 17:20 ` vchou79 at gmail dot com

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