Summary: | sys-devel/gcc-4.5.3-r1: configure: error: cannot compute suffix of object files: cannot compile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Till Schäfer <till2.schaefer> |
Component: | [OLD] Development | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build log
build log -> the correct one build/x86_64-pc-linux-gnu/libgcc/config.log |
Description
Till Schäfer
2011-10-02 19:43:21 UTC
Created attachment 288597 [details]
build log
What's the error in the config/log, the build log refers you to ? Created attachment 288679 [details]
build log -> the correct one
i uploaded the wrong build log before
Created attachment 288681 [details]
build/x86_64-pc-linux-gnu/libgcc/config.log
error: CPU you selected does not support x86-64 instruction set Perhaps using '-march=native' isn't that good idea for a QEMU_Virtual_CPU_version_0.13.0 - that, or you need to set up the emu differently. Thanks, that was indeed the Problem. Removing march=native lead to propper compilation of gcc. It seems the gcc was using the settings for the host cpu and not ne qemu cpu. Used settings: -march=core2 -mcx16 -msahf -msse4.1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=core2 cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 2 model name : QEMU Virtual CPU version 0.13.0 stepping : 3 cpu MHz : 2500.127 cache size : 4096 KB fpu : yes fpu_exception : yes cpuid level : 4 wp : yes flags : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pse36 clflush mmx fxsr sse sse2 syscall nx lm rep_good nopl pni cx16 hypervisor lahf_lm bogomips : 5000.25 clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: i will try the "-cpu host" setting for kvm. this sould fix it too. |