Summary: | cross-x86_64-pc-linux-gnu/binutils-2.22-r1 - configure:4060: i686-pc-linux-gnu-gcc -O2 -march=pentium4 ... // conftest.c:1:0: error: CPU you selected does not support x86-64 instruction set | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Vu Tran Kien <vutrankien.vn> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | Tanktalus, vutrankien.vn |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
crossdev info
crossdev binutils build log binutils config.log cross-binutil environment file |
Description
Vu Tran Kien
2012-05-20 09:17:37 UTC
1) Please attach to this bug report all files that the crossdev output mentions. Created attachment 312473 [details]
crossdev info
Created attachment 312475 [details]
crossdev binutils build log
Created attachment 312477 [details]
binutils config.log
Sorry I've forgot. Here you are! configure: error: in `/var/tmp/portage/cross-x86_64-pc-linux-gnu/binutils-2.22-r1/work/build': configure: error: C compiler cannot create executables See `config.log' for more details. Now, should crossdev filter these out or should the toolchain ebuilds handle it themselves? i686 is not a valid ABI the error you posted makes no sense. what do you see if you run: $ echo 'main(){}' > test.c $ i686-pc-linux-gnu-gcc -O2 -march=pentium4 -mtune=pentium4 -Wl,-O1 \ -Wl,--as-needed test.c the two command exitted successfully. file ./a.out gives: ./a.out: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not stripped Created attachment 313023 [details]
cross-binutil environment file
May be the environment file will help
*** Bug 431524 has been marked as a duplicate of this bug. *** binutils-2.22-r1 is long gone. |