gcc-4.5.0 -march=atom -mfpmath=sse => atom N270

gcc-4.5.0 -march=atom -mfpmath=sse => atom N270 - Installation - Linux et OS Alternatifs

Marsh Posté le 17-04-2010 à 20:03:49    

Bonsoir, je n'arrive pas à compiler le compilateur gcc-4.5.0 par lui même avec ceci dans le fichier /etc/make.conf de ma Gentoo, bien que ce soit pourtant les options recommandé "safe" ici
 

Citation :

CHOST="i686-pc-linux-gnu"
CFLAGS="-O2 -march=atom -mtune=atom -mssse3 -mfpmath=sse -fomit-frame-pointer -pipe"
CXXFLAGS="${CFLAGS}"


 
Le compilateur m'envoi chier rapidement :o
 
Je n'ai plus le message exact, mais il y a un truc du genre instruction illégale... (j'ai violé une loi ? :o )
 
Je ne comprends pas puisqu'il s'agit de safe cflags :??: ?

Reply

Marsh Posté le 17-04-2010 à 20:03:49   

Reply

Marsh Posté le 17-04-2010 à 20:09:12    

Tu ne peux pas copier coller le message d'erreur ?

Message cité 1 fois
Message édité par o'gure le 17-04-2010 à 20:09:19

---------------
Relax. Take a deep breath !
Reply

Marsh Posté le 17-04-2010 à 20:19:54    

o'gure a écrit :

Tu ne peux pas copier coller le message d'erreur ?


Citation :


config.status: creating gccbug
config.status: creating ada/gcc-interface/Makefile
config.status: creating ada/Makefile
config.status: creating auto-host.h
config.status: executing default commands
make[2]: quittant le répertoire « /var/tmp/portage/sys-devel/gcc-4.5.0/work/build »
make[1]: *** [stage1-bubble] Erreur 2
make[1]: quittant le répertoire « /var/tmp/portage/sys-devel/gcc-4.5.0/work/build »
make: *** [bootstrap-lean] Erreur 2
 * ERROR: sys-devel/gcc-4.5.0 failed:
 *   emake failed with bootstrap-lean
 *  
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 5041:  Called toolchain_src_compile
 *   environment, line 5610:  Called gcc_src_compile
 *   environment, line 3218:  Called gcc_do_make
 *   environment, line 3008:  Called die
 * The specific snippet of code:
 *       emake LDFLAGS="${LDFLAGS}" STAGE1_CFLAGS="${STAGE1_CFLAGS}" LIBPATH="${LIBPATH}" BOOT_CFLAGS="${BOOT_CFLAGS}" ${GCC_MAKE_TARGET} || die "emake failed with ${GCC_MAKE_TARGET}";
 *  
 * If you need support, post the output of 'emerge --info =sys-devel/gcc-4.5.0',
 * the complete build log and the output of 'emerge -pqv =sys-devel/gcc-4.5.0'.
 * This ebuild is from an overlay: '/usr/local/portage/'
 * The complete build log is located at '/var/tmp/portage/sys-devel/gcc-4.5.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-4.5.0/temp/environment'.
 * S: '/var/tmp/portage/sys-devel/gcc-4.5.0/work/build'
 
>>> Failed to emerge sys-devel/gcc-4.5.0, Log file:
 
>>>  '/var/tmp/portage/sys-devel/gcc-4.5.0/temp/build.log'
 
 * Messages for package sys-devel/gcc-4.5.0:
 
 * ERROR: sys-devel/gcc-4.5.0 failed:
 *   emake failed with bootstrap-lean
 *  
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 5041:  Called toolchain_src_compile
 *   environment, line 5610:  Called gcc_src_compile
 *   environment, line 3218:  Called gcc_do_make
 *   environment, line 3008:  Called die
 * The specific snippet of code:
 *       emake LDFLAGS="${LDFLAGS}" STAGE1_CFLAGS="${STAGE1_CFLAGS}" LIBPATH="${LIBPATH}" BOOT_CFLAGS="${BOOT_CFLAGS}" ${GCC_MAKE_TARGET} || die "emake failed with ${GCC_MAKE_TARGET}";
 *  
 * If you need support, post the output of 'emerge --info =sys-devel/gcc-4.5.0',
 * the complete build log and the output of 'emerge -pqv =sys-devel/gcc-4.5.0'.
 * This ebuild is from an overlay: '/usr/local/portage/'
 * The complete build log is located at '/var/tmp/portage/sys-devel/gcc-4.5.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-4.5.0/temp/environment'.
 * S: '/var/tmp/portage/sys-devel/gcc-4.5.0/work/build'
 
 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


 
J'ai pris large :o
 
Aucun problème en revanche avec:
 

Citation :

CFLAGS="-march=core2 -mssse3 -O2 -mtune=generic -pipe -fomit-frame-pointer"


 
Edit: ah non rien à voir avec illégal, j'ai confondu avec un autre problème que j'avais eu ailleurs  :whistle:


Message édité par Mac Gyver 974 le 17-04-2010 à 20:23:28
Reply

Marsh Posté le 17-04-2010 à 21:19:54    

Qu'y a-t-il dans /var/tmp/portage/sys-devel/gcc-4.5.0/temp/build.log ?

Reply

Marsh Posté le 17-04-2010 à 22:24:03    

paulez a écrit :

Qu'y a-t-il dans /var/tmp/portage/sys-devel/gcc-4.5.0/temp/build.log ?


Citation :


config.status: creating ada/Makefile
config.status: creating auto-host.h
config.status: executing default commands
make[2]: quittant le répertoire « /var/tmp/portage/sys-devel/gcc-4.5.0/work/build »
make[1]: *** [stage1-bubble] Erreur 2
make[1]: quittant le répertoire « /var/tmp/portage/sys-devel/gcc-4.5.0/work/build »
make: *** [bootstrap-lean] Erreur 2
 * ERROR: sys-devel/gcc-4.5.0 failed:
 *   emake failed with bootstrap-lean
 *  
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 5041:  Called toolchain_src_compile
 *   environment, line 5610:  Called gcc_src_compile
 *   environment, line 3218:  Called gcc_do_make
 *   environment, line 3008:  Called die
 * The specific snippet of code:
 *       emake LDFLAGS="${LDFLAGS}" STAGE1_CFLAGS="${STAGE1_CFLAGS}" LIBPATH="${LIBPATH}" BOOT_CFLAGS="${BOOT_CFLAGS}" ${GCC_MAKE_TARGET} || die "emake failed with ${GCC_MAKE_TARGET}";
 *  
 * If you need support, post the output of 'emerge --info =sys-devel/gcc-4.5.0',
 * the complete build log and the output of 'emerge -pqv =sys-devel/gcc-4.5.0'.
 * This ebuild is from an overlay: '/usr/local/portage/'
 * The complete build log is located at '/var/tmp/portage/sys-devel/gcc-4.5.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-4.5.0/temp/environment'.
 * S: '/var/tmp/portage/sys-devel/gcc-4.5.0/work/build'

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed