Details
-
Sub-task
-
Status: Closed
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
standalone
64bit
out-of-source
cmake version 2.8.1
GNU Make 3.81
g++ (Gentoo 4.4.3 p1.0)
Description
4d68548de9ef introduced -march=pentium3. f8af205c2c9f changed it to -march=pentium4. Both are incompatible to -m64.
To reproduce
Note we clone from my own repo, so that CTS-314 is already fixed. It's otherwise identical to lindenlab/mesh-development.
hg clone http://bitbucket.org/boroondas/cts-314
|
./cts-314/scripts/install.py vivox
|
mkdir mesh-dev-build
|
cd ../mesh-dev-build
|
PATH="/usr/lib/ccache/bin:${PATH}" cmake ../cts-314/indra \
|
-DSTANDALONE:BOOL=TRUE \
|
-DFMOD=OFF
|
make
|
Expected
A working binary in mesh-dev-build/newview/packaged/
Observed
Scanning dependencies of target cmake
|
[ 0%] Building CXX object cmake/CMakeFiles/cmake.dir/cmake_dummy.o
|
cts-314/indra/cmake/cmake_dummy.cpp:1: error: CPU you selected does not support x86-64 instruction set
|
cts-314/indra/cmake/cmake_dummy.cpp:1: error: CPU you selected does not support x86-64 instruction set
|
make[2]: *** [cmake/CMakeFiles/cmake.dir/cmake_dummy.o] Error 1
|
make[1]: *** [cmake/CMakeFiles/cmake.dir/all] Error 2
|
make: *** [all] Error 2
|
Attachments
Issue Links
- duplicates
-
STORM-1496 Harcoding arch to 'pentium4' prevents building for 64bit Linux.
-
- Closed
-