Skip to content
This repository has been archived by the owner on Apr 13, 2019. It is now read-only.

Can't build with GCC 4.9 #17

Open
iori-yja opened this issue Dec 4, 2014 · 3 comments
Open

Can't build with GCC 4.9 #17

iori-yja opened this issue Dec 4, 2014 · 3 comments

Comments

@iori-yja
Copy link

iori-yja commented Dec 4, 2014

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.

@aswaterman
Copy link

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
#17.

@iori-yja
Copy link
Author

iori-yja commented Dec 5, 2014

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.

@aswaterman
Copy link

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
#17 (comment).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants