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 bootstrap/64256] [5.0 Regression] Pointer Bounds Checker builtins enum overflows stabstring length


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

--- Comment #9 from Zoltan Hidvegi <zoltan at hidvegi dot com> ---
xlC generates stubs with continuation, and it seems to cut them at 16k both for
32-bit and 64-bit objects, so maybe gcc could do the same. gdb-7.7.1 seems to
segfault on stubs longer than 32k for 32-bit executables, although long stubs
work with 64-bit executables. My brief testing showed that it indeed handles
continuations as long as all parts are under 32k. There is also totalview, I
haven't tried that. Other debuggers on AIX often have trouble dealing with the
debug info of g++.

But regardless of debugger support, there is really no alternative to using
continuation for XCOFF32. And as others have said this bug has been in gcc for
a long time, and has been brought up by several bugreports, e.g. also in
PR46072


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