Bug 107 - configure don't detect x86_64 architecture
Summary: configure don't detect x86_64 architecture
Alias: None
Product: LinuxSampler
Classification: Unclassified
Component: other (show other bugs)
Version: SVN Trunk
Hardware: PC Linux
: P2 normal
Assignee: Andreas Persson
URL: https://bb.linuxsampler.org/viewtopic...
Depends on:
Reported: 2008-10-04 13:28 CEST by Anders Dahnielson
Modified: 2008-12-11 02:48 CET (History)
0 users

See Also:

Detect x86_64 architecture (571 bytes, patch)
2008-10-04 13:29 CEST, Anders Dahnielson

Note You need to log in before you can comment on or make changes to this bug.
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


on my Intel box and not

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