Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
glibc gets wrong version of linux headers [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
jedsen
Apprentice
Apprentice


Joined: 15 Oct 2004
Posts: 276
Location: Sacramento, California, USA

PostPosted: Tue Apr 11, 2006 8:20 am    Post subject: glibc gets wrong version of linux headers [solved] Reply with quote

I get the following error while trying to emerge glibc during while building a new toolchain with crossdev:
Quote:
* Checking linux-headers version (>=2.6.6) ... no

* You need linux-headers of at least version 2.6.6
* for NPTL support!

Does anyone know how to get glibc to correctly detect the proper version of linux headers? I'm using version 2.6.11-r2.

Thanks.


Last edited by jedsen on Thu Apr 13, 2006 6:31 pm; edited 3 times in total
Back to top
View user's profile Send private message
codejunky
Tux's lil' helper
Tux's lil' helper


Joined: 03 Oct 2004
Posts: 75
Location: Hamburg - Germany

PostPosted: Tue Apr 11, 2006 8:34 am    Post subject: Reply with quote

Same problem here, solution would be appreciated.
_________________
http://www.codejunky.org
Back to top
View user's profile Send private message
UncleOwen
Veteran
Veteran


Joined: 27 Feb 2003
Posts: 1493
Location: Germany, Hamburg

PostPosted: Tue Apr 11, 2006 11:39 am    Post subject: Reply with quote

post emerge --info
Back to top
View user's profile Send private message
codejunky
Tux's lil' helper
Tux's lil' helper


Joined: 03 Oct 2004
Posts: 75
Location: Hamburg - Germany

PostPosted: Tue Apr 11, 2006 12:24 pm    Post subject: Reply with quote

Code:
codejunky  # emerge --info
Portage 2.1_pre7-r5 (default-linux/amd64/2006.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.16-gentoo x86_64)
=================================================================
System uname: 2.6.16-gentoo x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.14
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=k8 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ "
LINGUAS="de"
PKGDIR="/var/tmp/portage-pkg"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/jan/portage/overlay"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="amd64 X alsa apache2 arts avi berkdb bitmap-fonts bzlib calendar cdr cli crypt ctype cups dba dri dvb dvd eds emboss encode exif expat fastbuild foomaticdb force-cgi-redirect fortran ftp gd gd-external gif gpm gstreamer gtk gtk2 i8x0 iconv imlib ipv6 isdnlog java jpeg kde lzw lzw-tiff memlimit mp3 mpeg mysql ncurses nls nptl nptlonly nvidia opengl oss pam pcre pdf pdflib perl png posix pppd python qt quicktime readline samba sdl session simplexml soap sockets spell spl sqlite ssl tcpd tiff tokenizer truetype truetype-fonts type1-fonts unicode usb vorbis xine xinerama xml xmlrpc xpm xsl xv xvid zlib elibc_glibc kernel_linux linguas_de userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS

_________________
http://www.codejunky.org
Back to top
View user's profile Send private message
Maikelw
n00b
n00b


Joined: 11 Apr 2006
Posts: 12
Location: /pub/beer

PostPosted: Tue Apr 11, 2006 7:44 pm    Post subject: Reply with quote

Yeps i've got the same problem only i'm doing currently a
'crossdev -t i686'

here's my emerge --info
Code:
# emerge --info
Portage 2.1_pre7-r5 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.4-r1, 2.6.15-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.0_pre17
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distcc distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS="nl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X alsa apache2 avi berkdb bitmap-fonts cdr cli crypt ctype cups dba directfb dri dvd dvdr eds emboss encode expat fastbuild foomaticdb force-cgi-redirect fortran ftp gd geoip gif gpm gstreamer imlib ipv6 isdnlog jpeg kde lzw lzw-tiff memlimit mozilla mp3 mpeg msn ncurses nls nptl nptlonly ntpl ogg oggvorbis opengl pam pcre pdf pdflib perl php png posix pppd python qt quicktime readline samba sdl session simplexml soap sockets spell spl ssl tcpd tiff tokenizer truetype truetype-fonts type1-fonts unicode usb vcd vorbis xine xml xpm xsl xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_nl userland_GNU video_cards_nvidia video_cards_vesa video_cards_fbdev"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS
Back to top
View user's profile Send private message
jedsen
Apprentice
Apprentice


Joined: 15 Oct 2004
Posts: 276
Location: Sacramento, California, USA

PostPosted: Tue Apr 11, 2006 9:41 pm    Post subject: Reply with quote

my emerge --info:
Quote:
Portage 2.0.54 (default-linux/ppc/2005.1/ppc, gcc-3.4.5, glibc-2.3.5-r3, 2.6.15-gentoo-r1 ppc)
=================================================================
System uname: 2.6.15-gentoo-r1 ppc 750FX
Gentoo Base System version 1.6.14
distcc 2.18.3 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python: 2.3.5, 2.4.2
sys-apps/sandbox: 1.2.12
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils: 2.16.1
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r4
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mtune=G3 -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mtune=G3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ "
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage_overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc 16bit X a52 alsa arts audiofile bash-completion berkdb bitmap-fonts bzip2 cdparanoia cdr crypt curl dba dri dvd esd exif expat fam flac gd gd-external gdbm gif glut gnome gphoto2 gstreamer gtk gtk2 gtkhtml idn imagemagick imlib ipv6 isdnlog jack java javacomm jpeg jpeg2k kde ladspa lcms ldap libcaca libsamplerate libwww mad mng motif mozilla mp3 mpeg nas ncurses nls nptl nptlonly nsplugin ogg openal opengl oss pam pbbuttonsd pcre pdflib perl png pppd python qt readline recode reiserfs ruby sdl slang speex spell ssl svg tcltk tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis wifi wmf xchatdccserver xine xinerama xml2 xmms xprint xv zlib userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS

Time to file a bug report?
Back to top
View user's profile Send private message
codejunky
Tux's lil' helper
Tux's lil' helper


Joined: 03 Oct 2004
Posts: 75
Location: Hamburg - Germany

PostPosted: Wed Apr 12, 2006 9:37 am    Post subject: Reply with quote

jedsen wrote:
Time to file a bug report?


I think so.
I wrote an E-Mail to the amd64 Mailinglist but got no answere yet.
Could you paste the bug-id here?

Regards
Jan
_________________
http://www.codejunky.org
Back to top
View user's profile Send private message
Maikelw
n00b
n00b


Joined: 11 Apr 2006
Posts: 12
Location: /pub/beer

PostPosted: Wed Apr 12, 2006 4:21 pm    Post subject: Reply with quote

Codejunky, it doesn't seem to be an amd64 specific problem as i see jedsen is on a powerpc
So i guess the amd64 mailing list can't do anything with it?

Anyway someone already know anything more?
Maybe someone already submitted a bug?
I realy need to gonna help my PII compiling over DISTCC, this already takes 2 days... *sigh*

I'll give it this evening a try to mess around with it.

Cheers
Back to top
View user's profile Send private message
devilbush
n00b
n00b


Joined: 15 Mar 2006
Posts: 13

PostPosted: Wed Apr 12, 2006 5:34 pm    Post subject: Reply with quote

Same issues here. When I do:

Code:

crossdev -t i686 --gcc 3.4.5


I get:

Code:

Calculating dependencies  >>> Unpacking source...

Checking gcc for __thread support ... yes
Checking kernel version (>=2.6.9) ... yes
Checking linux-headers version (>=2.6.9) ... no

You need linux-headers of at least version 2.6.9
for NPTL support!

!!! ERROR: cross-i686-pc-linux-gnu/glibc-2.4-r1 failed.
!!! Function check_nptl_support, Line 809, Exitcode 0
!!! linux-headers version too low!
!!! If you need support, post the topmost build error, NOT this status message.

...done!


emerge --info emits:

Code:

Portage 2.0.54 (default-linux/amd64/2006.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-gentoo-r7-new2 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r7-new2 x86_64 AMD Athlon(tm) 64 FX-53 Processor
Gentoo Base System version 1.6.14
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [disabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon-fx -O3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-fx -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig cache distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ "
MAKEOPTS="-j10"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://mingus/gentoo-portage"
USE="amd64 X a52 aac alsa apache2 arts asf audiofile avi berkdb bitmap-fonts bzip2 cdparanoia cdr cdrw cli crypt ctype cups dba dri dts dvd dvdr dvdread eds emboss encode expat fam fastbuild foomaticdb force-cgi-redirect fortran ftp gd gif gnutls gpm gstreamer gtk2 hal idn imlib ipv6 isdnlog jpeg kde lcms lzw lzw-tiff mad memlimit mng mp3 mpeg nas ncurses network nls nptl nptlonly ogg opengl pcre pdflib perl png posix pppd python qt quicktime readline samba sdl session simplexml soap sockets spell spl ssl tcpd theora threads tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb vcd vorbis xinerama xml xml2 xpm xsl xv xvid xvmc zlib video_cards_fglrx video_cards_vesa input_devices_keyboard input_devices_mouse userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS


Many thanks for any suggestions! :)

-db
Back to top
View user's profile Send private message
devilbush
n00b
n00b


Joined: 15 Mar 2006
Posts: 13

PostPosted: Wed Apr 12, 2006 8:23 pm    Post subject: Reply with quote

I don't know if this will help, but as of today there is a new version of crossdev => sys-devel/crossdev-0.9.15. I don't have time to try it myself just now but I will do so in a couple hours. If someone doesn't get to it before me, I will post the results.

Good luck!

Update: No difference between crossdev 0.9.14 and 0.9.15 for me.


Last edited by devilbush on Thu Apr 13, 2006 3:08 am; edited 1 time in total
Back to top
View user's profile Send private message
Vulcano23
n00b
n00b


Joined: 17 May 2004
Posts: 51

PostPosted: Thu Apr 13, 2006 12:38 am    Post subject: Reply with quote

Same problem here... I have noticed that the glibc ebuild expects the headers to be in /usr/<target>/include directory for cross-compiling, whereas the end up being installed in /usr/<target>/usr/include.

So I tried making a symlink:

Code:

sudo ln -s /usr/i686-pc-linux-gnu/usr/include/ /usr/i686-pc-linux-gnu/include


and it seems to have fixed the specific problem.

However now the compilation fails with a bunch of errors similar to this:
Code:

In file included from nptl/sysdeps/i386/i686/tls.h:34,
                 from include/tls.h:6,
                 from sysdeps/unix/sysv/linux/i386/sysdep.h:30,
                 from <stdin>:1:
nptl/sysdeps/i386/i686/../tls.h:58:3: #error "TLS support is required."


Here's my cross-i686-pc-linux-gnu-info.log:
Code:

---------------------------------------------------------------------------------------
 * Host Portage ARCH:     amd64
 * Target Portage ARCH:   x86
 * Target System:         i686-pc-linux-gnu
 * Stage:                 4 (C/C++ compiler)

 * binutils:              binutils-2.16.1
 * gcc:                   gcc-3.4.5
 * headers:               linux-headers-2.6.11-r2
 * libc:                  glibc-2.3.5-r2

 * PORTDIR_OVERLAY:       /usr/local/portage
 * PORT_LOGDIR:           /var/log/portage
 * PKGDIR:                /usr/portage/packages/cross/i686-pc-linux-gnu
 * PORTAGE_TMPDIR:        /var/tmp/cross/i686-pc-linux-gnu
  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _ 
Gentoo Base System version 1.6.14
Portage 2.0.54 (default-linux/amd64/2006.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r7 x86_64 AMD Sempron(tm) Processor 2800+
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ "
LINGUAS="en it"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages/cross/i686-pc-linux-gnu"
PORTAGE_TMPDIR="/var/tmp/cross/i686-pc-linux-gnu"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa apache2 avi berkdb bitmap-fonts bzip2 cli crypt ctype cups dba dri dts dvb dvd eds emboss encode expat fastbuild foomaticdb force-cgi-redirect fortran ftp gd gif gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg lcms lirc lm_sensors lzw lzw-tiff memlimit mng mp3 mpeg mysql mythtv ncurses nls nptl nptlonly offensive opengl pam pcre pdflib perl png posix pppd python quicktime readline sdl session simplexml soap sockets spell spl ssl tcpd tiff tokenizer truetype truetype-fonts type1-fonts ud
ev usb xml xpm xsl xv zlib input_devices_keyboard input_devices_mouse input_devices_evdev linguas_en linguas_it userland_GNU kernel_linux elibc_glibc"                       Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS


Mod Edit: Removed some dashes to prevent horizontal scrolling - tomk
Back to top
View user's profile Send private message
devilbush
n00b
n00b


Joined: 15 Mar 2006
Posts: 13

PostPosted: Thu Apr 13, 2006 4:05 am    Post subject: Reply with quote

Vulcano23 wrote:
Same problem here... I have noticed that the glibc ebuild expects the headers to be in /usr/<target>/include directory for cross-compiling, whereas the end up being installed in /usr/<target>/usr/include.

So I tried making a symlink:

Code:

sudo ln -s /usr/i686-pc-linux-gnu/usr/include/ /usr/i686-pc-linux-gnu/include


and it seems to have fixed the specific problem.


Following your example, I created the same link and was successful in building glibc. Are your build errors still occuring at that point?

At any rate, now I'm stuck at gcc stage 2. From /var/log/portage/cross-i686-pc-linux-gnu-gcc-stage2.log:

Code:

/var/tmp/cross/i686-pc-linux-gnu/portage/gcc-3.4.5/work/build/gcc/xgcc -B/var/tm
p/cross/i686-pc-linux-gnu/portage/gcc-3.4.5/work/build/gcc/ -B/usr/i686-pc-linux
-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include
-isystem /usr/i686-pc-linux-gnu/sys-include -O2  -DIN_GCC -DCROSS_COMPILE   -W -
Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-defini
tion  -isystem ./include  -fPIC -DHAVE_SYSLOG -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC
2 -D__GCC_FLOAT_NOT_NEEDED  -D_LIBC_PROVIDES_SSP_ -fno-stack-protector -shared -
nodefaultlibs -Wl,--soname=libgcc_s.so.1 -Wl,--version-script=libgcc/./libgcc.ma
p -o libgcc_s.so.1.tmp   libgcc/./_muldi3.o libgcc/./_negdi2.o libgcc/./_lshrdi3
.o libgcc/./_ashldi3.o libgcc/./_ashrdi3.o libgcc/./_cmpdi2.o libgcc/./_ucmpdi2.
o libgcc/./_floatdidf.o libgcc/./_floatdisf.o libgcc/./_fixunsdfsi.o libgcc/./_f
ixunssfsi.o libgcc/./_fixunsdfdi.o libgcc/./_fixdfdi.o libgcc/./_fixunssfdi.o li
bgcc/./_fixsfdi.o libgcc/./_fixxfdi.o libgcc/./_fixunsxfdi.o libgcc/./_floatdixf
.o libgcc/./_fixunsxfsi.o libgcc/./_fixtfdi.o libgcc/./_fixunstfdi.o libgcc/./_f
loatditf.o libgcc/./_clear_cache.o libgcc/./_enable_execute_stack.o libgcc/./_tr
ampoline.o libgcc/./__main.o libgcc/./_absvsi2.o libgcc/./_absvdi2.o libgcc/./_a
ddvsi3.o libgcc/./_addvdi3.o libgcc/./_subvsi3.o libgcc/./_subvdi3.o libgcc/./_m
ulvsi3.o libgcc/./_mulvdi3.o libgcc/./_negvsi2.o libgcc/./_negvdi2.o libgcc/./_c
tors.o libgcc/./_ffssi2.o libgcc/./_ffsdi2.o libgcc/./_clz.o libgcc/./_clzsi2.o
libgcc/./_clzdi2.o libgcc/./_ctzsi2.o libgcc/./_ctzdi2.o libgcc/./_popcount_tab.
o libgcc/./_popcountsi2.o libgcc/./_popcountdi2.o libgcc/./_paritysi2.o libgcc/.
/_paritydi2.o libgcc/./_stack_smash_handler.o libgcc/./_divdi3.o libgcc/./_moddi
3.o libgcc/./_udivdi3.o libgcc/./_umoddi3.o libgcc/./_udiv_w_sdiv.o libgcc/./_ud
ivmoddi4.o  libgcc/./unwind-dw2.o libgcc/./unwind-dw2-fde-glibc.o libgcc/./unwin
d-sjlj.o libgcc/./gthr-gnat.o libgcc/./unwind-c.o -lc && rm -f libgcc_s.so && if
 [ -f libgcc_s.so.1 ]; then mv -f libgcc_s.so.1 libgcc_s.so.1.backup; else true;
 fi && mv libgcc_s.so.1.tmp libgcc_s.so.1 && ln -s libgcc_s.so.1 libgcc_s.so
[b]/usr/i686-pc-linux-gnu/bin/ld: cannot find /usr/i686-pc-linux-gnu/lib/libc.so.6
inside /usr/i686-pc-linux-gnu/binutils-bin/2.16.1/../../../i686-pc-linux-gnu
collect2: ld returned 1 exit status
make[2]: *** [libgcc_s.so] Error 1
make[2]: Leaving directory `/var/tmp/cross/i686-pc-linux-gnu/portage/gcc-3.4.5/w
ork/build/gcc'
make[1]: *** [libgcc.a] Error 2
rm gcc.pod
make[1]: Leaving directory `/var/tmp/cross/i686-pc-linux-gnu/portage/gcc-3.4.5/w
ork/build/gcc'
make: *** [all-gcc] Error 2
[/b]


Oh well, progress is progress. Has anyone finished building the entire tc?
Back to top
View user's profile Send private message
Vulcano23
n00b
n00b


Joined: 17 May 2004
Posts: 51

PostPosted: Thu Apr 13, 2006 4:20 am    Post subject: Reply with quote

devilbush wrote:

Following your example, I created the same link and was successful in building glibc. Are your build errors still occuring at that point?


Yes, the errors I quoted in my previous message occur after I create the symlink (which enables the compilation to start). :(

I am however glad that I somehow helped you build glibc. :)
Back to top
View user's profile Send private message
Maikelw
n00b
n00b


Joined: 11 Apr 2006
Posts: 12
Location: /pub/beer

PostPosted: Thu Apr 13, 2006 5:13 am    Post subject: Reply with quote

Well, i'm currently give a try without symlink (after an emerge -uDav world)

I did a emerge -uDav world that installed a new crossdev and some other packages
When i did a crossdev -t i686 it failed at gcc, so i checked the log files and i noticed that it tried to build gcc-4.2.0_alpha20060408
this one failed, and isn't realy the one i need so I did a
crossdev -t i686 --gcc 3.4.5
it Again failed at Glibc so I linked the directory as above noticed and another crossdev
the first packages till glibc were already compiled so there was no need to compile them again

The things i did:

Code:

emerge --sync && emerge -uDav world
crossdev -t i686 --gcc 3.4.5
ln -s /usr/i686-pc-linux-gnu/usr/include/ /usr/i686-pc-linux-gnu/include
crossdev -t i686 --gcc 3.4.5


Result
Till now Glibc didn't failed,
Edit: But gcc stage 2 failed :(
got the same error as devilbush

Taking a closer look at this error
Code:

/usr/i686-pc-linux-gnu/bin/ld: cannot find /usr/i686-pc-linux-gnu/lib/libc.so.6
inside /usr/i686-pc-linux-gnu/binutils-bin/2.16.1/../../../i686-pc-linux-gnu
collect2: ld returned 1 exit status


It looks like gcc is searching for libc.so.6 in /usr/i686-pc-linux-gnu/usr/i686-pc-linux-gnu/lib/
Or am I wrong?

I can't test it currently because i'm at school right now
Back to top
View user's profile Send private message
Maikelw
n00b
n00b


Joined: 11 Apr 2006
Posts: 12
Location: /pub/beer

PostPosted: Thu Apr 13, 2006 2:12 pm    Post subject: Reply with quote

Yuyy, after a ln i got gcc stage 2 compiled

Code:

mkdir /usr/i686-pc-linux-gnu/usr/i686-pc-linux-gnu
ln -s /usr/i686-pc-linux-gnu/lib/ /usr/i686-pc-linux-gnu/usr/i686-pc-linux-gnu/lib


Result
Code:

# crossdev -t i686 --gcc 3.4.5
--------------------------------------------------------------------------------
 * Host Portage ARCH:     amd64
 * Target Portage ARCH:   x86
 * Target System:         i686-pc-linux-gnu
 * Stage:                 4 (C/C++ compiler)

 * binutils:              binutils-[latest]
 * gcc:                   gcc-3.4.5
 * headers:               linux-headers-[latest]
 * libc:                  glibc-[latest]

 * PORTDIR_OVERLAY:       /usr/local/portage
 * PORT_LOGDIR:           /var/log/portage
 * PKGDIR:                /usr/portage/packages/cross/i686-pc-linux-gnu
 * PORTAGE_TMPDIR:        /var/tmp/cross/i686-pc-linux-gnu
  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -
 * Forcing the latest versions of binutils-config/gcc-config ...          [ ok ]
 * Log: /var/log/portage/cross-i686-pc-linux-gnu-binutils.log
 * Emerging cross-binutils ...                                            [ ok ]
 * Log: /var/log/portage/cross-i686-pc-linux-gnu-gcc-stage1.log
 * Emerging cross-gcc-stage1 ...                                          [ ok ]
 * Log: /var/log/portage/cross-i686-pc-linux-gnu-linux-headers.log
 * Emerging cross-linux-headers ...                                       [ ok ]
 * Log: /var/log/portage/cross-i686-pc-linux-gnu-glibc.log
 * Emerging cross-glibc ...                                               [ ok ]
 * Log: /var/log/portage/cross-i686-pc-linux-gnu-gcc-stage2.log
 * Emerging cross-gcc-stage2 ...                                          [ ok ]
Back to top
View user's profile Send private message
devilbush
n00b
n00b


Joined: 15 Mar 2006
Posts: 13

PostPosted: Thu Apr 13, 2006 6:02 pm    Post subject: Reply with quote

Wonderful! Maikelw's link worked for me and I finished building the tc.

To sum up, here are the fixes that seem to work:

For glibc (credit to Vulcano23):

Code:

sudo ln -s /usr/i686-pc-linux-gnu/usr/include/ /usr/i686-pc-linux-gnu/include



For gcc statge 2 (credit to Maikelw):

Code:

mkdir /usr/i686-pc-linux-gnu/usr/i686-pc-linux-gnu
ln -s /usr/i686-pc-linux-gnu/lib/ /usr/i686-pc-linux-gnu/usr/i686-pc-linux-gnu/lib


Good luck everyone! :)
Back to top
View user's profile Send private message
mbar
Veteran
Veteran


Joined: 19 Jan 2005
Posts: 1983
Location: Poland

PostPosted: Sun Apr 16, 2006 10:52 am    Post subject: Reply with quote

Thanks, I'm off setting up crosscompile, because since I migrated from gcc 4.0.2 to 4.1.0 it b0rked as you well know.
Back to top
View user's profile Send private message
Vulcano23
n00b
n00b


Joined: 17 May 2004
Posts: 51

PostPosted: Sun Apr 16, 2006 7:52 pm    Post subject: Reply with quote

I gave up on using crossdev too, however I found an alternative solution to my specific problem.

http://gentoo-wiki.com/TIP_AMD64-x86-distcc

I unmasked eselect-compiler and gcc-config-2.0.0_beta2, re-emerged gcc and here's what I got:

Code:

Available compilers for CTARGET i686-pc-linux-gnu
  [1]   i686-pc-linux-gnu-4.1.0/default
  [2]   x86_64-pc-linux-gnu-3.4.5/x86-hardened
  [3]   x86_64-pc-linux-gnu-3.4.5/x86-hardenednopie
  [4]   x86_64-pc-linux-gnu-3.4.5/x86-hardenednopiessp
  [5]   x86_64-pc-linux-gnu-3.4.5/x86-hardenednossp
  [6]   x86_64-pc-linux-gnu-3.4.5/x86-vanilla
  [7]   x86_64-pc-linux-gnu-3.4.6/x86-hardened
  [8]   x86_64-pc-linux-gnu-3.4.6/x86-hardenednopie
  [9]   x86_64-pc-linux-gnu-3.4.6/x86-hardenednopiessp
  [10]  x86_64-pc-linux-gnu-3.4.6/x86-hardenednossp
  [11]  x86_64-pc-linux-gnu-3.4.6/x86-vanilla
Available compilers for CTARGET x86_64-pc-linux-gnu
  [12]  x86_64-pc-linux-gnu-3.4.5/amd64-hardened
  [13]  x86_64-pc-linux-gnu-3.4.5/amd64-hardenednopie
  [14]  x86_64-pc-linux-gnu-3.4.5/amd64-hardenednopiessp
  [15]  x86_64-pc-linux-gnu-3.4.5/amd64-hardenednossp
  [16]  x86_64-pc-linux-gnu-3.4.5/amd64-vanilla
  [17]  x86_64-pc-linux-gnu-3.4.6/amd64-hardened
  [18]  x86_64-pc-linux-gnu-3.4.6/amd64-hardenednopie
  [19]  x86_64-pc-linux-gnu-3.4.6/amd64-hardenednopiessp
  [20]  x86_64-pc-linux-gnu-3.4.6/amd64-hardenednossp
  [21]  x86_64-pc-linux-gnu-3.4.6/amd64-vanilla

Activated profiles:
  i686-pc-linux-gnu         x86_64-pc-linux-gnu-3.4.6/x86-vanilla
  x86_64-pc-linux-gnu *     x86_64-pc-linux-gnu-3.4.6/amd64-vanilla


Don't ask me where it finds gcc-3.4.5 and gcc-4.1.0 since they're not installed anymore, but it seems to work.
Back to top
View user's profile Send private message
jni_
n00b
n00b


Joined: 16 Aug 2004
Posts: 2
Location: Denmark

PostPosted: Wed Apr 19, 2006 11:46 am    Post subject: Stage2 working Reply with quote

I got stage2 to work with crossdev:

Code:

Chip ~ # gcc-config -l
 [1] i386-pc-linux-gnu-3.4.5 *
 [2] i386-pc-linux-gnu-3.4.5-hardenednopie
 [3] i386-pc-linux-gnu-3.4.5-hardenednopiessp
 [4] i386-pc-linux-gnu-3.4.5-hardenednossp
 [5] i386-pc-linux-gnu-3.4.5-vanilla
 [6] powerpc-unknown-linux-gnu-3.4.5 *
 [7] powerpc-unknown-linux-gnu-3.4.5-hardenednopie
 [8] powerpc-unknown-linux-gnu-3.4.5-hardenednopiessp
 [9] powerpc-unknown-linux-gnu-3.4.5-hardenednossp
 [10] powerpc-unknown-linux-gnu-3.4.5-vanilla
Chip ~ #


But I can't seem to get stage4 (default) to work. Same problem with glibc and linux-headers. I have posted my info in the bugreport (#130429) too.
Back to top
View user's profile Send private message
Kelvie
Tux's lil' helper
Tux's lil' helper


Joined: 13 Aug 2004
Posts: 88
Location: Richmond, BC

PostPosted: Sun Apr 30, 2006 7:55 am    Post subject: Reply with quote

I've had the same problem, and the symlink fixed it! I am going to post this on bugzilla (as it appears it is not there yet).

Edit:
Bug 131765
Back to top
View user's profile Send private message
tecknojunky
Veteran
Veteran


Joined: 19 Oct 2002
Posts: 1937
Location: Montréal

PostPosted: Sun Apr 30, 2006 10:49 am    Post subject: Reply with quote

Anyone know why on my box it tries to build gcc-2.7.7 ?!? 8O

The command I issue:
Code:
crossdev -q --target i386 --g 3.4.5-r1 --k 2.6.11-r2 --l 2.3.6-r3
...but specifying --g --b --l or --k change nothing to the issue.

cross-i386-pc-linux-gnu-info.log:
Code:
------------------------------------------------------------------------------------------------------------------------------------------------------------- * Host Portage ARCH:     x86
 * Target Portage ARCH:   x86
 * Target System:         i386-pc-linux-gnu
 * Stage:                 4 (C/C++ compiler)

 * binutils:              binutils-[latest]
 * gcc:                   gcc-3.4.5-r1
 * headers:               linux-headers-2.6.11-r2
 * libc:                  glibc-2.3.6-r3

 * PORTDIR_OVERLAY:       /usr/local/portage
 * PORT_LOGDIR:           /var/log/portage
 * PKGDIR:                /usr/portage/packages/i686-pc-linux-gnu/cross/i386-pc-linux-gnu
 * PORTAGE_TMPDIR:        /var/tmp/cross/i386-pc-linux-gnu
  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -
Gentoo Base System version 1.6.14
Portage 2203-svn (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16-ck6-r1 i686)
=================================================================
System uname: 2.6.16-ck6-r1 i686 Pentium III (Katmai)
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer -ffast-math -msse -mmmx -mfpmath=387,sse -fforce-addr -falign-functions=4 -fprefetch-loop-arrays"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer -ffast-math -msse -mmmx -mfpmath=387,sse -fforce-addr -falign-functions=4 -fprefetch-loop-arrays"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.mirrors.tds.net/gentoo http://gentoo.seren.com/gentoo http://mirror.datapipe.net/gentoo http://adelie.polymtl.ca/ ftp://mirror.datapipe.net/gentoo"
LANG="fr_CA"
LC_ALL="fr_CA"
LINGUAS="fr"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages/i686-pc-linux-gnu/cross/i386-pc-linux-gnu"
PORTAGE_TMPDIR="/var/tmp/cross/i386-pc-linux-gnu"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 3dfx X alsa cdr chroot dga dlloader dmx dvd fbcon flac fltk gphoto2 hal ipv6 jack jit maildir mmx nls nptl oci8 offensive ofx opengl pam pic pie ppds sse usb v4l vim-with-x voodoo3 wmf xfs xosd xprint xrandr xvid video_cards_tdfx linguas_fr userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LDFLAGS


cross-i386-pc-linux-gnu-gcc-stage1.log:
Code:
Calculating dependencies   ^[[33;01m*^[[0m Please upgrade your package (gcc-2.7.2.3) to use toolchain-funcs.eclass
 ^[[33;01m*^[[0m Please upgrade your package (gcc-2.7.2.3) to use toolchain-funcs.eclass
 ^[[33;01m*^[[0m Please upgrade your package (gcc-2.7.2.3) to use toolchain-funcs.eclass
>>> Unpacking source...
>>> Unpacking gcc-2.7.2.3.tar.bz2 to /var/tmp/cross/i386-pc-linux-gnu/portage/gcc-2.7.2.3/work
>>> Source unpacked.
 ^[[33;01m*^[[0m Please upgrade your package (gcc-2.7.2.3) to use toolchain-funcs.eclass
 ^[[32;01m*^[[0m Configuring GCC...
This appears to be a i686-unknown-linux system.
Using `/var/tmp/cross/i386-pc-linux-gnu/portage/gcc-2.7.2.3/work/gcc-2.7.2.3/config/i386/i386.c' to output insns.
Using `/var/tmp/cross/i386-pc-linux-gnu/portage/gcc-2.7.2.3/work/gcc-2.7.2.3/config/i386/i386.md' as machine description file.
Using `/var/tmp/cross/i386-pc-linux-gnu/portage/gcc-2.7.2.3/work/gcc-2.7.2.3/config/i386/linux.h' as target machine macro file.
Using `/var/tmp/cross/i386-pc-linux-gnu/portage/gcc-2.7.2.3/work/gcc-2.7.2.3/config/i386/xm-linux.h' as host machine macro file.
Merged x-linux.
Merged t-linux.
Merged c++ fragment(s).
Created `./Makefile'.
Merged x-linux.
Merged t-linux.
Created `cp/Makefile'.
Links are now set up to build a native compiler for i686-unknown-linux.
/usr/local/portage/cross-i386-pc-linux-gnu/gcc/gcc-2.7.2.3.ebuild: line 149: --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/2.7: Aucun fichier ou répertoir$
!!! ERROR: cross-i386-pc-linux-gnu/gcc-2.7.2.3 failed.
!!! Function src_compile, Line 159, Exitcode 127
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

 ...done!
>>> emerge (1 of 1) cross-i386-pc-linux-gnu/gcc-2.7.2.3 to /
>>> md5 files   ;-) gcc-2.7.2.3.ebuild
>>> md5 files   ;-) files/digest-gcc-2.7.2.3
>>> md5 src_uri ;-) gcc-2.7.2.3.tar.bz2

_________________
(7 of 9) Installing star-trek/species-8.4.7.2::talax.
Back to top
View user's profile Send private message
tecknojunky
Veteran
Veteran


Joined: 19 Oct 2002
Posts: 1937
Location: Montréal

PostPosted: Mon May 01, 2006 5:26 pm    Post subject: Reply with quote

I also have been able to go further, but glibc seem to get jamed at spp. My box is hardenned while my target is not. I tried setting the cross compiler to one of the hardenned version (even vanilla) but glibc keeps stopping there:
Code:
../sysdeps/unix/sysv/linux/ssp.c:24:3: #error ssp.c has to be built w/ -fno-stack-protector

My gcc-config -l:
Code:
 [1] i386-pc-linux-gnu-3.4.5
 [2] i386-pc-linux-gnu-3.4.5-hardenednopie
 [3] i386-pc-linux-gnu-3.4.5-hardenednopiessp
 [4] i386-pc-linux-gnu-3.4.5-hardenednossp
 [5] i386-pc-linux-gnu-3.4.5-vanilla *
 [6] i686-pc-linux-gnu-3.4.5
 [7] i686-pc-linux-gnu-3.4.5-hardenednopie *
 [8] i686-pc-linux-gnu-3.4.5-hardenednopiessp
 [9] i686-pc-linux-gnu-3.4.5-hardenednossp
 [10] i686-pc-linux-gnu-3.4.5-vanilla

The command:
Code:
FEATURES=-distcc MAKEOPTS=-j1 crossdev -q --target i386-pc-linux-gnu --b 2.16.1 --g 3.4.5-r1 --k 2.6.11-r5 --l 2.3.6-r3

The .info:
Code:
Portage 2203-svn (hardened/x86/2.6, gcc-3.4.5-hardenednopie, glibc-2.3.6-r3, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Celeron (Coppermine)
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -ffast-math -msse -mmmx -mfpmath=387,sse -fforce-addr -falign-functions=4 -fprefetch-loop-arrays"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -ffast-math -msse -mmmx -mfpmath=387,sse -fforce-addr -falign-functions=4 -fprefetch-loop-arrays"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo ftp://mirror.datapipe.net/gentoo ftp://194.117.143.72/mirrors/gentoo ftp://194.117.143.70/mirrors/gentoo"
LANG="fr_CA"
LC_ALL="fr_CA"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages/i686-pc-linux-gnu"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X509 acl acpi alsa apache2 ared aredmem berkdb bonobo bzip2 bzlib caps cdb chroot crypt cscope ctype cups curl dbus dio directfb distcache dlloader eep expat fax fbcon ftp fusion gcj gd gdbm gpm hal hardened imap imlib2 innodb intl ipv6 java javadoc jce jikes jpeg junit ldap libedit libwww maildir maildrop makecheck md5sum memlimit mhash mime mmx mono mpi mysql mysqli nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses nethack neural nls nptl oav odbc pam pcre perl perlsuid php pic pie png posix pthreads pwdb readline rrdtool rtc samba sasl session sftplogging sis slang slp snmp soap sockets spamassassin spl sqlite sse ssl struts subject-rewrite sysvipc tcpd threads tidy tiff tokenizer truetype udev unicode usb userlocales v4l v4l2 virus-scan x86 xbase xml xml2 xmlrpc zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LDFLAGS, LINGUAS


How does one go about to get this working? :cry:
_________________
(7 of 9) Installing star-trek/species-8.4.7.2::talax.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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