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
The following reply was made to PR toolchain/49425; it has been noted by GNATS.
From: Martin Husemann <martin%duskware.de@localhost>
To: Dennis Ferguson <dennis.c.ferguson%gmail.com@localhost>
Cc: gnats-bugs%NetBSD.org@localhost, toolchain-manager%netbsd.org@localhost,
gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Subject: Re: toolchain/49425: internal compiler error compiling riscv userland
Date: Mon, 1 Dec 2014 09:10:12 +0100
On Sat, Nov 29, 2014 at 05:19:04PM +0800, Dennis Ferguson wrote:
>
> On 29 Nov, 2014, at 16:55 , Martin Husemann <martin%duskware.de@localhost> wrote:
> > VAX has similar issues if the global -O1 is removed from sys.mk.
> > 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).
Martin
Home |
Main Index |
Thread Index |
Old Index