public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/56804] New: lto1: internal compiler error: bytecode stream: found non-null terminated string
@ 2013-04-01 22:18 vchou79 at gmail dot com
  2013-04-01 22:21 ` [Bug lto/56804] " vchou79 at gmail dot com
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: vchou79 at gmail dot com @ 2013-04-01 22:18 UTC (permalink / raw)
  To: gcc-bugs


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; }


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

end of thread, other threads:[~2013-04-03 17:20 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-01 22:18 [Bug lto/56804] New: lto1: internal compiler error: bytecode stream: found non-null terminated string vchou79 at gmail dot com
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

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