[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [valgrind] [Bug 341036] dumping core and Assertion 'sizeof(*regs) == sizeof(prs->pr_reg)
From:       Crestez Dan Leonard <cdleonard () gmail ! com>
Date:       2015-03-31 18:05:10
Message-ID: bug-341036-17878-4rdPUUn94T () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=341036

Crestez Dan Leonard <cdleonard@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cdleonard@gmail.com

--- Comment #24 from Crestez Dan Leonard <cdleonard@gmail.com> ---
It seems that if you compile with -march=octeon2 and newer then k0 won't be
used. But the latest toolchain from cavium still seems to generate code that
uses k0 by default.

What's worse is that cavium-supplied glibc is compiled to make use of $k0.
Unless valgrind supports this then any program will die before reaching main().
I run on octeon2 HW and compile with -march=octeon2 and still need this. In
theory it might be possible to recompile glibc with different flags but that's
not fun.

It's also worth noting that this hack shouldn't be break anything else because
$k0 is normally undefined for userspace.

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic