Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problema con Glib 2.16.5
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
aokmanga
n00b
n00b


Joined: 10 Mar 2005
Posts: 47
Location: Roma

PostPosted: Sat Oct 25, 2008 12:43 am    Post subject: Problema con Glib 2.16.5 Reply with quote

In verità non è un vero e proprio problema... nel mio make.conf ho settato come
CFLAGS march=athlon64

e come CHOST x86_64-pc-linux-gnu

glib con questo make.conf non si compilava

per risolvere ho dovuto modificare in
march=athlon
Chost i686-pc-linux-gnu

Lo scrivo perchè c'ho messo un pò di tempo a capire il problema e quindi può tornare utile a qualcuno.

Ciao e se qualcuno riuscisse a spiegarmi il perchè mi farebbe anche un favore :)

Scusate la descrizione sbrigativa ma è tardi. Se ci sono problemi domani spiego meglio.
Notte!
Back to top
View user's profile Send private message
aokmanga
n00b
n00b


Joined: 10 Mar 2005
Posts: 47
Location: Roma

PostPosted: Sat Oct 25, 2008 12:50 am    Post subject: Reply with quote

stesso problema con libgcrypt...
per il momento lascio il make.conf più stabile e tralascio il 64bit
mi sa che è meglio... altri pacchetti funzionano però...
boh... fatemi sapere... il problema che da in generale è questo...
Code:
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..
-DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED
-DGLIB_COMPILATION -pthread -O2 -pipe -Wall -MT gatomic.lo -MD -MP -MF
.deps/gatomic.Tpo -c gatomic.c  -fPIC -DPIC -o .libs/gatomic.o
{standard input}: Assembler messages:
{standard input}:72: Error: suffix or operands invalid for `cmpxchg'
make[4]: *** [gatomic.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/glib-2.8.5/work/glib-2.8.5/glib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/glib-2.8.5/work/glib-2.8.5/glib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/glib-2.8.5/work/glib-2.8.5/glib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/glib-2.8.5/work/glib-2.8.5'
make: *** [all] Error 2

!!! ERROR: dev-libs/glib-2.8.5 failed.
Call stack:
  ebuild.sh, line 1933:   Called dyn_compile
  ebuild.sh, line 971:   Called src_compile


Il problema è circa questo... copiato da un altra parte ma è identico :I
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Sat Oct 25, 2008 10:39 am    Post subject: Reply with quote

per libgcrypt (come per tutte le librerie simili) i problemi possono derivare da codice assembly inline o uso diretto dei registri della cpu che rendono difficile se non impossibile la portabilità.
In generale per cose del genere faresti bene ad aprire un bug perchè se non mi sbaglio dovrebbero essere supportate sulla tua architettura.
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Back to top
View user's profile Send private message
aokmanga
n00b
n00b


Joined: 10 Mar 2005
Posts: 47
Location: Roma

PostPosted: Sat Oct 25, 2008 2:23 pm    Post subject: Reply with quote

grazie per la risposta... proverò a vedere come funziona la pagina dei bugs :)
Back to top
View user's profile Send private message
aokmanga
n00b
n00b


Joined: 10 Mar 2005
Posts: 47
Location: Roma

PostPosted: Sat Oct 25, 2008 3:05 pm    Post subject: Reply with quote

Non ho mai inserito un bug...
Che ne dici è accettabile?
https://bugs.gentoo.org/show_bug.cgi?id=244310
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Mon Oct 27, 2008 12:48 pm    Post subject: Reply with quote

Dovevi accludere l'output di emerge --info ed log.
Fammi solo capire una cosa: la tua gentoo è "nata" a 64 o a 32 bit?
Perchè puoi cambiare il chost da i486 a i686 ma non a x86_64. Se vuoi usare gentoo a 64 bit devi avviare il chroot da una live a 64 bit ed usare l'apposito stage 3 a 64, non puoi convertire una installazione a 32 a 64.
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Back to top
View user's profile Send private message
aokmanga
n00b
n00b


Joined: 10 Mar 2005
Posts: 47
Location: Roma

PostPosted: Tue Oct 28, 2008 9:16 am    Post subject: Reply with quote

ops... forse era quello il problema allora... lo stage3 mi sembra non fosse quello a 64 bit :?
sinceramente non ricordo comunque... vabbè ultimamente non ho internet a casa quindi mi cimenterò in una nuova installazione in seguito appena arriva
grazie delle informazioni
vi farò sapere
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