Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[TIP][PORTAGE] Raccolta di CFLAGS/USE x ebuild problematici
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) Risorse italiane (documentazione e tools)
View previous topic :: View next topic  
Author Message
FonderiaDigitale
Veteran
Veteran


Joined: 06 Nov 2003
Posts: 1710
Location: Rome, Italy

PostPosted: Wed Jun 23, 2004 6:57 am    Post subject: [TIP][PORTAGE] Raccolta di CFLAGS/USE x ebuild problematici Reply with quote

Credo che per semplificare la vita a chi come me ha avuto modo di combattere con programmi delicati e sensibili a cflags strane, sia opportuno raccoglierle in un 'contenitore' per future referenze.

Ricordo che per emergere un pacchetto, non e' necessario per forza mettere le mani al make.conf, ma si puo' passare da linea di comando la variabile CFLAGS prima dell'emerge (d'altra parte questo vale anche per le altre variabili del make.conf!)

Code:
CFLAGS="......" emerge pacchetto


Queste quelle che ho avuto modo di incontrare e ricordare io:
Code:
# libnids: aggiungere -fno-PIC
# synaptics: usare "-O2 -march=pentium4 -pipe -fomit-frame-pointer"
# mozilla-firefox,xorg-x11,gaim,fwvm non apprezzano -fweb (gcc 3.4)
# xine-lib: usare "-march=pentium -fomit-frame-pointer -pipe -O2"
# cryptplug: CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe -ftracer" emerge cryptplug



ps. prego di commentare in un thread separato, chi vuole rispondere qua e' pregato solo di listare/aggiungere altre cflags.
se volete che le aggiungo al post mandatemi un pm.
_________________
Come disse un amico, i sistemisti sono un po' come gli artigiani per l'informatica :)


Last edited by FonderiaDigitale on Thu Jun 24, 2004 1:56 am; edited 2 times in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30884
Location: here

PostPosted: Wed Jun 23, 2004 8:47 am    Post subject: Re: [TIP][PORTAGE] Raccolta di CFLAGS per ebuild problematic Reply with quote

FonderiaDigitale wrote:
Credo che per semplificare la vita a chi come me ha avuto modo di combattere con programmi delicati e sensibili a cflags strane

Come per esempio questo

PS: come non detto l'hai gia' citato.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
koma
Advocate
Advocate


Joined: 06 Jun 2003
Posts: 2702
Location: Italy

PostPosted: Wed Jun 23, 2004 9:48 am    Post subject: Reply with quote

<ot>
fedeli perdi colpi ultimamente correggi il 70 percento dei post che metti :D :lol:
</ot>
_________________
http://www.youtube.com/watch?v=_yoJI-Tl94g GLORY GLORY HYPNOTOAD
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


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

PostPosted: Wed Jun 23, 2004 8:26 pm    Post subject: Reply with quote

Per compilare correttamente apcupsd bisogna disattivare snmp.

Code:

gutter@morpheus gutter $ cat /etc/portage/package.use
# Disable SNMP support for apcupsd (doesn't work)
sys-apps/apcupsd -snmp

_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
FonderiaDigitale
Veteran
Veteran


Joined: 06 Nov 2003
Posts: 1710
Location: Rome, Italy

PostPosted: Sat Jul 03, 2004 8:40 am    Post subject: Reply with quote

Xorg-x11 / GCC 3.4: pare che ci sia un bug nelle ottimizzazioni per pentium4, degradare d'architettura non serve.
soluzione:
Code:
CFLAGS="-O1 -march=pentium4 -pipe -fomit-frame-pointer" emerge xorg-x11

oppure usare gcc 3.3
Code:
gcc-config 1
# nel caso che 1 sia gcc 3.3. i profili si vedono con gcc-config -l
source /etc/profile
emerge xorg-x11
gcc-config 2
source /etc/profile

_________________
Come disse un amico, i sistemisti sono un po' come gli artigiani per l'informatica :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Risorse italiane (documentazione e tools) 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