NetBSD-Bugs archive

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

Re: toolchain/49425: internal compiler error compiling riscv userland

On Sat, Nov 29, 2014 at 05:19:04PM +0800, Dennis Ferguson wrote:
> On 29 Nov, 2014, at 16:55 , Martin Husemann <> wrote:
> > VAX has similar issues if the global -O1 is removed from
> > Is -O1 enough for risc-v as well?
> Unfortunately no.  I got the same errors at -O1, only -O0 fixed it.
> I guess a global -O0 would work, as might a global -O0 for C++ only
> if that's possible, but everything other than those 2 files compile
> okay at -O2.

OK, so the list of files differs (see toolchain/49434) and -O1 vs -O0;
these are likely different MD gcc bugs.

Reinoud or you should report this upstream.

Commiting the workaround for now sounds OK to me (I would do with the vax
variant, but the default VAX build does not trigger it, so no point there).


Home | Main Index | Thread Index | Old Index