Bug 107

Summary: configure don't detect x86_64 architecture
Product: LinuxSampler Reporter: Anders Dahnielson <anders>
Component: otherAssignee: Andreas Persson <andreas56>
Status: CLOSED FIXED    
Severity: normal    
Priority: P2    
Version: SVN Trunk   
Hardware: PC   
OS: Linux   
URL: https://bb.linuxsampler.org/viewtopic.php?f=6&t=212
Attachments: Detect x86_64 architecture

Description Anders Dahnielson 2008-10-04 13:28:49 CEST
The configure script do not detect the x86_64 architecture as an x86 architecture.
Comment 1 Anders Dahnielson 2008-10-04 13:29:25 CEST
Created attachment 40 [details]
Detect x86_64 architecture
Comment 2 Anders Dahnielson 2008-10-04 13:43:12 CEST
Actually that doesn't solves it all. The architecture flag need to be

-march=nocona

on my Intel box and not

-march=x86_64
Comment 3 Andreas Persson 2008-11-30 10:18:40 CET
I committed your fix plus I also changed configure not to set any value at all
for -march if the architecture is x86_64. -march=nocona is not good for AMD
cpus, -march=x86-64 is undocumented and I guess that the compiler can create
optimized code anyway, as it already knows that the architecture is 64 bit.
Comment 4 Andreas Persson 2008-12-02 22:14:13 CET
Changing bug status to resolved, see previous comment
Comment 5 Christian Schoenebeck 2008-12-11 02:48:13 CET
Closing this report now.

If you feel that this issue is not fixed yet Anders, feel free to re-open this 
report.