[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#616362: gcc-snapshot: link failure with gnat (/usr/bin/ld: cannot find -laddr2line)



Hello,

I reported that bug because I tried to compile spark-gpl. Compilation
failed with stack overflow or invalid memory access. It was compiled
fine with gcc-snapshot, but linking failed. So I guess the bug with
stack overflow was fixed somewhere between gcc-4.4 and 4.6. Or maybe it
was introduced by patches...

3 березня 2011 о 21:07 +0100 Ludovic Brenta написав(-ла):
> This is because the patch ada-symbolic-tracebacks.diff has not been
> ported to gcc-snapshot.
I see that this patch is present in gcc-snapshot source, and it is even
applied (at least at the beginning of the build, I do not have enough
free time now to build it all). But installed g-trasym.adb really
contains pragma Linker_Options ("-laddr2line");. Is it intended
behaviour or there is something wrong here?

> I do not work with, or support, gcc-snapshot.  My policy is to
> concentrate on, and support, only one version of gnat at a time;
> currently this is gnat-4.4, so you can expect this bug never to be fixed
> in gcc-snapshot.  Instead, you can expect a future gnat-4.5 or gnat-4.6
> with proper support for symbolic tracebacks.  If you would like to help,
> please contact me.
I just started to learn Ada, so I do not think there are many thing I
can help with.

BTW do you think it is worth it to submit bug reports to the gnat bugzilla?
I see there are many reports from years ago with no comment. Is it used
at all by upstream?

Regards,
Eugeniy Meshcheryakov

Attachment: signature.asc
Description: Digital signature


Reply to: