[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gprof Octave 4.2.1 with gcc 6.3

From: John W. Eaton
Subject: Re: gprof Octave 4.2.1 with gcc 6.3
Date: Thu, 4 Jan 2018 17:38:23 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0

On 01/04/2018 05:30 PM, Andreas Weber wrote:
Dear all,

I was able to build Octave 4.2.1 tarball with gcc 6.3.0 and gprof on
debian stretch with

../octave-4.2.1/configure CFLAGS=-pg -no-pie CXXFLAGS=-pg -no-pie
--disable-java --disable-docs --without-qt --without-fftw3
--without-fltk --enable-static --disable-dl --disable-shared

the --no-pie is important for gcc > 4.9:

I run Riks benchmark
a = 1; b = 1; tic; for i=1:1000; for j=1:1000; a = a + b + 123.0; end;
end; t1=toc(); t1

and uploaded the result here: https://josoansi.de/files/out

I hope that I have time to build my docker images from 3.6.4 until 4.3.0
with gprof the next days

Thanks for the compiler flags.

Since -O2 is set in CFLAGS and CXXFLAGS and not some other configuration variables that are added to the compiler command, you've disabled compiler optimization. Did you intend to do that?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]