Coming Underground
« Recent udev and legacy Xen on GentooUpgrading a very old (2006.1) Gentoo install to current »

Using recent Catalyst with uclibc

Permalink 2009-12-13 17:53, by jaervosz, Categories: General, Gentoo, Universe/English

Since Koon stopped maintaining GNAP I've been building updated tarballs for personal use a couple of times each year.

One thing that has continously bugged me is that everything works out alright with Catalyst 2.0.1 and manual chroots but using later versions (at least 2.0.3_pre3 and 2.0.6) it fails to properly detect compiler settings. Ie. building busybox bails out with:


/var/tmp/portage/sys-apps/busybox-1.14.2/work/busybox-1.14.2/scripts/gcc-version.sh: line 11: i386-pc-linux-gnu-gcc: command not found

Obviously it should look after i386-gentoo-linux-uclibc-gcc but somehow the build scripts messes up the settings.

Enabling ccache just causes things to break sooner, ncurses then bails out with:

checking for i386-pc-linux-gnu-gcc... i386-pc-linux-gnu-gcc
checking for C compiler default output... configure: error: C compiler cannot create executables

Without Catalyst it seems like the problem is a broken binutils installation, but both with Catalyst 2.0.1 and with a manual chroot everything is working fine. This only happens when I update Catalyst, so it seems like either recent Catalyst is broken or more likely somehow my stage3 tarball is broken:/

1 comment »Send a trackback »

Trackback address for this post

This is a captcha-picture. It is used to prevent mass-access by robots.
Please enter the characters from the image above. (case insensitive)

1 comment

Comment from: jaervosz [Member] Email
Hmmmm answer seems to be here: http://www.mail-archive.com/gentoo-catalyst@lists.gentoo.org/msg00971.html . CHOST is no longer valid for stage3 targets. Currently I'm testing with 2.0.6.907 with a hard coded CHOST in arch/x86.py and it seems to be progressing further than last time I tried...
2010-02-05 @ 17:19

Leave a comment


Your email address will not be revealed on this site.

Your URL will be displayed.
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)
This is a captcha-picture. It is used to prevent mass-access by robots.
Please enter the characters from the image above. (case insensitive)

©2010 by admin

Contact Jaervosz