Re: RISC-V and Ada: undefined references to `__gnat_raise_nodefer_with_msg'

2018-07-03 Thread Sebastian Huber
On 03/07/18 09:10, Eric Botcazou wrote: It seems the a-except.adb was replaced by a-except-2005.adb in this commit: Right, it's by design, the old support for SJLJ exceptions has been ditched for full runtimes. You probably just need to swap the values of Frontend_Exceptions : const

Re: RISC-V and Ada: undefined references to `__gnat_raise_nodefer_with_msg'

2018-07-03 Thread Eric Botcazou
> It seems the a-except.adb was replaced by a-except-2005.adb in this commit: Right, it's by design, the old support for SJLJ exceptions has been ditched for full runtimes. You probably just need to swap the values of Frontend_Exceptions : constant Boolean := True; ZCX_By_Default

Re: RISC-V and Ada: undefined references to `__gnat_raise_nodefer_with_msg'

2018-07-02 Thread Sebastian Huber
On 02/07/18 22:03, Eric Botcazou wrote: I cannot find it in the GCC sources: grep -ri raise_nodefer_with_msg gcc/ada/gcc-interface/trans.c: (get_identifier ("__gnat_raise_nodefer_with_msg"), NULL_TREE, ftype, Who is supposed to provide an implementation of __gnat_raise_nodefer_with_msg? N

Re: RISC-V and Ada: undefined references to `__gnat_raise_nodefer_with_msg'

2018-07-02 Thread Eric Botcazou
> I cannot find it in the GCC sources: > > grep -ri raise_nodefer_with_msg > gcc/ada/gcc-interface/trans.c: (get_identifier > ("__gnat_raise_nodefer_with_msg"), NULL_TREE, ftype, > > Who is supposed to provide an implementation of > __gnat_raise_nodefer_with_msg? No one, it's obsolete. The

RISC-V and Ada: undefined references to `__gnat_raise_nodefer_with_msg'

2018-07-02 Thread Sebastian Huber
Hello, I get the following link-time error while building an Ada test program on RISC-V and RTEMS: riscv64-rtems5-gnatlink hello.ali -march=rv64imafd -mabi=lp64d -mcmodel=medany -O2 -g -ffunction-sections -fdata-sections -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-pro