I use the GIT-Version of darktable. On my new PC (has one of the newer 
i7-core Processors) now I get a lot of compiling errors when I try to do 
compiling with "./build.sh":

...
"Error: no such instruction: `vfnmadd312sd"
...

After searching the Internet I've found, that the problem ist the 
CXXFFLAG -march=nativ. To verify that I've added a additional line in 
the File "darktable/src/CMakelist.txt":
     set(MARCH "-march=corei7")
After doing that the compilation work without any errors.

I have also tried to set the CXXFLAGS on the command line in the 
following way:

CXXFLAGS=-march=corei7 ./build.sh

but that doesn't work. Now my question:

How can I set the CXXFlAGS for the "build.sh"-Script, so that the 
compiler uses the "-march=corei7" Flag?

My OS is Linux Mint 13 (Maya) LTS, 64bit,
kernel 3.13.0-29-generic, gcc version 4.6.3

Rico

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
darktable-devel mailing list
darktable-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to