Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Script per gestire LDFLAG --as-needed
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) Forum di discussione italiano
View previous topic :: View next topic  
Author Message
=DvD=
Veteran
Veteran


Joined: 25 Mar 2004
Posts: 1353

PostPosted: Fri Jun 23, 2006 7:01 pm    Post subject: Script per gestire LDFLAG --as-needed Reply with quote

Mi sono ritrovato a compilare world con questa benedetta LDFLAG, che pare funzioni bene, quando funziona.
Ora: su circa 500 pacchetti mi si e' fermato una decina di volte. Allora a mano dopo che un pacchetto fallisce do
Code:
LDFLAGS="" emerge --resume
gli faccio compilare il primo e poi lo interrompo e do un emerge --resume senza azzerare le LDFLAGS.
C'e' un modo (si che c'e') per fare uno scriptino e far fare questa cosa a lui?
io voglio che lanci emerge --resume, quando fallisce lancia
Code:
LDFLAGS="" emerge $pacchetto_fallito
e poi continua dal pacchetto successivo, fino al prossimo errore.
Idee?
Back to top
View user's profile Send private message
zolar czakl
Apprentice
Apprentice


Joined: 25 Sep 2004
Posts: 162
Location: UMRK

PostPosted: Fri Jun 23, 2006 8:15 pm    Post subject: Reply with quote

Guarda qui
https://forums.gentoo.org/viewtopic-t-469501.html

e' un modulo previsto per la prossima versione.
Back to top
View user's profile Send private message
=DvD=
Veteran
Veteran


Joined: 25 Mar 2004
Posts: 1353

PostPosted: Fri Jun 23, 2006 8:46 pm    Post subject: Reply with quote

Ma non e' quello che vorrei fare io :)
Back to top
View user's profile Send private message
zolar czakl
Apprentice
Apprentice


Joined: 25 Sep 2004
Posts: 162
Location: UMRK

PostPosted: Fri Jun 23, 2006 11:37 pm    Post subject: Reply with quote

...capito male :oops:

"Non ti interessa sapere" chi ha problemi ma
avere un sistema che funzioni al buio, ricompilando senza --as-needed nel caso di errori.
Back to top
View user's profile Send private message
=DvD=
Veteran
Veteran


Joined: 25 Mar 2004
Posts: 1353

PostPosted: Sat Jun 24, 2006 9:32 am    Post subject: Reply with quote

esatto... grezzamente =D
Back to top
View user's profile Send private message
Cazzantonio
Bodhisattva
Bodhisattva


Joined: 20 Mar 2004
Posts: 4514
Location: Somewere around the world

PostPosted: Sat Jun 24, 2006 10:13 am    Post subject: Reply with quote

mmmm... preferisco anche io l'idea del bashrc :)

Se hai intenzione di cimentarti nella ricompilazione del mondo magari prova a fare una lista dei pacchetti che non compilano con quella LDFLAG in modo da aiutare le generazioni future :wink:
Io a suo tempo scartai quella flag perché mi accorsi che alcuni pacchetti non compilavano perché le loro dipendenze erano state compilate con quella flag...
visto che il problema rischiava di ramificarsi ho preferito rinunziare del tutto alla flag :)

P.S. per inciso è una delle rarissime flag che velocizzano davvero il sistema!
_________________
Any mans death diminishes me, because I am involved in Mankinde; and therefore never send to know for whom the bell tolls; It tolls for thee.
-John Donne
Back to top
View user's profile Send private message
!equilibrium
Bodhisattva
Bodhisattva


Joined: 06 Jun 2004
Posts: 2109
Location: MI/BG/LC

PostPosted: Sat Jun 24, 2006 4:15 pm    Post subject: Reply with quote

ma soprattutto: http://www.gentoo.org/proj/en/qa/asneeded.xml

seguite la via ufficiale ;)
_________________
Arch Tester for Gentoo/FreeBSD
Equilibrium's Universe

all my contents are released under the Creative Commons Licence by-nc-nd 2.5
Back to top
View user's profile Send private message
=DvD=
Veteran
Veteran


Joined: 25 Mar 2004
Posts: 1353

PostPosted: Sat Jun 24, 2006 4:35 pm    Post subject: Reply with quote

Lo so, l'ho letta, ma io volevo solo fare una prova per vedere se davvero il sistema va piu' veloce.
E per farla mi serve uno script che faccia quello che ho scritto... In realta' ormai ho fatto a mano, manca poco.
Dopo la prova togliero' la flag: ho visto che e' ancora prematuro metterla nel make.conf.
Di certo poi posto gli ebuild che non hanno compilato sui bugs, anche se essendo ~ppc non so quando sia influente la cosa :)
Back to top
View user's profile Send private message
comio
Advocate
Advocate


Joined: 03 Jul 2003
Posts: 2191
Location: Taranto

PostPosted: Sat Jun 24, 2006 4:39 pm    Post subject: Reply with quote

Potremmo aggiornare questo https://forums.gentoo.org/viewtopic-t-474208.html man mano che troviamo i problemi.

ciao
_________________
RTFM!!!!

e

http://www.comio.it
:)
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Sat Jun 24, 2006 7:25 pm    Post subject: Reply with quote

comio wrote:
Potremmo aggiornare questo https://forums.gentoo.org/viewtopic-t-474208.html man mano che troviamo i problemi.

ciao


Ottima idea :-)
_________________
Ciao da me!
Back to top
View user's profile Send private message
comio
Advocate
Advocate


Joined: 03 Jul 2003
Posts: 2191
Location: Taranto

PostPosted: Sat Jun 24, 2006 7:41 pm    Post subject: Reply with quote

Basta modificare perpackage.module di bashrc-ng per ottenere il filtraggio delle flags (Vedi https://forums.gentoo.org/viewtopic-t-469501.html).

ciao
_________________
RTFM!!!!

e

http://www.comio.it
:)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano 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