Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge -e system schlägt aufgrund von march=pentium-m fehl
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
teufel2k
n00b
n00b


Joined: 14 Jul 2005
Posts: 34

PostPosted: Mon Feb 06, 2006 6:38 pm    Post subject: emerge -e system schlägt aufgrund von march=pentium-m fehl Reply with quote

Hi Gentoo-Freudne,

ich habe vor ein paar Wochen mein System auf GCC 3.4 umgestellt und habe mich an die Anleitung hier im Forum gehalten. Ich habe die schnelle Lösung mit rev-dep-rebuild bevorzugt.
Nun wollte ich ein emerge -e world bzw. system hinterherschieben.
Allerdings habe ich das Problem, dass der Kompiliervorgang bei den binutils mit folgender Fehlerneldung abbricht:

Code:

checking for unlink... cc1: error: bad value (pentium-m) for -march= switch
cc1: error: bad value (pentium-m) for -mcpu= switch


Mist dachte ich, und bin zu dem entschluss gekommen, dass ich irgendwie mein altes GCC wieder installieren müsste? Jedenfalls ging das auch nicht, siehe folgende Fehlermeldung, aber ich glaube das ist auch nicht der richtige ansatz, da ich da
Code:
sys-libs/libstdc++-v3-3.3.4

installiert hatte und immernoch drauf habe.

Kann mir wer weiterhelfen, knobel schon seit Tagen daran rum.

Viele Grüße,
Teufel
Back to top
View user's profile Send private message
buthus
Guru
Guru


Joined: 17 May 2005
Posts: 429
Location: Bell, Germany

PostPosted: Mon Feb 06, 2006 6:43 pm    Post subject: Reply with quote

amne wrote:
Warnung: Bitte jetzt noch keine neuen, nur von gcc 3.4 unterstützten CFLAGS wie -march=pentium-m setzen, falls nocheinmal gcc 3.3.6 übersetzt wird geht das nämlich daneben. 3.4.4 kennt "mcpu=" nicht mehr, stattdessen sollte -march oder -mtune verwendet werden.
Back to top
View user's profile Send private message
teufel2k
n00b
n00b


Joined: 14 Jul 2005
Posts: 34

PostPosted: Mon Feb 06, 2006 6:45 pm    Post subject: Reply with quote

Ich dachte, dass gilt bis ich mit dem rev-dep-rebuild fertig bin. Hmmm, schade und was kann ich jetzt machen?
Back to top
View user's profile Send private message
amne
Bodhisattva
Bodhisattva


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

PostPosted: Mon Feb 06, 2006 6:46 pm    Post subject: Reply with quote

Verstehe ich das richtig, du hast gcc 3.4.4 installiert, gcc 3.3.x deinstalliert und sys-libs/libstdc++-v3-3.3.4 installiert?
_________________
Dinosaur week! (Ok, this thread is so last week)
Back to top
View user's profile Send private message
teufel2k
n00b
n00b


Joined: 14 Jul 2005
Posts: 34

PostPosted: Mon Feb 06, 2006 6:47 pm    Post subject: Reply with quote

sorry dass ich manchmal in rätseln spreche :roll: , aber du hast das richtig verstanden. :)

HALT: ich dachte du willst den Zustand wissen, nein, ich habe erst libstdc++-v3-3.3.4 installiert und dann gcc-3.3.4 deinstalliert

Aber was bringt denn march=pentium-m wenn man es doch nicht setzen darf oder habe ich da jetzt was falsch verstanden?
Back to top
View user's profile Send private message
amne
Bodhisattva
Bodhisattva


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

PostPosted: Mon Feb 06, 2006 7:07 pm    Post subject: Reply with quote

Seltsam, wenn gcc 3.3.x nicht mehr da ist sollte dieser Fehler nicht mehr auftreten können - nur gcc 3.3.x scheitert daran. Kannst du einmal dein emerge --info posten?
_________________
Dinosaur week! (Ok, this thread is so last week)
Back to top
View user's profile Send private message
teufel2k
n00b
n00b


Joined: 14 Jul 2005
Posts: 34

PostPosted: Mon Feb 06, 2006 7:11 pm    Post subject: Reply with quote

Juchu, darf ich die hier auch mal posten, ich bin für jegliche verbesserungen offen 8)

Code:

emerge --info
Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-suspend2 i686)
=================================================================
System uname: 2.6.15-suspend2 i686 Intel(R) Pentium(R) M processor 1400MHz
Gentoo Base System version 1.12.0_pre15
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
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="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo ftp://ftp://gd.tuwien.ac.at/opsys/linux/gentoo"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi alsa arts audiofile avi berkdb bidi bitmap-fonts browserplugin bzip2 cdda cdio cdr clflush cmov crypt cups curl cx8 de dhcp divx4linux dts dvd dvdread eds emboss encode esd est exif expat fam fbsplash ffmpeg firefox flac foomaticdb fortran fpu freetype fxsr gd gdbm gif glut gmp gnutls gpm gstreamer gtk gtk2 gtkhtml httpd i8x0 idn imagemagick imlib ipv6 ithreads java jpeg junit kde lcms libg++ libwww live mad matroska mca mce mhash mikmod mmx mng motif mp3 mpeg mppe-mppc msn msr mtrr mysql nas ncurses nls ogg oggvorbis opengl pam pat pbe pcmcia pcre pdflib perl pge png pnp postgres ppds pse python qt quicktime rdesktop readline samba sdl sep skins slang spell sse sse2 ssl stream svga tcpd theora tiff tm tm2 truetype truetype-fonts tsc type1-fonts udev unicode usb vcd vlm vme vorbis wifi wxwindows xine xml xml2 xmms xv xvid zlib linguas_de userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS


Gruß
Teufel
Back to top
View user's profile Send private message
amne
Bodhisattva
Bodhisattva


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

PostPosted: Mon Feb 06, 2006 7:17 pm    Post subject: Reply with quote

Ich sehe dass du distcc verwendest, läuft auf dem/den helfenden Rechner(n) auch schon gcc 3.4.4?
Auch wenn ja, probier mal distcc ausschalten.
_________________
Dinosaur week! (Ok, this thread is so last week)
Back to top
View user's profile Send private message
teufel2k
n00b
n00b


Joined: 14 Jul 2005
Posts: 34

PostPosted: Mon Feb 06, 2006 7:37 pm    Post subject: Reply with quote

tatsache, das war es, jetzt läuft er wieder mit distcc weiter.
Ist das ein Bug in binutils?

Ich hoffe der macht nicht nochmal solche mucken, habe keine Lust bei dem emerge -e world auf distcc zu verzichten ;)

Danke für die Hilfe

Gruß
Teufel
Back to top
View user's profile Send private message
Dr. Nein
Tux's lil' helper
Tux's lil' helper


Joined: 23 Apr 2005
Posts: 100
Location: Jülich

PostPosted: Mon Feb 06, 2006 8:10 pm    Post subject: Reply with quote

teufel2k wrote:
tatsache, das war es, jetzt läuft er wieder mit distcc weiter.
Ist das ein Bug in binutils?


Nein das liegt warscheinlich daran, dass ein über distcc eingespannter gcc noch nicht auf Version 3.4 upgegradet ist.
Back to top
View user's profile Send private message
teufel2k
n00b
n00b


Joined: 14 Jul 2005
Posts: 34

PostPosted: Mon Feb 06, 2006 9:49 pm    Post subject: Reply with quote

Also upgegraded ist er, andere Packete werden ja auch brav gemerged, nur leider binutils und jetzt auch glib machen probleme. :-(
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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