Summary: | Dirty compile from m_libcbase.c and vgdb-invoker-ptrace.c | ||
---|---|---|---|
Product: | [Developer tools] valgrind | Reporter: | Jeffrey Walton <noloader> |
Component: | general | Assignee: | Julian Seward <jseward> |
Status: | REPORTED --- | ||
Severity: | normal | CC: | peter.maydell |
Priority: | NOR | ||
Version First Reported In: | 3.12 SVN | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Other | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Jeffrey Walton
2016-08-02 12:09:05 UTC
I doubt it's related, but if the CPU doesn't support the crypto extensions why are you compiling with +crypto in your -march= flags ? What version of gcc is this? Do you get these warnings if you don't set CFLAGS yourself? We've played with the flags from time to time over the years, but mostly you can't crank much more performance out of it by fiddling with them, so you'd be well advised just to use the default values. For one thing, performance is largely determined by the quality of the code the JIT creates, so changing the CFLAGS will have no effect there. With the trunk, gcc-5.3 -O3 (note, default trunk settings are -O2), on amd64-linux, I get only one warning: m_aspacemgr/aspacemgr-linux.c: In function ‘vgPlain_am_munmap_valgrind’: m_aspacemgr/aspacemgr-linux.c:2839:8: warning: ‘need_discard’ may be used uninitialized in this function [-Wmaybe-uninitialized] aspacem_assert(!need_discard); ^ I haven't looked into it yet. |