This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug sanitizer/80308] asan crash on big-endian powerpc-linux target


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?

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]