Summary: | cross-i686-pc-linux-gnu/glibc - conftest.c:1: error: CPU you selected does not support x86-64 instruction set | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Piotr Karbowski (RETIRED) <slashbeast> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED NEEDINFO | ||
Severity: | major | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
log
log build-default-i686-pc-linux-gnu-nptl/config.log |
Description
Piotr Karbowski (RETIRED)
2010-08-24 07:59:16 UTC
all information must be in the bug. you cannot refer to random forums postings. you certainly need to post all the info that crossdev told you to as well as the config.log files the log message told you to Well you are right. ragnarok ~ # crossdev -t i686-pc-linux-gnu ------------------------------------------------------------------------------------------ * crossdev version: 20100814 * Host Portage ARCH: amd64 * Target Portage ARCH: x86 * Target System: i686-pc-linux-gnu * Stage: 4 (C/C++ compiler) * binutils: binutils-[latest] * gcc: gcc-[latest] * headers: linux-headers-[latest] * libc: glibc-[latest] * PORTDIR_OVERLAY: /var/lib/layman/foo-overlay * PORT_LOGDIR: /var/log/portage * PKGDIR: /usr/portage/packages/cross/i686-pc-linux-gnu * PORTAGE_TMPDIR: /root/tmp/cross/i686-pc-linux-gnu _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - * Forcing the latest versions of {binutils,gcc}-config/gnuconfig... [ok] * Log: /var/log/portage/cross-i686-pc-linux-gnu-binutils.log * Emerging cross-binutils... [ok] * Log: /var/log/portage/cross-i686-pc-linux-gnu-linux-headers-quick.log * Emerging cross-linux-headers-quick... [ok] * Log: /var/log/portage/cross-i686-pc-linux-gnu-glibc-headers.log * Emerging cross-glibc-headers... [ok] * Log: /var/log/portage/cross-i686-pc-linux-gnu-gcc-stage1.log * Emerging cross-gcc-stage1... [ok] * Log: /var/log/portage/cross-i686-pc-linux-gnu-linux-headers.log * Emerging cross-linux-headers... [ok] * Log: /var/log/portage/cross-i686-pc-linux-gnu-glibc.log * Emerging cross-glibc... * glibc failed :( * If you file a bug, please attach the following logfiles: * /var/log/portage/cross-i686-pc-linux-gnu-info.log * /var/log/portage/cross-i686-pc-linux-gnu-glibc.log I will attach to this bug both glibc.log and info.log. You can see there 'from foo-overlay' but its just first overlay in my $PORTDIR_OVERLAY, looks like crossdev using it to merge non-portage-tree packages like cross-gcc etc. Created attachment 244381 [details]
log
Created attachment 244383 [details]
log
(In reply to comment #0) > configure: error: cannot compute suffix of object files: cannot compile After that followed: See `config.log' for more details. Please attach that file too. Created attachment 246452 [details]
build-default-i686-pc-linux-gnu-nptl/config.log
try glibc-2.12.1. it works fine for me. do you have app-admin/eselect-compiler installed ? scratch eselect-compiler question; i read the logic wrong. the glibc ebuild specifically sets CC based on the CTARGET which should be i686-pc-linux-gnu-gcc. do you not have this in your /usr/bin/ ? you should since your gcc-stage1 was emerged. |