riscv-old-gcc
riscv-old-gcc copied to clipboard
Can't build with GCC 4.9
I couldn't build this project with gcc4.9.
This is a little famous bug from upstream, maybe. Here is equivalent bug reports.
[https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=746832] [https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=patch;h=27b829ee701e29804216b3803fbaeb629be27491]
The solution is to update binutils repository.
Our new gcc 4.9-based toolchain happily builds with a gcc 4.9 host compiler. A workaround for the old toolchain is to disable -Werror when building binutils, or just use an older host gcc.
On Thu, Dec 4, 2014 at 9:04 AM, ioriveur(iori-yja) <[email protected]
wrote:
I couldn't build this project with gcc4.9.
This is a little famous bug from upstream, maybe. Here is equivalent bug reports.
[https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=746832] [ https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=patch;h=27b829ee701e29804216b3803fbaeb629be27491 ]
The solution is to update binutils repository.
— Reply to this email directly or view it on GitHub https://github.com/ucb-bar/riscv-gcc/issues/17.
You mean this one? https://github.com/ucb-bar/riscv-gnu-toolchain
Thanks a lot. And I think if this repos obsolete, "riscv-tools" should point riscv-gnu-toolchain instead of this repos
regards.
Yeah, the new toolchain's repo is riscv-gnu-toolchain (or you can check out the new-abi branch of riscv-tools). We intend to make it official soon.
On Fri, Dec 5, 2014 at 1:42 AM, ioriveur(iori-yja) <[email protected]
wrote:
So, you have gcc 4.9-based branch, right? It sounds good, can you tell me where can I get that?
— Reply to this email directly or view it on GitHub https://github.com/ucb-bar/riscv-gcc/issues/17#issuecomment-65767117.