Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Changing CHOST
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
marcus075
n00b
n00b


Joined: 21 Feb 2006
Posts: 30
Location: Jaworzno; Poland

PostPosted: Sun Sep 10, 2006 9:08 pm    Post subject: Changing CHOST Reply with quote

Hello.
I have one little problem with my /etc/make.conf file. I was triyng to update Glibc, but...

Code:

>>> Emerging (1 of 4) sys-libs/glibc-2.4-r3 to /
>>> checking ebuild checksums ;-)
(1 z 4) Sprzątanie sys-libs/glibc-2.4-r3
(1 z 4) Kompilowanie/scalanie sys-libs/glibc-2.4-r3
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking glibc-2.4.tar.bz2 ;-)
>>> checking glibc-ports-2.4.tar.bz2 ;-)
>>> checking glibc-libidn-2.4.tar.bz2 ;-)
>>> checking glibc-2.4-patches-1.17.tar.bz2 ;-)
>>> checking glibc-linuxthreads-20060605.tar.bz2 ;-)
>>> checking glibc-powerpc-cpu-addon-v0.01.tgz ;-)
 * glibc-2.4 is nptl-only!
 * NPTL requires a CHOST of i486 or better
!!! ERROR: sys-libs/glibc-2.4-r3 failed.
Call stack:
  ebuild.sh, line 1555:   Called dyn_setup
  ebuild.sh, line 668:   Called pkg_setup
  glibc-2.4-r3.ebuild, line 1079:   Called die
!!! please add USE='nptl nptlonly' to make.conf
!!! If you need support, post the topmost build error, and the call stack if relevant.


So, I added 'nptl nptlonly' to USE in /etc/make.conf... And now this file jest like that:

Code:

# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CHOST="i386-pc-linux-gnu"
CFLAGS="-march=athlon -O2 -s -pipe -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT"
CXXFLAGS="-march=athlon -O2 -s -pipe -DNDEBUG -DG_DISABLE_ASSERT"
LDFLAGS="-s -z combreloc"
MAKEOPTS="-j2"
USE="-xprint -eds -esd -xmms -mozilla -gnome -apm -ipv6 -samba -arts -oss nptl fbcon gpm vidix sqlite berkdb ffmpeg a52 xvid aac dv aalib dga dvd dts dvdread v4l flac svga ncurses xv nvidia cdr alsa slang readline mmx sse gdbm tcltk 3dnow tcpd pam ssl nls perl python gif mad xml xml2 imlib sdl vorbis gtk gtk2 X qt motif opengl png tiff usb cairo nvidia kde hal cups crypt idn dri nptl nptlonly"
LINGUAS="pl"
PORTDIR_OVERLAY="$PORTDIR_OVERLAY
/usr/local/portage
/usr/portage/local/layman/portage-xgl"
INPUT_DEVICES="keyboard mouse"
VIDEO_CARDS="nvidia"


I asked my friend and he told me that I should change CHOST="i386-pc-linux-gnu" to CHOST="i686-pc-linux-gnu", and everything'll be ok. But he said also that he's not sure if everything will be ok with my Gentoo...

So my question is: is it safe to change CHOST? Do I have to change sth else?

Thx for answer.
Back to top
View user's profile Send private message
amne
Bodhisattva
Bodhisattva


Joined: 17 Nov 2002
Posts: 6378
Location: Graz / EU

PostPosted: Sun Sep 10, 2006 9:15 pm    Post subject: Reply with quote

Right, you need to change your CHOST - Weird CHOST settings causing compile mixup - Changing CHOST should answer all your questions, if not please post them there.

Moved from Other Things Gentoo to Duplicate Threads.
_________________
Dinosaur week! (Ok, this thread is so last week)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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