From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5999 invoked by alias); 23 Sep 2012 10:55:35 -0000 Received: (qmail 5935 invoked by uid 48); 23 Sep 2012 10:55:09 -0000 From: "dimhen at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/54632] [4.8 Regression] not supported in LTO streams : tree code '=?UTF-8?Q?=EF=BF=BDF=20=EF=BF=BD=EF=BF=BDD=EF=BF=BD=EF=BF=BD=20=60?= Date: Sun, 23 Sep 2012 10:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dimhen at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.8.0 X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-09/txt/msg01822.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D54632 --- Comment #6 from Dmitry G. Dyachenko 2012-09-2= 3 10:55:08 UTC --- valgrind show no any appropriate with debug-compiled gcc, only over-optimiz= ed access in parser. Hmmm, i am under impression that BUILD_CONFIG=3Dbootstrap-O1 has no effect,= and BOOT_CFLAGS=3D'-O0 -g' has no effect too. --> gcc is compiled with '-O2 -g' But, at least, i made it :) according http://gcc.gnu.org/install/build.html ~/src/gcc-current/configure --prefix=3D/usr/local/gcc_current --with-multilib-list=3Dm64 --enable-__cxa_atexit --enable-shared --enable-checking=3Ddf,fold,rtl,tree,yes --enable-gnu-unique-object --enable-linker-build-id --enable-languages=3Dc,c++,lto --enable-plugin --enable-version-specific-runtime-libs --enable-bootstrap4 BUILD_CONFIG=3D"bootstrap-O1" make -j7 make install -j4 cp /usr/local/gcc_current/lib/gcc/x86_64-unknown-linux-gnu/lib64/libgcc_s.so /usr/local/gcc_current/lib/gcc/x86_64-unknown-linux-gnu/4.8.0/ $g++ -v Using built-in specs. COLLECT_GCC=3Dg++ COLLECT_LTO_WRAPPER=3D/usr/local/gcc_current/libexec/gcc/x86_64-unknown-lin= ux-gnu/4.8.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: /home/dimhen/src/gcc-current/configure --prefix=3D/usr/local/gcc_current --with-multilib-list=3Dm64 --enable-__cxa= _atexit --enable-shared --enable-checking=3Ddf,fold,rtl,tree,yes --enable-gnu-unique-object --enable-linker-build-id --enable-languages=3Dc,c++,lto --enable-plugin --enable-version-specific-runtime-libs --enable-bootstrap4 Thread model: posix gcc version 4.8.0 20120923 (experimental) [trunk revision 191649] (GCC) $ /usr/local/gcc_current/libexec/gcc/x86_64-unknown-linux-gnu/4.8.0/cc1plus -quiet -v -I . -I /home/dimhen/src/CSPbuild/shared/cplib -I ../.. -I /usr/local/include -I /home/dimhen/src/CSPbuild -I /home/dimhen/src/CSPbuild/reader/include -I /home/dimhen/src/CSPbuild/CSP/src/include -I /home/dimhen/src/CSPbuild/shared/include -I /home/dimhen/src/CSPbuild/shared/include/atl -I /home/dimhen/src/CSPbuild/shared/include/cplib -MD .libs/DateTime.d -MF .deps/DateTime.Tpo -MP -MT DateTime.lo -D_GNU_SOURCE -D HAVE_CONFIG_H -D UN= IX -D LINUX -D NO_ASN1_RT_REDUNDANT -D _COMPACT -D PIC /home/dimhen/src/CSPbuild/shared/cplib/DateTime.cpp -quiet -dumpbase DateTime.cpp -m64 -mtune=3Dgeneric -march=3Dx86-64 -auxbase-strip .libs/Dat= eTime.o -Ofast -Woverloaded-virtual -version -fno-common -flto -flto-partition=3Dno= ne -fvisibility-inlines-hidden -fPIC -o .libs/DateTime.o .... /home/dimhen/src/CSPbuild/shared/cplib/DateTime.cpp: In function 'CryptoPro::GeneralizedTimeToTm(std::basic_string, std::allocator > const&, unsigned int&, bool)': /home/dimhen/src/CSPbuild/shared/cplib/DateTime.cpp:934:1: internal compiler error: tree code '=EF=BF=BDF=12=EF=BF=BD=EF=BF=BDD=EF=BF=BD=EF=BF=BD=12=EF= =BF=BD=01Hc=EF=BF=BD=EF=BF=BD' is not supported in LTO streams } // namespace CryptoPro ^ Please submit a full bug report, with preprocessed source if appropriate. See for instructions. $ valgrind /usr/local/gcc_current/libexec/gcc/x86_64-unknown-linux-gnu/4.8.0/cc1plus -quiet -v -I . -I /home/dimhen/src/CSPbuild/shared/cplib -I ../.. -I /usr/local/include -I /home/dimhen/src/CSPbuild -I /home/dimhen/src/CSPbuild/reader/include -I /home/dimhen/src/CSPbuild/CSP/src/include -I /home/dimhen/src/CSPbuild/shared/include -I /home/dimhen/src/CSPbuild/shared/include/atl -I /home/dimhen/src/CSPbuild/shared/include/cplib -MD .libs/DateTime.d -MF .deps/DateTime.Tpo -MP -MT DateTime.lo -D_GNU_SOURCE -D HAVE_CONFIG_H -D UN= IX -D LINUX -D NO_ASN1_RT_REDUNDANT -D _COMPACT -D PIC /home/dimhen/src/CSPbuild/shared/cplib/DateTime.cpp -quiet -dumpbase DateTime.cpp -m64 -mtune=3Dgeneric -march=3Dx86-64 -auxbase-strip .libs/Dat= eTime.o -Ofast -Woverloaded-virtual -version -fno-common -flto -flto-partition=3Dno= ne -fvisibility-inlines-hidden -fPIC -o .libs/DateTime.o [dimhen@dim cplib]$ valgrind /usr/local/gcc_current/libexec/gcc/x86_64-unknown-linux-gnu/4.8.0/cc1plus -quiet -v -I . -I /home/dimhen/src/CSPbuild/shared/cplib -I ../.. -I /usr/local/include -I /home/dimhen/src/CSPbuild -I /home/dimhen/src/CSPbuild/reader/include -I /home/dimhen/src/CSPbuild/CSP/src/include -I /home/dimhen/src/CSPbuild/shared/include -I /home/dimhen/src/CSPbuild/shared/include/atl -I /home/dimhen/src/CSPbuild/shared/include/cplib -MD .libs/DateTime.d -MF .deps/DateTime.Tpo -MP -MT DateTime.lo -D_GNU_SOURCE -D HAVE_CONFIG_H -D UN= IX -D LINUX -D NO_ASN1_RT_REDUNDANT -D _COMPACT -D PIC /home/dimhen/src/CSPbuild/shared/cplib/DateTime.cpp -quiet -dumpbase DateTime.cpp -m64 -mtune=3Dgeneric -march=3Dx86-64 -auxbase-strip .libs/Dat= eTime.o -Ofast -Woverloaded-virtual -version -fno-common -flto -flto-partition=3Dno= ne -fvisibility-inlines-hidden -fPIC -o .libs/DateTime.o =3D=3D2065=3D=3D Memcheck, a memory error detector =3D=3D2065=3D=3D Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward e= t al. =3D=3D2065=3D=3D Using Valgrind-3.9.0.SVN and LibVEX; rerun with -h for cop= yright info =3D=3D2065=3D=3D Command: /usr/local/gcc_current/libexec/gcc/x86_64-unknown-linux-gnu/4.8.0/cc1plus -quiet -v -I . -I /home/dimhen/src/CSPbuild/shared/cplib -I ../.. -I /usr/local/include -I /home/dimhen/src/CSPbuild -I /home/dimhen/src/CSPbuild/reader/include -I /home/dimhen/src/CSPbuild/CSP/src/include -I /home/dimhen/src/CSPbuild/shared/include -I /home/dimhen/src/CSPbuild/shared/include/atl -I /home/dimhen/src/CSPbuild/shared/include/cplib -MD .libs/DateTime.d -MF .deps/DateTime.Tpo -MP -MT DateTime.lo -D_GNU_SOURCE -D HAVE_CONFIG_H -D UN= IX -D LINUX -D NO_ASN1_RT_REDUNDANT -D _COMPACT -D PIC /home/dimhen/src/CSPbuild/shared/cplib/DateTime.cpp -quiet -dumpbase DateTime.cpp -m64 -mtune=3Dgeneric -march=3Dx86-64 -auxbase-strip .libs/Dat= eTime.o -Ofast -Woverloaded-virtual -version -fno-common -flto -flto-partition=3Dno= ne -fvisibility-inlines-hidden -fPIC -o .libs/DateTime.o =3D=3D2065=3D=3D=20 ..... =3D=3D2065=3D=3D Invalid read of size 8 =3D=3D2065=3D=3D at 0xEDA014: search_line_sse42(unsigned char const*, un= signed char const*) (lex.c:464) =3D=3D2065=3D=3D by 0xEDA53E: _cpp_clean_line (lex.c:742) =3D=3D2065=3D=3D by 0xEDAFCB: _cpp_get_fresh_line (lex.c:2035) =3D=3D2065=3D=3D by 0xEDC7B0: _cpp_lex_direct (lex.c:2100) =3D=3D2065=3D=3D by 0xEDD50B: _cpp_lex_token (lex.c:1974) =3D=3D2065=3D=3D by 0xEE2117: cpp_get_token_1(cpp_reader*, unsigned int*) (macro.c:2357) =3D=3D2065=3D=3D by 0x6EF622: c_lex_with_flags(tree_node**, unsigned int= *, unsigned char*, int) (c-lex.c:299) =3D=3D2065=3D=3D by 0x5C6C73: cp_lexer_get_preprocessor_token(cp_lexer*,= cp_token*) (parser.c:719) =3D=3D2065=3D=3D by 0x5F1035: c_parse_file() (parser.c:27358) =3D=3D2065=3D=3D by 0x6F60B4: c_common_parse_file() (c-opts.c:1138) =3D=3D2065=3D=3D by 0xA1E3FB: compile_file() (toplev.c:546) =3D=3D2065=3D=3D by 0xA20019: toplev_main(int, char**) (toplev.c:1863) =3D=3D2065=3D=3D Address 0x49f64f0 is 9,696 bytes inside a block of size 9= ,700 alloc'd =3D=3D2065=3D=3D at 0x480890E: realloc (vg_replace_malloc.c:662) =3D=3D2065=3D=3D by 0xF0861C: xrealloc (xmalloc.c:179) =3D=3D2065=3D=3D by 0xECED58: _cpp_convert_input (charset.c:1734) =3D=3D2065=3D=3D by 0xED772A: read_file(cpp_reader*, _cpp_file*) (files.= c:685) =3D=3D2065=3D=3D by 0xED82FD: _cpp_stack_file (files.c:756) =3D=3D2065=3D=3D by 0xED0140: do_include_common(cpp_reader*, include_typ= e) (directives.c:792) =3D=3D2065=3D=3D by 0xED0F80: _cpp_handle_directive (directives.c:491) =3D=3D2065=3D=3D by 0xEDD53C: _cpp_lex_token (lex.c:1986) =3D=3D2065=3D=3D by 0xEE2117: cpp_get_token_1(cpp_reader*, unsigned int*) (macro.c:2357) =3D=3D2065=3D=3D by 0x6EF622: c_lex_with_flags(tree_node**, unsigned int= *, unsigned char*, int) (c-lex.c:299) =3D=3D2065=3D=3D by 0x5C6C73: cp_lexer_get_preprocessor_token(cp_lexer*,= cp_token*) (parser.c:719) =3D=3D2065=3D=3D by 0x5F1035: c_parse_file() (parser.c:27358) =3D=3D2065=3D=3D=20 =3D=3D2065=3D=3D Invalid read of size 8 =3D=3D2065=3D=3D at 0xEDA046: search_line_sse42(unsigned char const*, un= signed char const*) (lex.c:445) =3D=3D2065=3D=3D by 0xEDA53E: _cpp_clean_line (lex.c:742) =3D=3D2065=3D=3D by 0xEDAFCB: _cpp_get_fresh_line (lex.c:2035) =3D=3D2065=3D=3D by 0xEDC7B0: _cpp_lex_direct (lex.c:2100) =3D=3D2065=3D=3D by 0xEDD50B: _cpp_lex_token (lex.c:1974) =3D=3D2065=3D=3D by 0xEE2117: cpp_get_token_1(cpp_reader*, unsigned int*) (macro.c:2357) =3D=3D2065=3D=3D by 0x6EF622: c_lex_with_flags(tree_node**, unsigned int= *, unsigned char*, int) (c-lex.c:299) =3D=3D2065=3D=3D by 0x5C6C73: cp_lexer_get_preprocessor_token(cp_lexer*,= cp_token*) (parser.c:719) =3D=3D2065=3D=3D by 0x5F1035: c_parse_file() (parser.c:27358) =3D=3D2065=3D=3D by 0x6F60B4: c_common_parse_file() (c-opts.c:1138) =3D=3D2065=3D=3D by 0xA1E3FB: compile_file() (toplev.c:546) =3D=3D2065=3D=3D by 0xA20019: toplev_main(int, char**) (toplev.c:1863) =3D=3D2065=3D=3D Address 0x4b21ae0 is 0 bytes after a block of size 176 al= loc'd =3D=3D2065=3D=3D at 0x480890E: realloc (vg_replace_malloc.c:662) =3D=3D2065=3D=3D by 0xF0861C: xrealloc (xmalloc.c:179) =3D=3D2065=3D=3D by 0xECED58: _cpp_convert_input (charset.c:1734) =3D=3D2065=3D=3D by 0xED772A: read_file(cpp_reader*, _cpp_file*) (files.= c:685) =3D=3D2065=3D=3D by 0xED82FD: _cpp_stack_file (files.c:756) =3D=3D2065=3D=3D by 0xED0140: do_include_common(cpp_reader*, include_typ= e) (directives.c:792) =3D=3D2065=3D=3D by 0xED0F80: _cpp_handle_directive (directives.c:491) =3D=3D2065=3D=3D by 0xEDD53C: _cpp_lex_token (lex.c:1986) =3D=3D2065=3D=3D by 0xEE2117: cpp_get_token_1(cpp_reader*, unsigned int*) (macro.c:2357) =3D=3D2065=3D=3D by 0x6EF622: c_lex_with_flags(tree_node**, unsigned int= *, unsigned char*, int) (c-lex.c:299) =3D=3D2065=3D=3D by 0x5C6C73: cp_lexer_get_preprocessor_token(cp_lexer*,= cp_token*) (parser.c:719) =3D=3D2065=3D=3D by 0x5F1035: c_parse_file() (parser.c:27358) =3D=3D2065=3D=3D=20 =3D=3D2065=3D=3D Invalid read of size 8 =3D=3D2065=3D=3D at 0xEDA014: search_line_sse42(unsigned char const*, un= signed char const*) (lex.c:464) =3D=3D2065=3D=3D by 0xEDA53E: _cpp_clean_line (lex.c:742) =3D=3D2065=3D=3D by 0xEDAB56: _cpp_skip_block_comment (lex.c:999) =3D=3D2065=3D=3D by 0xEDD196: _cpp_lex_direct (lex.c:2229) =3D=3D2065=3D=3D by 0xEDD50B: _cpp_lex_token (lex.c:1974) =3D=3D2065=3D=3D by 0xECFB3A: check_eol(cpp_reader*, bool) (directives.c= :220) =3D=3D2065=3D=3D by 0xED0687: do_endif(cpp_reader*) (directives.c:2010) =3D=3D2065=3D=3D by 0xED0F80: _cpp_handle_directive (directives.c:491) =3D=3D2065=3D=3D by 0xEDD53C: _cpp_lex_token (lex.c:1986) =3D=3D2065=3D=3D by 0xEE2117: cpp_get_token_1(cpp_reader*, unsigned int*) (macro.c:2357) =3D=3D2065=3D=3D by 0x6EF622: c_lex_with_flags(tree_node**, unsigned int= *, unsigned char*, int) (c-lex.c:299) =3D=3D2065=3D=3D by 0x5C6C73: cp_lexer_get_preprocessor_token(cp_lexer*,= cp_token*) (parser.c:719) =3D=3D2065=3D=3D Address 0x4b3fa40 is 13,504 bytes inside a block of size = 13,507 alloc'd =3D=3D2065=3D=3D at 0x480890E: realloc (vg_replace_malloc.c:662) =3D=3D2065=3D=3D by 0xF0861C: xrealloc (xmalloc.c:179) =3D=3D2065=3D=3D by 0xECED58: _cpp_convert_input (charset.c:1734) =3D=3D2065=3D=3D by 0xED772A: read_file(cpp_reader*, _cpp_file*) (files.= c:685) =3D=3D2065=3D=3D by 0xED82FD: _cpp_stack_file (files.c:756) =3D=3D2065=3D=3D by 0xED0140: do_include_common(cpp_reader*, include_typ= e) (directives.c:792) =3D=3D2065=3D=3D by 0xED0F80: _cpp_handle_directive (directives.c:491) =3D=3D2065=3D=3D by 0xEDD53C: _cpp_lex_token (lex.c:1986) =3D=3D2065=3D=3D by 0xEE2117: cpp_get_token_1(cpp_reader*, unsigned int*) (macro.c:2357) =3D=3D2065=3D=3D by 0x6EF622: c_lex_with_flags(tree_node**, unsigned int= *, unsigned char*, int) (c-lex.c:299) =3D=3D2065=3D=3D by 0x5C6C73: cp_lexer_get_preprocessor_token(cp_lexer*,= cp_token*) (parser.c:719) =3D=3D2065=3D=3D by 0x5F1100: c_parse_file() (parser.c:598) =3D=3D2065=3D=3D=20 /home/dimhen/src/CSPbuild/shared/cplib/DateTime.cpp: In function 'CryptoPro::GeneralizedTimeToTm(std::basic_string, std::allocator > const&, unsigned int&, bool)': /home/dimhen/src/CSPbuild/shared/cplib/DateTime.cpp:934:1: internal compiler error: tree code '=EF=BF=BDF=12=EF=BF=BD=EF=BF=BDD=EF=BF=BD=EF=BF=BD=12=EF= =BF=BD=01Hc=EF=BF=BD=EF=BF=BD' is not supported in LTO streams } // namespace CryptoPro ^ Please submit a full bug report, with preprocessed source if appropriate. See for instructions. =3D=3D2065=3D=3D=20 =3D=3D2065=3D=3D HEAP SUMMARY: =3D=3D2065=3D=3D in use at exit: 1,912,637 bytes in 11,020 blocks =3D=3D2065=3D=3D total heap usage: 463,331 allocs, 452,311 frees, 503,527= ,977 bytes allocated =3D=3D2065=3D=3D=20 =3D=3D2065=3D=3D LEAK SUMMARY: =3D=3D2065=3D=3D definitely lost: 5,936 bytes in 7 blocks =3D=3D2065=3D=3D indirectly lost: 0 bytes in 0 blocks =3D=3D2065=3D=3D possibly lost: 80,320 bytes in 10 blocks =3D=3D2065=3D=3D still reachable: 1,826,381 bytes in 11,003 blocks =3D=3D2065=3D=3D suppressed: 0 bytes in 0 blocks =3D=3D2065=3D=3D Rerun with --leak-check=3Dfull to see details of leaked me= mory =3D=3D2065=3D=3D=20 =3D=3D2065=3D=3D For counts of detected and suppressed errors, rerun with: = -v =3D=3D2065=3D=3D ERROR SUMMARY: 359 errors from 3 contexts (suppressed: 2 f= rom 2)