Using sys-devel/crossdev-20100620, and using the just created armv7a-unknown-linux-gnueabi-emerge, always give: configure: error: cannot run C compiled programs. And does not compile the application. Reproducible: Always Steps to Reproduce: 1. Create a toolchain: crossdev -t armv7a-unknown-linux-gnueabi 2. Try to install any app: armv7a-unknown-linux-gnueabi -va nano Actual Results: Throws an error and stops the process. Expected Results: Compile correctly and put the app in $SYSROOT. When doing the compilation explicitly giving the environment vars works fine: CBUILD="x86_64-pc-linux-gnu" ROOT="$SYSROOT" PORTAGE_CONFIGROOT="$SYSROOT" emerge -av nano It seems CBUILD var haven't the correct value and armv7a-unknown-linux-gnueabi-emerge is giving it the CHOST value.
Created attachment 241823 [details] emerge --info
post an actual build log as an attachment as well as the config.log in question
*** Bug 331595 has been marked as a duplicate of this bug. ***
(In reply to comment #2) > post an actual build log as an attachment as well as the config.log in question > Hi, I've only have the opportunity to test this today, and is working. Maybe the reboot of the virtual machine helps with something (the CBUILD var is set correctly as amrv7a-unknown-linux-gnueabi) and the dependencies are shown correctly.
Created attachment 242513 [details] xproto log The compilation still has problems, attached the log when emerging vim: armv7a-unknown-linux-gnueabi-emerge -va vim
Information provided. My mistake the CBUILD is wrong, should be x86_64.
please read what i asked for again. you did not provide config.log.
Created attachment 242681 [details] xproto config
The xproto config file from /var/tmp/portage/...
should be fixed now in crossdev-20100814; thanks http://git.overlays.gentoo.org/gitweb/?p=proj/crossdev.git;a=commitdiff;h=a31d21dc6895115a7f10af275b31e0bc6283b6b2