This is the mail archive of the java@gcc.gnu.org mailing list for the Java 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] | |
> > But in that case, HAVE_BACKTRACE should be turned on for ia64 Linux.The approach for the MIPS port of libgcj is to include a backtrace() replacement that calls _Unwind_Backtrace(). This works because backtrace() is a weak symbol in glibc. It sounds like this is essentially what you are suggesting.
Good.
> Older versions of libc have a broken backtrace() on that platform,
> but even that can be worked around by doing:
> > LD_PRELOAD=/usr/lib/libunwind-ia64.so.1
> > and with newer versions of libc, backtrace() will use _Unwind_Backtrace().
But we need to build a version of libgcj for ia64 Linux that works without needing a special LD_PRELOAD.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |