Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 282690 - sys-devel/crossdev-0.9.19: fails to build g++ for avr
Summary: sys-devel/crossdev-0.9.19: fails to build g++ for avr
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-25 13:08 UTC by Tiago Maluta
Modified: 2009-10-06 04:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Output from crossdev (crossdev-avr.log,1.96 KB, text/plain)
2009-08-25 13:10 UTC, Tiago Maluta
Details

Note You need to log in before you can comment on or make changes to this bug.
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.