View previous topic :: View next topic |
Author |
Message |
primat Guru
Joined: 12 Jan 2004 Posts: 437 Location: Berlin
|
Posted: Tue Feb 21, 2006 1:19 pm Post subject: Mein Portage benutzt die falschen CFLAGS |
|
|
Hallo,
ich zweifle so langsam an mir,
in meiner make.conf steht
Quote: |
# Decent examples:
#
#CFLAGS="-mcpu=athlon-xp -O3 -pipe"
CFLAGS="-march=athlon-tbird -O2 -funroll-loops -pipe"
# If you set a CFLAGS above, then this line will set your default C++ flags to
# the same settings. If you don't set CFLAGS above, then comment this line out.
CXXFLAGS="${CFLAGS}"
|
aber emerge info sagt:
Code: | emerge info
Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.12-gentoo-r10 i686)
=================================================================
System uname: 2.6.12-gentoo-r10 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
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.15.92.0.2-r10
sys-devel/libtool: 1.5.20
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O9 -funroll-loops -ffast-math -malign-double -mcpu=pentiumpro -march=pentiumpro -fomit-frame-pointer -fno-exceptions"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/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 /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/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-tbird -O2 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks prelink sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="de_de.utf8"
LINGUAS="de"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage_deutsch"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib alsa apache2 apm arts audiofile avi bash-completion bitmap-fonts bzip2 cdr chroot crypt cups curl de directfb doc dvb dvd eds emboss encode escreen exif expat fam fbcon ffmpeg flac foomaticdb fortran freetype fullrpc gcj gd gdbm gif glut gmp gphoto2 gpm gstreamer gtk gtk2 gtkhtml idn imagemagick imlib ipv6 java jpeg junit kde kqemu lcms libg++ libwww linguas_de mad mhash mikmod mng motif mozcalendar mozdomi moznoirc mozxmlterm mp3 mpeg mupad-noscilab mysql ncurses netboot nls nvidia ogg oggvorbis opengl oss pam pcre pdflib perl png ppds python qt quicktime readline recode scanner sdl slang spell ssl svg svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vim-with-x vorbis win32codecs xemacs xine xml2 xmms xv xvid zlib video_cards_nvidia userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS |
Wo kommen diese gruseligen CFLAGS her?
KAnn mir darauf überhaupt keinen reim machen
Bitte helft mir!
Gruss
primat _________________ Woran erkennt man bei abgeschaltetem Computer, daß Windows installiert ist?
Der RESET-Knopf ist abgenutzt! |
|
Back to top |
|
|
SinoTech Advocate
Joined: 20 Mar 2004 Posts: 2579 Location: Neunkirchen / Saarland / Germany
|
Posted: Tue Feb 21, 2006 1:27 pm Post subject: |
|
|
Hatten erst vor kurzem hier einen ähnlichen Post (Bei dem wahren die CFLAGS auch auf -O9 ...). Wenn ich mich Recht erinnere wurde bei ihm irgendwo eine Variable (CFLAGS) exportiert, welche dann die Einstellungen aus der "make.conf" überlagert hat.
Such am besten mal hier im Forum, das ist noch nicht lange her.
Mfg
Sino
EDIT:
Das hier ist der Thread: rm: `lol' changed dev/ino: Is a directory
Der hat sogar exakt die selben CFLAGS in der Ausgabe von "emerge --info" wie du. |
|
Back to top |
|
|
Anarcho Advocate
Joined: 06 Jun 2004 Posts: 2970 Location: Germany
|
Posted: Tue Feb 21, 2006 1:36 pm Post subject: |
|
|
Das scheint ja so als wenn da irgendwie absicht hinter stehen würde und die bash profile dateien aus dem stage archive kommen.
Klingt nach nem Scherz, oder? _________________ ...it's only Rock'n'Roll, but I like it! |
|
Back to top |
|
|
primat Guru
Joined: 12 Jan 2004 Posts: 437 Location: Berlin
|
Posted: Tue Feb 21, 2006 1:42 pm Post subject: |
|
|
Danke, das wars!
So ein blöder Fehler!
Gruss _________________ Woran erkennt man bei abgeschaltetem Computer, daß Windows installiert ist?
Der RESET-Knopf ist abgenutzt! |
|
Back to top |
|
|
amne Bodhisattva
Joined: 17 Nov 2002 Posts: 6378 Location: Graz / EU
|
Posted: Tue Feb 21, 2006 2:43 pm Post subject: |
|
|
Seltsam, darf ich fragen wo diese CFLAGS hergekommen sind? _________________ Dinosaur week! (Ok, this thread is so last week) |
|
Back to top |
|
|
primat Guru
Joined: 12 Jan 2004 Posts: 437 Location: Berlin
|
Posted: Tue Feb 21, 2006 4:09 pm Post subject: |
|
|
Die kommen, wenn man sich ne .zshrc aus dem Netz saugt und nicht genau anschaut! Warum die Definition der Variable allerdings nach einem su dann in der bash aktiv bleibt habe ich noch nicht ganz verstanden. Vermutlich würde ein su - oder so da helfen!
Gruss
primat _________________ Woran erkennt man bei abgeschaltetem Computer, daß Windows installiert ist?
Der RESET-Knopf ist abgenutzt! |
|
Back to top |
|
|
SinoTech Advocate
Joined: 20 Mar 2004 Posts: 2579 Location: Neunkirchen / Saarland / Germany
|
Posted: Tue Feb 21, 2006 4:27 pm Post subject: |
|
|
primat wrote: | Die kommen, wenn man sich ne .zshrc aus dem Netz saugt und nicht genau anschaut!
[...]
|
In dem anderen thread war diese ".zshrc" wohl schon im Stage Archiv dabei. Bei dir auch oder hast du sie separat heruntergeladen?
Mfg
Sino |
|
Back to top |
|
|
primat Guru
Joined: 12 Jan 2004 Posts: 437 Location: Berlin
|
Posted: Tue Feb 21, 2006 4:52 pm Post subject: |
|
|
Also, soweit ich weiß, gehört die zsh (leider) zu keinem stage Archiv! Ich hab mir das schon selbst eingebrockt!
Ich glaube nicht, dass die irgendwo schon dabei ist!
Gruss _________________ Woran erkennt man bei abgeschaltetem Computer, daß Windows installiert ist?
Der RESET-Knopf ist abgenutzt! |
|
Back to top |
|
|
Earthwings Bodhisattva
Joined: 14 Apr 2003 Posts: 7753 Location: Germany
|
Posted: Tue Feb 21, 2006 7:22 pm Post subject: |
|
|
Kannst du bitte raussuchen, wer/wo das verbreitet wird? _________________ KDE |
|
Back to top |
|
|
|