This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug sanitizer/80308] asan crash on big-endian powerpc-linux target
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 04 Apr 2017 18:33:53 +0000
- Subject: [Bug sanitizer/80308] asan crash on big-endian powerpc-linux target
- Auto-submitted: auto-generated
- References: <bug-80308-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80308
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Bernd Edlinger from comment #4)
> weird, in function OTServerBaseNode::addReference
> the shadow ram is initialize correctly, and it
> is overwritten in line 671 immediately before the crash:
>
> => 0x129fc870 rlwinm r9,r29,29,3,31
> 2: x/i 0x37f7569c
> 0x37f7569c: .long 0x4f2f2
> => 0x129fc874 lwz r4,80(r31)
> 2: x/i 0x37f7569c
> 0x37f7569c: .long 0x4f2f2
> => 0x129fc878 addis r9,r9,8192
> 2: x/i 0x37f7569c
> 0x37f7569c: .long 0x4f2f2
> => 0x129fc87c mr r3,r29
> 2: x/i 0x37f7569c
> 0x37f7569c: .long 0x4f2f2
> => 0x129fc880 sth r10,0(r9)
> 2: x/i 0x37f7569c
> 0x37f7569c: .long 0x400f2f2
> => 0x129fc884 bl 0x11e9cd64 <NodeIdStruct::NodeIdStruct(NodeIdStruct
> const&)>
Can we have preprocessed source and g++ options for that?