Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Stranezza USE flags
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
paraw
Apprentice
Apprentice


Joined: 07 Jan 2005
Posts: 169
Location: Stara Zagora (BG)

PostPosted: Sun Oct 16, 2005 5:19 am    Post subject: Stranezza USE flags Reply with quote

Ciao a tutti. Volevo chiedervi un parere su una stranezza che ho notato. Nel mio make.conf (o in /etc/portage/package.use) ho impostato delle USE flags generali o solo per alcuni determinati pacchetti. La stranezza è che sembra che alcune USE flags vengano effettivamente usate, altre invece vengano sistematicamente ignorate. Vi faccio un esempio: ho impostato nel make.conf la flag sse. Ora, se controllo con equery oppure con usetool quali pacchetti sono stati compilati con la flag sse scopro che nessun pacchetto la usa. La cosa interessante è che se faccio un emerge --pretend --update --deep --newuse world, nessun pacchetto risulta da ricompilare, come se effettivamente fossero stati compilati tutti con le flag giuste. Com'è possibile? E come si può far accettare le flag? Thx! :)
Back to top
View user's profile Send private message
Luca89
Advocate
Advocate


Joined: 27 Apr 2005
Posts: 2107
Location: Agrigento (Italy)

PostPosted: Sun Oct 16, 2005 7:30 am    Post subject: Reply with quote

Prova a postare l'output di "emerge --info" così vediamo se sono effettivamente attive.
Back to top
View user's profile Send private message
bandreabis
Advocate
Advocate


Joined: 18 Feb 2005
Posts: 2495
Location: イタリアのロディで

PostPosted: Sun Oct 16, 2005 7:46 am    Post subject: Reply with quote

Credo che in genere l'uso delle USE dipenda se i pacchetti le supportano. Non so in particolare sse sia supportata da qualche programma, ma non è detto che una USE sia disponibile per ogni pacchetto.

IMHO.
Back to top
View user's profile Send private message
SilverXXX
l33t
l33t


Joined: 18 Sep 2004
Posts: 885

PostPosted: Sun Oct 16, 2005 8:15 am    Post subject: Reply with quote

Le use (specie quelle più spinte) possono venire filtrate da certi pacchetti. Per esempio uno che filtra motlo è openoffice.
_________________
about:mozilla
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Sun Oct 16, 2005 8:36 am    Post subject: Reply with quote

SilverXXX wrote:
Le use (specie quelle più spinte) possono venire filtrate da certi pacchetti. Per esempio uno che filtra motlo è openoffice.


Ma quelle non sono le CFLAGS e/o CXXFLAGS :?:

@paraw: Per favore puoi postare un
Code:
cat /proc/cpuinfo
?
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
SilverXXX
l33t
l33t


Joined: 18 Sep 2004
Posts: 885

PostPosted: Sun Oct 16, 2005 8:43 am    Post subject: Reply with quote

:oops: è vero... :oops:
:cry: non devo rispondere hai post la mattina appena sveglio, connetto poco :)
_________________
about:mozilla
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Sun Oct 16, 2005 8:47 am    Post subject: Re: Stranezza USE flags Reply with quote

paraw wrote:
La cosa interessante è che se faccio un emerge --pretend --update --deep --newuse world, nessun pacchetto risulta da ricompilare, come se effettivamente fossero stati compilati tutti con le flag giuste. Com'è possibile? E come si può far accettare le flag? Thx! :)


Perché non tutti i pacchetti usano una determinata USE Flag.
Ci sono pacchetti che non hanno USE particolari.
Ci sono aptri pacchetti che ne hanno qualcuna.
Ci sono altri ancora che ne hanno una moltitudine.

Quindi "accettare" una USE flag: basta metterla nel make.conf

Nel tuo caso (sse) un esempio di pacchetto che la usa é mplayer
_________________
Ciao da me!
Back to top
View user's profile Send private message
paraw
Apprentice
Apprentice


Joined: 07 Jan 2005
Posts: 169
Location: Stara Zagora (BG)

PostPosted: Sun Oct 16, 2005 6:17 pm    Post subject: Reply with quote

Sì, lo so che non tutti i pacchetti usano una determinata use flag. Ma, ad esempio, se controllo transcode, che dovrebbe avere sse, esso non risulta compilato con sse. E in ogni caso tutti i pacchetti che dovrebbero utilizzare sse non risultano compilati con sse. Questo vale anche per altre use flags, e la cosa davvero mi pare strana, nel senso che non ne immagino proprio il motivo. 8O
By the way, questo è l'output di emerge --info, dal quale si vede che sse e le altre use che non vanno non sono effettivamente abilitate.
Code:
Portage 2.0.51.22-r3 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.13-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.13-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3400+
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     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="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -mfpmath=sse -mmmx -msse -msse2 -m3dnow -mno-push-args -maccumulate-outgoing-args -minline-all-stringops -O3 -pipe -fforce-addr -finline-limit=10000 -ftracer -fprefetch-loop-arrays -fbranch-target-load-optimize"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/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/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=athlon64 -mfpmath=sse -mmmx -msse -msse2 -m3dnow -mno-push-args -maccumulate-outgoing-args -minline-all-stringops -O3 -pipe -fforce-addr -finline-limit=10000 -ftracer -fprefetch-loop-arrays -fbranch-target-load-optimize"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://adelie.polymtl.ca/ http://gentoo.cs.lewisu.edu/gentoo/ ftp://linux.cs.lewisu.edu/gentoo/"
LANG="it.utf8"
LC_ALL="it.utf8"
LINGUAS="it"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac alsa arts audiofile avi bash-completion berkdb bitmap-fonts cdr cjk crypt cups curl dga directfb dv dvd dvdr dvdread eds encode esd exif fam fbcon ffmpeg flac foomaticdb fortran ggi gif gpm gstreamer gtk gtk2 hal ieee1394 imagemagick imlib ipv6 java javascript jpeg kde kerberos krb4 lcms libwww lzw lzw-tiff mad mikmod mng motif mp3 mpeg mpi nas ncurses nls nptl ogg oggvorbis opengl oss pam pcmcia pdflib perl png ppds python qt quicktime readline samba sdl slang sndfile socks5 speex spell ssl svg tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts unicode usb userlocales vcd vorbis wmf xine xml xml2 xmms xpm xprint xv xvid zlib linguas_it userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, PORTDIR_OVERLAY

Vi assicuro che nel make.conf sse (e le altre che danno problemi) ci sono! Ah, l'emerge --info mi dà come attive anche delle use flag che io NON ho settato! Davvero non capisco.

Queste sono le info di cpuinfo.
Code:
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 15
model           : 4
model name      : AMD Athlon(tm) 64 Processor 3400+
stepping        : 10
cpu MHz         : 1801.061
cache size      : 1024 KB
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext lm 3dnowext 3dnow
bogomips        : 3606.58
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp

Vi prego di credermi, non sono tanto niubbo (anche se spesso faccio caxxate enormi perché sono distratto :lol: ), e le cose "banali" le ho già controllate. :wink: However... HELP!
Back to top
View user's profile Send private message
SilverXXX
l33t
l33t


Joined: 18 Sep 2004
Posts: 885

PostPosted: Sun Oct 16, 2005 6:19 pm    Post subject: Reply with quote

Alcune use sono di default e si ereditano dal profilo. Per i pacchetti non saprei, so che i CFLAG si filtrano, ma non pensavo si filtrassero le use.
_________________
about:mozilla
Back to top
View user's profile Send private message
makoomba
Bodhisattva
Bodhisattva


Joined: 03 Jun 2004
Posts: 1856

PostPosted: Sun Oct 16, 2005 6:24 pm    Post subject: Reply with quote

posta la sezione USE del tuo make.conf
Back to top
View user's profile Send private message
paraw
Apprentice
Apprentice


Joined: 07 Jan 2005
Posts: 169
Location: Stara Zagora (BG)

PostPosted: Sun Oct 16, 2005 6:34 pm    Post subject: Reply with quote

Eccola qua, come dicevo le use ci sono...
Code:
USE="3dnow a52 aac audiofile cjk dga divx4linux dv dvd dvdr dvdread exif fbcon ffmpeg hal ieee1394 java javascript kerberos krb4 lcms mmx mng mpi multilib nptl oggvorbis oss pcmcia ppds slp sndfile socks5 sse svg svga theora threads truetype unicode vcd wmf xml xprint xvid -aalib -accessibility -acl -afs -altivec -apm -emboss -gnome"
Back to top
View user's profile Send private message
paraw
Apprentice
Apprentice


Joined: 07 Jan 2005
Posts: 169
Location: Stara Zagora (BG)

PostPosted: Sun Oct 16, 2005 9:26 pm    Post subject: Reply with quote

Nessuna idea?
Back to top
View user's profile Send private message
AIgor
n00b
n00b


Joined: 27 Apr 2004
Posts: 60
Location: Perugia - Italy

PostPosted: Mon Oct 17, 2005 9:24 am    Post subject: Reply with quote

Dai dati che hai postato suppongo che tu abbia fatto un'istallazione a 64 bit. In questo caso alcune USE non sono utilizzate in fase di compilazione (con un emerge -pv vedrai che sono tra parentesi). Il motivo è spiegato nelle technonotes.
_________________
Russian roulette - bash edition:
Code:
root@localhost ~ # [ $[$RANDOM % 6] == 0 ] && rm -rf / || echo "You live"
Back to top
View user's profile Send private message
makoomba
Bodhisattva
Bodhisattva


Joined: 03 Jun 2004
Posts: 1856

PostPosted: Mon Oct 17, 2005 9:24 am    Post subject: Reply with quote

le flags che ti danno problemi vengono filtrate nell'use.mask del tuo profilo e/o dei suoi parent
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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