POV-Ray : Newsgroups : povray.unix : compiling povray 3.7 beta on ubuntu 12.04.03 64 bits : Re: compiling povray 3.7 beta on ubuntu 12.04.03 64 bits Server Time
26 Apr 2024 13:33:24 EDT (-0400)
  Re: compiling povray 3.7 beta on ubuntu 12.04.03 64 bits  
From: Le Forgeron
Date: 26 Oct 2013 15:55:12
Message: <526c1e20@news.povray.org>
Le 26/10/2013 21:24, cpcbegin nous fit lire :
> I try to compile lastest povray 3.7 beta on ubuntu 12.04.03 64 bits with these
> commands:
> 
> wget -c
> http://www.povray.org/redirect/www.povray.org/beta/source/povray-3.7.0.RC7.tar.bz2
> tar -jxvf povray-3.7.0.RC7.tar.bz2
> sudo apt-get install build-essential zlib1g-dev libpng12-dev libjpeg-dev
> libtiff4-dev
> cd povray-3.7.0.RC7/
> ../configure --disable-io-restrictions COMPILED_BY="my_name <mi@email.com>"
> make
> 
> But at this point I can't continue due to this error:
> 
> make  all-recursive
> make[1]: se ingresa al directorio «/opt/povray-3.7.0.RC7»
> Making all in source
> make[2]: se ingresa al directorio «/opt/povray-3.7.0.RC7/source»
> Making all in backend
> make[3]: se ingresa al directorio «/opt/povray-3.7.0.RC7/source/backend»
> g++ -DHAVE_CONFIG_H -I. -I../..  -I../.. -I../../source -I../../source
> -I../../source/base -I../../unix -I../../vfe -I../../vfe/unix -pthread
> -I/usr/include  -I/usr/include  -pipe -Wno-multichar -Wno-write-strings
> -fno-enforce-eh-specs -s -O3 -ffast-math -march=native -pthread -MT povray.o -MD
> -MP -MF .deps/povray.Tpo -c -o povray.o povray.cpp
> mv -f .deps/povray.Tpo .deps/povray.Po
> g++ -DHAVE_CONFIG_H -I. -I../..  -I../.. -I../../source -I../../source
> -I../../source/base -I../../unix -I../../vfe -I../../vfe/unix -pthread
> -I/usr/include  -I/usr/include  -pipe -Wno-multichar -Wno-write-strings
> -fno-enforce-eh-specs -s -O3 -ffast-math -march=native -pthread -MT splines.o
> -MD -MP -MF .deps/splines.Tpo -c -o splines.o `test -f 'math/splines.cpp' ||
> echo './'`math/splines.cpp
> {standard input}: Assembler messages:
> {standard input}:1579: Error: no such instruction: `vfmadd312sd
> ..LC5(%rip),%xmm7,%xmm2'
> make[3]: *** [splines.o] Error 1
> make[3]: se sale del directorio «/opt/povray-3.7.0.RC7/source/backend»
> make[2]: *** [all-recursive] Error 1
> make[2]: se sale del directorio «/opt/povray-3.7.0.RC7/source»
> make[1]: *** [all-recursive] Error 1
> make[1]: se sale del directorio «/opt/povray-3.7.0.RC7»
> make: *** [all] Error 2
> 
> 
> 

which version of g++ is that, and also important, what is your processor ?

The usual options for povray on x86_64 with g++ is :  -pipe
-Wno-multichar -Wno-write-strings -fno-enforce-eh-specs -s -O3
-ffast-math -march=native -pthread

it is rather strange that march=native allowed a generation with
unsupported assembly (unless the g++ version did not know about your
processor, or you did not update the assembler too ?)


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.