Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 282690

Summary: sys-devel/crossdev-0.9.19: fails to build g++ for avr
Product: Gentoo Linux Reporter: Tiago Maluta <tiago.maluta>
Component: [OLD] DevelopmentAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED WORKSFORME    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Output from crossdev

Description Tiago Maluta 2009-08-25 13:08:20 UTC
Crossdev isn't generating C++ compiler when stage4 is selected. 
# crossdev -t avr -s4


Reproducible: Always

Steps to Reproduce:
1. crossdev -t avr -s4
Comment 1 Tiago Maluta 2009-08-25 13:10:42 UTC
Created attachment 202248 [details]
Output from crossdev
Comment 2 Tiago Maluta 2009-08-25 13:16:18 UTC
# qlist cross-avr/gcc | grep bin
/usr/i686-pc-linux-gnu/avr/gcc-bin/4.4.1/avr-gccbug
/usr/i686-pc-linux-gnu/avr/gcc-bin/4.4.1/avr-gcov
/usr/i686-pc-linux-gnu/avr/gcc-bin/4.4.1/avr-cpp
/usr/i686-pc-linux-gnu/avr/gcc-bin/4.4.1/avr-gcc
/usr/i686-pc-linux-gnu/avr/gcc-bin/4.4.1/avr-gcc-4.4.1

I tried a symbolic link to avr-cpp but doesn't work:
gcc-config: error: could not run/locate 'avr-g++'
Comment 3 Tiago Maluta 2009-09-04 03:56:18 UTC
The problem was fixed after editing /etc/portage/package.use/cross-avr changing 'nocxx' to '-nocxx' and running emerge again.


#emerge cross-avr/gcc cross-avr/avr-libc dev-embedded/avrdude
Comment 4 Cameron Tacklind 2009-10-06 04:59:57 UTC
Shouldn't crossdev take care of the nocxx use flag if you add -s4?

I feel like this should be fixed.