On Jan 13, 2021, Sebastian Huber <sebastian.hu...@embedded-brains.de> wrote:

> This is probably not RTEMS-specific. I guess it is a general riscv issue.

You're right, but the riscv*-linux-gnu configuration already has the
fix.

>> Would you like to take a stab at it yourself, or should I?
> I can try to figure out a patch, but I have to guess how it works.

What's needed is adding

  LIBGNAT_TARGET_PAIRS += \
  a-nallfl.ads<libgnat/a-nallfl__wraplf.ads \

Guarded by a conditional that limits it to the target that's missing it.

I suggest adding such a block within the RTEMS block, conditional on
riscv, analogously to the riscv64 conditional within the "riscv% linux%"
block.

You might have to distinguish between riscv32 and riscv64; 'fraid I
can't easily tell which way each should go.

Thanks for reporting this problem, and looking into this,

-- 
Alexandre Oliva, happy hacker  https://FSFLA.org/blogs/lxo/
   Free Software Activist         GNU Toolchain Engineer
        Vim, Vi, Voltei pro Emacs -- GNUlius Caesar

Reply via email to