From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 47150 invoked by alias); 27 Jun 2015 00:42:03 -0000 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 Received: (qmail 47102 invoked by uid 48); 27 Jun 2015 00:42:00 -0000 From: "guido.hatzsis at yandex dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/66687] New: WPA link fau: internal compiler error: bytecode stream: found non-null terminated string Date: Sat, 27 Jun 2015 00:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: lto X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: guido.hatzsis at yandex dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-06/txt/msg03205.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66687 Bug ID: 66687 Summary: WPA link fau: internal compiler error: bytecode stream: found non-null terminated string Product: gcc Version: lto Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: guido.hatzsis at yandex dot com Target Milestone: --- Created attachment 35860 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35860&action=edit res file With gcc 5.1 is was possible to compile executables statically with with an libc (musl) static library. It is no longer possible with 6.0 COLLECT_GCC_OPTIONS='-c' '-ffp-contract=off' '-fmath-errno' '-fsigned-zeros' '-ftrapping-math' '-fno-trapv' '-fno-openmp' '-fno-openacc' '-mtune=generic' '-march=x86-64' '-O2' '-fPIC' '-fno-exceptions' '-B' '/x32/gcc/stageN/./gcc/' '-B' '/x32/build/host/x86_64-sb-linux-muslx32/bin/' '-B' '/x32/build/host/x86_64-sb-linux-muslx32/lib/' '-v' '-save-temps' '-mtune=generic' '-march=x86-64' '-fltrans-output-list=/tmp/cctXDCnL.ltrans.out' '-fwpa' '-fresolution=conftest.res' /x32/gcc/stageN/./gcc/lto1 -quiet -dumpbase crt1.o -mtune=generic -march=x86-64 -mtune=generic -march=x86-64 -auxbase crt1 -O2 -version -ffp-contract=off -fmath-errno -fsigned-zeros -ftrapping-math -fno-trapv -fno-openmp -fno-openacc -fPIC -fno-exceptions -fltrans-output-list=/tmp/cctXDCnL.ltrans.out -fwpa -fresolution=conftest.res @/tmp/ccir6VzL GNU GIMPLE (GCC) version 6.0.0 20150619 (experimental) (x86_64-sb-linux-muslx32) compiled by GNU C version 5.1.0, GMP version 6.0.0, MPFR version 3.1.3, MPC version 1.0.3 GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 GNU GIMPLE (GCC) version 6.0.0 20150619 (experimental) (x86_64-sb-linux-muslx32) compiled by GNU C version 5.1.0, GMP version 6.0.0, MPFR version 3.1.3, MPC version 1.0.3 GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 lto1: internal compiler error: bytecode stream: found non-null terminated string Please submit a full bug report, with preprocessed source if appropriate. See for instructions. lto-wrapper: fatal error: /x32/gcc/stageN/./gcc/xgcc returned 1 exit status compilation terminated. [Leaving LTRANS /tmp/ccO8tBym] [Leaving LTRANS /tmp/cctXDCnL.ltrans.out] /x32/build/host/x86_64-sb-linux-muslx32/bin/ld: fatal error: lto-wrapper failed