alire-project / GNAT-FSF-builds

Builds of the GNAT Ada compiler from FSF GCC releases
MIT License
32 stars 9 forks source link

No line numbers in tracebacks with 11.2 #37

Closed mosteo closed 2 years ago

mosteo commented 2 years ago

On Ubuntu 20.04, using the latest GNAT in Alire (11.2.4) I get this kind of tracebacks:

0xdf7f15 alire__raise_checked_error at ???
0xa91661 alire__os_lib__subprocess__checked_spawn at ???
0xb7c310 alire__publish__check_build at ???
0xb884ee alire__publish__run_steps at ???
0xb8de32 alire__publish__remote_origin at ???
0xb8b45e alire__publish__local_repository at ???
0x4c76f3 alr__commands__publish__execute at ???
0x540fce alr__commands__sub_cmd__execute at ???
0x54cb2c alr__commands__execute at ???
0x43efce _ada_alr__main at ???
0x44190f main at ???
[/lib/x86_64-linux-gnu/libc.so.6]
0x7f3aeef2a081
[/home/jano/opt/bin/alr]
0x43eeac _start at ???
0xfffffffffffffffe

Using CE 2021 I get the expected line numbers.

This is building Alire with its regular project files, so the same switches are being used (from alire_common.gpr)

Fabien-Chouteau commented 2 years ago

I don't know why, -Es binder switch should be enough.

mosteo commented 2 years ago

What I find even more curious is that file names do appear. Past similar problems usually were all or nothing.

Fabien-Chouteau commented 2 years ago

@mosteo Known problem for GNAT FSF 11, it is fixed in GNAT FSF 12.