> 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:
> https://lists.gnu.org/archive/html/bug-binutils/2017-02/msg00262.html >
> 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?
Am 04.01.2018 um 23:38 schrieb John W. Eaton:
> 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?
I've read postings on the mailinglists from the last years and so far I
only found postings where someone had problems/was unable to build
octave with -pg so I choosed to disable as most as I can for the first step.
I'll try to add -O2 for the next builds and report if this works.