Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Toolchain for Uclibc (i686-pc-linuc-uclibc) fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
SiderPigLoki
n00b
n00b


Joined: 19 Jun 2008
Posts: 1
Location: Berlin

PostPosted: Fri Aug 22, 2008 12:09 am    Post subject: Toolchain for Uclibc (i686-pc-linuc-uclibc) fails Reply with quote

Hi all of you.
Since yesterday 1 am i'm trying to encrypt my laptop system with this guide
http://gentoo-wiki.com/SECURITY_System_Encryption_DM-Crypt_with_LUKS
but I can't build the toolchain for the cross-compiler as told in
http://gentoo-wiki.com/SECURITY_System_Encryption_DM-Crypt_with_LUKS#Building_BusyBox.

Whenever I enter
Code:
USE="-nls -iconv" crossdev -v  i686-pc-linux-uclibc

it dies with
Code:

cp: cannot stat `utils/ldconfig.host': No such file or directory
 *
 * ERROR: cross-i686-pc-linux-uclibc/uclibc-0.9.28.3-r7 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_install
 *             environment, line 2522:  Called die
 * The specific snippet of code:
 *           newbin utils/ldconfig.host ${CTARGET}-ldconfig || die;
 *  The die message:
 *   (no error message)
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/cross/i686-pc-linux-uclibc/portage/cross-i686-pc-linux-uclibc/uclibc-0.9.28.3-r7/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/cross/i686-pc-linux-uclibc/portage/cross-i686-pc-linux-uclibc/uclibc-0.9.28.3-r7/temp/environment'.
 * This ebuild is from an overlay: '/usr/local/portage/'
 *

 * Messages for package cross-i686-pc-linux-uclibc/uclibc-0.9.28.3-r7:

 * You really should consider setting UCLIBC_CPU
 * Otherwise, the build will be generic (read: slow).
 * Available CPU options:
 *
 * ERROR: cross-i686-pc-linux-uclibc/uclibc-0.9.28.3-r7 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_install
 *             environment, line 2522:  Called die
 * The specific snippet of code:
 *           newbin utils/ldconfig.host ${CTARGET}-ldconfig || die;
 *  The die message:
 *   (no error message)
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/cross/i686-pc-linux-uclibc/portage/cross-i686-pc-linux-uclibc/uclibc-0.9.28.3-r7/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/cross/i686-pc-linux-uclibc/portage/cross-i686-pc-linux-uclibc/uclibc-0.9.28.3-r7/temp/environment'.
 * This ebuild is from an overlay: '/usr/local/portage/'
 *

 * uclibc failed :(
 * If you file a bug, please attach the following logfiles:
 * /var/log/portage/cross-i686-pc-linux-uclibc-info.log
 * /var/log/portage/cross-i686-pc-linux-uclibc-uclibc-headers.log


Leaving the USE-Flags out doesn't take any effect -> still the same error :(

Also droping some infos from my make.conf
Code:
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
UCLIBC="GENERIC" <-- any suggestions here?


I used an Ubuntu 7.10 Live CD for the procedure.

I hope someone can help me.
Boardsearch and Google didn't realy help.

Good night for you all and hope you can help me.
Back to top
View user's profile Send private message
yoshi314
l33t
l33t


Joined: 30 Dec 2004
Posts: 848
Location: PL

PostPosted: Wed Aug 27, 2008 7:22 am    Post subject: Reply with quote

i can't see the reason for cross compiling and building busybox by hand.

also, are you trying to build an uclibc system?

afaik you could simply use genkernel which builds static versions for all its necessary tools when first ran (busybox, lvm, cryptsetup etc),
and construct an initrd with it for your kernel. it would work with any distribution.

Code:
UCLIBC="GENERIC" <-- any suggestions here?

UCLIBC_CPU="686" , if i remember correctly.
_________________
~amd64
shrink your /usr/portage with squashfs+aufs
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum