Summary: | [cross-avr/gcc-4.2.3] fails compile, bad opcode: movw for avr3 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Giacomo Ferrari <progman32> |
Component: | [OLD] GCC Porting | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | widget |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
URL: | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35073 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Failed build log generated by crossdev.
patch to resolve this problem |
Description
Giacomo Ferrari
2008-02-19 19:42:45 UTC
Created attachment 144007 [details]
Failed build log generated by crossdev.
either you need to update your binutils to something newer or upstream gcc is broken i'm pretty sure the avr guys are still in process of getting integrated properly into mainline either way, we dont have a dev currently who tracks avr closely, so if upgrading to binutils-2.18.50.x.x doesnt fix things for you, you should open a bug at gcc.gnu.org (then again, the avr guys may just tell you to use their binary releases ...) Created attachment 145432 [details, diff]
patch to resolve this problem
copy file to /etc/portage/patches/cross-avr/binutils/ and start "crossdev avr" again.
> copy file to /etc/portage/patches/cross-avr/binutils/ and start "crossdev avr"
> again.
This patch works for me as well. Can it not be added as a patch to binutils in gentoo, as without it we don't have >=gcc-4.2?
i'm not going to add random patches without knowing their source and upstream status you find that info for me and i'll see about merging it (In reply to comment #5) > i'm not going to add random patches without knowing their source and upstream > status That's fair enough. Is it possible to mask >=gcc-4.2 for the avr toolchain? I couldn't work out how to do it manually, I don't quite understand whether avr has its own keyword or not. I've hit this problem on two separate machines (x86 and ~amd64) and with the ldscripts bug it makes avr very fiddly to get working in Gentoo atm. Thanks. |