Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[apr-util] Does not support x86_64
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
MaKKrO
Apprentice
Apprentice


Joined: 04 Oct 2005
Posts: 265
Location: Paris - FRANCE

PostPosted: Mon Aug 27, 2007 8:02 am    Post subject: [apr-util] Does not support x86_64 Reply with quote

Salut,
Encore une fois je me tourne vers vous...
Impossible de compiler apache, alors que je n'ai jamais eu le moindre probleme !!!

Infos :
Code:

localhost ~ # cat /etc/make.conf
CHOST="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CXXFLAGS="${CFLAGS}"

USE=" -X mysql apache2 freeradius pam xml -kde -gnome xml2 ssl"


Code:

localhost ~ # uname -a
Linux localhost 2.6.22-gentoo-r5 #1 SMP Mon Aug 27 09:53:11  x86_64 AMD Athlon(tm) 64 Processor 3000+ AuthenticAMD GNU/Linux


Lors de l'emerge, libtool me parle de "arch=athlon" alors que c'est pas du tout ca dans mon make.conf...

Code:


localhost ~ # emerge apache -pv

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  NS   ] dev-libs/apr-util-0.9.12-r1  USE="berkdb gdbm -ldap" 0 kB
[ebuild  N    ] www-servers/apache-2.0.58-r2  USE="apache2 ssl -debug -doc -ldap -mpm-itk -mpm-leader -mpm-peruser -mpm-prefork -mpm-threadpool -mpm-worker (-selinux) -static-modules -threads" 4,652 kB

Total: 2 packages (1 new, 1 in new slot), Size of downloads: 4,652 kB



Code:

...
creating test/Makefile
creating include/private/apu_config.h
Making all in buckets
make[1]: Entering directory `/var/tmp/portage/dev-libs/apr-util-0.9.12-r1/work/apr-util-0.9.12/buckets'
make[2]: Entering directory `/var/tmp/portage/dev-libs/apr-util-0.9.12-r1/work/apr-util-0.9.12/buckets'
/bin/sh /usr/share/apr-0/build/libtool --silent --mode=compile gcc -pthread  -march=athlon -O2 -pipe -fomit-frame-pointer -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE   -I/var/tmp/portage/dev-libs/apr-util-0.9.12-r1/work/apr-util-0.9.12/include -I/var/tmp/portage/dev-libs/apr-util-0.9.12-r1/work/apr-util-0.9.12/include/private  -I/usr/include/apr-0  -I/usr/include/db4.3   -c apr_buckets_file.c && touch apr_buckets_file.lo
apr_buckets_file.c:1: error: CPU you selected does not support x86-64 instruction set
apr_buckets_file.c:1: error: CPU you selected does not support x86-64 instruction set
make[2]: *** [apr_buckets_file.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-libs/apr-util-0.9.12-r1/work/apr-util-0.9.12/buckets'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-libs/apr-util-0.9.12-r1/work/apr-util-0.9.12/buckets'
make: *** [all-recursive] Error 1

!!! ERROR: dev-libs/apr-util-0.9.12-r1 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 4100:   Called src_compile
  apr-util-0.9.12-r1.ebuild, line 64:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/dev-libs/apr-util-0.9.12-r1/temp/build.log'.



Je comprend qu'il me dise ca, mais je ne pige pas d'ou il sort le -march=athlon ...

Si quelqu'un peut m'aider !!
Merci
_________________
Loisirs = Gentoo / Taff = Gentoo / Pourtant Taff != Loisirs
Back to top
View user's profile Send private message
MaKKrO
Apprentice
Apprentice


Joined: 04 Oct 2005
Posts: 265
Location: Paris - FRANCE

PostPosted: Mon Aug 27, 2007 10:42 am    Post subject: Reply with quote

Personne a une petite idee ???
J'ai runner ca, et ca a marcher !

Code:

localhost ~ #cd /var/tmp/portage/dev-libs/apr-util-0.9.12-r1/work/apr-util-0.9.12/buckets
localhost  buckets # /bin/sh /usr/share/apr-0/build/libtool --silent --mode=compile gcc -pthread  [b]-march=k8[/b] -O2 -pipe -fomit-frame-pointer -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE   -I/var/tmp/portage/dev-libs/apr-util-0.9.12-r1/work/apr-util-0.9.12/include -I/var/tmp/portage/dev-libs/apr-util-0.9.12-r1/work/apr-util-0.9.12/include/private  -I/usr/include/apr-0  -I/usr/include/db4.3   -c apr_buckets_file.c && touch apr_buckets_file.lo


Help !!!
_________________
Loisirs = Gentoo / Taff = Gentoo / Pourtant Taff != Loisirs
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French 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