public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "t.artem at mailcity dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/58306] error: corrupted value profile: value profile counter (X out of Y) inconsistent with basic-block count
Date: Mon, 16 Feb 2015 17:05:00 -0000	[thread overview]
Message-ID: <bug-58306-4-hrq1viAVIl@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-58306-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58306

--- Comment #4 from Artem S. Tashkinov <t.artem at mailcity dot com> ---
Created attachment 34783
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34783&action=edit
Sources and Makefile (run make to reproduce)

This bug affects GCC 4.9.2 too! (I'm on i686):

blake2s.cpp: In function ‘void blake2s_update(blake2s_state*, const byte*,
size_t)’:
blake2s.cpp:138:40: error: corrupted value profile: value profile counter
(11286702 out of 11276532) inconsistent with basic-block count (9452310)
       memcpy( S->buf + left, in, fill ); // Fill buffer
                                        ^
blake2s.cpp:162:49: error: corrupted value profile: value profile counter
(11504160 out of 11557346) inconsistent with basic-block count (11155414)
       memcpy( S->buf + left, in, (size_t)inlen );
                                                 ^
make: *** [blake2s.o] Error 1
>From gcc-bugs-return-477467-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 16 17:06:29 2015
Return-Path: <gcc-bugs-return-477467-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 8278 invoked by alias); 16 Feb 2015 17:06:29 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 8228 invoked by uid 48); 16 Feb 2015 17:06:25 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/32219] optimizer causes wrong code in pic/hidden/weak symbol checking.
Date: Mon, 16 Feb 2015 17:06:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: rtl-optimization
X-Bugzilla-Version: 4.3.0
X-Bugzilla-Keywords: patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: hjl.tools at gmail dot com
X-Bugzilla-Status: RESOLVED
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:
Message-ID: <bug-32219-4-x9WHjGuaiA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-32219-4@http.gcc.gnu.org/bugzilla/>
References: <bug-32219-4@http.gcc.gnu.org/bugzilla/>
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-02/txt/msg01800.txt.bz2
Content-length: 885

https://gcc.gnu.org/bugzilla/show_bug.cgi?id2219

--- Comment #19 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Pat Haugen from comment #18)
> The following error started with r220674 on powerpc64-linux when trying to
> build 447.dealII from CPU2006 with -m64.
>
> /usr/bin/ld: exceptions.o: In function `ExceptionBase::what() const':
> exceptions.cc:(.text+0xda0): unresolvable R_PPC64_TOC16_HA against
> `std::__cxx11::basic_string<char, std::char_traits<char>,
> std::allocator<char> >::~basic_string()@@GLIBCXX_3.4.21'
> /usr/bin/ld: exceptions.cc:(.text+0xdac): unresolvable R_PPC64_TOC16_LO
> against `std::__cxx11::basic_string<char, std::char_traits<char>,
> std::allocator<char> >::~basic_string()@@GLIBCXX_3.4.21'
> /usr/bin/ld: final link failed: Nonrepresentable section on output
> collect2: error: ld returned 1 exit status

Can you try fix in PR 65074?


  parent reply	other threads:[~2015-02-16 17:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-03 11:45 [Bug c++/58306] New: " t.artem at mailcity dot com
2013-09-03 12:18 ` [Bug c++/58306] " paolo.carlini at oracle dot com
2013-09-03 12:37 ` t.artem at mailcity dot com
2015-02-16 16:22 ` [Bug middle-end/58306] " t.artem at mailcity dot com
2015-02-16 17:05 ` t.artem at mailcity dot com [this message]
2015-04-18 19:39 ` t.artem at mailcity 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-58306-4-hrq1viAVIl@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).