Re: RISC-V: `ld.so' fails linking against `libgcc.a' built at `-O0'

2020-07-14 Thread Maciej W. Rozycki via Gcc
On Tue, 14 Jul 2020, Richard Biener wrote: > > > Arguably this might probably be called a deficiency in libgcc, however > > > the objects are built with `-fexceptions -fnon-call-exceptions' > > > > I consider that broken. It doesn't make any sense to build a lowlevel > > runtime library like lib

Re: RISC-V: `ld.so' fails linking against `libgcc.a' built at `-O0'

2020-07-13 Thread Richard Biener via Gcc
On Tue, Jul 14, 2020 at 7:24 AM Andreas Schwab wrote: > > On Jul 14 2020, Maciej W. Rozycki wrote: > > > Arguably this might probably be called a deficiency in libgcc, however > > the objects are built with `-fexceptions -fnon-call-exceptions' > > I consider that broken. It doesn't make any sens

Re: RISC-V: `ld.so' fails linking against `libgcc.a' built at `-O0'

2020-07-13 Thread Andreas Schwab
On Jul 14 2020, Maciej W. Rozycki wrote: > Arguably this might probably be called a deficiency in libgcc, however > the objects are built with `-fexceptions -fnon-call-exceptions' I consider that broken. It doesn't make any sense to build a lowlevel runtime library like libgcc with exceptions.