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

Re: Cuba multidimensional integration




On 3/29/19 8:47 PM, Drew Parsons wrote:
> From your build log, I'd say the thing to look into is the memory warning when compiling partview.o:
>
> In file included from /usr/include/string.h:494,
>                  from ./src/common/stddecl.h:20,
>                  from ./src/divonne/decl.h:9,
>                  from ./src/divonne/Divonne.c:13:
> In function ‘memcpy’,
>     inlined from ‘SobolIni’ at ./src/common/Random.c:105:5,
>     inlined from ‘IniRandom’ at ./src/common/Random.c:340:22,
>     inlined from ‘Integrate’ at ./src/divonne/Integrate.c:74:5:
> /usr/include/x86_64-linux-gnu/bits/string_fortified.h:34:10: warning: ‘__builtin_memcpy’ specified size 18446744073709551608 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
>    return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest));
>           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
> ld then complains partview.o is malformed. I guess the oversized memcpy means it never compiled to a useful object file. Why is the code requesting an oversized memcpy?

I should ask upstream about this. However, I get these warnings also
when I successfully build with `debian/rules build`. I attach the
successful log at the bottom. The main difference I see compared to
the failing log (running pkg-buildpackage), is that the successful
build does:

ln -sf libcuba.so.4.2 libcuba.so.4
ln -sf libcuba.so.4 libcuba.so

> Your dbgsym error indicated the debug files got placed in the main lib package, not just the dbgsym package.

I see, thanks.

Best,
Francesco


dh build
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking configure: WARNING: unrecognized options: --disable-silent-rules, --disable-maintainer-mode, --disable-dependency-tracking
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for gfortran... gfortran
checking whether we are using the GNU Fortran compiler... yes
checking whether gfortran accepts -g... yes
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for long double with more range or precision than double... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for size_t... yes
checking for ssize_t... yes
checking for pid_t... yes
checking for powl... yes
checking for erf... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for working alloca.h... yes
checking for alloca... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for shmget... yes
checking for getloadavg... yes
checking for variable-size arrays... yes
checking for MathLink... no
checking for qmake... qmake
configure: creating ./config.status
config.status: creating makefile
config.status: creating config.h
configure: WARNING: unrecognized options: --disable-silent-rules, --disable-maintainer-mode, --disable-dependency-tracking
   debian/rules override_dh_auto_build
make[1]: Entering directory '/home/francesco/Code/debian/cuba/Cuba-4.2'
dh_auto_build
	make -j1
make[2]: Entering directory '/home/francesco/Code/debian/cuba/Cuba-4.2'
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/home/francesco/Code/debian/cuba/Cuba-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -DREALSIZE=8 -I./src/common -I. -I. -fPIC -I./src/vegas -DNOUNDERSCORE -c -o Vegas.o ./src/vegas/Vegas.c In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from ./src/common/stddecl.h:18,
                 from ./src/vegas/decl.h:9,
                 from ./src/vegas/Vegas.c:12:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
In file included from /usr/include/string.h:494,
                 from ./src/common/stddecl.h:20,
                 from ./src/vegas/decl.h:9,
                 from ./src/vegas/Vegas.c:12:
In function ‘memcpy’,
    inlined from ‘SobolIni’ at ./src/common/Random.c:105:5,
    inlined from ‘IniRandom’ at ./src/common/Random.c:340:22,
    inlined from ‘Integrate’ at ./src/vegas/Integrate.c:60:3:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:34:10: warning: ‘__builtin_memcpy’ specified size 18446744073709551612 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
   return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest));
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ar rv -U -U libcuba.a Vegas.o
ar: creating libcuba.a
a - Vegas.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/home/francesco/Code/debian/cuba/Cuba-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -DREALSIZE=8 -I./src/common -I. -I. -fPIC -I./src/vegas -c -o Vegas_.o ./src/vegas/Vegas.c In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from ./src/common/stddecl.h:18,
                 from ./src/vegas/decl.h:9,
                 from ./src/vegas/Vegas.c:12:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
In file included from /usr/include/string.h:494,
                 from ./src/common/stddecl.h:20,
                 from ./src/vegas/decl.h:9,
                 from ./src/vegas/Vegas.c:12:
In function ‘memcpy’,
    inlined from ‘SobolIni’ at ./src/common/Random.c:105:5,
    inlined from ‘IniRandom’ at ./src/common/Random.c:340:22,
    inlined from ‘Integrate’ at ./src/vegas/Integrate.c:60:3:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:34:10: warning: ‘__builtin_memcpy’ specified size 18446744073709551612 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
   return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest));
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ar rv -U -U libcuba.a Vegas_.o
a - Vegas_.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/home/francesco/Code/debian/cuba/Cuba-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -DREALSIZE=8 -I./src/common -I. -I. -fPIC -I./src/vegas -DLONGLONGINT -DNOUNDERSCORE -c -o llVegas.o ./src/vegas/Vegas.c In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from ./src/common/stddecl.h:18,
                 from ./src/vegas/decl.h:9,
                 from ./src/vegas/Vegas.c:12:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
In file included from /usr/include/string.h:494,
                 from ./src/common/stddecl.h:20,
                 from ./src/vegas/decl.h:9,
                 from ./src/vegas/Vegas.c:12:
In function ‘memcpy’,
    inlined from ‘SobolIni’ at ./src/common/Random.c:105:5,
    inlined from ‘IniRandom’ at ./src/common/Random.c:340:22,
    inlined from ‘Integrate’ at ./src/vegas/Integrate.c:60:3:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:34:10: warning: ‘__builtin_memcpy’ specified size 18446744073709551608 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
   return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest));
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ar rv -U -U libcuba.a llVegas.o
a - llVegas.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/home/francesco/Code/debian/cuba/Cuba-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -DREALSIZE=8 -I./src/common -I. -I. -fPIC -I./src/vegas -DLONGLONGINT -c -o llVegas_.o ./src/vegas/Vegas.c In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from ./src/common/stddecl.h:18,
                 from ./src/vegas/decl.h:9,
                 from ./src/vegas/Vegas.c:12:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
In file included from /usr/include/string.h:494,
                 from ./src/common/stddecl.h:20,
                 from ./src/vegas/decl.h:9,
                 from ./src/vegas/Vegas.c:12:
In function ‘memcpy’,
    inlined from ‘SobolIni’ at ./src/common/Random.c:105:5,
    inlined from ‘IniRandom’ at ./src/common/Random.c:340:22,
    inlined from ‘Integrate’ at ./src/vegas/Integrate.c:60:3:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:34:10: warning: ‘__builtin_memcpy’ specified size 18446744073709551608 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
   return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest));
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ar rv -U -U libcuba.a llVegas_.o
a - llVegas_.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/home/francesco/Code/debian/cuba/Cuba-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -DREALSIZE=8 -I./src/common -I. -I. -fPIC -I./src/suave -DNOUNDERSCORE -c -o Suave.o ./src/suave/Suave.c In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from ./src/common/stddecl.h:18,
                 from ./src/suave/decl.h:9,
                 from ./src/suave/Suave.c:12:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
In file included from /usr/include/string.h:494,
                 from ./src/common/stddecl.h:20,
                 from ./src/suave/decl.h:9,
                 from ./src/suave/Suave.c:12:
In function ‘memcpy’,
    inlined from ‘SobolIni’ at ./src/common/Random.c:105:5,
    inlined from ‘IniRandom’ at ./src/common/Random.c:340:22,
    inlined from ‘Integrate’ at ./src/suave/Integrate.c:63:3:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:34:10: warning: ‘__builtin_memcpy’ specified size 18446744073709551612 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
   return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest));
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ar rv -U -U libcuba.a Suave.o
a - Suave.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/home/francesco/Code/debian/cuba/Cuba-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -DREALSIZE=8 -I./src/common -I. -I. -fPIC -I./src/suave -c -o Suave_.o ./src/suave/Suave.c In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from ./src/common/stddecl.h:18,
                 from ./src/suave/decl.h:9,
                 from ./src/suave/Suave.c:12:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
In file included from /usr/include/string.h:494,
                 from ./src/common/stddecl.h:20,
                 from ./src/suave/decl.h:9,
                 from ./src/suave/Suave.c:12:
In function ‘memcpy’,
    inlined from ‘SobolIni’ at ./src/common/Random.c:105:5,
    inlined from ‘IniRandom’ at ./src/common/Random.c:340:22,
    inlined from ‘Integrate’ at ./src/suave/Integrate.c:63:3:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:34:10: warning: ‘__builtin_memcpy’ specified size 18446744073709551612 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
   return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest));
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ar rv -U -U libcuba.a Suave_.o
a - Suave_.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/home/francesco/Code/debian/cuba/Cuba-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -DREALSIZE=8 -I./src/common -I. -I. -fPIC -I./src/suave -DLONGLONGINT -DNOUNDERSCORE -c -o llSuave.o ./src/suave/Suave.c In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from ./src/common/stddecl.h:18,
                 from ./src/suave/decl.h:9,
                 from ./src/suave/Suave.c:12:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
In file included from /usr/include/string.h:494,
                 from ./src/common/stddecl.h:20,
                 from ./src/suave/decl.h:9,
                 from ./src/suave/Suave.c:12:
In function ‘memcpy’,
    inlined from ‘SobolIni’ at ./src/common/Random.c:105:5,
    inlined from ‘IniRandom’ at ./src/common/Random.c:340:22,
    inlined from ‘Integrate’ at ./src/suave/Integrate.c:63:3:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:34:10: warning: ‘__builtin_memcpy’ specified size 18446744073709551608 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
   return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest));
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ar rv -U -U libcuba.a llSuave.o
a - llSuave.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/home/francesco/Code/debian/cuba/Cuba-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -DREALSIZE=8 -I./src/common -I. -I. -fPIC -I./src/suave -DLONGLONGINT -c -o llSuave_.o ./src/suave/Suave.c In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from ./src/common/stddecl.h:18,
                 from ./src/suave/decl.h:9,
                 from ./src/suave/Suave.c:12:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
In file included from /usr/include/string.h:494,
                 from ./src/common/stddecl.h:20,
                 from ./src/suave/decl.h:9,
                 from ./src/suave/Suave.c:12:
In function ‘memcpy’,
    inlined from ‘SobolIni’ at ./src/common/Random.c:105:5,
    inlined from ‘IniRandom’ at ./src/common/Random.c:340:22,
    inlined from ‘Integrate’ at ./src/suave/Integrate.c:63:3:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:34:10: warning: ‘__builtin_memcpy’ specified size 18446744073709551608 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
   return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest));
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ar rv -U -U libcuba.a llSuave_.o
a - llSuave_.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/home/francesco/Code/debian/cuba/Cuba-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -DREALSIZE=8 -I./src/common -I. -I. -fPIC -I./src/divonne -DNOUNDERSCORE -c -o Divonne.o ./src/divonne/Divonne.c In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from ./src/common/stddecl.h:18,
                 from ./src/divonne/decl.h:9,
                 from ./src/divonne/Divonne.c:13:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
In file included from /usr/include/string.h:494,
                 from ./src/common/stddecl.h:20,
                 from ./src/divonne/decl.h:9,
                 from ./src/divonne/Divonne.c:13:
In function ‘memcpy’,
    inlined from ‘SobolIni’ at ./src/common/Random.c:105:5,
    inlined from ‘IniRandom’ at ./src/common/Random.c:340:22,
    inlined from ‘Integrate’ at ./src/divonne/Integrate.c:74:5:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:34:10: warning: ‘__builtin_memcpy’ specified size 18446744073709551612 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
   return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest));
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ar rv -U -U libcuba.a Divonne.o
a - Divonne.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/home/francesco/Code/debian/cuba/Cuba-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -DREALSIZE=8 -I./src/common -I. -I. -fPIC -I./src/divonne -c -o Divonne_.o ./src/divonne/Divonne.c In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from ./src/common/stddecl.h:18,
                 from ./src/divonne/decl.h:9,
                 from ./src/divonne/Divonne.c:13:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
In file included from /usr/include/string.h:494,
                 from ./src/common/stddecl.h:20,
                 from ./src/divonne/decl.h:9,
                 from ./src/divonne/Divonne.c:13:
In function ‘memcpy’,
    inlined from ‘SobolIni’ at ./src/common/Random.c:105:5,
    inlined from ‘IniRandom’ at ./src/common/Random.c:340:22,
    inlined from ‘Integrate’ at ./src/divonne/Integrate.c:74:5:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:34:10: warning: ‘__builtin_memcpy’ specified size 18446744073709551612 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
   return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest));
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ar rv -U -U libcuba.a Divonne_.o
a - Divonne_.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/home/francesco/Code/debian/cuba/Cuba-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -DREALSIZE=8 -I./src/common -I. -I. -fPIC -I./src/divonne -DLONGLONGINT -DNOUNDERSCORE -c -o llDivonne.o ./src/divonne/Divonne.c In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from ./src/common/stddecl.h:18,
                 from ./src/divonne/decl.h:9,
                 from ./src/divonne/Divonne.c:13:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
In file included from /usr/include/string.h:494,
                 from ./src/common/stddecl.h:20,
                 from ./src/divonne/decl.h:9,
                 from ./src/divonne/Divonne.c:13:
In function ‘memcpy’,
    inlined from ‘SobolIni’ at ./src/common/Random.c:105:5,
    inlined from ‘IniRandom’ at ./src/common/Random.c:340:22,
    inlined from ‘Integrate’ at ./src/divonne/Integrate.c:74:5:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:34:10: warning: ‘__builtin_memcpy’ specified size 18446744073709551608 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
   return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest));
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ar rv -U -U libcuba.a llDivonne.o
a - llDivonne.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/home/francesco/Code/debian/cuba/Cuba-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -DREALSIZE=8 -I./src/common -I. -I. -fPIC -I./src/divonne -DLONGLONGINT -c -o llDivonne_.o ./src/divonne/Divonne.c In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from ./src/common/stddecl.h:18,
                 from ./src/divonne/decl.h:9,
                 from ./src/divonne/Divonne.c:13:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
In file included from /usr/include/string.h:494,
                 from ./src/common/stddecl.h:20,
                 from ./src/divonne/decl.h:9,
                 from ./src/divonne/Divonne.c:13:
In function ‘memcpy’,
    inlined from ‘SobolIni’ at ./src/common/Random.c:105:5,
    inlined from ‘IniRandom’ at ./src/common/Random.c:340:22,
    inlined from ‘Integrate’ at ./src/divonne/Integrate.c:74:5:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:34:10: warning: ‘__builtin_memcpy’ specified size 18446744073709551608 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
   return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest));
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ar rv -U -U libcuba.a llDivonne_.o
a - llDivonne_.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/home/francesco/Code/debian/cuba/Cuba-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -DREALSIZE=8 -I./src/common -I. -I. -fPIC -I./src/cuhre -DNOUNDERSCORE -c -o Cuhre.o ./src/cuhre/Cuhre.c In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from ./src/common/stddecl.h:18,
                 from ./src/cuhre/decl.h:9,
                 from ./src/cuhre/Cuhre.c:12:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
ar rv -U -U libcuba.a Cuhre.o
a - Cuhre.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/home/francesco/Code/debian/cuba/Cuba-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -DREALSIZE=8 -I./src/common -I. -I. -fPIC -I./src/cuhre -c -o Cuhre_.o ./src/cuhre/Cuhre.c In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from ./src/common/stddecl.h:18,
                 from ./src/cuhre/decl.h:9,
                 from ./src/cuhre/Cuhre.c:12:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
ar rv -U -U libcuba.a Cuhre_.o
a - Cuhre_.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/home/francesco/Code/debian/cuba/Cuba-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -DREALSIZE=8 -I./src/common -I. -I. -fPIC -I./src/cuhre -DLONGLONGINT -DNOUNDERSCORE -c -o llCuhre.o ./src/cuhre/Cuhre.c In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from ./src/common/stddecl.h:18,
                 from ./src/cuhre/decl.h:9,
                 from ./src/cuhre/Cuhre.c:12:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
ar rv -U -U libcuba.a llCuhre.o
a - llCuhre.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/home/francesco/Code/debian/cuba/Cuba-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -DREALSIZE=8 -I./src/common -I. -I. -fPIC -I./src/cuhre -DLONGLONGINT -c -o llCuhre_.o ./src/cuhre/Cuhre.c In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from ./src/common/stddecl.h:18,
                 from ./src/cuhre/decl.h:9,
                 from ./src/cuhre/Cuhre.c:12:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
ar rv -U -U libcuba.a llCuhre_.o
a - llCuhre_.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/home/francesco/Code/debian/cuba/Cuba-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -DREALSIZE=8 -I./src/common -I. -I. -fPIC -DNOUNDERSCORE -c -o Fork.o ./src/common/Fork.c In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from ./src/common/stddecl.h:18,
                 from ./src/common/Fork.c:11:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
ar rv -U -U libcuba.a Fork.o
a - Fork.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/home/francesco/Code/debian/cuba/Cuba-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -DREALSIZE=8 -I./src/common -I. -I. -fPIC -c -o Fork_.o ./src/common/Fork.c In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from ./src/common/stddecl.h:18,
                 from ./src/common/Fork.c:11:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
ar rv -U -U libcuba.a Fork_.o
a - Fork_.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/home/francesco/Code/debian/cuba/Cuba-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -DREALSIZE=8 -I./src/common -I. -I. -fPIC -DNOUNDERSCORE -c -o Global.o ./src/common/Global.c In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from ./src/common/stddecl.h:18,
                 from ./src/common/Global.c:9:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
ar rv -U -U libcuba.a Global.o
a - Global.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/home/francesco/Code/debian/cuba/Cuba-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -DREALSIZE=8 -I./src/common -I. -I. -fPIC -c -o Global_.o ./src/common/Global.c In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from ./src/common/stddecl.h:18,
                 from ./src/common/Global.c:9:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
ar rv -U -U libcuba.a Global_.o
a - Global_.o
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/home/francesco/Code/debian/cuba/Cuba-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -DREALSIZE=8 -I./src/common -I. -I. -fPIC -c -o Data.o ./src/common/Data.c In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from ./src/common/stddecl.h:18,
                 from ./src/common/Data.c:9:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
ar rv -U -U libcuba.a Data.o
a - Data.o
ranlib libcuba.a
gcc -shared -Wl,-soname,libcuba.so.4 -o libcuba.so.4.2 *.o -lm -Wl,-z,relro -Wl,-z,now
ln -sf libcuba.so.4.2 libcuba.so.4
ln -sf libcuba.so.4 libcuba.so
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/home/francesco/Code/debian/cuba/Cuba-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -DREALSIZE=8 -I./src/common -I. -I. -fPIC -o demo-c ./demo/demo-c.c libcuba.a -lm -Wl,-z,relro -Wl,-z,now gfortran -g -O2 -fdebug-prefix-map=/home/francesco/Code/debian/cuba/Cuba-4.2=. -fstack-protector-strong -DREALSIZE=8 -o demo-fortran ./demo/demo-fortran.F libcuba.a -lm -Wl,-z,relro -Wl,-z,now
qmake -o makefile.partview ./tools/partview.pro
make -f makefile.partview
make[3]: Entering directory '/home/francesco/Code/debian/cuba/Cuba-4.2'
/usr/lib/x86_64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -Itools -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -Itools -I. tools/partview.cpp -o partview.moc g++ -c -m64 -pipe -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/home/francesco/Code/debian/cuba/Cuba-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -Itools -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -Itools -I. -o partview.o tools/partview.cpp g++ -m64 -Wl,-z,relro -Wl,-z,now -Wl,-O1 -o ./partview partview.o -L/usr/lib/x86_64-linux-gnu -lQtGui -lQtCore -lpthread
make[3]: Leaving directory '/home/francesco/Code/debian/cuba/Cuba-4.2'
rm -f partview.o partview.moc makefile.partview
strip partview
make[2]: Leaving directory '/home/francesco/Code/debian/cuba/Cuba-4.2'
mv partview cuba-partview
make[1]: Leaving directory '/home/francesco/Code/debian/cuba/Cuba-4.2'
   dh_auto_test
	make -j1 check VERBOSE=1
make[1]: Entering directory '/home/francesco/Code/debian/cuba/Cuba-4.2'
./demo-c | grep RESULT > demo-c.out
diff demo-c.out ./demo/demo-c.out
4c4
< SUAVE RESULT:	0.66490699 +- 0.00064667	p = 0.807
---
> SUAVE RESULT:	0.66444529 +- 0.00056577	p = 0.210
Note: This is serious only if the results deviate significantly.
make[1]: Leaving directory '/home/francesco/Code/debian/cuba/Cuba-4.2'
   create-stamp debian/debhelper-build-stamp


Reply to: