RUN: /usr/share/launchpad-buildd/slavebin/slave-prep Forking launchpad-buildd slave process... Kernel version: Linux lgw01-amd64-006 4.4.0-93-generic #116-Ubuntu SMP Fri Aug 11 21:17:51 UTC 2017 x86_64 Buildd toolchain package versions: launchpad-buildd_152 python-lpbuildd_152 sbuild_0.67.0-2ubuntu7.1 bzr-builder_0.7.3+bzr174~ppa13~ubuntu14.10.1 bzr_2.7.0-2ubuntu3.1 git-build-recipe_0.3.4~git201611291343.dcee459~ubuntu16.04.1 git_1:2.7.4-0ubuntu1.2 dpkg-dev_1.18.4ubuntu1.2 python-debian_0.1.27ubuntu2. Syncing the system clock with the buildd NTP service... 18 Sep 08:31:15 ntpdate[1817]: adjust time server 10.211.37.1 offset -0.003418 sec RUN: /usr/share/launchpad-buildd/slavebin/in-target unpack-chroot --backend=chroot --series=artful --arch=i386 PACKAGEBUILD-13388159 /home/buildd/filecache-default/7fe38ae672de2c40a7e6ba74a0e6690544a5bb48 Creating target for build PACKAGEBUILD-13388159 RUN: /usr/share/launchpad-buildd/slavebin/in-target mount-chroot --backend=chroot --series=artful --arch=i386 PACKAGEBUILD-13388159 Starting target for build PACKAGEBUILD-13388159 RUN: /usr/share/launchpad-buildd/slavebin/in-target override-sources-list --backend=chroot --series=artful --arch=i386 PACKAGEBUILD-13388159 'deb http://ftpmaster.internal/ubuntu artful main restricted universe multiverse' 'deb http://ftpmaster.internal/ubuntu artful-security main restricted universe multiverse' 'deb http://ftpmaster.internal/ubuntu artful-updates main restricted universe multiverse' Overriding sources.list in build-PACKAGEBUILD-13388159 RUN: /usr/share/launchpad-buildd/slavebin/in-target update-debian-chroot --backend=chroot --series=artful --arch=i386 PACKAGEBUILD-13388159 Updating target for build PACKAGEBUILD-13388159 Get:1 http://ftpmaster.internal/ubuntu artful InRelease [237 kB] Get:2 http://ftpmaster.internal/ubuntu artful-security InRelease [65.5 kB] Get:3 http://ftpmaster.internal/ubuntu artful-updates InRelease [65.5 kB] Get:4 http://ftpmaster.internal/ubuntu artful/main i386 Packages [1103 kB] Get:5 http://ftpmaster.internal/ubuntu artful/main Translation-en [551 kB] Get:6 http://ftpmaster.internal/ubuntu artful/restricted i386 Packages [8584 B] Get:7 http://ftpmaster.internal/ubuntu artful/restricted Translation-en [2724 B] Get:8 http://ftpmaster.internal/ubuntu artful/universe i386 Packages [8030 kB] Get:9 http://ftpmaster.internal/ubuntu artful/universe Translation-en [4774 kB] Get:10 http://ftpmaster.internal/ubuntu artful/multiverse i386 Packages [143 kB] Get:11 http://ftpmaster.internal/ubuntu artful/multiverse Translation-en [109 kB] Fetched 15.1 MB in 3s (3799 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... The following packages were automatically installed and are no longer required: g++-6 libperl5.24 libstdc++-6-dev perl-modules-5.24 Use 'sudo apt autoremove' to remove them. The following NEW packages will be installed: binutils-common binutils-i686-linux-gnu cpp-7 fdisk g++-7 gcc-7 gcc-7-base libasan4 libbinutils libgcc-7-dev libperl5.26 libstdc++-7-dev perl-modules-5.26 The following packages will be upgraded: advancecomp apt apt-transport-https base-files bash binutils bsdutils ca-certificates cpp cpp-6 debconf debianutils diffutils dmsetup dpkg dpkg-dev e2fslibs e2fsprogs findutils g++ g++-6 gcc gcc-6 gcc-6-base grep init init-system-helpers libapparmor1 libapt-pkg5.0 libasan3 libasn1-8-heimdal libassuan0 libatomic1 libaudit-common libaudit1 libblkid1 libc-bin libc-dev-bin libc6 libc6-dev libcap-ng0 libcc1-0 libcilkrts5 libcomerr2 libcryptsetup4 libcurl3-gnutls libdb5.3 libdevmapper1.02.1 libdpkg-perl libfdisk1 libgcc-6-dev libgcc1 libgcrypt20 libgnutls30 libgomp1 libgpg-error0 libgssapi-krb5-2 libgssapi3-heimdal libhcrypto4-heimdal libheimbase1-heimdal libheimntlm0-heimdal libhx509-5-heimdal libidn11 libidn2-0 libip4tc0 libitm1 libk5crypto3 libkmod2 libkrb5-26-heimdal libkrb5-3 libkrb5support0 libldap-2.4-2 libldap-common liblzma5 libmount1 libmpc3 libmpfr4 libmpx2 libnpth0 libp11-kit0 libpcre3 libpng16-16 libpsl5 libquadmath0 libroken18-heimdal libsasl2-2 libsasl2-modules-db libselinux1 libsemanage-common libsemanage1 libsepol1 libsmartcols1 libsqlite3-0 libss2 libssl1.0.0 libstdc++-6-dev libstdc++6 libsystemd0 libtasn1-6 libubsan0 libudev1 libusb-0.1-4 libuuid1 libwind0-heimdal linux-libc-dev login mount multiarch-support openssl passwd perl perl-base sensible-utils systemd systemd-sysv tar tzdata util-linux xz-utils zlib1g 120 upgraded, 13 newly installed, 0 to remove and 0 not upgraded. Need to get 166 MB of archives. After this operation, 463 MB of additional disk space will be used. Get:1 http://ftpmaster.internal/ubuntu artful/main i386 debconf all 1.5.63 [136 kB] Get:2 http://ftpmaster.internal/ubuntu artful/main i386 perl-modules-5.26 all 5.26.0-8ubuntu1 [2762 kB] Get:3 http://ftpmaster.internal/ubuntu artful/main i386 libperl5.26 i386 5.26.0-8ubuntu1 [3157 kB] Get:4 http://ftpmaster.internal/ubuntu artful/main i386 perl i386 5.26.0-8ubuntu1 [202 kB] Get:5 http://ftpmaster.internal/ubuntu artful/main i386 perl-base i386 5.26.0-8ubuntu1 [1491 kB] Get:6 http://ftpmaster.internal/ubuntu artful/main i386 libc6-dev i386 2.24-12ubuntu1 [1870 kB] Get:7 http://ftpmaster.internal/ubuntu artful/main i386 libc-dev-bin i386 2.24-12ubuntu1 [66.7 kB] Get:8 http://ftpmaster.internal/ubuntu artful/main i386 linux-libc-dev i386 4.12.0-13.14 [960 kB] Get:9 http://ftpmaster.internal/ubuntu artful/main i386 gcc-7-base i386 7.2.0-3ubuntu1 [17.9 kB] Get:10 http://ftpmaster.internal/ubuntu artful/main i386 libgcc1 i386 1:7.2.0-3ubuntu1 [47.0 kB] Get:11 http://ftpmaster.internal/ubuntu artful/main i386 libc6 i386 2.24-12ubuntu1 [2278 kB] Get:12 http://ftpmaster.internal/ubuntu artful/main i386 libdb5.3 i386 5.3.28-13.1 [738 kB] Get:13 http://ftpmaster.internal/ubuntu artful/main i386 zlib1g i386 1:1.2.11.dfsg-0ubuntu2 [58.2 kB] Get:14 http://ftpmaster.internal/ubuntu artful/main i386 init-system-helpers all 1.49ubuntu1 [36.4 kB] Get:15 http://ftpmaster.internal/ubuntu artful/main i386 base-files i386 9.6ubuntu101 [59.1 kB] Get:16 http://ftpmaster.internal/ubuntu artful/main i386 debianutils i386 4.8.2 [86.5 kB] Get:17 http://ftpmaster.internal/ubuntu artful/main i386 bash i386 4.4-5ubuntu1 [622 kB] Get:18 http://ftpmaster.internal/ubuntu artful/main i386 bsdutils i386 1:2.30.1-0ubuntu4 [62.4 kB] Get:19 http://ftpmaster.internal/ubuntu artful/main i386 diffutils i386 1:3.6-1 [175 kB] Get:20 http://ftpmaster.internal/ubuntu artful/main i386 tar i386 1.29b-2 [252 kB] Get:21 http://ftpmaster.internal/ubuntu artful/main i386 dpkg i386 1.18.24ubuntu1 [1164 kB] Get:22 http://ftpmaster.internal/ubuntu artful/main i386 e2fslibs i386 1.43.5-1 [183 kB] Get:23 http://ftpmaster.internal/ubuntu artful/main i386 e2fsprogs i386 1.43.5-1 [533 kB] Get:24 http://ftpmaster.internal/ubuntu artful/main i386 findutils i386 4.6.0+git+20170729-2 [305 kB] Get:25 http://ftpmaster.internal/ubuntu artful/main i386 grep i386 3.1-2 [163 kB] Get:26 http://ftpmaster.internal/ubuntu artful/main i386 login i386 1:4.2-3.2ubuntu4 [307 kB] Get:27 http://ftpmaster.internal/ubuntu artful/main i386 libuuid1 i386 2.30.1-0ubuntu4 [15.7 kB] Get:28 http://ftpmaster.internal/ubuntu artful/main i386 libblkid1 i386 2.30.1-0ubuntu4 [133 kB] Get:29 http://ftpmaster.internal/ubuntu artful/main i386 libpcre3 i386 2:8.39-4 [227 kB] Get:30 http://ftpmaster.internal/ubuntu artful/main i386 libselinux1 i386 2.6-3build2 [72.8 kB] Get:31 http://ftpmaster.internal/ubuntu artful/main i386 libmount1 i386 2.30.1-0ubuntu4 [143 kB] Get:32 http://ftpmaster.internal/ubuntu artful/main i386 libsmartcols1 i386 2.30.1-0ubuntu4 [85.4 kB] Get:33 http://ftpmaster.internal/ubuntu artful/main i386 libfdisk1 i386 2.30.1-0ubuntu4 [173 kB] Get:34 http://ftpmaster.internal/ubuntu artful/main i386 fdisk i386 2.30.1-0ubuntu4 [115 kB] Get:35 http://ftpmaster.internal/ubuntu artful/main i386 util-linux i386 2.30.1-0ubuntu4 [903 kB] Get:36 http://ftpmaster.internal/ubuntu artful/main i386 mount i386 2.30.1-0ubuntu4 [115 kB] Get:37 http://ftpmaster.internal/ubuntu artful/main i386 libc-bin i386 2.24-12ubuntu1 [591 kB] Get:38 http://ftpmaster.internal/ubuntu artful/main i386 liblzma5 i386 5.2.2-1.3 [98.5 kB] Get:39 http://ftpmaster.internal/ubuntu artful/main i386 libstdc++6 i386 7.2.0-3ubuntu1 [436 kB] Get:40 http://ftpmaster.internal/ubuntu artful/main i386 libudev1 i386 234-2ubuntu10 [56.2 kB] Get:41 http://ftpmaster.internal/ubuntu artful/main i386 libapt-pkg5.0 i386 1.5~rc4 [851 kB] Get:42 http://ftpmaster.internal/ubuntu artful/main i386 libtasn1-6 i386 4.12-2.1 [38.7 kB] Get:43 http://ftpmaster.internal/ubuntu artful/main i386 libidn11 i386 1.33-2 [46.7 kB] Get:44 http://ftpmaster.internal/ubuntu artful/main i386 libp11-kit0 i386 0.23.7-3 [188 kB] Get:45 http://ftpmaster.internal/ubuntu artful/main i386 libgnutls30 i386 3.5.8-6ubuntu3 [695 kB] Get:46 http://ftpmaster.internal/ubuntu artful/main i386 libk5crypto3 i386 1.15.1-2 [88.3 kB] Get:47 http://ftpmaster.internal/ubuntu artful/main i386 libgssapi-krb5-2 i386 1.15.1-2 [129 kB] Get:48 http://ftpmaster.internal/ubuntu artful/main i386 libkrb5-3 i386 1.15.1-2 [300 kB] Get:49 http://ftpmaster.internal/ubuntu artful/main i386 libkrb5support0 i386 1.15.1-2 [34.0 kB] Get:50 http://ftpmaster.internal/ubuntu artful/main i386 libcomerr2 i386 1.43.5-1 [11.0 kB] Get:51 http://ftpmaster.internal/ubuntu artful/main i386 libidn2-0 i386 2.0.2-4 [92.4 kB] Get:52 http://ftpmaster.internal/ubuntu artful/main i386 libldap-2.4-2 i386 2.4.45+dfsg-1ubuntu1 [167 kB] Get:53 http://ftpmaster.internal/ubuntu artful/main i386 libldap-common all 2.4.45+dfsg-1ubuntu1 [16.6 kB] Get:54 http://ftpmaster.internal/ubuntu artful/main i386 libroken18-heimdal i386 7.4.0.dfsg.1-2 [44.5 kB] Get:55 http://ftpmaster.internal/ubuntu artful/main i386 libasn1-8-heimdal i386 7.4.0.dfsg.1-2 [187 kB] Get:56 http://ftpmaster.internal/ubuntu artful/main i386 libheimbase1-heimdal i386 7.4.0.dfsg.1-2 [32.0 kB] Get:57 http://ftpmaster.internal/ubuntu artful/main i386 libhcrypto4-heimdal i386 7.4.0.dfsg.1-2 [93.3 kB] Get:58 http://ftpmaster.internal/ubuntu artful/main i386 libwind0-heimdal i386 7.4.0.dfsg.1-2 [49.1 kB] Get:59 http://ftpmaster.internal/ubuntu artful/main i386 libhx509-5-heimdal i386 7.4.0.dfsg.1-2 [118 kB] Get:60 http://ftpmaster.internal/ubuntu artful/main i386 libsqlite3-0 i386 3.19.3-3 [525 kB] Get:61 http://ftpmaster.internal/ubuntu artful/main i386 libkrb5-26-heimdal i386 7.4.0.dfsg.1-2 [231 kB] Get:62 http://ftpmaster.internal/ubuntu artful/main i386 libheimntlm0-heimdal i386 7.4.0.dfsg.1-2 [16.6 kB] Get:63 http://ftpmaster.internal/ubuntu artful/main i386 libgssapi3-heimdal i386 7.4.0.dfsg.1-2 [108 kB] Get:64 http://ftpmaster.internal/ubuntu artful/main i386 libsasl2-modules-db i386 2.1.27~101-g0780600+dfsg-3ubuntu1 [15.5 kB] Get:65 http://ftpmaster.internal/ubuntu artful/main i386 libsasl2-2 i386 2.1.27~101-g0780600+dfsg-3ubuntu1 [52.7 kB] Get:66 http://ftpmaster.internal/ubuntu artful/main i386 libpsl5 i386 0.18.0-2 [41.3 kB] Get:67 http://ftpmaster.internal/ubuntu artful/main i386 libcurl3-gnutls i386 7.55.0-1ubuntu2 [214 kB] Get:68 http://ftpmaster.internal/ubuntu artful/main i386 apt-transport-https i386 1.5~rc4 [38.9 kB] Get:69 http://ftpmaster.internal/ubuntu artful/main i386 apt i386 1.5~rc4 [1149 kB] Get:70 http://ftpmaster.internal/ubuntu artful/main i386 libip4tc0 i386 1.6.1-2ubuntu1 [20.5 kB] Get:71 http://ftpmaster.internal/ubuntu artful/main i386 libapparmor1 i386 2.11.0-2ubuntu17 [30.2 kB] Get:72 http://ftpmaster.internal/ubuntu artful/main i386 libaudit-common all 1:2.7.7-1ubuntu2 [3998 B] Get:73 http://ftpmaster.internal/ubuntu artful/main i386 libcap-ng0 i386 0.7.7-3build1 [11.1 kB] Get:74 http://ftpmaster.internal/ubuntu artful/main i386 libaudit1 i386 1:2.7.7-1ubuntu2 [39.3 kB] Get:75 http://ftpmaster.internal/ubuntu artful/main i386 libdevmapper1.02.1 i386 2:1.02.137-2ubuntu3 [145 kB] Get:76 http://ftpmaster.internal/ubuntu artful/main i386 libgpg-error0 i386 1.27-3 [39.4 kB] Get:77 http://ftpmaster.internal/ubuntu artful/main i386 libgcrypt20 i386 1.7.8-2 [375 kB] Get:78 http://ftpmaster.internal/ubuntu artful/main i386 libcryptsetup4 i386 2:1.7.3-4ubuntu1 [85.1 kB] Get:79 http://ftpmaster.internal/ubuntu artful/main i386 libkmod2 i386 24-1ubuntu2 [46.3 kB] Get:80 http://ftpmaster.internal/ubuntu artful/main i386 systemd i386 234-2ubuntu10 [2873 kB] Get:81 http://ftpmaster.internal/ubuntu artful/main i386 libsystemd0 i386 234-2ubuntu10 [228 kB] Get:82 http://ftpmaster.internal/ubuntu artful/main i386 init i386 1.49ubuntu1 [5438 B] Get:83 http://ftpmaster.internal/ubuntu artful/main i386 systemd-sysv i386 234-2ubuntu10 [11.9 kB] Get:84 http://ftpmaster.internal/ubuntu artful/main i386 libsepol1 i386 2.7-1 [274 kB] Get:85 http://ftpmaster.internal/ubuntu artful/main i386 libsemanage-common all 2.6-2build2 [6682 B] Get:86 http://ftpmaster.internal/ubuntu artful/main i386 libsemanage1 i386 2.6-2build2 [90.4 kB] Get:87 http://ftpmaster.internal/ubuntu artful/main i386 libss2 i386 1.43.5-1 [11.5 kB] Get:88 http://ftpmaster.internal/ubuntu artful/main i386 passwd i386 1:4.2-3.2ubuntu4 [790 kB] Get:89 http://ftpmaster.internal/ubuntu artful/main i386 sensible-utils all 0.0.10 [14.6 kB] Get:90 http://ftpmaster.internal/ubuntu artful/main i386 dmsetup i386 2:1.02.137-2ubuntu3 [73.2 kB] Get:91 http://ftpmaster.internal/ubuntu artful/main i386 libassuan0 i386 2.4.3-3 [36.7 kB] Get:92 http://ftpmaster.internal/ubuntu artful/main i386 libnpth0 i386 1.5-2 [7942 B] Get:93 http://ftpmaster.internal/ubuntu artful/main i386 libssl1.0.0 i386 1.0.2g-1ubuntu13 [910 kB] Get:94 http://ftpmaster.internal/ubuntu artful/main i386 multiarch-support i386 2.24-12ubuntu1 [6836 B] Get:95 http://ftpmaster.internal/ubuntu artful/main i386 tzdata all 2017b-2 [203 kB] Get:96 http://ftpmaster.internal/ubuntu artful/main i386 xz-utils i386 5.2.2-1.3 [88.6 kB] Get:97 http://ftpmaster.internal/ubuntu artful/main i386 openssl i386 1.0.2g-1ubuntu13 [506 kB] Get:98 http://ftpmaster.internal/ubuntu artful/main i386 ca-certificates all 20170717 [167 kB] Get:99 http://ftpmaster.internal/ubuntu artful/main i386 libpng16-16 i386 1.6.32-1 [185 kB] Get:100 http://ftpmaster.internal/ubuntu artful/main i386 advancecomp i386 2.0-1 [206 kB] Get:101 http://ftpmaster.internal/ubuntu artful/main i386 binutils i386 2.29-10ubuntu1 [18.6 kB] Get:102 http://ftpmaster.internal/ubuntu artful/main i386 binutils-common i386 2.29-10ubuntu1 [190 kB] Get:103 http://ftpmaster.internal/ubuntu artful/main i386 libbinutils i386 2.29-10ubuntu1 [546 kB] Get:104 http://ftpmaster.internal/ubuntu artful/main i386 binutils-i686-linux-gnu i386 2.29-10ubuntu1 [1979 kB] Get:105 http://ftpmaster.internal/ubuntu artful/main i386 libmpfr4 i386 3.1.6-1 [194 kB] Get:106 http://ftpmaster.internal/ubuntu artful/main i386 libmpc3 i386 1.0.3-2 [44.5 kB] Get:107 http://ftpmaster.internal/ubuntu artful/main i386 cpp-7 i386 7.2.0-3ubuntu1 [31.8 MB] Get:108 http://ftpmaster.internal/ubuntu artful/main i386 cpp i386 4:7.1.0-1ubuntu3 [27.6 kB] Get:109 http://ftpmaster.internal/ubuntu artful/main i386 libquadmath0 i386 7.2.0-3ubuntu1 [205 kB] Get:110 http://ftpmaster.internal/ubuntu artful/main i386 libitm1 i386 7.2.0-3ubuntu1 [30.3 kB] Get:111 http://ftpmaster.internal/ubuntu artful/main i386 libmpx2 i386 7.2.0-3ubuntu1 [13.1 kB] Get:112 http://ftpmaster.internal/ubuntu artful/main i386 libubsan0 i386 7.2.0-3ubuntu1 [134 kB] Get:113 http://ftpmaster.internal/ubuntu artful/main i386 libcilkrts5 i386 7.2.0-3ubuntu1 [47.3 kB] Get:114 http://ftpmaster.internal/ubuntu artful/main i386 libgomp1 i386 7.2.0-3ubuntu1 [80.3 kB] Get:115 http://ftpmaster.internal/ubuntu artful/main i386 libatomic1 i386 7.2.0-3ubuntu1 [9708 B] Get:116 http://ftpmaster.internal/ubuntu artful/main i386 libasan3 i386 6.4.0-4ubuntu1 [308 kB] Get:117 http://ftpmaster.internal/ubuntu artful/universe i386 g++-6 i386 6.4.0-4ubuntu1 [7642 kB] Get:118 http://ftpmaster.internal/ubuntu artful/main i386 libstdc++-6-dev i386 6.4.0-4ubuntu1 [1473 kB] Get:119 http://ftpmaster.internal/ubuntu artful/main i386 gcc-6 i386 6.4.0-4ubuntu1 [7482 kB] Get:120 http://ftpmaster.internal/ubuntu artful/main i386 libgcc-6-dev i386 6.4.0-4ubuntu1 [2331 kB] Get:121 http://ftpmaster.internal/ubuntu artful/main i386 libcc1-0 i386 7.2.0-3ubuntu1 [41.4 kB] Get:122 http://ftpmaster.internal/ubuntu artful/main i386 cpp-6 i386 6.4.0-4ubuntu1 [6817 kB] Get:123 http://ftpmaster.internal/ubuntu artful/main i386 gcc-6-base i386 6.4.0-4ubuntu1 [16.6 kB] Get:124 http://ftpmaster.internal/ubuntu artful/main i386 dpkg-dev all 1.18.24ubuntu1 [608 kB] Get:125 http://ftpmaster.internal/ubuntu artful/main i386 libdpkg-perl all 1.18.24ubuntu1 [209 kB] Get:126 http://ftpmaster.internal/ubuntu artful/main i386 libasan4 i386 7.2.0-3ubuntu1 [355 kB] Get:127 http://ftpmaster.internal/ubuntu artful/main i386 libgcc-7-dev i386 7.2.0-3ubuntu1 [2384 kB] Get:128 http://ftpmaster.internal/ubuntu artful/main i386 gcc-7 i386 7.2.0-3ubuntu1 [31.3 MB] Get:129 http://ftpmaster.internal/ubuntu artful/main i386 gcc i386 4:7.1.0-1ubuntu3 [5336 B] Get:130 http://ftpmaster.internal/ubuntu artful/main i386 libstdc++-7-dev i386 7.2.0-3ubuntu1 [1495 kB] Get:131 http://ftpmaster.internal/ubuntu artful/main i386 g++-7 i386 7.2.0-3ubuntu1 [34.1 MB] Get:132 http://ftpmaster.internal/ubuntu artful/main i386 g++ i386 4:7.1.0-1ubuntu3 [1490 B] Get:133 http://ftpmaster.internal/ubuntu artful/main i386 libusb-0.1-4 i386 2:0.1.12-31 [17.7 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 166 MB in 6s (24.2 MB/s) (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 12465 files and directories currently installed.) Preparing to unpack .../debconf_1.5.63_all.deb ... Unpacking debconf (1.5.63) over (1.5.60ubuntu1) ... Setting up debconf (1.5.63) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 12465 files and directories currently installed.) Preparing to unpack .../perl_5.26.0-8ubuntu1_i386.deb ... Unpacking perl (5.26.0-8ubuntu1) over (5.24.1-2ubuntu1) ... Selecting previously unselected package perl-modules-5.26. Preparing to unpack .../perl-modules-5.26_5.26.0-8ubuntu1_all.deb ... Unpacking perl-modules-5.26 (5.26.0-8ubuntu1) ... Selecting previously unselected package libperl5.26:i386. Preparing to unpack .../libperl5.26_5.26.0-8ubuntu1_i386.deb ... Unpacking libperl5.26:i386 (5.26.0-8ubuntu1) ... Preparing to unpack .../perl-base_5.26.0-8ubuntu1_i386.deb ... Unpacking perl-base (5.26.0-8ubuntu1) over (5.24.1-2ubuntu1) ... Setting up perl-base (5.26.0-8ubuntu1) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 14306 files and directories currently installed.) Preparing to unpack .../libc6-dev_2.24-12ubuntu1_i386.deb ... Unpacking libc6-dev:i386 (2.24-12ubuntu1) over (2.24-9ubuntu2) ... Preparing to unpack .../libc-dev-bin_2.24-12ubuntu1_i386.deb ... Unpacking libc-dev-bin (2.24-12ubuntu1) over (2.24-9ubuntu2) ... Preparing to unpack .../linux-libc-dev_4.12.0-13.14_i386.deb ... Unpacking linux-libc-dev:i386 (4.12.0-13.14) over (4.10.0-20.22) ... Selecting previously unselected package gcc-7-base:i386. Preparing to unpack .../gcc-7-base_7.2.0-3ubuntu1_i386.deb ... Unpacking gcc-7-base:i386 (7.2.0-3ubuntu1) ... Setting up gcc-7-base:i386 (7.2.0-3ubuntu1) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 14367 files and directories currently installed.) Preparing to unpack .../libgcc1_1%3a7.2.0-3ubuntu1_i386.deb ... Unpacking libgcc1:i386 (1:7.2.0-3ubuntu1) over (1:6.3.0-14ubuntu3) ... Setting up libgcc1:i386 (1:7.2.0-3ubuntu1) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 14367 files and directories currently installed.) Preparing to unpack .../libc6_2.24-12ubuntu1_i386.deb ... Unpacking libc6:i386 (2.24-12ubuntu1) over (2.24-9ubuntu2) ... Setting up libc6:i386 (2.24-12ubuntu1) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 14367 files and directories currently installed.) Preparing to unpack .../libdb5.3_5.3.28-13.1_i386.deb ... Unpacking libdb5.3:i386 (5.3.28-13.1) over (5.3.28-12) ... Setting up libdb5.3:i386 (5.3.28-13.1) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 14367 files and directories currently installed.) Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-0ubuntu2_i386.deb ... Unpacking zlib1g:i386 (1:1.2.11.dfsg-0ubuntu2) over (1:1.2.11.dfsg-0ubuntu1) ... Setting up zlib1g:i386 (1:1.2.11.dfsg-0ubuntu2) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 14367 files and directories currently installed.) Preparing to unpack .../init-system-helpers_1.49ubuntu1_all.deb ... Unpacking init-system-helpers (1.49ubuntu1) over (1.47) ... Setting up init-system-helpers (1.49ubuntu1) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 14367 files and directories currently installed.) Preparing to unpack .../base-files_9.6ubuntu101_i386.deb ... Unpacking base-files (9.6ubuntu101) over (9.6ubuntu99) ... Setting up base-files (9.6ubuntu101) ... Installing new version of config file /etc/update-motd.d/50-motd-news ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 14367 files and directories currently installed.) Preparing to unpack .../debianutils_4.8.2_i386.deb ... Unpacking debianutils (4.8.2) over (4.8.1) ... Setting up debianutils (4.8.2) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 14367 files and directories currently installed.) Preparing to unpack .../bash_4.4-5ubuntu1_i386.deb ... Unpacking bash (4.4-5ubuntu1) over (4.4-2ubuntu1) ... Setting up bash (4.4-5ubuntu1) ... update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 14367 files and directories currently installed.) Preparing to unpack .../bsdutils_1%3a2.30.1-0ubuntu4_i386.deb ... Unpacking bsdutils (1:2.30.1-0ubuntu4) over (1:2.29-1ubuntu2) ... Setting up bsdutils (1:2.30.1-0ubuntu4) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 14367 files and directories currently installed.) Preparing to unpack .../diffutils_1%3a3.6-1_i386.deb ... Unpacking diffutils (1:3.6-1) over (1:3.5-3) ... Setting up diffutils (1:3.6-1) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 14367 files and directories currently installed.) Preparing to unpack .../archives/tar_1.29b-2_i386.deb ... Unpacking tar (1.29b-2) over (1.29b-1.1) ... Setting up tar (1.29b-2) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 14367 files and directories currently installed.) Preparing to unpack .../dpkg_1.18.24ubuntu1_i386.deb ... Unpacking dpkg (1.18.24ubuntu1) over (1.18.23ubuntu4) ... Setting up dpkg (1.18.24ubuntu1) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 14367 files and directories currently installed.) Preparing to unpack .../e2fslibs_1.43.5-1_i386.deb ... Unpacking e2fslibs:i386 (1.43.5-1) over (1.43.4-2) ... Setting up e2fslibs:i386 (1.43.5-1) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 14367 files and directories currently installed.) Preparing to unpack .../e2fsprogs_1.43.5-1_i386.deb ... Unpacking e2fsprogs (1.43.5-1) over (1.43.4-2) ... Setting up e2fsprogs (1.43.5-1) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 14367 files and directories currently installed.) Preparing to unpack .../findutils_4.6.0+git+20170729-2_i386.deb ... Unpacking findutils (4.6.0+git+20170729-2) over (4.6.0+git+20161106-2) ... Setting up findutils (4.6.0+git+20170729-2) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 14367 files and directories currently installed.) Preparing to unpack .../archives/grep_3.1-2_i386.deb ... Unpacking grep (3.1-2) over (2.27-2) ... Setting up grep (3.1-2) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 14367 files and directories currently installed.) Preparing to unpack .../login_1%3a4.2-3.2ubuntu4_i386.deb ... Unpacking login (1:4.2-3.2ubuntu4) over (1:4.2-3.2ubuntu1) ... Setting up login (1:4.2-3.2ubuntu4) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 14367 files and directories currently installed.) Preparing to unpack .../libuuid1_2.30.1-0ubuntu4_i386.deb ... Unpacking libuuid1:i386 (2.30.1-0ubuntu4) over (2.29-1ubuntu2) ... Setting up libuuid1:i386 (2.30.1-0ubuntu4) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 14367 files and directories currently installed.) Preparing to unpack .../libblkid1_2.30.1-0ubuntu4_i386.deb ... Unpacking libblkid1:i386 (2.30.1-0ubuntu4) over (2.29-1ubuntu2) ... Setting up libblkid1:i386 (2.30.1-0ubuntu4) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 14367 files and directories currently installed.) Preparing to unpack .../libpcre3_2%3a8.39-4_i386.deb ... Unpacking libpcre3:i386 (2:8.39-4) over (2:8.39-3) ... Setting up libpcre3:i386 (2:8.39-4) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 14367 files and directories currently installed.) Preparing to unpack .../libselinux1_2.6-3build2_i386.deb ... Unpacking libselinux1:i386 (2.6-3build2) over (2.6-3) ... Setting up libselinux1:i386 (2.6-3build2) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 14367 files and directories currently installed.) Preparing to unpack .../libmount1_2.30.1-0ubuntu4_i386.deb ... Unpacking libmount1:i386 (2.30.1-0ubuntu4) over (2.29-1ubuntu2) ... Setting up libmount1:i386 (2.30.1-0ubuntu4) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 14367 files and directories currently installed.) Preparing to unpack .../libsmartcols1_2.30.1-0ubuntu4_i386.deb ... Unpacking libsmartcols1:i386 (2.30.1-0ubuntu4) over (2.29-1ubuntu2) ... Setting up libsmartcols1:i386 (2.30.1-0ubuntu4) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 14367 files and directories currently installed.) Preparing to unpack .../libfdisk1_2.30.1-0ubuntu4_i386.deb ... Unpacking libfdisk1:i386 (2.30.1-0ubuntu4) over (2.29-1ubuntu2) ... Setting up libfdisk1:i386 (2.30.1-0ubuntu4) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 14367 files and directories currently installed.) Preparing to unpack .../mount_2.30.1-0ubuntu4_i386.deb ... Unpacking mount (2.30.1-0ubuntu4) over (2.29-1ubuntu2) ... Preparing to unpack .../util-linux_2.30.1-0ubuntu4_i386.deb ... Unpacking util-linux (2.30.1-0ubuntu4) over (2.29-1ubuntu2) ... Selecting previously unselected package fdisk. Preparing to unpack .../fdisk_2.30.1-0ubuntu4_i386.deb ... Unpacking fdisk (2.30.1-0ubuntu4) ... Setting up fdisk (2.30.1-0ubuntu4) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 14365 files and directories currently installed.) Preparing to unpack .../libc-bin_2.24-12ubuntu1_i386.deb ... Unpacking libc-bin (2.24-12ubuntu1) over (2.24-9ubuntu2) ... Setting up libc-bin (2.24-12ubuntu1) ... Updating /etc/nsswitch.conf to current default. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 14365 files and directories currently installed.) Preparing to unpack .../liblzma5_5.2.2-1.3_i386.deb ... Unpacking liblzma5:i386 (5.2.2-1.3) over (5.2.2-1.2) ... Setting up liblzma5:i386 (5.2.2-1.3) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 14365 files and directories currently installed.) Preparing to unpack .../libstdc++6_7.2.0-3ubuntu1_i386.deb ... Unpacking libstdc++6:i386 (7.2.0-3ubuntu1) over (6.3.0-14ubuntu3) ... Setting up libstdc++6:i386 (7.2.0-3ubuntu1) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 14365 files and directories currently installed.) Preparing to unpack .../libudev1_234-2ubuntu10_i386.deb ... Unpacking libudev1:i386 (234-2ubuntu10) over (232-21ubuntu3) ... Setting up libudev1:i386 (234-2ubuntu10) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 14365 files and directories currently installed.) Preparing to unpack .../libapt-pkg5.0_1.5~rc4_i386.deb ... Unpacking libapt-pkg5.0:i386 (1.5~rc4) over (1.4.1ubuntu2) ... Setting up libapt-pkg5.0:i386 (1.5~rc4) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 14365 files and directories currently installed.) Preparing to unpack .../libtasn1-6_4.12-2.1_i386.deb ... Unpacking libtasn1-6:i386 (4.12-2.1) over (4.10-1) ... Setting up libtasn1-6:i386 (4.12-2.1) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 14365 files and directories currently installed.) Preparing to unpack .../libidn11_1.33-2_i386.deb ... Unpacking libidn11:i386 (1.33-2) over (1.33-1) ... Setting up libidn11:i386 (1.33-2) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 14365 files and directories currently installed.) Preparing to unpack .../libp11-kit0_0.23.7-3_i386.deb ... Unpacking libp11-kit0:i386 (0.23.7-3) over (0.23.3-5) ... Setting up libp11-kit0:i386 (0.23.7-3) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 14365 files and directories currently installed.) Preparing to unpack .../libgnutls30_3.5.8-6ubuntu3_i386.deb ... Unpacking libgnutls30:i386 (3.5.8-6ubuntu3) over (3.5.6-4ubuntu4) ... Setting up libgnutls30:i386 (3.5.8-6ubuntu3) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 14365 files and directories currently installed.) Preparing to unpack .../libk5crypto3_1.15.1-2_i386.deb ... Unpacking libk5crypto3:i386 (1.15.1-2) over (1.15-2) ... Preparing to unpack .../libgssapi-krb5-2_1.15.1-2_i386.deb ... Unpacking libgssapi-krb5-2:i386 (1.15.1-2) over (1.15-2) ... Preparing to unpack .../libkrb5-3_1.15.1-2_i386.deb ... Unpacking libkrb5-3:i386 (1.15.1-2) over (1.15-2) ... Preparing to unpack .../libkrb5support0_1.15.1-2_i386.deb ... Unpacking libkrb5support0:i386 (1.15.1-2) over (1.15-2) ... Preparing to unpack .../libcomerr2_1.43.5-1_i386.deb ... Unpacking libcomerr2:i386 (1.43.5-1) over (1.43.4-2) ... Setting up libcomerr2:i386 (1.43.5-1) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 14365 files and directories currently installed.) Preparing to unpack .../00-libidn2-0_2.0.2-4_i386.deb ... Unpacking libidn2-0:i386 (2.0.2-4) over (0.16-1) ... Preparing to unpack .../01-libldap-2.4-2_2.4.45+dfsg-1ubuntu1_i386.deb ... Unpacking libldap-2.4-2:i386 (2.4.45+dfsg-1ubuntu1) over (2.4.44+dfsg-4ubuntu1) ... Preparing to unpack .../02-libldap-common_2.4.45+dfsg-1ubuntu1_all.deb ... Unpacking libldap-common (2.4.45+dfsg-1ubuntu1) over (2.4.44+dfsg-4ubuntu1) ... Preparing to unpack .../03-libroken18-heimdal_7.4.0.dfsg.1-2_i386.deb ... Unpacking libroken18-heimdal:i386 (7.4.0.dfsg.1-2) over (7.1.0+dfsg-9ubuntu1) ... Preparing to unpack .../04-libasn1-8-heimdal_7.4.0.dfsg.1-2_i386.deb ... Unpacking libasn1-8-heimdal:i386 (7.4.0.dfsg.1-2) over (7.1.0+dfsg-9ubuntu1) ... Preparing to unpack .../05-libheimbase1-heimdal_7.4.0.dfsg.1-2_i386.deb ... Unpacking libheimbase1-heimdal:i386 (7.4.0.dfsg.1-2) over (7.1.0+dfsg-9ubuntu1) ... Preparing to unpack .../06-libhcrypto4-heimdal_7.4.0.dfsg.1-2_i386.deb ... Unpacking libhcrypto4-heimdal:i386 (7.4.0.dfsg.1-2) over (7.1.0+dfsg-9ubuntu1) ... Preparing to unpack .../07-libwind0-heimdal_7.4.0.dfsg.1-2_i386.deb ... Unpacking libwind0-heimdal:i386 (7.4.0.dfsg.1-2) over (7.1.0+dfsg-9ubuntu1) ... Preparing to unpack .../08-libhx509-5-heimdal_7.4.0.dfsg.1-2_i386.deb ... Unpacking libhx509-5-heimdal:i386 (7.4.0.dfsg.1-2) over (7.1.0+dfsg-9ubuntu1) ... Preparing to unpack .../09-libsqlite3-0_3.19.3-3_i386.deb ... Unpacking libsqlite3-0:i386 (3.19.3-3) over (3.16.2-3) ... Preparing to unpack .../10-libkrb5-26-heimdal_7.4.0.dfsg.1-2_i386.deb ... Unpacking libkrb5-26-heimdal:i386 (7.4.0.dfsg.1-2) over (7.1.0+dfsg-9ubuntu1) ... Preparing to unpack .../11-libheimntlm0-heimdal_7.4.0.dfsg.1-2_i386.deb ... Unpacking libheimntlm0-heimdal:i386 (7.4.0.dfsg.1-2) over (7.1.0+dfsg-9ubuntu1) ... Preparing to unpack .../12-libgssapi3-heimdal_7.4.0.dfsg.1-2_i386.deb ... Unpacking libgssapi3-heimdal:i386 (7.4.0.dfsg.1-2) over (7.1.0+dfsg-9ubuntu1) ... Preparing to unpack .../13-libsasl2-modules-db_2.1.27~101-g0780600+dfsg-3ubuntu1_i386.deb ... Unpacking libsasl2-modules-db:i386 (2.1.27~101-g0780600+dfsg-3ubuntu1) over (2.1.27~101-g0780600+dfsg-2ubuntu1) ... Preparing to unpack .../14-libsasl2-2_2.1.27~101-g0780600+dfsg-3ubuntu1_i386.deb ... Unpacking libsasl2-2:i386 (2.1.27~101-g0780600+dfsg-3ubuntu1) over (2.1.27~101-g0780600+dfsg-2ubuntu1) ... Preparing to unpack .../15-libpsl5_0.18.0-2_i386.deb ... Unpacking libpsl5:i386 (0.18.0-2) over (0.17.0-4) ... Preparing to unpack .../16-libcurl3-gnutls_7.55.0-1ubuntu2_i386.deb ... Unpacking libcurl3-gnutls:i386 (7.55.0-1ubuntu2) over (7.52.1-5ubuntu1) ... Preparing to unpack .../17-apt-transport-https_1.5~rc4_i386.deb ... Unpacking apt-transport-https (1.5~rc4) over (1.4.1ubuntu2) ... Preparing to unpack .../18-apt_1.5~rc4_i386.deb ... Unpacking apt (1.5~rc4) over (1.4.1ubuntu2) ... Setting up apt (1.5~rc4) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 14369 files and directories currently installed.) Preparing to unpack .../libip4tc0_1.6.1-2ubuntu1_i386.deb ... Unpacking libip4tc0:i386 (1.6.1-2ubuntu1) over (1.6.0-3ubuntu2) ... Preparing to unpack .../libapparmor1_2.11.0-2ubuntu17_i386.deb ... Unpacking libapparmor1:i386 (2.11.0-2ubuntu17) over (2.11.0-2ubuntu4) ... Preparing to unpack .../libaudit-common_1%3a2.7.7-1ubuntu2_all.deb ... Unpacking libaudit-common (1:2.7.7-1ubuntu2) over (1:2.6.6-1ubuntu1) ... Setting up libaudit-common (1:2.7.7-1ubuntu2) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 14369 files and directories currently installed.) Preparing to unpack .../libcap-ng0_0.7.7-3build1_i386.deb ... Unpacking libcap-ng0:i386 (0.7.7-3build1) over (0.7.7-3) ... Setting up libcap-ng0:i386 (0.7.7-3build1) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 14369 files and directories currently installed.) Preparing to unpack .../libaudit1_1%3a2.7.7-1ubuntu2_i386.deb ... Unpacking libaudit1:i386 (1:2.7.7-1ubuntu2) over (1:2.6.6-1ubuntu1) ... Setting up libaudit1:i386 (1:2.7.7-1ubuntu2) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 14369 files and directories currently installed.) Preparing to unpack .../libdevmapper1.02.1_2%3a1.02.137-2ubuntu3_i386.deb ... Unpacking libdevmapper1.02.1:i386 (2:1.02.137-2ubuntu3) over (2:1.02.136-1ubuntu5) ... Preparing to unpack .../libgpg-error0_1.27-3_i386.deb ... Unpacking libgpg-error0:i386 (1.27-3) over (1.26-2) ... Setting up libgpg-error0:i386 (1.27-3) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 14369 files and directories currently installed.) Preparing to unpack .../libgcrypt20_1.7.8-2_i386.deb ... Unpacking libgcrypt20:i386 (1.7.8-2) over (1.7.6-1) ... Setting up libgcrypt20:i386 (1.7.8-2) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 14369 files and directories currently installed.) Preparing to unpack .../libcryptsetup4_2%3a1.7.3-4ubuntu1_i386.deb ... Unpacking libcryptsetup4:i386 (2:1.7.3-4ubuntu1) over (2:1.7.2-0ubuntu1) ... Preparing to unpack .../libkmod2_24-1ubuntu2_i386.deb ... Unpacking libkmod2:i386 (24-1ubuntu2) over (22-1.1ubuntu1) ... Preparing to unpack .../systemd_234-2ubuntu10_i386.deb ... Unpacking systemd (234-2ubuntu10) over (232-21ubuntu3) ... dpkg: warning: unable to delete old directory '/etc/dbus-1/system.d': Directory not empty dpkg: warning: unable to delete old directory '/etc/dbus-1': Directory not empty Preparing to unpack .../libsystemd0_234-2ubuntu10_i386.deb ... Unpacking libsystemd0:i386 (234-2ubuntu10) over (232-21ubuntu3) ... Setting up libsystemd0:i386 (234-2ubuntu10) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 14394 files and directories currently installed.) Preparing to unpack .../init_1.49ubuntu1_i386.deb ... Unpacking init (1.49ubuntu1) over (1.47) ... Setting up libapparmor1:i386 (2.11.0-2ubuntu17) ... Setting up libdevmapper1.02.1:i386 (2:1.02.137-2ubuntu3) ... Setting up libcryptsetup4:i386 (2:1.7.3-4ubuntu1) ... Setting up libip4tc0:i386 (1.6.1-2ubuntu1) ... Setting up libkmod2:i386 (24-1ubuntu2) ... Setting up util-linux (2.30.1-0ubuntu4) ... update-alternatives: warning: alternative /usr/bin/pg (part of link group pager) doesn't exist; removing from list of alternatives Setting up mount (2.30.1-0ubuntu4) ... Setting up systemd (234-2ubuntu10) ... Installing new version of config file /etc/systemd/resolved.conf ... Created symlink /etc/systemd/system/dbus-org.freedesktop.resolve1.service -> /lib/systemd/system/systemd-resolved.service. Created symlink /etc/systemd/system/multi-user.target.wants/systemd-resolved.service -> /lib/systemd/system/systemd-resolved.service. Created symlink /etc/systemd/system/dbus-org.freedesktop.network1.service -> /lib/systemd/system/systemd-networkd.service. Created symlink /etc/systemd/system/multi-user.target.wants/systemd-networkd.service -> /lib/systemd/system/systemd-networkd.service. Created symlink /etc/systemd/system/sockets.target.wants/systemd-networkd.socket -> /lib/systemd/system/systemd-networkd.socket. Created symlink /etc/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service -> /lib/systemd/system/systemd-networkd-wait-online.service. addgroup: The group `systemd-journal' already exists as a system group. Exiting. Removing obsolete conffile /etc/dbus-1/system.d/org.freedesktop.hostname1.conf ... Removing obsolete conffile /etc/dbus-1/system.d/org.freedesktop.locale1.conf ... Removing obsolete conffile /etc/dbus-1/system.d/org.freedesktop.login1.conf ... Removing obsolete conffile /etc/dbus-1/system.d/org.freedesktop.network1.conf ... Removing obsolete conffile /etc/dbus-1/system.d/org.freedesktop.resolve1.conf ... Removing obsolete conffile /etc/dbus-1/system.d/org.freedesktop.systemd1.conf ... Removing obsolete conffile /etc/dbus-1/system.d/org.freedesktop.timedate1.conf ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 14394 files and directories currently installed.) Preparing to unpack .../systemd-sysv_234-2ubuntu10_i386.deb ... Unpacking systemd-sysv (234-2ubuntu10) over (232-21ubuntu3) ... Preparing to unpack .../libsepol1_2.7-1_i386.deb ... Unpacking libsepol1:i386 (2.7-1) over (2.6-2) ... Setting up libsepol1:i386 (2.7-1) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 14394 files and directories currently installed.) Preparing to unpack .../libsemanage-common_2.6-2build2_all.deb ... Unpacking libsemanage-common (2.6-2build2) over (2.6-2) ... Setting up libsemanage-common (2.6-2build2) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 14394 files and directories currently installed.) Preparing to unpack .../libsemanage1_2.6-2build2_i386.deb ... Unpacking libsemanage1:i386 (2.6-2build2) over (2.6-2) ... Setting up libsemanage1:i386 (2.6-2build2) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 14394 files and directories currently installed.) Preparing to unpack .../libss2_1.43.5-1_i386.deb ... Unpacking libss2:i386 (1.43.5-1) over (1.43.4-2) ... Setting up libss2:i386 (1.43.5-1) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 14394 files and directories currently installed.) Preparing to unpack .../passwd_1%3a4.2-3.2ubuntu4_i386.deb ... Unpacking passwd (1:4.2-3.2ubuntu4) over (1:4.2-3.2ubuntu1) ... dpkg: warning: unable to delete old directory '/etc/init': Directory not empty Setting up passwd (1:4.2-3.2ubuntu4) ... Removing obsolete conffile /etc/init/passwd.conf ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 14392 files and directories currently installed.) Preparing to unpack .../sensible-utils_0.0.10_all.deb ... Unpacking sensible-utils (0.0.10) over (0.0.9) ... Setting up sensible-utils (0.0.10) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 14385 files and directories currently installed.) Preparing to unpack .../00-dmsetup_2%3a1.02.137-2ubuntu3_i386.deb ... Unpacking dmsetup (2:1.02.137-2ubuntu3) over (2:1.02.136-1ubuntu5) ... Preparing to unpack .../01-libassuan0_2.4.3-3_i386.deb ... Unpacking libassuan0:i386 (2.4.3-3) over (2.4.3-2) ... Preparing to unpack .../02-libnpth0_1.5-2_i386.deb ... Unpacking libnpth0:i386 (1.5-2) over (1.3-1) ... Preparing to unpack .../03-libssl1.0.0_1.0.2g-1ubuntu13_i386.deb ... Unpacking libssl1.0.0:i386 (1.0.2g-1ubuntu13) over (1.0.2g-1ubuntu12) ... Preparing to unpack .../04-multiarch-support_2.24-12ubuntu1_i386.deb ... Unpacking multiarch-support (2.24-12ubuntu1) over (2.24-9ubuntu2) ... Preparing to unpack .../05-tzdata_2017b-2_all.deb ... Unpacking tzdata (2017b-2) over (2017b-1) ... Preparing to unpack .../06-xz-utils_5.2.2-1.3_i386.deb ... Unpacking xz-utils (5.2.2-1.3) over (5.2.2-1.2) ... Preparing to unpack .../07-openssl_1.0.2g-1ubuntu13_i386.deb ... Unpacking openssl (1.0.2g-1ubuntu13) over (1.0.2g-1ubuntu12) ... Preparing to unpack .../08-ca-certificates_20170717_all.deb ... Unpacking ca-certificates (20170717) over (20161130) ... Preparing to unpack .../09-libpng16-16_1.6.32-1_i386.deb ... Unpacking libpng16-16:i386 (1.6.32-1) over (1.6.29-2) ... Preparing to unpack .../10-advancecomp_2.0-1_i386.deb ... Unpacking advancecomp (2.0-1) over (1.20-1) ... Preparing to unpack .../11-binutils_2.29-10ubuntu1_i386.deb ... Unpacking binutils (2.29-10ubuntu1) over (2.28-4ubuntu1) ... Selecting previously unselected package binutils-common:i386. Preparing to unpack .../12-binutils-common_2.29-10ubuntu1_i386.deb ... Unpacking binutils-common:i386 (2.29-10ubuntu1) ... Selecting previously unselected package libbinutils:i386. Preparing to unpack .../13-libbinutils_2.29-10ubuntu1_i386.deb ... Unpacking libbinutils:i386 (2.29-10ubuntu1) ... Selecting previously unselected package binutils-i686-linux-gnu. Preparing to unpack .../14-binutils-i686-linux-gnu_2.29-10ubuntu1_i386.deb ... Unpacking binutils-i686-linux-gnu (2.29-10ubuntu1) ... Preparing to unpack .../15-libmpfr4_3.1.6-1_i386.deb ... Unpacking libmpfr4:i386 (3.1.6-1) over (3.1.5-1) ... Preparing to unpack .../16-libmpc3_1.0.3-2_i386.deb ... Unpacking libmpc3:i386 (1.0.3-2) over (1.0.3-1) ... Selecting previously unselected package cpp-7. Preparing to unpack .../17-cpp-7_7.2.0-3ubuntu1_i386.deb ... Unpacking cpp-7 (7.2.0-3ubuntu1) ... Preparing to unpack .../18-cpp_4%3a7.1.0-1ubuntu3_i386.deb ... Unpacking cpp (4:7.1.0-1ubuntu3) over (4:6.3.0-2ubuntu1) ... Preparing to unpack .../19-libquadmath0_7.2.0-3ubuntu1_i386.deb ... Unpacking libquadmath0:i386 (7.2.0-3ubuntu1) over (6.3.0-14ubuntu3) ... Preparing to unpack .../20-libitm1_7.2.0-3ubuntu1_i386.deb ... Unpacking libitm1:i386 (7.2.0-3ubuntu1) over (6.3.0-14ubuntu3) ... Preparing to unpack .../21-libmpx2_7.2.0-3ubuntu1_i386.deb ... Unpacking libmpx2:i386 (7.2.0-3ubuntu1) over (6.3.0-14ubuntu3) ... Preparing to unpack .../22-libubsan0_7.2.0-3ubuntu1_i386.deb ... Unpacking libubsan0:i386 (7.2.0-3ubuntu1) over (6.3.0-14ubuntu3) ... Preparing to unpack .../23-libcilkrts5_7.2.0-3ubuntu1_i386.deb ... Unpacking libcilkrts5:i386 (7.2.0-3ubuntu1) over (6.3.0-14ubuntu3) ... Preparing to unpack .../24-libgomp1_7.2.0-3ubuntu1_i386.deb ... Unpacking libgomp1:i386 (7.2.0-3ubuntu1) over (6.3.0-14ubuntu3) ... Preparing to unpack .../25-libatomic1_7.2.0-3ubuntu1_i386.deb ... Unpacking libatomic1:i386 (7.2.0-3ubuntu1) over (6.3.0-14ubuntu3) ... Preparing to unpack .../26-libasan3_6.4.0-4ubuntu1_i386.deb ... Unpacking libasan3:i386 (6.4.0-4ubuntu1) over (6.3.0-14ubuntu3) ... Preparing to unpack .../27-g++-6_6.4.0-4ubuntu1_i386.deb ... Unpacking g++-6 (6.4.0-4ubuntu1) over (6.3.0-14ubuntu3) ... Preparing to unpack .../28-libstdc++-6-dev_6.4.0-4ubuntu1_i386.deb ... Unpacking libstdc++-6-dev:i386 (6.4.0-4ubuntu1) over (6.3.0-14ubuntu3) ... Preparing to unpack .../29-gcc-6_6.4.0-4ubuntu1_i386.deb ... Unpacking gcc-6 (6.4.0-4ubuntu1) over (6.3.0-14ubuntu3) ... Replacing files in old package cpp-6 (6.3.0-14ubuntu3) ... Preparing to unpack .../30-libgcc-6-dev_6.4.0-4ubuntu1_i386.deb ... Unpacking libgcc-6-dev:i386 (6.4.0-4ubuntu1) over (6.3.0-14ubuntu3) ... Preparing to unpack .../31-libcc1-0_7.2.0-3ubuntu1_i386.deb ... Unpacking libcc1-0:i386 (7.2.0-3ubuntu1) over (6.3.0-14ubuntu3) ... Preparing to unpack .../32-cpp-6_6.4.0-4ubuntu1_i386.deb ... Unpacking cpp-6 (6.4.0-4ubuntu1) over (6.3.0-14ubuntu3) ... Preparing to unpack .../33-gcc-6-base_6.4.0-4ubuntu1_i386.deb ... Unpacking gcc-6-base:i386 (6.4.0-4ubuntu1) over (6.3.0-14ubuntu3) ... Preparing to unpack .../34-dpkg-dev_1.18.24ubuntu1_all.deb ... Unpacking dpkg-dev (1.18.24ubuntu1) over (1.18.23ubuntu4) ... Preparing to unpack .../35-libdpkg-perl_1.18.24ubuntu1_all.deb ... Unpacking libdpkg-perl (1.18.24ubuntu1) over (1.18.23ubuntu4) ... Selecting previously unselected package libasan4:i386. Preparing to unpack .../36-libasan4_7.2.0-3ubuntu1_i386.deb ... Unpacking libasan4:i386 (7.2.0-3ubuntu1) ... Selecting previously unselected package libgcc-7-dev:i386. Preparing to unpack .../37-libgcc-7-dev_7.2.0-3ubuntu1_i386.deb ... Unpacking libgcc-7-dev:i386 (7.2.0-3ubuntu1) ... Selecting previously unselected package gcc-7. Preparing to unpack .../38-gcc-7_7.2.0-3ubuntu1_i386.deb ... Unpacking gcc-7 (7.2.0-3ubuntu1) ... Preparing to unpack .../39-gcc_4%3a7.1.0-1ubuntu3_i386.deb ... Removing old gcc doc directory. Unpacking gcc (4:7.1.0-1ubuntu3) over (4:6.3.0-2ubuntu1) ... Selecting previously unselected package libstdc++-7-dev:i386. Preparing to unpack .../40-libstdc++-7-dev_7.2.0-3ubuntu1_i386.deb ... Unpacking libstdc++-7-dev:i386 (7.2.0-3ubuntu1) ... Selecting previously unselected package g++-7. Preparing to unpack .../41-g++-7_7.2.0-3ubuntu1_i386.deb ... Unpacking g++-7 (7.2.0-3ubuntu1) ... Preparing to unpack .../42-g++_4%3a7.1.0-1ubuntu3_i386.deb ... Unpacking g++ (4:7.1.0-1ubuntu3) over (4:6.3.0-2ubuntu1) ... Preparing to unpack .../43-libusb-0.1-4_2%3a0.1.12-31_i386.deb ... Unpacking libusb-0.1-4:i386 (2:0.1.12-31) over (2:0.1.12-30) ... Setting up libquadmath0:i386 (7.2.0-3ubuntu1) ... Setting up libnpth0:i386 (1.5-2) ... Setting up libgomp1:i386 (7.2.0-3ubuntu1) ... Setting up libatomic1:i386 (7.2.0-3ubuntu1) ... Setting up libcc1-0:i386 (7.2.0-3ubuntu1) ... Setting up libidn2-0:i386 (2.0.2-4) ... Setting up libssl1.0.0:i386 (1.0.2g-1ubuntu13) ... Setting up libasan4:i386 (7.2.0-3ubuntu1) ... Setting up libpng16-16:i386 (1.6.32-1) ... Setting up libldap-common (2.4.45+dfsg-1ubuntu1) ... Setting up libcilkrts5:i386 (7.2.0-3ubuntu1) ... Setting up libpsl5:i386 (0.18.0-2) ... Setting up multiarch-support (2.24-12ubuntu1) ... Setting up tzdata (2017b-2) ... Current default time zone: 'Etc/UTC' Local time is now: Mon Sep 18 08:32:06 UTC 2017. Universal Time is now: Mon Sep 18 08:32:06 UTC 2017. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up systemd-sysv (234-2ubuntu10) ... Setting up libubsan0:i386 (7.2.0-3ubuntu1) ... Setting up gcc-6-base:i386 (6.4.0-4ubuntu1) ... Setting up libsasl2-modules-db:i386 (2.1.27~101-g0780600+dfsg-3ubuntu1) ... Setting up linux-libc-dev:i386 (4.12.0-13.14) ... Setting up advancecomp (2.0-1) ... Setting up libsasl2-2:i386 (2.1.27~101-g0780600+dfsg-3ubuntu1) ... Setting up libroken18-heimdal:i386 (7.4.0.dfsg.1-2) ... Setting up perl-modules-5.26 (5.26.0-8ubuntu1) ... Setting up libkrb5support0:i386 (1.15.1-2) ... Setting up binutils-common:i386 (2.29-10ubuntu1) ... Setting up libmpx2:i386 (7.2.0-3ubuntu1) ... Processing triggers for libc-bin (2.24-12ubuntu1) ... Setting up libperl5.26:i386 (5.26.0-8ubuntu1) ... Setting up xz-utils (5.2.2-1.3) ... Setting up libheimbase1-heimdal:i386 (7.4.0.dfsg.1-2) ... Setting up openssl (1.0.2g-1ubuntu13) ... Setting up libsqlite3-0:i386 (3.19.3-3) ... Setting up libmpfr4:i386 (3.1.6-1) ... Setting up dmsetup (2:1.02.137-2ubuntu3) ... Setting up libmpc3:i386 (1.0.3-2) ... Setting up cpp-6 (6.4.0-4ubuntu1) ... Setting up libc-dev-bin (2.24-12ubuntu1) ... Setting up ca-certificates (20170717) ... Updating certificates in /etc/ssl/certs... 7 added, 32 removed; done. Setting up libc6-dev:i386 (2.24-12ubuntu1) ... Setting up libassuan0:i386 (2.4.3-3) ... Setting up libusb-0.1-4:i386 (2:0.1.12-31) ... Setting up libitm1:i386 (7.2.0-3ubuntu1) ... Setting up libk5crypto3:i386 (1.15.1-2) ... Setting up libasan3:i386 (6.4.0-4ubuntu1) ... Setting up libgcc-6-dev:i386 (6.4.0-4ubuntu1) ... Setting up libstdc++-6-dev:i386 (6.4.0-4ubuntu1) ... Setting up libwind0-heimdal:i386 (7.4.0.dfsg.1-2) ... Setting up libbinutils:i386 (2.29-10ubuntu1) ... Setting up init (1.49ubuntu1) ... Setting up libasn1-8-heimdal:i386 (7.4.0.dfsg.1-2) ... Setting up libhcrypto4-heimdal:i386 (7.4.0.dfsg.1-2) ... Setting up libhx509-5-heimdal:i386 (7.4.0.dfsg.1-2) ... Setting up libgcc-7-dev:i386 (7.2.0-3ubuntu1) ... Setting up cpp-7 (7.2.0-3ubuntu1) ... Setting up libstdc++-7-dev:i386 (7.2.0-3ubuntu1) ... Setting up perl (5.26.0-8ubuntu1) ... update-alternatives: warning: alternative /usr/bin/prename (part of link group rename) doesn't exist; removing from list of alternatives update-alternatives: warning: /etc/alternatives/rename is dangling; it will be updated with best choice Removing obsolete conffile /etc/perl/sitecustomize.pl ... Setting up binutils-i686-linux-gnu (2.29-10ubuntu1) ... Setting up libkrb5-3:i386 (1.15.1-2) ... Setting up binutils (2.29-10ubuntu1) ... Setting up libkrb5-26-heimdal:i386 (7.4.0.dfsg.1-2) ... Setting up libheimntlm0-heimdal:i386 (7.4.0.dfsg.1-2) ... Setting up cpp (4:7.1.0-1ubuntu3) ... Setting up gcc-7 (7.2.0-3ubuntu1) ... Setting up g++-7 (7.2.0-3ubuntu1) ... Setting up libdpkg-perl (1.18.24ubuntu1) ... Setting up gcc (4:7.1.0-1ubuntu3) ... Setting up gcc-6 (6.4.0-4ubuntu1) ... Setting up libgssapi-krb5-2:i386 (1.15.1-2) ... Setting up g++-6 (6.4.0-4ubuntu1) ... Setting up dpkg-dev (1.18.24ubuntu1) ... Setting up g++ (4:7.1.0-1ubuntu3) ... Setting up libgssapi3-heimdal:i386 (7.4.0.dfsg.1-2) ... Setting up libldap-2.4-2:i386 (2.4.45+dfsg-1ubuntu1) ... Setting up libcurl3-gnutls:i386 (7.55.0-1ubuntu2) ... Setting up apt-transport-https (1.5~rc4) ... Processing triggers for libc-bin (2.24-12ubuntu1) ... Processing triggers for ca-certificates (20170717) ... Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... done. RUN: /usr/share/launchpad-buildd/slavebin/sbuild-package PACKAGEBUILD-13388159 i386 artful -c chroot:build-PACKAGEBUILD-13388159 --arch=i386 --dist=artful --nolog petsc_3.7.6+git201709181029-0957343e-1artful1.dsc Initiating build PACKAGEBUILD-13388159 with 4 jobs across 4 processor cores. Kernel reported to sbuild: 4.4.0-93-generic #116-Ubuntu SMP Fri Aug 11 21:17:51 UTC 2017 i686 sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on lgw01-amd64-006.buildd +==============================================================================+ | petsc 3.7.6+git201709181029-0957343e-1artful1 (i386) 18 Sep 2017 08:32 | +==============================================================================+ Package: petsc Version: 3.7.6+git201709181029-0957343e-1artful1 Source Version: 3.7.6+git201709181029-0957343e-1artful1 Distribution: artful Machine Architecture: amd64 Host Architecture: i386 Build Architecture: i386 I: NOTICE: Log filtering will replace 'build/petsc-CaXQzO/petsc-3.7.6+git201709181029-0957343e' with '<>' I: NOTICE: Log filtering will replace 'build/petsc-CaXQzO' with '<>' I: NOTICE: Log filtering will replace 'home/buildd/build-PACKAGEBUILD-13388159/chroot-autobuild' with '<>' +------------------------------------------------------------------------------+ | Fetch source files | +------------------------------------------------------------------------------+ Local sources ------------- petsc_3.7.6+git201709181029-0957343e-1artful1.dsc exists in .; copying to chroot Check architectures ------------------- Check dependencies ------------------ Merged Build-Depends: build-essential, fakeroot Filtered Build-Depends: build-essential, fakeroot dpkg-deb: building package 'sbuild-build-depends-core-dummy' in '/<>/resolver-ZAQdOJ/apt_archive/sbuild-build-depends-core-dummy.deb'. Ign:1 copy:/<>/resolver-ZAQdOJ/apt_archive ./ InRelease Get:2 copy:/<>/resolver-ZAQdOJ/apt_archive ./ Release [2119 B] Ign:3 copy:/<>/resolver-ZAQdOJ/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-ZAQdOJ/apt_archive ./ Sources [214 B] Get:5 copy:/<>/resolver-ZAQdOJ/apt_archive ./ Packages [528 B] Fetched 2861 B in 0s (277 kB/s) Reading package lists... Reading package lists... +------------------------------------------------------------------------------+ | Install core build dependencies (apt-based resolver) | +------------------------------------------------------------------------------+ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following packages were automatically installed and are no longer required: g++-6 libperl5.24 libstdc++-6-dev perl-modules-5.24 Use 'apt autoremove' to remove them. The following NEW packages will be installed: sbuild-build-depends-core-dummy 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 778 B of archives. After this operation, 0 B of additional disk space will be used. Get:1 copy:/<>/resolver-ZAQdOJ/apt_archive ./ sbuild-build-depends-core-dummy 0.invalid.0 [778 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 778 B in 0s (0 B/s) Selecting previously unselected package sbuild-build-depends-core-dummy. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 15395 files and directories currently installed.) Preparing to unpack .../sbuild-build-depends-core-dummy_0.invalid.0_i386.deb ... Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ... Setting up sbuild-build-depends-core-dummy (0.invalid.0) ... Merged Build-Depends: debhelper (>= 10), quilt, python (>= 2.2), gfortran, pkg-config, dh-python, mpi-default-dev (>= 1.0.2), libblas-dev, liblapack-dev, libsuitesparse-dev (>= 1:4.2.1), libspooles-dev (>= 2.2-6), libhypre-dev (>= 2.11.1-3), libptscotch-dev, libhdf5-mpi-dev (>= 1.8.8), libscalapack-mpi-dev, libmumps-dev, libfftw3-dev, libfftw3-mpi-dev, libssl-dev, libsuperlu-dev (>= 5.2) Filtered Build-Depends: debhelper (>= 10), quilt, python (>= 2.2), gfortran, pkg-config, dh-python, mpi-default-dev (>= 1.0.2), libblas-dev, liblapack-dev, libsuitesparse-dev (>= 1:4.2.1), libspooles-dev (>= 2.2-6), libhypre-dev (>= 2.11.1-3), libptscotch-dev, libhdf5-mpi-dev (>= 1.8.8), libscalapack-mpi-dev, libmumps-dev, libfftw3-dev, libfftw3-mpi-dev, libssl-dev, libsuperlu-dev (>= 5.2) dpkg-deb: building package 'sbuild-build-depends-petsc-dummy' in '/<>/resolver-tfLE89/apt_archive/sbuild-build-depends-petsc-dummy.deb'. Ign:1 copy:/<>/resolver-tfLE89/apt_archive ./ InRelease Get:2 copy:/<>/resolver-tfLE89/apt_archive ./ Release [2119 B] Ign:3 copy:/<>/resolver-tfLE89/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-tfLE89/apt_archive ./ Sources [362 B] Get:5 copy:/<>/resolver-tfLE89/apt_archive ./ Packages [684 B] Fetched 3165 B in 0s (282 kB/s) Reading package lists... Reading package lists... +------------------------------------------------------------------------------+ | Install petsc build dependencies (apt-based resolver) | +------------------------------------------------------------------------------+ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following packages were automatically installed and are no longer required: g++-6 libperl5.24 libstdc++-6-dev perl-modules-5.24 Use 'apt autoremove' to remove them. The following additional packages will be installed: autoconf automake autopoint autotools-dev bsdmainutils debhelper dh-autoreconf dh-python dh-strip-nondeterminism diffstat file gettext gettext-base gfortran gfortran-7 groff-base intltool-debian libaec-dev libaec0 libamd2 libarchive-zip-perl libblacs-mpi-dev libblacs-openmpi1 libblas-dev libblas3 libbsd0 libbtf1 libcamd2 libccolamd2 libcholmod3 libcolamd2 libcroco3 libcxsparse3 libexpat1 libfabric1 libfftw3-bin libfftw3-dev libfftw3-double3 libfftw3-long3 libfftw3-mpi-dev libfftw3-mpi3 libfftw3-quad3 libfftw3-single3 libfile-stripnondeterminism-perl libgfortran-7-dev libgfortran4 libglib2.0-0 libhdf5-mpi-dev libhdf5-openmpi-100 libhdf5-openmpi-dev libhwloc-dev libhwloc-plugins libhwloc5 libhypre-2.11.1 libhypre-dev libibverbs-dev libibverbs1 libicu57 libjpeg-dev libjpeg-turbo8 libjpeg-turbo8-dev libjpeg8 libjpeg8-dev libklu1 liblapack-dev liblapack3 libldl2 libltdl-dev libltdl7 libmagic-mgc libmagic1 libmetis5 libmpdec2 libmumps-5.1.1 libmumps-dev libnl-3-200 libnl-route-3-200 libnuma-dev libnuma1 libopenmpi-dev libopenmpi2 libpciaccess0 libpipeline1 libpsm-infinipath1 libptscotch-5.1 libptscotch-dev libpython-stdlib libpython2.7-minimal libpython2.7-stdlib libpython3-stdlib libpython3.6-minimal libpython3.6-stdlib librbio2 librdmacm1 libscalapack-mpi-dev libscalapack-openmpi1 libscotch-5.1 libscotch-dev libsigsegv2 libspooles-dev libspooles2.2 libspqr2 libssl-dev libsuitesparse-dev libsuitesparseconfig4 libsuperlu-dev libsuperlu5 libsz2 libtimedate-perl libtool libumfpack5 libxml2 m4 man-db mime-support mpi-default-bin mpi-default-dev ocl-icd-libopencl1 openmpi-bin openmpi-common pkg-config po-debconf python python-minimal python2.7 python2.7-minimal python3 python3-minimal python3.6 python3.6-minimal quilt zlib1g-dev Suggested packages: autoconf-archive gnu-standards autoconf-doc wamerican | wordlist whois vacation dh-make gettext-doc libasprintf-dev libgettextpo-dev gfortran-multilib gfortran-doc gfortran-7-multilib gfortran-7-doc libgfortran4-dbg libcoarrays-dev groff liblapack-doc libfftw3-doc libhdf5-doc libhwloc-contrib-plugins libtool-doc openmpi-doc pciutils scalapack-doc spooles-doc libsuperlu-doc gcj-jdk m4-doc less www-browser opencl-icd libmail-box-perl python-doc python-tk python2.7-doc binfmt-support python3-doc python3-tk python3-venv python3.6-venv python3.6-doc procmail graphviz default-mta | mail-transport-agent Recommended packages: curl | wget | lynx-cur libarchive-cpio-perl libglib2.0-data shared-mime-info xdg-user-dirs libssl-doc xml-core libmail-sendmail-perl less The following packages will be REMOVED: pkg-create-dbgsym* The following NEW packages will be installed: autoconf automake autopoint autotools-dev bsdmainutils debhelper dh-autoreconf dh-python dh-strip-nondeterminism diffstat file gettext gettext-base gfortran gfortran-7 groff-base intltool-debian libaec-dev libaec0 libamd2 libarchive-zip-perl libblacs-mpi-dev libblacs-openmpi1 libblas-dev libblas3 libbsd0 libbtf1 libcamd2 libccolamd2 libcholmod3 libcolamd2 libcroco3 libcxsparse3 libexpat1 libfabric1 libfftw3-bin libfftw3-dev libfftw3-double3 libfftw3-long3 libfftw3-mpi-dev libfftw3-mpi3 libfftw3-quad3 libfftw3-single3 libfile-stripnondeterminism-perl libgfortran-7-dev libgfortran4 libglib2.0-0 libhdf5-mpi-dev libhdf5-openmpi-100 libhdf5-openmpi-dev libhwloc-dev libhwloc-plugins libhwloc5 libhypre-2.11.1 libhypre-dev libibverbs-dev libibverbs1 libicu57 libjpeg-dev libjpeg-turbo8 libjpeg-turbo8-dev libjpeg8 libjpeg8-dev libklu1 liblapack-dev liblapack3 libldl2 libltdl-dev libltdl7 libmagic-mgc libmagic1 libmetis5 libmpdec2 libmumps-5.1.1 libmumps-dev libnl-3-200 libnl-route-3-200 libnuma-dev libnuma1 libopenmpi-dev libopenmpi2 libpciaccess0 libpipeline1 libpsm-infinipath1 libptscotch-5.1 libptscotch-dev libpython-stdlib libpython2.7-minimal libpython2.7-stdlib libpython3-stdlib libpython3.6-minimal libpython3.6-stdlib librbio2 librdmacm1 libscalapack-mpi-dev libscalapack-openmpi1 libscotch-5.1 libscotch-dev libsigsegv2 libspooles-dev libspooles2.2 libspqr2 libssl-dev libsuitesparse-dev libsuitesparseconfig4 libsuperlu-dev libsuperlu5 libsz2 libtimedate-perl libtool libumfpack5 libxml2 m4 man-db mime-support mpi-default-bin mpi-default-dev ocl-icd-libopencl1 openmpi-bin openmpi-common pkg-config po-debconf python python-minimal python2.7 python2.7-minimal python3 python3-minimal python3.6 python3.6-minimal quilt sbuild-build-depends-petsc-dummy zlib1g-dev 0 upgraded, 133 newly installed, 1 to remove and 0 not upgraded. Need to get 94.1 MB of archives. After this operation, 424 MB of additional disk space will be used. Get:1 copy:/<>/resolver-tfLE89/apt_archive ./ sbuild-build-depends-petsc-dummy 0.invalid.0 [936 B] Get:2 http://ftpmaster.internal/ubuntu artful/main i386 libpython3.6-minimal i386 3.6.2-3 [541 kB] Get:3 http://ftpmaster.internal/ubuntu artful/main i386 libexpat1 i386 2.2.3-1 [75.1 kB] Get:4 http://ftpmaster.internal/ubuntu artful/main i386 python3.6-minimal i386 3.6.2-3 [1410 kB] Get:5 http://ftpmaster.internal/ubuntu artful/main i386 python3-minimal i386 3.6.1-0ubuntu3 [23.5 kB] Get:6 http://ftpmaster.internal/ubuntu artful/main i386 mime-support all 3.60ubuntu1 [30.1 kB] Get:7 http://ftpmaster.internal/ubuntu artful/main i386 libmpdec2 i386 2.4.2-1 [80.7 kB] Get:8 http://ftpmaster.internal/ubuntu artful/main i386 libpython3.6-stdlib i386 3.6.2-3 [2104 kB] Get:9 http://ftpmaster.internal/ubuntu artful/main i386 python3.6 i386 3.6.2-3 [168 kB] Get:10 http://ftpmaster.internal/ubuntu artful/main i386 libpython3-stdlib i386 3.6.1-0ubuntu3 [6960 B] Get:11 http://ftpmaster.internal/ubuntu artful/main i386 dh-python all 2.20170125 [83.7 kB] Get:12 http://ftpmaster.internal/ubuntu artful/main i386 python3 i386 3.6.1-0ubuntu3 [8706 B] Get:13 http://ftpmaster.internal/ubuntu artful/main i386 groff-base i386 1.22.3-9 [1163 kB] Get:14 http://ftpmaster.internal/ubuntu artful/main i386 libbsd0 i386 0.8.6-1 [45.1 kB] Get:15 http://ftpmaster.internal/ubuntu artful/main i386 bsdmainutils i386 9.0.12+nmu1ubuntu1 [181 kB] Get:16 http://ftpmaster.internal/ubuntu artful/main i386 libpipeline1 i386 1.4.2-1 [26.8 kB] Get:17 http://ftpmaster.internal/ubuntu artful/main i386 man-db i386 2.7.6.1-2 [906 kB] Get:18 http://ftpmaster.internal/ubuntu artful/main i386 libjpeg-turbo8 i386 1.5.2-0ubuntu1 [118 kB] Get:19 http://ftpmaster.internal/ubuntu artful/main i386 libpython2.7-minimal i386 2.7.14~rc1-3ubuntu1 [338 kB] Get:20 http://ftpmaster.internal/ubuntu artful/main i386 python2.7-minimal i386 2.7.14~rc1-3ubuntu1 [1333 kB] Get:21 http://ftpmaster.internal/ubuntu artful/main i386 python-minimal i386 2.7.13-2 [28.2 kB] Get:22 http://ftpmaster.internal/ubuntu artful/main i386 libpython2.7-stdlib i386 2.7.14~rc1-3ubuntu1 [1940 kB] Get:23 http://ftpmaster.internal/ubuntu artful/main i386 python2.7 i386 2.7.14~rc1-3ubuntu1 [60.9 kB] Get:24 http://ftpmaster.internal/ubuntu artful/main i386 libpython-stdlib i386 2.7.13-2 [7774 B] Get:25 http://ftpmaster.internal/ubuntu artful/main i386 python i386 2.7.13-2 [139 kB] Get:26 http://ftpmaster.internal/ubuntu artful/main i386 libmagic-mgc i386 1:5.32-1 [184 kB] Get:27 http://ftpmaster.internal/ubuntu artful/main i386 libmagic1 i386 1:5.32-1 [75.0 kB] Get:28 http://ftpmaster.internal/ubuntu artful/main i386 file i386 1:5.32-1 [21.9 kB] Get:29 http://ftpmaster.internal/ubuntu artful/main i386 gettext-base i386 0.19.8.1-4ubuntu1 [50.7 kB] Get:30 http://ftpmaster.internal/ubuntu artful/main i386 libglib2.0-0 i386 2.53.6-1ubuntu2 [1231 kB] Get:31 http://ftpmaster.internal/ubuntu artful/main i386 libicu57 i386 57.1-6 [7837 kB] Get:32 http://ftpmaster.internal/ubuntu artful/main i386 libnuma1 i386 2.0.11-2.1 [23.2 kB] Get:33 http://ftpmaster.internal/ubuntu artful/main i386 libxml2 i386 2.9.4+dfsg1-3.1 [705 kB] Get:34 http://ftpmaster.internal/ubuntu artful/main i386 libsigsegv2 i386 2.11-1 [13.5 kB] Get:35 http://ftpmaster.internal/ubuntu artful/main i386 m4 i386 1.4.18-1 [196 kB] Get:36 http://ftpmaster.internal/ubuntu artful/main i386 autoconf all 2.69-11 [322 kB] Get:37 http://ftpmaster.internal/ubuntu artful/main i386 autotools-dev all 20161112.1 [39.5 kB] Get:38 http://ftpmaster.internal/ubuntu artful/main i386 automake all 1:1.15-6ubuntu1 [509 kB] Get:39 http://ftpmaster.internal/ubuntu artful/main i386 autopoint all 0.19.8.1-4ubuntu1 [412 kB] Get:40 http://ftpmaster.internal/ubuntu artful/main i386 libtool all 2.4.6-2 [194 kB] Get:41 http://ftpmaster.internal/ubuntu artful/main i386 dh-autoreconf all 14 [15.5 kB] Get:42 http://ftpmaster.internal/ubuntu artful/main i386 libarchive-zip-perl all 1.59-1 [84.0 kB] Get:43 http://ftpmaster.internal/ubuntu artful/main i386 libfile-stripnondeterminism-perl all 0.038-1 [13.3 kB] Get:44 http://ftpmaster.internal/ubuntu artful/main i386 libtimedate-perl all 2.3000-2 [37.5 kB] Get:45 http://ftpmaster.internal/ubuntu artful/main i386 dh-strip-nondeterminism all 0.038-1 [5026 B] Get:46 http://ftpmaster.internal/ubuntu artful/main i386 libcroco3 i386 0.6.12-1 [87.5 kB] Get:47 http://ftpmaster.internal/ubuntu artful/main i386 gettext i386 0.19.8.1-4ubuntu1 [1097 kB] Get:48 http://ftpmaster.internal/ubuntu artful/main i386 intltool-debian all 0.35.0+20060710.4 [24.9 kB] Get:49 http://ftpmaster.internal/ubuntu artful/main i386 po-debconf all 1.0.20 [232 kB] Get:50 http://ftpmaster.internal/ubuntu artful/main i386 debhelper all 10.7.2ubuntu2 [877 kB] Get:51 http://ftpmaster.internal/ubuntu artful/main i386 diffstat i386 1.61-1build1 [23.8 kB] Get:52 http://ftpmaster.internal/ubuntu artful/main i386 libgfortran4 i386 7.2.0-3ubuntu1 [466 kB] Get:53 http://ftpmaster.internal/ubuntu artful/main i386 libgfortran-7-dev i386 7.2.0-3ubuntu1 [520 kB] Get:54 http://ftpmaster.internal/ubuntu artful/main i386 gfortran-7 i386 7.2.0-3ubuntu1 [32.4 MB] Get:55 http://ftpmaster.internal/ubuntu artful/main i386 gfortran i386 4:7.1.0-1ubuntu3 [1276 B] Get:56 http://ftpmaster.internal/ubuntu artful/universe i386 libaec0 i386 0.3.2-2 [20.5 kB] Get:57 http://ftpmaster.internal/ubuntu artful/main i386 libsuitesparseconfig4 i386 1:4.5.5-1 [9490 B] Get:58 http://ftpmaster.internal/ubuntu artful/main i386 libamd2 i386 1:4.5.5-1 [19.3 kB] Get:59 http://ftpmaster.internal/ubuntu artful/main i386 libblas3 i386 3.7.1-3ubuntu2 [124 kB] Get:60 http://ftpmaster.internal/ubuntu artful/main i386 libblas-dev i386 3.7.1-3ubuntu2 [129 kB] Get:61 http://ftpmaster.internal/ubuntu artful/main i386 libbtf1 i386 1:4.5.5-1 [9578 B] Get:62 http://ftpmaster.internal/ubuntu artful/main i386 libcamd2 i386 1:4.5.5-1 [14.3 kB] Get:63 http://ftpmaster.internal/ubuntu artful/main i386 libccolamd2 i386 1:4.5.5-1 [15.7 kB] Get:64 http://ftpmaster.internal/ubuntu artful/main i386 libcolamd2 i386 1:4.5.5-1 [12.9 kB] Get:65 http://ftpmaster.internal/ubuntu artful/main i386 liblapack3 i386 3.7.1-3ubuntu2 [1917 kB] Get:66 http://ftpmaster.internal/ubuntu artful/main i386 libmetis5 i386 5.1.0.dfsg-5 [166 kB] Get:67 http://ftpmaster.internal/ubuntu artful/main i386 libcholmod3 i386 1:4.5.5-1 [232 kB] Get:68 http://ftpmaster.internal/ubuntu artful/main i386 libcxsparse3 i386 1:4.5.5-1 [47.5 kB] Get:69 http://ftpmaster.internal/ubuntu artful/main i386 libnl-3-200 i386 3.2.29-0ubuntu3 [55.9 kB] Get:70 http://ftpmaster.internal/ubuntu artful/main i386 libnl-route-3-200 i386 3.2.29-0ubuntu3 [154 kB] Get:71 http://ftpmaster.internal/ubuntu artful/main i386 libibverbs1 i386 1.2.1-2ubuntu1 [33.5 kB] Get:72 http://ftpmaster.internal/ubuntu artful/universe i386 libpsm-infinipath1 i386 3.3+19.g67c0807.open-3 [180 kB] Get:73 http://ftpmaster.internal/ubuntu artful/main i386 librdmacm1 i386 1.1.0-2 [53.1 kB] Get:74 http://ftpmaster.internal/ubuntu artful/universe i386 libfabric1 i386 1.4.0-1 [289 kB] Get:75 http://ftpmaster.internal/ubuntu artful/main i386 libfftw3-double3 i386 3.3.6p2-1 [610 kB] Get:76 http://ftpmaster.internal/ubuntu artful/main i386 libfftw3-long3 i386 3.3.6p2-1 [314 kB] Get:77 http://ftpmaster.internal/ubuntu artful/main i386 libfftw3-quad3 i386 3.3.6p2-1 [1748 kB] Get:78 http://ftpmaster.internal/ubuntu artful/main i386 libfftw3-single3 i386 3.3.6p2-1 [637 kB] Get:79 http://ftpmaster.internal/ubuntu artful/main i386 libfftw3-bin i386 3.3.6p2-1 [33.8 kB] Get:80 http://ftpmaster.internal/ubuntu artful/main i386 libfftw3-dev i386 3.3.6p2-1 [3101 kB] Get:81 http://ftpmaster.internal/ubuntu artful/main i386 libltdl7 i386 2.4.6-2 [40.5 kB] Get:82 http://ftpmaster.internal/ubuntu artful/universe i386 libhwloc5 i386 1.11.5-1 [111 kB] Get:83 http://ftpmaster.internal/ubuntu artful/main i386 libpciaccess0 i386 0.13.4-1ubuntu1 [20.2 kB] Get:84 http://ftpmaster.internal/ubuntu artful/main i386 ocl-icd-libopencl1 i386 2.2.11-1ubuntu1 [31.3 kB] Get:85 http://ftpmaster.internal/ubuntu artful/universe i386 libhwloc-plugins i386 1.11.5-1 [12.9 kB] Get:86 http://ftpmaster.internal/ubuntu artful/universe i386 libopenmpi2 i386 2.1.1-6 [2119 kB] Get:87 http://ftpmaster.internal/ubuntu artful/universe i386 libfftw3-mpi3 i386 3.3.6p2-1 [48.8 kB] Get:88 http://ftpmaster.internal/ubuntu artful/universe i386 libfftw3-mpi-dev i386 3.3.6p2-1 [46.8 kB] Get:89 http://ftpmaster.internal/ubuntu artful/main i386 libjpeg-turbo8-dev i386 1.5.2-0ubuntu1 [277 kB] Get:90 http://ftpmaster.internal/ubuntu artful/main i386 libjpeg8 i386 8c-2ubuntu8 [2188 B] Get:91 http://ftpmaster.internal/ubuntu artful/main i386 libjpeg8-dev i386 8c-2ubuntu8 [1546 B] Get:92 http://ftpmaster.internal/ubuntu artful/main i386 libjpeg-dev i386 8c-2ubuntu8 [1544 B] Get:93 http://ftpmaster.internal/ubuntu artful/main i386 libklu1 i386 1:4.5.5-1 [41.7 kB] Get:94 http://ftpmaster.internal/ubuntu artful/main i386 liblapack-dev i386 3.7.1-3ubuntu2 [1975 kB] Get:95 http://ftpmaster.internal/ubuntu artful/main i386 libldl2 i386 1:4.5.5-1 [9510 B] Get:96 http://ftpmaster.internal/ubuntu artful/main i386 libltdl-dev i386 2.4.6-2 [163 kB] Get:97 http://ftpmaster.internal/ubuntu artful/main i386 librbio2 i386 1:4.5.5-1 [17.5 kB] Get:98 http://ftpmaster.internal/ubuntu artful/main i386 libspqr2 i386 1:4.5.5-1 [65.8 kB] Get:99 http://ftpmaster.internal/ubuntu artful/main i386 zlib1g-dev i386 1:1.2.11.dfsg-0ubuntu2 [178 kB] Get:100 http://ftpmaster.internal/ubuntu artful/main i386 libssl-dev i386 1.0.2g-1ubuntu13 [1129 kB] Get:101 http://ftpmaster.internal/ubuntu artful/main i386 libumfpack5 i386 1:4.5.5-1 [135 kB] Get:102 http://ftpmaster.internal/ubuntu artful/main i386 libsuitesparse-dev i386 1:4.5.5-1 [658 kB] Get:103 http://ftpmaster.internal/ubuntu artful/universe i386 libsuperlu5 i386 5.2.1+dfsg1-2 [156 kB] Get:104 http://ftpmaster.internal/ubuntu artful/universe i386 libsuperlu-dev i386 5.2.1+dfsg1-2 [16.2 kB] Get:105 http://ftpmaster.internal/ubuntu artful/universe i386 libsz2 i386 0.3.2-2 [5218 B] Get:106 http://ftpmaster.internal/ubuntu artful/universe i386 openmpi-common all 2.1.1-6 [140 kB] Get:107 http://ftpmaster.internal/ubuntu artful/universe i386 openmpi-bin i386 2.1.1-6 [84.4 kB] Get:108 http://ftpmaster.internal/ubuntu artful/main i386 pkg-config i386 0.29.1-0ubuntu2 [45.8 kB] Get:109 http://ftpmaster.internal/ubuntu artful/universe i386 quilt all 0.63-8.1 [293 kB] Get:110 http://ftpmaster.internal/ubuntu artful/universe i386 libaec-dev i386 0.3.2-2 [19.1 kB] Get:111 http://ftpmaster.internal/ubuntu artful/universe i386 mpi-default-bin i386 1.8 [2932 B] Get:112 http://ftpmaster.internal/ubuntu artful/universe i386 libblacs-openmpi1 i386 1.1-40build1 [49.8 kB] Get:113 http://ftpmaster.internal/ubuntu artful/main i386 libibverbs-dev i386 1.2.1-2ubuntu1 [101 kB] Get:114 http://ftpmaster.internal/ubuntu artful/main i386 libnuma-dev i386 2.0.11-2.1 [34.3 kB] Get:115 http://ftpmaster.internal/ubuntu artful/universe i386 libhwloc-dev i386 1.11.5-1 [162 kB] Get:116 http://ftpmaster.internal/ubuntu artful/universe i386 libopenmpi-dev i386 2.1.1-6 [915 kB] Get:117 http://ftpmaster.internal/ubuntu artful/universe i386 mpi-default-dev i386 1.8 [3716 B] Get:118 http://ftpmaster.internal/ubuntu artful/universe i386 libblacs-mpi-dev i386 1.1-40build1 [45.0 kB] Get:119 http://ftpmaster.internal/ubuntu artful/universe i386 libhdf5-openmpi-100 i386 1.10.0-patch1+docs-4 [1290 kB] Get:120 http://ftpmaster.internal/ubuntu artful/universe i386 libhdf5-openmpi-dev i386 1.10.0-patch1+docs-4 [2574 kB] Get:121 http://ftpmaster.internal/ubuntu artful/universe i386 libhdf5-mpi-dev i386 1.10.0-patch1+docs-4 [3076 B] Get:122 http://ftpmaster.internal/ubuntu artful/universe i386 libhypre-2.11.1 i386 2.11.1-4 [1576 kB] Get:123 http://ftpmaster.internal/ubuntu artful/universe i386 libhypre-dev i386 2.11.1-4 [117 kB] Get:124 http://ftpmaster.internal/ubuntu artful/universe i386 libscalapack-openmpi1 i386 1.8.0-14build1 [1345 kB] Get:125 http://ftpmaster.internal/ubuntu artful/universe i386 libmumps-5.1.1 i386 5.1.1-2build1 [1114 kB] Get:126 http://ftpmaster.internal/ubuntu artful/universe i386 libscalapack-mpi-dev i386 1.8.0-14build1 [1345 kB] Get:127 http://ftpmaster.internal/ubuntu artful/universe i386 libmumps-dev i386 5.1.1-2build1 [1057 kB] Get:128 http://ftpmaster.internal/ubuntu artful/universe i386 libscotch-5.1 i386 5.1.12b.dfsg-2.1 [389 kB] Get:129 http://ftpmaster.internal/ubuntu artful/universe i386 libptscotch-5.1 i386 5.1.12b.dfsg-2.1 [680 kB] Get:130 http://ftpmaster.internal/ubuntu artful/universe i386 libscotch-dev i386 5.1.12b.dfsg-2.1 [1162 kB] Get:131 http://ftpmaster.internal/ubuntu artful/universe i386 libptscotch-dev i386 5.1.12b.dfsg-2.1 [2808 kB] Get:132 http://ftpmaster.internal/ubuntu artful/universe i386 libspooles2.2 i386 2.2-12build1 [481 kB] Get:133 http://ftpmaster.internal/ubuntu artful/universe i386 libspooles-dev i386 2.2-12build1 [576 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 94.1 MB in 4s (19.3 MB/s) (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 15395 files and directories currently installed.) Removing pkg-create-dbgsym (0.73) ... Selecting previously unselected package libpython3.6-minimal:i386. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 15386 files and directories currently installed.) Preparing to unpack .../0-libpython3.6-minimal_3.6.2-3_i386.deb ... Unpacking libpython3.6-minimal:i386 (3.6.2-3) ... Selecting previously unselected package libexpat1:i386. Preparing to unpack .../1-libexpat1_2.2.3-1_i386.deb ... Unpacking libexpat1:i386 (2.2.3-1) ... Selecting previously unselected package python3.6-minimal. Preparing to unpack .../2-python3.6-minimal_3.6.2-3_i386.deb ... Unpacking python3.6-minimal (3.6.2-3) ... Selecting previously unselected package python3-minimal. Preparing to unpack .../3-python3-minimal_3.6.1-0ubuntu3_i386.deb ... Unpacking python3-minimal (3.6.1-0ubuntu3) ... Selecting previously unselected package mime-support. Preparing to unpack .../4-mime-support_3.60ubuntu1_all.deb ... Unpacking mime-support (3.60ubuntu1) ... Selecting previously unselected package libmpdec2:i386. Preparing to unpack .../5-libmpdec2_2.4.2-1_i386.deb ... Unpacking libmpdec2:i386 (2.4.2-1) ... Selecting previously unselected package libpython3.6-stdlib:i386. Preparing to unpack .../6-libpython3.6-stdlib_3.6.2-3_i386.deb ... Unpacking libpython3.6-stdlib:i386 (3.6.2-3) ... Selecting previously unselected package python3.6. Preparing to unpack .../7-python3.6_3.6.2-3_i386.deb ... Unpacking python3.6 (3.6.2-3) ... Selecting previously unselected package libpython3-stdlib:i386. Preparing to unpack .../8-libpython3-stdlib_3.6.1-0ubuntu3_i386.deb ... Unpacking libpython3-stdlib:i386 (3.6.1-0ubuntu3) ... Selecting previously unselected package dh-python. Preparing to unpack .../9-dh-python_2.20170125_all.deb ... Unpacking dh-python (2.20170125) ... Setting up libpython3.6-minimal:i386 (3.6.2-3) ... Setting up libexpat1:i386 (2.2.3-1) ... Setting up python3.6-minimal (3.6.2-3) ... Setting up python3-minimal (3.6.1-0ubuntu3) ... Selecting previously unselected package python3. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 16344 files and directories currently installed.) Preparing to unpack .../00-python3_3.6.1-0ubuntu3_i386.deb ... Unpacking python3 (3.6.1-0ubuntu3) ... Selecting previously unselected package groff-base. Preparing to unpack .../01-groff-base_1.22.3-9_i386.deb ... Unpacking groff-base (1.22.3-9) ... Selecting previously unselected package libbsd0:i386. Preparing to unpack .../02-libbsd0_0.8.6-1_i386.deb ... Unpacking libbsd0:i386 (0.8.6-1) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../03-bsdmainutils_9.0.12+nmu1ubuntu1_i386.deb ... Unpacking bsdmainutils (9.0.12+nmu1ubuntu1) ... Selecting previously unselected package libpipeline1:i386. Preparing to unpack .../04-libpipeline1_1.4.2-1_i386.deb ... Unpacking libpipeline1:i386 (1.4.2-1) ... Selecting previously unselected package man-db. Preparing to unpack .../05-man-db_2.7.6.1-2_i386.deb ... Unpacking man-db (2.7.6.1-2) ... Selecting previously unselected package libjpeg-turbo8:i386. Preparing to unpack .../06-libjpeg-turbo8_1.5.2-0ubuntu1_i386.deb ... Unpacking libjpeg-turbo8:i386 (1.5.2-0ubuntu1) ... Selecting previously unselected package libpython2.7-minimal:i386. Preparing to unpack .../07-libpython2.7-minimal_2.7.14~rc1-3ubuntu1_i386.deb ... Unpacking libpython2.7-minimal:i386 (2.7.14~rc1-3ubuntu1) ... Selecting previously unselected package python2.7-minimal. Preparing to unpack .../08-python2.7-minimal_2.7.14~rc1-3ubuntu1_i386.deb ... Unpacking python2.7-minimal (2.7.14~rc1-3ubuntu1) ... Selecting previously unselected package python-minimal. Preparing to unpack .../09-python-minimal_2.7.13-2_i386.deb ... Unpacking python-minimal (2.7.13-2) ... Selecting previously unselected package libpython2.7-stdlib:i386. Preparing to unpack .../10-libpython2.7-stdlib_2.7.14~rc1-3ubuntu1_i386.deb ... Unpacking libpython2.7-stdlib:i386 (2.7.14~rc1-3ubuntu1) ... Selecting previously unselected package python2.7. Preparing to unpack .../11-python2.7_2.7.14~rc1-3ubuntu1_i386.deb ... Unpacking python2.7 (2.7.14~rc1-3ubuntu1) ... Selecting previously unselected package libpython-stdlib:i386. Preparing to unpack .../12-libpython-stdlib_2.7.13-2_i386.deb ... Unpacking libpython-stdlib:i386 (2.7.13-2) ... Setting up libpython2.7-minimal:i386 (2.7.14~rc1-3ubuntu1) ... Setting up python2.7-minimal (2.7.14~rc1-3ubuntu1) ... Setting up python-minimal (2.7.13-2) ... Selecting previously unselected package python. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 17619 files and directories currently installed.) Preparing to unpack .../000-python_2.7.13-2_i386.deb ... Unpacking python (2.7.13-2) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../001-libmagic-mgc_1%3a5.32-1_i386.deb ... Unpacking libmagic-mgc (1:5.32-1) ... Selecting previously unselected package libmagic1:i386. Preparing to unpack .../002-libmagic1_1%3a5.32-1_i386.deb ... Unpacking libmagic1:i386 (1:5.32-1) ... Selecting previously unselected package file. Preparing to unpack .../003-file_1%3a5.32-1_i386.deb ... Unpacking file (1:5.32-1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../004-gettext-base_0.19.8.1-4ubuntu1_i386.deb ... Unpacking gettext-base (0.19.8.1-4ubuntu1) ... Selecting previously unselected package libglib2.0-0:i386. Preparing to unpack .../005-libglib2.0-0_2.53.6-1ubuntu2_i386.deb ... Unpacking libglib2.0-0:i386 (2.53.6-1ubuntu2) ... Selecting previously unselected package libicu57:i386. Preparing to unpack .../006-libicu57_57.1-6_i386.deb ... Unpacking libicu57:i386 (57.1-6) ... Selecting previously unselected package libnuma1:i386. Preparing to unpack .../007-libnuma1_2.0.11-2.1_i386.deb ... Unpacking libnuma1:i386 (2.0.11-2.1) ... Selecting previously unselected package libxml2:i386. Preparing to unpack .../008-libxml2_2.9.4+dfsg1-3.1_i386.deb ... Unpacking libxml2:i386 (2.9.4+dfsg1-3.1) ... Selecting previously unselected package libsigsegv2:i386. Preparing to unpack .../009-libsigsegv2_2.11-1_i386.deb ... Unpacking libsigsegv2:i386 (2.11-1) ... Selecting previously unselected package m4. Preparing to unpack .../010-m4_1.4.18-1_i386.deb ... Unpacking m4 (1.4.18-1) ... Selecting previously unselected package autoconf. Preparing to unpack .../011-autoconf_2.69-11_all.deb ... Unpacking autoconf (2.69-11) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../012-autotools-dev_20161112.1_all.deb ... Unpacking autotools-dev (20161112.1) ... Selecting previously unselected package automake. Preparing to unpack .../013-automake_1%3a1.15-6ubuntu1_all.deb ... Unpacking automake (1:1.15-6ubuntu1) ... Selecting previously unselected package autopoint. Preparing to unpack .../014-autopoint_0.19.8.1-4ubuntu1_all.deb ... Unpacking autopoint (0.19.8.1-4ubuntu1) ... Selecting previously unselected package libtool. Preparing to unpack .../015-libtool_2.4.6-2_all.deb ... Unpacking libtool (2.4.6-2) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../016-dh-autoreconf_14_all.deb ... Unpacking dh-autoreconf (14) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../017-libarchive-zip-perl_1.59-1_all.deb ... Unpacking libarchive-zip-perl (1.59-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../018-libfile-stripnondeterminism-perl_0.038-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (0.038-1) ... Selecting previously unselected package libtimedate-perl. Preparing to unpack .../019-libtimedate-perl_2.3000-2_all.deb ... Unpacking libtimedate-perl (2.3000-2) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../020-dh-strip-nondeterminism_0.038-1_all.deb ... Unpacking dh-strip-nondeterminism (0.038-1) ... Selecting previously unselected package libcroco3:i386. Preparing to unpack .../021-libcroco3_0.6.12-1_i386.deb ... Unpacking libcroco3:i386 (0.6.12-1) ... Selecting previously unselected package gettext. Preparing to unpack .../022-gettext_0.19.8.1-4ubuntu1_i386.deb ... Unpacking gettext (0.19.8.1-4ubuntu1) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../023-intltool-debian_0.35.0+20060710.4_all.deb ... Unpacking intltool-debian (0.35.0+20060710.4) ... Selecting previously unselected package po-debconf. Preparing to unpack .../024-po-debconf_1.0.20_all.deb ... Unpacking po-debconf (1.0.20) ... Selecting previously unselected package debhelper. Preparing to unpack .../025-debhelper_10.7.2ubuntu2_all.deb ... Unpacking debhelper (10.7.2ubuntu2) ... Selecting previously unselected package diffstat. Preparing to unpack .../026-diffstat_1.61-1build1_i386.deb ... Unpacking diffstat (1.61-1build1) ... Selecting previously unselected package libgfortran4:i386. Preparing to unpack .../027-libgfortran4_7.2.0-3ubuntu1_i386.deb ... Unpacking libgfortran4:i386 (7.2.0-3ubuntu1) ... Selecting previously unselected package libgfortran-7-dev:i386. Preparing to unpack .../028-libgfortran-7-dev_7.2.0-3ubuntu1_i386.deb ... Unpacking libgfortran-7-dev:i386 (7.2.0-3ubuntu1) ... Selecting previously unselected package gfortran-7. Preparing to unpack .../029-gfortran-7_7.2.0-3ubuntu1_i386.deb ... Unpacking gfortran-7 (7.2.0-3ubuntu1) ... Selecting previously unselected package gfortran. Preparing to unpack .../030-gfortran_4%3a7.1.0-1ubuntu3_i386.deb ... Unpacking gfortran (4:7.1.0-1ubuntu3) ... Selecting previously unselected package libaec0:i386. Preparing to unpack .../031-libaec0_0.3.2-2_i386.deb ... Unpacking libaec0:i386 (0.3.2-2) ... Selecting previously unselected package libsuitesparseconfig4:i386. Preparing to unpack .../032-libsuitesparseconfig4_1%3a4.5.5-1_i386.deb ... Unpacking libsuitesparseconfig4:i386 (1:4.5.5-1) ... Selecting previously unselected package libamd2:i386. Preparing to unpack .../033-libamd2_1%3a4.5.5-1_i386.deb ... Unpacking libamd2:i386 (1:4.5.5-1) ... Selecting previously unselected package libblas3:i386. Preparing to unpack .../034-libblas3_3.7.1-3ubuntu2_i386.deb ... Unpacking libblas3:i386 (3.7.1-3ubuntu2) ... Selecting previously unselected package libblas-dev:i386. Preparing to unpack .../035-libblas-dev_3.7.1-3ubuntu2_i386.deb ... Unpacking libblas-dev:i386 (3.7.1-3ubuntu2) ... Selecting previously unselected package libbtf1:i386. Preparing to unpack .../036-libbtf1_1%3a4.5.5-1_i386.deb ... Unpacking libbtf1:i386 (1:4.5.5-1) ... Selecting previously unselected package libcamd2:i386. Preparing to unpack .../037-libcamd2_1%3a4.5.5-1_i386.deb ... Unpacking libcamd2:i386 (1:4.5.5-1) ... Selecting previously unselected package libccolamd2:i386. Preparing to unpack .../038-libccolamd2_1%3a4.5.5-1_i386.deb ... Unpacking libccolamd2:i386 (1:4.5.5-1) ... Selecting previously unselected package libcolamd2:i386. Preparing to unpack .../039-libcolamd2_1%3a4.5.5-1_i386.deb ... Unpacking libcolamd2:i386 (1:4.5.5-1) ... Selecting previously unselected package liblapack3:i386. Preparing to unpack .../040-liblapack3_3.7.1-3ubuntu2_i386.deb ... Unpacking liblapack3:i386 (3.7.1-3ubuntu2) ... Selecting previously unselected package libmetis5:i386. Preparing to unpack .../041-libmetis5_5.1.0.dfsg-5_i386.deb ... Unpacking libmetis5:i386 (5.1.0.dfsg-5) ... Selecting previously unselected package libcholmod3:i386. Preparing to unpack .../042-libcholmod3_1%3a4.5.5-1_i386.deb ... Unpacking libcholmod3:i386 (1:4.5.5-1) ... Selecting previously unselected package libcxsparse3:i386. Preparing to unpack .../043-libcxsparse3_1%3a4.5.5-1_i386.deb ... Unpacking libcxsparse3:i386 (1:4.5.5-1) ... Selecting previously unselected package libnl-3-200:i386. Preparing to unpack .../044-libnl-3-200_3.2.29-0ubuntu3_i386.deb ... Unpacking libnl-3-200:i386 (3.2.29-0ubuntu3) ... Selecting previously unselected package libnl-route-3-200:i386. Preparing to unpack .../045-libnl-route-3-200_3.2.29-0ubuntu3_i386.deb ... Unpacking libnl-route-3-200:i386 (3.2.29-0ubuntu3) ... Selecting previously unselected package libibverbs1. Preparing to unpack .../046-libibverbs1_1.2.1-2ubuntu1_i386.deb ... Unpacking libibverbs1 (1.2.1-2ubuntu1) ... Selecting previously unselected package libpsm-infinipath1. Preparing to unpack .../047-libpsm-infinipath1_3.3+19.g67c0807.open-3_i386.deb ... Unpacking libpsm-infinipath1 (3.3+19.g67c0807.open-3) ... Selecting previously unselected package librdmacm1. Preparing to unpack .../048-librdmacm1_1.1.0-2_i386.deb ... Unpacking librdmacm1 (1.1.0-2) ... Selecting previously unselected package libfabric1. Preparing to unpack .../049-libfabric1_1.4.0-1_i386.deb ... Unpacking libfabric1 (1.4.0-1) ... Selecting previously unselected package libfftw3-double3:i386. Preparing to unpack .../050-libfftw3-double3_3.3.6p2-1_i386.deb ... Unpacking libfftw3-double3:i386 (3.3.6p2-1) ... Selecting previously unselected package libfftw3-long3:i386. Preparing to unpack .../051-libfftw3-long3_3.3.6p2-1_i386.deb ... Unpacking libfftw3-long3:i386 (3.3.6p2-1) ... Selecting previously unselected package libfftw3-quad3:i386. Preparing to unpack .../052-libfftw3-quad3_3.3.6p2-1_i386.deb ... Unpacking libfftw3-quad3:i386 (3.3.6p2-1) ... Selecting previously unselected package libfftw3-single3:i386. Preparing to unpack .../053-libfftw3-single3_3.3.6p2-1_i386.deb ... Unpacking libfftw3-single3:i386 (3.3.6p2-1) ... Selecting previously unselected package libfftw3-bin. Preparing to unpack .../054-libfftw3-bin_3.3.6p2-1_i386.deb ... Unpacking libfftw3-bin (3.3.6p2-1) ... Selecting previously unselected package libfftw3-dev:i386. Preparing to unpack .../055-libfftw3-dev_3.3.6p2-1_i386.deb ... Unpacking libfftw3-dev:i386 (3.3.6p2-1) ... Selecting previously unselected package libltdl7:i386. Preparing to unpack .../056-libltdl7_2.4.6-2_i386.deb ... Unpacking libltdl7:i386 (2.4.6-2) ... Selecting previously unselected package libhwloc5:i386. Preparing to unpack .../057-libhwloc5_1.11.5-1_i386.deb ... Unpacking libhwloc5:i386 (1.11.5-1) ... Selecting previously unselected package libpciaccess0:i386. Preparing to unpack .../058-libpciaccess0_0.13.4-1ubuntu1_i386.deb ... Unpacking libpciaccess0:i386 (0.13.4-1ubuntu1) ... Selecting previously unselected package ocl-icd-libopencl1:i386. Preparing to unpack .../059-ocl-icd-libopencl1_2.2.11-1ubuntu1_i386.deb ... Unpacking ocl-icd-libopencl1:i386 (2.2.11-1ubuntu1) ... Selecting previously unselected package libhwloc-plugins. Preparing to unpack .../060-libhwloc-plugins_1.11.5-1_i386.deb ... Unpacking libhwloc-plugins (1.11.5-1) ... Selecting previously unselected package libopenmpi2:i386. Preparing to unpack .../061-libopenmpi2_2.1.1-6_i386.deb ... Unpacking libopenmpi2:i386 (2.1.1-6) ... Selecting previously unselected package libfftw3-mpi3:i386. Preparing to unpack .../062-libfftw3-mpi3_3.3.6p2-1_i386.deb ... Unpacking libfftw3-mpi3:i386 (3.3.6p2-1) ... Selecting previously unselected package libfftw3-mpi-dev:i386. Preparing to unpack .../063-libfftw3-mpi-dev_3.3.6p2-1_i386.deb ... Unpacking libfftw3-mpi-dev:i386 (3.3.6p2-1) ... Selecting previously unselected package libjpeg-turbo8-dev:i386. Preparing to unpack .../064-libjpeg-turbo8-dev_1.5.2-0ubuntu1_i386.deb ... Unpacking libjpeg-turbo8-dev:i386 (1.5.2-0ubuntu1) ... Selecting previously unselected package libjpeg8:i386. Preparing to unpack .../065-libjpeg8_8c-2ubuntu8_i386.deb ... Unpacking libjpeg8:i386 (8c-2ubuntu8) ... Selecting previously unselected package libjpeg8-dev:i386. Preparing to unpack .../066-libjpeg8-dev_8c-2ubuntu8_i386.deb ... Unpacking libjpeg8-dev:i386 (8c-2ubuntu8) ... Selecting previously unselected package libjpeg-dev:i386. Preparing to unpack .../067-libjpeg-dev_8c-2ubuntu8_i386.deb ... Unpacking libjpeg-dev:i386 (8c-2ubuntu8) ... Selecting previously unselected package libklu1:i386. Preparing to unpack .../068-libklu1_1%3a4.5.5-1_i386.deb ... Unpacking libklu1:i386 (1:4.5.5-1) ... Selecting previously unselected package liblapack-dev:i386. Preparing to unpack .../069-liblapack-dev_3.7.1-3ubuntu2_i386.deb ... Unpacking liblapack-dev:i386 (3.7.1-3ubuntu2) ... Selecting previously unselected package libldl2:i386. Preparing to unpack .../070-libldl2_1%3a4.5.5-1_i386.deb ... Unpacking libldl2:i386 (1:4.5.5-1) ... Selecting previously unselected package libltdl-dev:i386. Preparing to unpack .../071-libltdl-dev_2.4.6-2_i386.deb ... Unpacking libltdl-dev:i386 (2.4.6-2) ... Selecting previously unselected package librbio2:i386. Preparing to unpack .../072-librbio2_1%3a4.5.5-1_i386.deb ... Unpacking librbio2:i386 (1:4.5.5-1) ... Selecting previously unselected package libspqr2:i386. Preparing to unpack .../073-libspqr2_1%3a4.5.5-1_i386.deb ... Unpacking libspqr2:i386 (1:4.5.5-1) ... Selecting previously unselected package zlib1g-dev:i386. Preparing to unpack .../074-zlib1g-dev_1%3a1.2.11.dfsg-0ubuntu2_i386.deb ... Unpacking zlib1g-dev:i386 (1:1.2.11.dfsg-0ubuntu2) ... Selecting previously unselected package libssl-dev:i386. Preparing to unpack .../075-libssl-dev_1.0.2g-1ubuntu13_i386.deb ... Unpacking libssl-dev:i386 (1.0.2g-1ubuntu13) ... Selecting previously unselected package libumfpack5:i386. Preparing to unpack .../076-libumfpack5_1%3a4.5.5-1_i386.deb ... Unpacking libumfpack5:i386 (1:4.5.5-1) ... Selecting previously unselected package libsuitesparse-dev:i386. Preparing to unpack .../077-libsuitesparse-dev_1%3a4.5.5-1_i386.deb ... Unpacking libsuitesparse-dev:i386 (1:4.5.5-1) ... Selecting previously unselected package libsuperlu5:i386. Preparing to unpack .../078-libsuperlu5_5.2.1+dfsg1-2_i386.deb ... Unpacking libsuperlu5:i386 (5.2.1+dfsg1-2) ... Selecting previously unselected package libsuperlu-dev:i386. Preparing to unpack .../079-libsuperlu-dev_5.2.1+dfsg1-2_i386.deb ... Unpacking libsuperlu-dev:i386 (5.2.1+dfsg1-2) ... Selecting previously unselected package libsz2:i386. Preparing to unpack .../080-libsz2_0.3.2-2_i386.deb ... Unpacking libsz2:i386 (0.3.2-2) ... Selecting previously unselected package openmpi-common. Preparing to unpack .../081-openmpi-common_2.1.1-6_all.deb ... Unpacking openmpi-common (2.1.1-6) ... Selecting previously unselected package openmpi-bin. Preparing to unpack .../082-openmpi-bin_2.1.1-6_i386.deb ... Unpacking openmpi-bin (2.1.1-6) ... Selecting previously unselected package pkg-config. Preparing to unpack .../083-pkg-config_0.29.1-0ubuntu2_i386.deb ... Unpacking pkg-config (0.29.1-0ubuntu2) ... Selecting previously unselected package quilt. Preparing to unpack .../084-quilt_0.63-8.1_all.deb ... Unpacking quilt (0.63-8.1) ... Selecting previously unselected package libaec-dev:i386. Preparing to unpack .../085-libaec-dev_0.3.2-2_i386.deb ... Unpacking libaec-dev:i386 (0.3.2-2) ... Selecting previously unselected package mpi-default-bin. Preparing to unpack .../086-mpi-default-bin_1.8_i386.deb ... Unpacking mpi-default-bin (1.8) ... Selecting previously unselected package libblacs-openmpi1. Preparing to unpack .../087-libblacs-openmpi1_1.1-40build1_i386.deb ... Unpacking libblacs-openmpi1 (1.1-40build1) ... Selecting previously unselected package libibverbs-dev. Preparing to unpack .../088-libibverbs-dev_1.2.1-2ubuntu1_i386.deb ... Unpacking libibverbs-dev (1.2.1-2ubuntu1) ... Selecting previously unselected package libnuma-dev:i386. Preparing to unpack .../089-libnuma-dev_2.0.11-2.1_i386.deb ... Unpacking libnuma-dev:i386 (2.0.11-2.1) ... Selecting previously unselected package libhwloc-dev:i386. Preparing to unpack .../090-libhwloc-dev_1.11.5-1_i386.deb ... Unpacking libhwloc-dev:i386 (1.11.5-1) ... Selecting previously unselected package libopenmpi-dev. Preparing to unpack .../091-libopenmpi-dev_2.1.1-6_i386.deb ... Unpacking libopenmpi-dev (2.1.1-6) ... Selecting previously unselected package mpi-default-dev. Preparing to unpack .../092-mpi-default-dev_1.8_i386.deb ... Unpacking mpi-default-dev (1.8) ... Selecting previously unselected package libblacs-mpi-dev. Preparing to unpack .../093-libblacs-mpi-dev_1.1-40build1_i386.deb ... Unpacking libblacs-mpi-dev (1.1-40build1) ... Selecting previously unselected package libhdf5-openmpi-100:i386. Preparing to unpack .../094-libhdf5-openmpi-100_1.10.0-patch1+docs-4_i386.deb ... Unpacking libhdf5-openmpi-100:i386 (1.10.0-patch1+docs-4) ... Selecting previously unselected package libhdf5-openmpi-dev. Preparing to unpack .../095-libhdf5-openmpi-dev_1.10.0-patch1+docs-4_i386.deb ... Unpacking libhdf5-openmpi-dev (1.10.0-patch1+docs-4) ... Selecting previously unselected package libhdf5-mpi-dev. Preparing to unpack .../096-libhdf5-mpi-dev_1.10.0-patch1+docs-4_i386.deb ... Unpacking libhdf5-mpi-dev (1.10.0-patch1+docs-4) ... Selecting previously unselected package libhypre-2.11.1:i386. Preparing to unpack .../097-libhypre-2.11.1_2.11.1-4_i386.deb ... Unpacking libhypre-2.11.1:i386 (2.11.1-4) ... Selecting previously unselected package libhypre-dev:i386. Preparing to unpack .../098-libhypre-dev_2.11.1-4_i386.deb ... Unpacking libhypre-dev:i386 (2.11.1-4) ... Selecting previously unselected package libscalapack-openmpi1. Preparing to unpack .../099-libscalapack-openmpi1_1.8.0-14build1_i386.deb ... Unpacking libscalapack-openmpi1 (1.8.0-14build1) ... Selecting previously unselected package libmumps-5.1.1:i386. Preparing to unpack .../100-libmumps-5.1.1_5.1.1-2build1_i386.deb ... Unpacking libmumps-5.1.1:i386 (5.1.1-2build1) ... Selecting previously unselected package libscalapack-mpi-dev. Preparing to unpack .../101-libscalapack-mpi-dev_1.8.0-14build1_i386.deb ... Unpacking libscalapack-mpi-dev (1.8.0-14build1) ... Selecting previously unselected package libmumps-dev:i386. Preparing to unpack .../102-libmumps-dev_5.1.1-2build1_i386.deb ... Unpacking libmumps-dev:i386 (5.1.1-2build1) ... Selecting previously unselected package libscotch-5.1. Preparing to unpack .../103-libscotch-5.1_5.1.12b.dfsg-2.1_i386.deb ... Unpacking libscotch-5.1 (5.1.12b.dfsg-2.1) ... Selecting previously unselected package libptscotch-5.1. Preparing to unpack .../104-libptscotch-5.1_5.1.12b.dfsg-2.1_i386.deb ... Unpacking libptscotch-5.1 (5.1.12b.dfsg-2.1) ... Selecting previously unselected package libscotch-dev. Preparing to unpack .../105-libscotch-dev_5.1.12b.dfsg-2.1_i386.deb ... Unpacking libscotch-dev (5.1.12b.dfsg-2.1) ... Selecting previously unselected package libptscotch-dev. Preparing to unpack .../106-libptscotch-dev_5.1.12b.dfsg-2.1_i386.deb ... Unpacking libptscotch-dev (5.1.12b.dfsg-2.1) ... Selecting previously unselected package libspooles2.2:i386. Preparing to unpack .../107-libspooles2.2_2.2-12build1_i386.deb ... Unpacking libspooles2.2:i386 (2.2-12build1) ... Selecting previously unselected package libspooles-dev:i386. Preparing to unpack .../108-libspooles-dev_2.2-12build1_i386.deb ... Unpacking libspooles-dev:i386 (2.2-12build1) ... Selecting previously unselected package sbuild-build-depends-petsc-dummy. Preparing to unpack .../109-sbuild-build-depends-petsc-dummy_0.invalid.0_i386.deb ... Unpacking sbuild-build-depends-petsc-dummy (0.invalid.0) ... Setting up libbtf1:i386 (1:4.5.5-1) ... Setting up libldl2:i386 (1:4.5.5-1) ... Setting up libcxsparse3:i386 (1:4.5.5-1) ... Setting up libaec0:i386 (0.3.2-2) ... Setting up libarchive-zip-perl (1.59-1) ... Setting up mime-support (3.60ubuntu1) ... Setting up libscotch-5.1 (5.1.12b.dfsg-2.1) ... Setting up libgfortran4:i386 (7.2.0-3ubuntu1) ... Setting up libtimedate-perl (2.3000-2) ... Setting up libsigsegv2:i386 (2.11-1) ... Setting up libnuma1:i386 (2.0.11-2.1) ... Setting up groff-base (1.22.3-9) ... Setting up libglib2.0-0:i386 (2.53.6-1ubuntu2) ... No schema files found: doing nothing. Setting up libsuitesparseconfig4:i386 (1:4.5.5-1) ... Setting up gettext-base (0.19.8.1-4ubuntu1) ... Setting up libjpeg-turbo8:i386 (1.5.2-0ubuntu1) ... Setting up libpipeline1:i386 (1.4.2-1) ... Setting up m4 (1.4.18-1) ... Setting up libfftw3-double3:i386 (3.3.6p2-1) ... Setting up libicu57:i386 (57.1-6) ... Setting up libbsd0:i386 (0.8.6-1) ... Setting up libxml2:i386 (2.9.4+dfsg1-3.1) ... Setting up libmagic-mgc (1:5.32-1) ... Setting up libmagic1:i386 (1:5.32-1) ... Setting up libcroco3:i386 (0.6.12-1) ... Setting up libpsm-infinipath1 (3.3+19.g67c0807.open-3) ... Setting up libfftw3-quad3:i386 (3.3.6p2-1) ... Setting up libamd2:i386 (1:4.5.5-1) ... Setting up pkg-config (0.29.1-0ubuntu2) ... Setting up libblas3:i386 (3.7.1-3ubuntu2) ... update-alternatives: using /usr/lib/i386-linux-gnu/blas/libblas.so.3 to provide /usr/lib/i386-linux-gnu/libblas.so.3 (libblas.so.3-i386-linux-gnu) in auto mode Setting up libjpeg-turbo8-dev:i386 (1.5.2-0ubuntu1) ... Setting up openmpi-common (2.1.1-6) ... Processing triggers for libc-bin (2.24-12ubuntu1) ... Setting up autotools-dev (20161112.1) ... Setting up libmetis5:i386 (5.1.0.dfsg-5) ... Setting up libltdl7:i386 (2.4.6-2) ... Setting up libgfortran-7-dev:i386 (7.2.0-3ubuntu1) ... Setting up libcolamd2:i386 (1:4.5.5-1) ... Setting up libpciaccess0:i386 (0.13.4-1ubuntu1) ... Setting up libccolamd2:i386 (1:4.5.5-1) ... Setting up libfftw3-single3:i386 (3.3.6p2-1) ... Setting up gfortran-7 (7.2.0-3ubuntu1) ... Setting up libnuma-dev:i386 (2.0.11-2.1) ... Setting up ocl-icd-libopencl1:i386 (2.2.11-1ubuntu1) ... Setting up bsdmainutils (9.0.12+nmu1ubuntu1) ... update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode Setting up libnl-3-200:i386 (3.2.29-0ubuntu3) ... Setting up libfftw3-long3:i386 (3.3.6p2-1) ... Setting up libpython2.7-stdlib:i386 (2.7.14~rc1-3ubuntu1) ... Setting up diffstat (1.61-1build1) ... Setting up autopoint (0.19.8.1-4ubuntu1) ... Setting up libmpdec2:i386 (2.4.2-1) ... Setting up libsz2:i386 (0.3.2-2) ... Setting up zlib1g-dev:i386 (1:1.2.11.dfsg-0ubuntu2) ... Setting up libfile-stripnondeterminism-perl (0.038-1) ... Setting up libjpeg8:i386 (8c-2ubuntu8) ... Setting up gfortran (4:7.1.0-1ubuntu3) ... update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f95 (f95) in auto mode update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f77 (f77) in auto mode Setting up libpython3.6-stdlib:i386 (3.6.2-3) ... Setting up libfftw3-bin (3.3.6p2-1) ... Setting up python3.6 (3.6.2-3) ... Setting up libltdl-dev:i386 (2.4.6-2) ... Setting up gettext (0.19.8.1-4ubuntu1) ... Setting up libblas-dev:i386 (3.7.1-3ubuntu2) ... update-alternatives: using /usr/lib/i386-linux-gnu/blas/libblas.so to provide /usr/lib/i386-linux-gnu/libblas.so (libblas.so-i386-linux-gnu) in auto mode Setting up libssl-dev:i386 (1.0.2g-1ubuntu13) ... Setting up liblapack3:i386 (3.7.1-3ubuntu2) ... update-alternatives: using /usr/lib/i386-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/i386-linux-gnu/liblapack.so.3 (liblapack.so.3-i386-linux-gnu) in auto mode Setting up librbio2:i386 (1:4.5.5-1) ... Setting up libcamd2:i386 (1:4.5.5-1) ... Setting up libaec-dev:i386 (0.3.2-2) ... Setting up libklu1:i386 (1:4.5.5-1) ... Setting up python2.7 (2.7.14~rc1-3ubuntu1) ... Setting up libnl-route-3-200:i386 (3.2.29-0ubuntu3) ... Setting up autoconf (2.69-11) ... Setting up file (1:5.32-1) ... Setting up libsuperlu5:i386 (5.2.1+dfsg1-2) ... Setting up libhwloc5:i386 (1.11.5-1) ... Setting up libcholmod3:i386 (1:4.5.5-1) ... Setting up libpython-stdlib:i386 (2.7.13-2) ... Setting up libhwloc-plugins (1.11.5-1) ... Setting up intltool-debian (0.35.0+20060710.4) ... Setting up libjpeg8-dev:i386 (8c-2ubuntu8) ... Setting up libsuperlu-dev:i386 (5.2.1+dfsg1-2) ... Setting up libjpeg-dev:i386 (8c-2ubuntu8) ... Setting up libfftw3-dev:i386 (3.3.6p2-1) ... Setting up automake (1:1.15-6ubuntu1) ... update-alternatives: using /usr/bin/automake-1.15 to provide /usr/bin/automake (automake) in auto mode Setting up man-db (2.7.6.1-2) ... Not building database; man-db/auto-update is not 'true'. Setting up python (2.7.13-2) ... Setting up libspqr2:i386 (1:4.5.5-1) ... Setting up liblapack-dev:i386 (3.7.1-3ubuntu2) ... update-alternatives: using /usr/lib/i386-linux-gnu/lapack/liblapack.so to provide /usr/lib/i386-linux-gnu/liblapack.so (liblapack.so-i386-linux-gnu) in auto mode Setting up libtool (2.4.6-2) ... Setting up libpython3-stdlib:i386 (3.6.1-0ubuntu3) ... Setting up quilt (0.63-8.1) ... Setting up libibverbs1 (1.2.1-2ubuntu1) ... Setting up po-debconf (1.0.20) ... Setting up libhwloc-dev:i386 (1.11.5-1) ... Setting up libumfpack5:i386 (1:4.5.5-1) ... Setting up librdmacm1 (1.1.0-2) ... Setting up libsuitesparse-dev:i386 (1:4.5.5-1) ... Setting up libibverbs-dev (1.2.1-2ubuntu1) ... Setting up libfabric1 (1.4.0-1) ... Setting up libopenmpi2:i386 (2.1.1-6) ... Setting up libhdf5-openmpi-100:i386 (1.10.0-patch1+docs-4) ... Setting up libhypre-2.11.1:i386 (2.11.1-4) ... Setting up libopenmpi-dev (2.1.1-6) ... update-alternatives: using /usr/lib/i386-linux-gnu/openmpi/include to provide /usr/include/mpi (mpi) in auto mode Setting up libfftw3-mpi3:i386 (3.3.6p2-1) ... Setting up libspooles2.2:i386 (2.2-12build1) ... Setting up openmpi-bin (2.1.1-6) ... update-alternatives: using /usr/bin/mpirun.openmpi to provide /usr/bin/mpirun (mpirun) in auto mode Setting up mpi-default-dev (1.8) ... Setting up libptscotch-5.1 (5.1.12b.dfsg-2.1) ... Setting up libhdf5-openmpi-dev (1.10.0-patch1+docs-4) ... update-alternatives: using /usr/bin/h5pcc.openmpi to provide /usr/bin/h5pcc (h5pcc) in auto mode update-alternatives: using /usr/lib/i386-linux-gnu/pkgconfig/hdf5-openmpi.pc to provide /usr/lib/i386-linux-gnu/pkgconfig/hdf5.pc (hdf5.pc) in auto mode Setting up libscotch-dev (5.1.12b.dfsg-2.1) ... Setting up libspooles-dev:i386 (2.2-12build1) ... Setting up mpi-default-bin (1.8) ... Setting up libfftw3-mpi-dev:i386 (3.3.6p2-1) ... Setting up libptscotch-dev (5.1.12b.dfsg-2.1) ... Setting up libhypre-dev:i386 (2.11.1-4) ... Setting up libblacs-openmpi1 (1.1-40build1) ... Setting up libhdf5-mpi-dev (1.10.0-patch1+docs-4) ... Setting up libblacs-mpi-dev (1.1-40build1) ... Setting up libscalapack-openmpi1 (1.8.0-14build1) ... Setting up libscalapack-mpi-dev (1.8.0-14build1) ... Setting up libmumps-5.1.1:i386 (5.1.1-2build1) ... Setting up libmumps-dev:i386 (5.1.1-2build1) ... Setting up dh-python (2.20170125) ... Setting up dh-autoreconf (14) ... Setting up python3 (3.6.1-0ubuntu3) ... Setting up dh-strip-nondeterminism (0.038-1) ... Setting up debhelper (10.7.2ubuntu2) ... Setting up sbuild-build-depends-petsc-dummy (0.invalid.0) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 21788 files and directories currently installed.) Purging configuration files for pkg-create-dbgsym (0.73) ... Processing triggers for libc-bin (2.24-12ubuntu1) ... +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 4.4.0-93-generic amd64 (i686) Toolchain package versions: binutils_2.29-10ubuntu1 dpkg-dev_1.18.24ubuntu1 g++-6_6.4.0-4ubuntu1 g++-7_7.2.0-3ubuntu1 gcc-6_6.4.0-4ubuntu1 gcc-7_7.2.0-3ubuntu1 libc6-dev_2.24-12ubuntu1 libstdc++-6-dev_6.4.0-4ubuntu1 libstdc++-7-dev_7.2.0-3ubuntu1 libstdc++6_7.2.0-3ubuntu1 linux-libc-dev_4.12.0-13.14 Package versions: adduser_3.113+nmu3ubuntu5 advancecomp_2.0-1 apt_1.5~rc4 apt-transport-https_1.5~rc4 autoconf_2.69-11 automake_1:1.15-6ubuntu1 autopoint_0.19.8.1-4ubuntu1 autotools-dev_20161112.1 base-files_9.6ubuntu101 base-passwd_3.5.43 bash_4.4-5ubuntu1 binutils_2.29-10ubuntu1 binutils-common_2.29-10ubuntu1 binutils-i686-linux-gnu_2.29-10ubuntu1 bsdmainutils_9.0.12+nmu1ubuntu1 bsdutils_1:2.30.1-0ubuntu4 build-essential_12.1ubuntu2 bzip2_1.0.6-8.1 ca-certificates_20170717 coreutils_8.26-3ubuntu3 cpp_4:7.1.0-1ubuntu3 cpp-6_6.4.0-4ubuntu1 cpp-7_7.2.0-3ubuntu1 dash_0.5.8-2.3ubuntu1 debconf_1.5.63 debhelper_10.7.2ubuntu2 debianutils_4.8.2 dh-autoreconf_14 dh-python_2.20170125 dh-strip-nondeterminism_0.038-1 diffstat_1.61-1build1 diffutils_1:3.6-1 dmsetup_2:1.02.137-2ubuntu3 dpkg_1.18.24ubuntu1 dpkg-dev_1.18.24ubuntu1 e2fslibs_1.43.5-1 e2fsprogs_1.43.5-1 fakeroot_1.21-1ubuntu2 fdisk_2.30.1-0ubuntu4 file_1:5.32-1 findutils_4.6.0+git+20170729-2 g++_4:7.1.0-1ubuntu3 g++-6_6.4.0-4ubuntu1 g++-7_7.2.0-3ubuntu1 gcc_4:7.1.0-1ubuntu3 gcc-6_6.4.0-4ubuntu1 gcc-6-base_6.4.0-4ubuntu1 gcc-7_7.2.0-3ubuntu1 gcc-7-base_7.2.0-3ubuntu1 gettext_0.19.8.1-4ubuntu1 gettext-base_0.19.8.1-4ubuntu1 gfortran_4:7.1.0-1ubuntu3 gfortran-7_7.2.0-3ubuntu1 gnupg_2.1.15-1ubuntu7 gnupg-agent_2.1.15-1ubuntu7 gpgv_2.1.15-1ubuntu7 grep_3.1-2 groff-base_1.22.3-9 gzip_1.6-5ubuntu1 hostname_3.18 init_1.49ubuntu1 init-system-helpers_1.49ubuntu1 initscripts_2.88dsf-59.3ubuntu2 insserv_1.14.0-5ubuntu3 intltool-debian_0.35.0+20060710.4 libacl1_2.2.52-3build1 libaec-dev_0.3.2-2 libaec0_0.3.2-2 libamd2_1:4.5.5-1 libapparmor1_2.11.0-2ubuntu17 libapt-pkg5.0_1.5~rc4 libarchive-zip-perl_1.59-1 libasan3_6.4.0-4ubuntu1 libasan4_7.2.0-3ubuntu1 libasn1-8-heimdal_7.4.0.dfsg.1-2 libassuan0_2.4.3-3 libatomic1_7.2.0-3ubuntu1 libattr1_1:2.4.47-2build1 libaudit-common_1:2.7.7-1ubuntu2 libaudit1_1:2.7.7-1ubuntu2 libbinutils_2.29-10ubuntu1 libblacs-mpi-dev_1.1-40build1 libblacs-openmpi1_1.1-40build1 libblas-dev_3.7.1-3ubuntu2 libblas3_3.7.1-3ubuntu2 libblkid1_2.30.1-0ubuntu4 libbsd0_0.8.6-1 libbtf1_1:4.5.5-1 libbz2-1.0_1.0.6-8.1 libc-bin_2.24-12ubuntu1 libc-dev-bin_2.24-12ubuntu1 libc6_2.24-12ubuntu1 libc6-dev_2.24-12ubuntu1 libcamd2_1:4.5.5-1 libcap-ng0_0.7.7-3build1 libcap2_1:2.25-1 libcc1-0_7.2.0-3ubuntu1 libccolamd2_1:4.5.5-1 libcholmod3_1:4.5.5-1 libcilkrts5_7.2.0-3ubuntu1 libcolamd2_1:4.5.5-1 libcomerr2_1.43.5-1 libcroco3_0.6.12-1 libcryptsetup4_2:1.7.3-4ubuntu1 libcurl3-gnutls_7.55.0-1ubuntu2 libcxsparse3_1:4.5.5-1 libdb5.3_5.3.28-13.1 libdebconfclient0_0.213ubuntu1 libdevmapper1.02.1_2:1.02.137-2ubuntu3 libdpkg-perl_1.18.24ubuntu1 libexpat1_2.2.3-1 libfabric1_1.4.0-1 libfakeroot_1.21-1ubuntu2 libfdisk1_2.30.1-0ubuntu4 libffi6_3.2.1-6 libfftw3-bin_3.3.6p2-1 libfftw3-dev_3.3.6p2-1 libfftw3-double3_3.3.6p2-1 libfftw3-long3_3.3.6p2-1 libfftw3-mpi-dev_3.3.6p2-1 libfftw3-mpi3_3.3.6p2-1 libfftw3-quad3_3.3.6p2-1 libfftw3-single3_3.3.6p2-1 libfile-stripnondeterminism-perl_0.038-1 libgcc-6-dev_6.4.0-4ubuntu1 libgcc-7-dev_7.2.0-3ubuntu1 libgcc1_1:7.2.0-3ubuntu1 libgcrypt20_1.7.8-2 libgdbm3_1.8.3-14 libgfortran-7-dev_7.2.0-3ubuntu1 libgfortran4_7.2.0-3ubuntu1 libglib2.0-0_2.53.6-1ubuntu2 libgmp10_2:6.1.2+dfsg-1 libgnutls30_3.5.8-6ubuntu3 libgomp1_7.2.0-3ubuntu1 libgpg-error0_1.27-3 libgssapi-krb5-2_1.15.1-2 libgssapi3-heimdal_7.4.0.dfsg.1-2 libhcrypto4-heimdal_7.4.0.dfsg.1-2 libhdf5-mpi-dev_1.10.0-patch1+docs-4 libhdf5-openmpi-100_1.10.0-patch1+docs-4 libhdf5-openmpi-dev_1.10.0-patch1+docs-4 libheimbase1-heimdal_7.4.0.dfsg.1-2 libheimntlm0-heimdal_7.4.0.dfsg.1-2 libhogweed4_3.3-1 libhwloc-dev_1.11.5-1 libhwloc-plugins_1.11.5-1 libhwloc5_1.11.5-1 libhx509-5-heimdal_7.4.0.dfsg.1-2 libhypre-2.11.1_2.11.1-4 libhypre-dev_2.11.1-4 libibverbs-dev_1.2.1-2ubuntu1 libibverbs1_1.2.1-2ubuntu1 libicu57_57.1-6 libidn11_1.33-2 libidn2-0_2.0.2-4 libip4tc0_1.6.1-2ubuntu1 libisl15_0.18-1 libitm1_7.2.0-3ubuntu1 libjpeg-dev_8c-2ubuntu8 libjpeg-turbo8_1.5.2-0ubuntu1 libjpeg-turbo8-dev_1.5.2-0ubuntu1 libjpeg8_8c-2ubuntu8 libjpeg8-dev_8c-2ubuntu8 libk5crypto3_1.15.1-2 libkeyutils1_1.5.9-9ubuntu1 libklu1_1:4.5.5-1 libkmod2_24-1ubuntu2 libkrb5-26-heimdal_7.4.0.dfsg.1-2 libkrb5-3_1.15.1-2 libkrb5support0_1.15.1-2 libksba8_1.3.5-2 liblapack-dev_3.7.1-3ubuntu2 liblapack3_3.7.1-3ubuntu2 libldap-2.4-2_2.4.45+dfsg-1ubuntu1 libldap-common_2.4.45+dfsg-1ubuntu1 libldl2_1:4.5.5-1 liblockfile-bin_1.14-1 liblockfile1_1.14-1 libltdl-dev_2.4.6-2 libltdl7_2.4.6-2 liblz4-1_0.0~r131-2ubuntu2 liblzma5_5.2.2-1.3 libmagic-mgc_1:5.32-1 libmagic1_1:5.32-1 libmetis5_5.1.0.dfsg-5 libmount1_2.30.1-0ubuntu4 libmpc3_1.0.3-2 libmpdec2_2.4.2-1 libmpfr4_3.1.6-1 libmpx2_7.2.0-3ubuntu1 libmumps-5.1.1_5.1.1-2build1 libmumps-dev_5.1.1-2build1 libncurses5_6.0+20160625-1ubuntu1 libncursesw5_6.0+20160625-1ubuntu1 libnettle6_3.3-1 libnl-3-200_3.2.29-0ubuntu3 libnl-route-3-200_3.2.29-0ubuntu3 libnpth0_1.5-2 libnuma-dev_2.0.11-2.1 libnuma1_2.0.11-2.1 libopenmpi-dev_2.1.1-6 libopenmpi2_2.1.1-6 libp11-kit0_0.23.7-3 libpam-modules_1.1.8-3.2ubuntu3 libpam-modules-bin_1.1.8-3.2ubuntu3 libpam-runtime_1.1.8-3.2ubuntu3 libpam0g_1.1.8-3.2ubuntu3 libpciaccess0_0.13.4-1ubuntu1 libpcre3_2:8.39-4 libperl5.24_5.24.1-2ubuntu1 libperl5.26_5.26.0-8ubuntu1 libpipeline1_1.4.2-1 libpng16-16_1.6.32-1 libprocps6_2:3.3.12-1ubuntu2 libpsl5_0.18.0-2 libpsm-infinipath1_3.3+19.g67c0807.open-3 libptscotch-5.1_5.1.12b.dfsg-2.1 libptscotch-dev_5.1.12b.dfsg-2.1 libpython-stdlib_2.7.13-2 libpython2.7-minimal_2.7.14~rc1-3ubuntu1 libpython2.7-stdlib_2.7.14~rc1-3ubuntu1 libpython3-stdlib_3.6.1-0ubuntu3 libpython3.6-minimal_3.6.2-3 libpython3.6-stdlib_3.6.2-3 libquadmath0_7.2.0-3ubuntu1 librbio2_1:4.5.5-1 librdmacm1_1.1.0-2 libreadline7_7.0-0ubuntu2 libroken18-heimdal_7.4.0.dfsg.1-2 librtmp1_2.4+20151223.gitfa8646d.1-1 libsasl2-2_2.1.27~101-g0780600+dfsg-3ubuntu1 libsasl2-modules-db_2.1.27~101-g0780600+dfsg-3ubuntu1 libscalapack-mpi-dev_1.8.0-14build1 libscalapack-openmpi1_1.8.0-14build1 libscotch-5.1_5.1.12b.dfsg-2.1 libscotch-dev_5.1.12b.dfsg-2.1 libseccomp2_2.3.1-2.1ubuntu1 libselinux1_2.6-3build2 libsemanage-common_2.6-2build2 libsemanage1_2.6-2build2 libsepol1_2.7-1 libsigsegv2_2.11-1 libslang2_2.3.1-5ubuntu1 libsmartcols1_2.30.1-0ubuntu4 libspooles-dev_2.2-12build1 libspooles2.2_2.2-12build1 libspqr2_1:4.5.5-1 libsqlite3-0_3.19.3-3 libss2_1.43.5-1 libssl-dev_1.0.2g-1ubuntu13 libssl1.0.0_1.0.2g-1ubuntu13 libstdc++-6-dev_6.4.0-4ubuntu1 libstdc++-7-dev_7.2.0-3ubuntu1 libstdc++6_7.2.0-3ubuntu1 libsuitesparse-dev_1:4.5.5-1 libsuitesparseconfig4_1:4.5.5-1 libsuperlu-dev_5.2.1+dfsg1-2 libsuperlu5_5.2.1+dfsg1-2 libsystemd0_234-2ubuntu10 libsz2_0.3.2-2 libtasn1-6_4.12-2.1 libtimedate-perl_2.3000-2 libtinfo5_6.0+20160625-1ubuntu1 libtool_2.4.6-2 libubsan0_7.2.0-3ubuntu1 libudev1_234-2ubuntu10 libumfpack5_1:4.5.5-1 libunistring0_0.9.3-5.2ubuntu1 libusb-0.1-4_2:0.1.12-31 libustr-1.0-1_1.0.4-6 libuuid1_2.30.1-0ubuntu4 libwind0-heimdal_7.4.0.dfsg.1-2 libxml2_2.9.4+dfsg1-3.1 linux-libc-dev_4.12.0-13.14 lockfile-progs_0.1.17build1 login_1:4.2-3.2ubuntu4 lsb-base_9.20160110ubuntu5 m4_1.4.18-1 make_4.1-9.1 man-db_2.7.6.1-2 mawk_1.3.3-17ubuntu2 mime-support_3.60ubuntu1 mount_2.30.1-0ubuntu4 mpi-default-bin_1.8 mpi-default-dev_1.8 multiarch-support_2.24-12ubuntu1 ncurses-base_6.0+20160625-1ubuntu1 ncurses-bin_6.0+20160625-1ubuntu1 ocl-icd-libopencl1_2.2.11-1ubuntu1 openmpi-bin_2.1.1-6 openmpi-common_2.1.1-6 openssl_1.0.2g-1ubuntu13 optipng_0.7.6-1build1 passwd_1:4.2-3.2ubuntu4 patch_2.7.5-1build1 perl_5.26.0-8ubuntu1 perl-base_5.26.0-8ubuntu1 perl-modules-5.24_5.24.1-2ubuntu1 perl-modules-5.26_5.26.0-8ubuntu1 pinentry-curses_1.0.0-2 pkg-config_0.29.1-0ubuntu2 pkgbinarymangler_131 po-debconf_1.0.20 policyrcd-script-zg2_0.1-3 procps_2:3.3.12-1ubuntu2 python_2.7.13-2 python-minimal_2.7.13-2 python2.7_2.7.14~rc1-3ubuntu1 python2.7-minimal_2.7.14~rc1-3ubuntu1 python3_3.6.1-0ubuntu3 python3-minimal_3.6.1-0ubuntu3 python3.6_3.6.2-3 python3.6-minimal_3.6.2-3 quilt_0.63-8.1 readline-common_7.0-0ubuntu2 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-petsc-dummy_0.invalid.0 sed_4.4-1 sensible-utils_0.0.10 systemd_234-2ubuntu10 systemd-sysv_234-2ubuntu10 sysv-rc_2.88dsf-59.3ubuntu2 sysvinit-utils_2.88dsf-59.8git1 tar_1.29b-2 tzdata_2017b-2 ubuntu-keyring_2016.10.27 util-linux_2.30.1-0ubuntu4 xz-utils_5.2.2-1.3 zlib1g_1:1.2.11.dfsg-0ubuntu2 zlib1g-dev_1:1.2.11.dfsg-0ubuntu2 +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- gpgv: Signature made Mon Sep 18 08:29:48 2017 UTC gpgv: using RSA key gpgv: issuer "nico.schloemer@gmail.com" gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./petsc_3.7.6+git201709181029-0957343e-1artful1.dsc dpkg-source: info: extracting petsc in petsc-3.7.6+git201709181029-0957343e dpkg-source: info: unpacking petsc_3.7.6+git201709181029-0957343e.orig.tar.gz dpkg-source: info: unpacking petsc_3.7.6+git201709181029-0957343e-1artful1.debian.tar.xz dpkg-source: info: applying build-debug-nowarn.patch dpkg-source: info: applying build-no-rpath.patch dpkg-source: info: applying lib-versions.patch dpkg-source: info: applying sprng-2.patch dpkg-source: info: applying clean-no-double-colon.patch dpkg-source: info: applying hypre.patch dpkg-source: info: applying nocleanup.patch dpkg-source: info: applying g++-4.8.patch dpkg-source: info: applying python_header dpkg-source: info: applying soname_extension dpkg-source: info: applying hurd.patch dpkg-source: info: applying test_mpi_conditional_bug816101 Check disc space ---------------- Sufficient free space for build User Environment ---------------- APT_CONFIG=/var/lib/sbuild/apt.conf DEB_BUILD_OPTIONS=noautodbgsym parallel=4 HOME=/sbuild-nonexistent LANG=C.UTF-8 LC_ALL=C.UTF-8 LOGNAME=buildd PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games SCHROOT_ALIAS_NAME=build-PACKAGEBUILD-13388159 SCHROOT_CHROOT_NAME=build-PACKAGEBUILD-13388159 SCHROOT_COMMAND=env SCHROOT_GID=2501 SCHROOT_GROUP=buildd SCHROOT_SESSION_ID=build-PACKAGEBUILD-13388159 SCHROOT_UID=2001 SCHROOT_USER=buildd SHELL=/bin/sh TERM=unknown USER=buildd V=1 dpkg-buildpackage ----------------- dpkg-buildpackage: info: source package petsc dpkg-buildpackage: info: source version 3.7.6+git201709181029-0957343e-1artful1 dpkg-buildpackage: info: source distribution artful dpkg-source --before-build petsc-3.7.6+git201709181029-0957343e dpkg-buildpackage: info: host architecture i386 fakeroot debian/rules clean dh clean --with python2 debian/rules override_dh_auto_clean make[1]: Entering directory '/<>/petsc-3.7.6+git201709181029-0957343e' if [ -d i386-linux-gnu-real-debug ]; then \ dh_auto_clean -plibpetsc3.7.6-dbg -ppetsc3.7.6-doc -- \ PETSC_DIR=/<>/petsc-3.7.6+git201709181029-0957343e PETSC_ARCH=i386-linux-gnu-real-debug; \ fi if [ -d i386-linux-gnu-real ]; then \ dh_auto_clean -plibpetsc3.7.6-dev -- \ PETSC_DIR=/<>/petsc-3.7.6+git201709181029-0957343e PETSC_ARCH=i386-linux-gnu-real; \ fi if [ -d i386-linux-gnu-complex ]; then \ dh_auto_clean -plibpetsc-complex-3.7.6-dev -- \ PETSC_DIR=/<>/petsc-3.7.6+git201709181029-0957343e PETSC_ARCH=i386-linux-gnu-complex; \ fi if [ -d i386-linux-gnu-complex-debug ]; then \ dh_auto_clean -plibpetsc-complex-3.7.6-dbg -- \ PETSC_DIR=/<>/petsc-3.7.6+git201709181029-0957343e PETSC_ARCH=i386-linux-gnu-complex-debug; \ fi make[1]: Leaving directory '/<>/petsc-3.7.6+git201709181029-0957343e' dh_autoreconf_clean dh_clean debian/rules build-arch dh build-arch --with python2 dh_update_autotools_config -a dh_autoreconf -a debian/rules override_dh_auto_configure make[1]: Entering directory '/<>/petsc-3.7.6+git201709181029-0957343e' ===================== libpetsc3.7.6-dbg ===================== if dh_auto_configure -plibpetsc3.7.6-dbg -ppetsc3.7.6-doc -- \ --with-debugging=1 \ --shared-library-extension=_real \ --with-clanguage=C++ \ --with-shared-libraries --with-pic=1 --useThreads=0 --with-fortran-bindings=0 --with-mpi-dir=/usr/lib/i386-linux-gnu/openmpi --with-blas-lib=-lblas --with-lapack-lib=-llapack --with-scalapack=1 --with-scalapack-lib=-lscalapack-openmpi --with-mumps=1 --with-mumps-include=[] --with-mumps-lib="-ldmumps -lzmumps -lsmumps -lcmumps -lmumps_common -lpord" --with-suitesparse=1 --with-suitesparse-include=/usr/include/suitesparse --with-suitesparse-lib="-lumfpack -lamd -lcholmod -lklu" --with-spooles=1 --with-spooles-include=/usr/include/spooles --with-spooles-lib=-lspooles --with-ptscotch=1 --with-ptscotch-include=/usr/include/scotch --with-ptscotch-lib="-lptesmumps -lptscotch -lptscotcherr" --with-fftw=1 --with-fftw-include=[] --with-fftw-lib="-lfftw3 -lfftw3_mpi" --with-hdf5=1 --with-hdf5-dir=/usr/lib/i386-linux-gnu/hdf5/openmpi --CXX_LINKER_FLAGS="-Wl,--no-as-needed" \ --with-hypre=1 --with-hypre-include=/usr/include/hypre --with-hypre-lib="-lHYPRE_IJ_mv -lHYPRE_parcsr_ls -lHYPRE_sstruct_ls -lHYPRE_sstruct_mv -lHYPRE_struct_ls -lHYPRE_struct_mv -lHYPRE_utilities" \ --prefix=/usr/lib/petscdir/3.7.6/i386-linux-gnu-real-debug \ PETSC_DIR=/<>/petsc-3.7.6+git201709181029-0957343e --PETSC_ARCH=i386-linux-gnu-real-debug \ CFLAGS="-g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC" CXXFLAGS="-g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC" \ FCFLAGS="-g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC" FFLAGS="-g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC" \ CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2" LDFLAGS="-Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC" MAKEFLAGS="w"; then \ : ; \ else \ cat configure.log; \ false; \ fi ./configure --build=i686-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/i386-linux-gnu --libexecdir=\${prefix}/lib/i386-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --with-debugging=1 --shared-library-extension=_real --with-clanguage=C\+\+ --with-shared-libraries --with-pic=1 --useThreads=0 --with-fortran-bindings=0 --with-mpi-dir=/usr/lib/i386-linux-gnu/openmpi --with-blas-lib=-lblas --with-lapack-lib=-llapack --with-scalapack=1 --with-scalapack-lib=-lscalapack-openmpi --with-mumps=1 --with-mumps-include=\[\] "--with-mumps-lib=-ldmumps -lzmumps -lsmumps -lcmumps -lmumps_common -lpord" --with-suitesparse=1 --with-suitesparse-include=/usr/include/suitesparse "--with-suitesparse-lib=-lumfpack -lamd -lcholmod -lklu" --with-spooles=1 --with-spooles-include=/usr/include/spooles --with-spooles-lib=-lspooles --with-ptscotch=1 --with-ptscotch-include=/usr/include/scotch "--with-ptscotch-lib=-lptesmumps -lptscotch -lptscotcherr" --with-fftw=1 --with-fftw-include=\[\] "--with-fftw-lib=-lfftw3 -lfftw3_mpi" --with-hdf5=1 --with-hdf5-dir=/usr/lib/i386-linux-gnu/hdf5/openmpi --CXX_LINKER_FLAGS=-Wl,--no-as-needed --with-hypre=1 --with-hypre-include=/usr/include/hypre "--with-hypre-lib=-lHYPRE_IJ_mv -lHYPRE_parcsr_ls -lHYPRE_sstruct_ls -lHYPRE_sstruct_mv -lHYPRE_struct_ls -lHYPRE_struct_mv -lHYPRE_utilities" --prefix=/usr/lib/petscdir/3.7.6/i386-linux-gnu-real-debug PETSC_DIR=/<>/petsc-3.7.6\+git201709181029-0957343e --PETSC_ARCH=i386-linux-gnu-real-debug "CFLAGS=-g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC" "CXXFLAGS=-g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC" "FCFLAGS=-g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC" "FFLAGS=-g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC" "CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2" "LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC" MAKEFLAGS=w =============================================================================== Configuring PETSc to compile on your system =============================================================================== TESTING: configureExternalPackagesDir from config.framework(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/framework.py:841) TESTING: configureGit from config.sourceControl(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/sourceControl.py:24) TESTING: configureMercurial from config.sourceControl(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/sourceControl.py:35) TESTING: configureDebuggers from config.utilities.debuggers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/utilities/debuggers.py:22) TESTING: configureCLanguage from PETSc.options.languages(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/languages.py:27) =============================================================================== WARNING -with-clanguage=C++ is a developer feature and is *not* required for regular usage of PETSc either from C or C++ =============================================================================== TESTING: configureDirectories from PETSc.options.petscdir(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/petscdir.py:23) TESTING: getDatafilespath from PETSc.options.dataFilesPath(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/dataFilesPath.py:29) TESTING: configureInstallationMethod from PETSc.options.petscclone(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/petscclone.py:20) TESTING: configureArchitecture from PETSc.options.arch(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/arch.py:36) TESTING: setInstallDir from PETSc.options.installDir(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/installDir.py:35) TESTING: saveReconfigure from PETSc.options.installDir(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/installDir.py:75) TESTING: cleanInstallDir from PETSc.options.installDir(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/installDir.py:68) TESTING: configureInstallDir from PETSc.options.installDir(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/installDir.py:52) TESTING: restoreReconfigure from PETSc.options.installDir(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/installDir.py:88) TESTING: setExternalPackagesDir from PETSc.options.externalpackagesdir(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/externalpackagesdir.py:15) TESTING: cleanExternalpackagesDir from PETSc.options.externalpackagesdir(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/externalpackagesdir.py:22) TESTING: printEnvVariables from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:1591) TESTING: resetEnvCompilers from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:1598) TESTING: checkEnvCompilers from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:1628) TESTING: checkMPICompilerOverride from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:1563) TESTING: requireMpiLdPath from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:1582) TESTING: checkVendor from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:426) TESTING: checkInitialFlags from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:436) TESTING: checkCCompiler from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:566) TESTING: checkCPreprocessor from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:599) TESTING: checkCUDACompiler from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:640) TESTING: checkCUDAPreprocessor from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:680) TESTING: checkCxxCompiler from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:792) TESTING: checkCxxPreprocessor from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:830) TESTING: checkFortranCompiler from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:947) TESTING: checkFortranComments from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:968) TESTING: checkLargeFileIO from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:1085) TESTING: checkArchiver from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:1184) TESTING: checkSharedLinker from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:1298) TESTING: checkPIC from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:1044) TESTING: checkSharedLinkerPaths from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:1392) TESTING: checkLibC from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:1406) TESTING: checkDynamicLinker from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:1455) TESTING: output from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:1507) TESTING: checkSharedDynamicPicOptions from PETSc.options.sharedLibraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/sharedLibraries.py:41) TESTING: configureSharedLibraries from PETSc.options.sharedLibraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/sharedLibraries.py:57) TESTING: configureDynamicLibraries from PETSc.options.sharedLibraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/sharedLibraries.py:109) TESTING: configureSerializedFunctions from PETSc.options.sharedLibraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/sharedLibraries.py:115) TESTING: configureIndexSize from PETSc.options.indexTypes(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/indexTypes.py:31) TESTING: configureCompilerFlags from config.compilerFlags(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilerFlags.py:72) TESTING: configureDebugging from PETSc.options.debugging(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/debugging.py:25) TESTING: checkRestrict from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:137) TESTING: checkCFormatting from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:322) TESTING: checkCStaticInline from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:108) TESTING: checkDynamicLoadFlag from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:333) TESTING: checkCLibraries from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:171) TESTING: checkDependencyGenerationFlag from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:1389) TESTING: checkC99Flag from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:1435) TESTING: checkRestrict from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:137) TESTING: checkCxxNamespace from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:373) TESTING: checkCxxOptionalExtensions from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:346) TESTING: checkCxxStaticInline from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:122) TESTING: checkCxxLibraries from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:431) TESTING: checkCxx11 from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:388) TESTING: checkFortranTypeSizes from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:594) TESTING: checkFortranNameMangling from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:653) TESTING: checkFortranNameManglingDouble from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:690) TESTING: checkFortranPreprocessor from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:700) TESTING: checkFortranDefineCompilerOption from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:724) TESTING: checkFortranLibraries from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:744) TESTING: checkFortranLinkingCxx from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:1095) TESTING: checkFortran90 from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:1130) TESTING: checkFortran90FreeForm from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:1143) TESTING: checkFortran2003 from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:1157) TESTING: checkFortran90Array from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:1191) TESTING: checkFortranModuleInclude from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:1278) TESTING: checkFortranModuleOutput from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:1344) TESTING: setupFrameworkCompilers from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:1503) TESTING: configureClosure from config.utilities.closure(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/utilities/closure.py:18) TESTING: configureFortranCPP from PETSc.options.fortranCPP(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/fortranCPP.py:21) TESTING: checkStdC from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:105) TESTING: checkStat from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:138) TESTING: checkSysWait from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:173) TESTING: checkTime from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:195) TESTING: checkMath from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:203) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: checkRecursiveMacros from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:218) TESTING: configureCacheDetails from config.utilities.cacheDetails(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/utilities/cacheDetails.py:78) TESTING: check_siginfo_t from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:46) TESTING: check__int64 from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:52) TESTING: checkSizeTypes from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:58) TESTING: checkFileTypes from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:68) TESTING: checkIntegerTypes from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:63) TESTING: checkPID from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:74) TESTING: checkUID from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:78) TESTING: checkSignal from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:85) TESTING: checkC99Complex from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:106) TESTING: checkCxxComplex from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:117) TESTING: checkFortranKind from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:138) TESTING: checkConst from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:150) TESTING: checkEndian from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:206) TESTING: checkSizeof from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:259) TESTING: checkSizeof from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:259) TESTING: checkSizeof from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:259) TESTING: checkSizeof from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:259) TESTING: checkSizeof from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:259) TESTING: checkSizeof from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:259) TESTING: checkSizeof from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:259) TESTING: checkSizeof from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:259) TESTING: checkSizeof from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:259) TESTING: checkBitsPerByte from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:310) TESTING: checkVisibility from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:356) TESTING: configureMemAlign from PETSc.options.memAlign(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/memAlign.py:30) TESTING: check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) TESTING: checkMath from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:264) TESTING: checkMathErf from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:283) TESTING: checkMathTgamma from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:292) TESTING: checkMathFenv from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:301) TESTING: checkMathLog2 from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:309) TESTING: checkRealtime from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:318) TESTING: checkDynamic from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:334) TESTING: configureLibraryOptions from PETSc.options.libraryOptions(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/libraryOptions.py:37) TESTING: configureISColorValueType from PETSc.options.libraryOptions(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/libraryOptions.py:91) TESTING: configureCPURelax from config.atomics(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/atomics.py:17) TESTING: configureMemoryBarriers from config.atomics(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/atomics.py:36) TESTING: checkMemcmp from config.functions(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/functions.py:110) TESTING: checkSysinfo from config.functions(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/functions.py:135) TESTING: checkVPrintf from config.functions(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/functions.py:158) TESTING: checkVFPrintf from config.functions(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/functions.py:165) TESTING: checkVSNPrintf from config.functions(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/functions.py:172) TESTING: checkNanosleep from config.functions(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/functions.py:206) TESTING: checkSignalHandlerType from config.functions(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/functions.py:182) TESTING: checkFreeReturnType from config.functions(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/functions.py:192) TESTING: checkVariableArgumentLists from config.functions(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/functions.py:198) TESTING: checkClassify from config.functions(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/functions.py:89) TESTING: configureFPTrap from config.utilities.FPTrap(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/utilities/FPTrap.py:27) TESTING: configureMemorySize from config.utilities.getResidentSetSize(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/utilities/getResidentSetSize.py:31) TESTING: configureFortranCommandLine from config.utilities.fortranCommandLine(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/utilities/fortranCommandLine.py:27) TESTING: configureFeatureTestMacros from config.utilities.featureTestMacros(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/utilities/featureTestMacros.py:13) TESTING: configureMissingDefines from config.utilities.missing(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/utilities/missing.py:57) TESTING: configureMissingUtypeTypedefs from config.utilities.missing(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/utilities/missing.py:67) TESTING: configureMissingFunctions from config.utilities.missing(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/utilities/missing.py:73) TESTING: configureMissingSignals from config.utilities.missing(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/utilities/missing.py:93) TESTING: configureMissingGetdomainnamePrototype from config.utilities.missing(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/utilities/missing.py:110) TESTING: configureMissingSrandPrototype from config.utilities.missing(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/utilities/missing.py:135) TESTING: configureScalarType from PETSc.options.scalarTypes(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/scalarTypes.py:37) TESTING: configurePrecision from PETSc.options.scalarTypes(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/scalarTypes.py:77) TESTING: configureMkdir from config.programs(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/programs.py:23) TESTING: configureAutoreconf from config.programs(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/programs.py:45) TESTING: configurePrograms from config.programs(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/programs.py:72) TESTING: configureMake from config.packages.make(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/packages/make.py:82) TESTING: configureCheckGNUMake from config.packages.make(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/packages/make.py:119) TESTING: configureMakeNP from config.packages.make(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/packages/make.py:157) TESTING: alternateConfigureLibrary from config.packages.OpenMPI(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/package.py:796) TESTING: alternateConfigureLibrary from config.packages.MPICH(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/package.py:796) TESTING: checkDependencies from config.packages.MPI(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/package.py:719) TESTING: configureLibrary from config.packages.MPI(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/packages/MPI.py:490) TESTING: check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) TESTING: checkInclude from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:86) TESTING: configureConversion from config.packages.MPI(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/packages/MPI.py:217) TESTING: configureMPI2 from config.packages.MPI(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/packages/MPI.py:178) TESTING: configureTypes from config.packages.MPI(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/packages/MPI.py:237) TESTING: configureMPITypes from config.packages.MPI(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/packages/MPI.py:249) TESTING: configureMissingPrototypes from config.packages.MPI(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/packages/MPI.py:320) TESTING: SGIMPICheck from config.packages.MPI(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/packages/MPI.py:339) TESTING: CxxMPICheck from config.packages.MPI(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/packages/MPI.py:349) TESTING: FortranMPICheck from config.packages.MPI(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/packages/MPI.py:367) ******************************************************************************* UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details): ------------------------------------------------------------------------------- Fortran error! mpi_init() could not be located! ******************************************************************************* dh_auto_configure: ./configure --build=i686-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/i386-linux-gnu --libexecdir=\${prefix}/lib/i386-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --with-debugging=1 --shared-library-extension=_real --with-clanguage=C\+\+ --with-shared-libraries --with-pic=1 --useThreads=0 --with-fortran-bindings=0 --with-mpi-dir=/usr/lib/i386-linux-gnu/openmpi --with-blas-lib=-lblas --with-lapack-lib=-llapack --with-scalapack=1 --with-scalapack-lib=-lscalapack-openmpi --with-mumps=1 --with-mumps-include=\[\] "--with-mumps-lib=-ldmumps -lzmumps -lsmumps -lcmumps -lmumps_common -lpord" --with-suitesparse=1 --with-suitesparse-include=/usr/include/suitesparse "--with-suitesparse-lib=-lumfpack -lamd -lcholmod -lklu" --with-spooles=1 --with-spooles-include=/usr/include/spooles --with-spooles-lib=-lspooles --with-ptscotch=1 --with-ptscotch-include=/usr/include/scotch "--with-ptscotch-lib=-lptesmumps -lptscotch -lptscotcherr" --with-fftw=1 --with-fftw-include=\[\] "--with-fftw-lib=-lfftw3 -lfftw3_mpi" --with-hdf5=1 --with-hdf5-dir=/usr/lib/i386-linux-gnu/hdf5/openmpi --CXX_LINKER_FLAGS=-Wl,--no-as-needed --with-hypre=1 --with-hypre-include=/usr/include/hypre "--with-hypre-lib=-lHYPRE_IJ_mv -lHYPRE_parcsr_ls -lHYPRE_sstruct_ls -lHYPRE_sstruct_mv -lHYPRE_struct_ls -lHYPRE_struct_mv -lHYPRE_utilities" --prefix=/usr/lib/petscdir/3.7.6/i386-linux-gnu-real-debug PETSC_DIR=/<>/petsc-3.7.6\+git201709181029-0957343e --PETSC_ARCH=i386-linux-gnu-real-debug "CFLAGS=-g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC" "CXXFLAGS=-g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC" "FCFLAGS=-g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC" "FFLAGS=-g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC" "CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2" "LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC" MAKEFLAGS=w returned exit code 1 Pushing language C Popping language C Pushing language CUDA Popping language CUDA Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC ================================================================================ ================================================================================ Starting Configure Run at Mon Sep 18 08:32:49 2017 Configure Options: --configModules=PETSc.Configure --optionsModule=config.compilerOptions --build=i686-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --with-silent-rules=0 --libdir=${prefix}/lib/i386-linux-gnu --libexecdir=${prefix}/lib/i386-linux-gnu --with-maintainer-mode=0 --with-dependency-tracking=0 --with-debugging=1 --shared-library-extension=_real --with-clanguage=C++ --with-shared-libraries --with-pic=1 --useThreads=0 --with-fortran-bindings=0 --with-mpi-dir=/usr/lib/i386-linux-gnu/openmpi --with-blas-lib=-lblas --with-lapack-lib=-llapack --with-scalapack=1 --with-scalapack-lib=-lscalapack-openmpi --with-mumps=1 --with-mumps-include="[]" --with-mumps-lib="-ldmumps -lzmumps -lsmumps -lcmumps -lmumps_common -lpord" --with-suitesparse=1 --with-suitesparse-include=/usr/include/suitesparse --with-suitesparse-lib="-lumfpack -lamd -lcholmod -lklu" --with-spooles=1 --with-spooles-include=/usr/include/spooles --with-spooles-lib=-lspooles --with-ptscotch=1 --with-ptscotch-include=/usr/include/scotch --with-ptscotch-lib="-lptesmumps -lptscotch -lptscotcherr" --with-fftw=1 --with-fftw-include="[]" --with-fftw-lib="-lfftw3 -lfftw3_mpi" --with-hdf5=1 --with-hdf5-dir=/usr/lib/i386-linux-gnu/hdf5/openmpi --CXX_LINKER_FLAGS=-Wl,--no-as-needed --with-hypre=1 --with-hypre-include=/usr/include/hypre --with-hypre-lib="-lHYPRE_IJ_mv -lHYPRE_parcsr_ls -lHYPRE_sstruct_ls -lHYPRE_sstruct_mv -lHYPRE_struct_ls -lHYPRE_struct_mv -lHYPRE_utilities" --prefix=/usr/lib/petscdir/3.7.6/i386-linux-gnu-real-debug PETSC_DIR=/<>/petsc-3.7.6+git201709181029-0957343e --PETSC_ARCH=i386-linux-gnu-real-debug CFLAGS="-g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC" CXXFLAGS="-g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC" FCFLAGS="-g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC" FFLAGS="-g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC" CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2" LDFLAGS="-Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC" MAKEFLAGS=w Working directory: /<>/petsc-3.7.6+git201709181029-0957343e Machine platform: ('Linux', 'lgw01-amd64-006', '4.4.0-93-generic', '#116-Ubuntu SMP Fri Aug 11 21:17:51 UTC 2017', 'i686', 'i686') Python version: 2.7.14rc1 (default, Sep 5 2017, 18:19:52) [GCC 7.2.0] ================================================================================ Pushing language C Popping language C Pushing language CUDA Popping language CUDA Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC ================================================================================ TEST configureExternalPackagesDir from config.framework(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/framework.py:841) TESTING: configureExternalPackagesDir from config.framework(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/framework.py:841) ================================================================================ TEST configureGit from config.sourceControl(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/sourceControl.py:24) TESTING: configureGit from config.sourceControl(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/sourceControl.py:24) Find the Git executable Checking for program /usr/local/sbin/git...not found Checking for program /usr/local/bin/git...not found Checking for program /usr/sbin/git...not found Checking for program /usr/bin/git...not found Checking for program /sbin/git...not found Checking for program /bin/git...not found Checking for program /usr/games/git...not found ================================================================================ TEST configureMercurial from config.sourceControl(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/sourceControl.py:35) TESTING: configureMercurial from config.sourceControl(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/sourceControl.py:35) Find the Mercurial executable Checking for program /usr/local/sbin/hg...not found Checking for program /usr/local/bin/hg...not found Checking for program /usr/sbin/hg...not found Checking for program /usr/bin/hg...not found Checking for program /sbin/hg...not found Checking for program /bin/hg...not found Checking for program /usr/games/hg...not found ================================================================================ TEST configureDebuggers from config.utilities.debuggers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/utilities/debuggers.py:22) TESTING: configureDebuggers from config.utilities.debuggers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/utilities/debuggers.py:22) Find a default debugger and determine its arguments Checking for program /usr/local/sbin/gdb...not found Checking for program /usr/local/bin/gdb...not found Checking for program /usr/sbin/gdb...not found Checking for program /usr/bin/gdb...not found Checking for program /sbin/gdb...not found Checking for program /bin/gdb...not found Checking for program /usr/games/gdb...not found Checking for program /usr/local/sbin/dbx...not found Checking for program /usr/local/bin/dbx...not found Checking for program /usr/sbin/dbx...not found Checking for program /usr/bin/dbx...not found Checking for program /sbin/dbx...not found Checking for program /bin/dbx...not found Checking for program /usr/games/dbx...not found Checking for program /usr/local/sbin/xdb...not found Checking for program /usr/local/bin/xdb...not found Checking for program /usr/sbin/xdb...not found Checking for program /usr/bin/xdb...not found Checking for program /sbin/xdb...not found Checking for program /bin/xdb...not found Checking for program /usr/games/xdb...not found Checking for program /usr/local/sbin/dsymutil...not found Checking for program /usr/local/bin/dsymutil...not found Checking for program /usr/sbin/dsymutil...not found Checking for program /usr/bin/dsymutil...not found Checking for program /sbin/dsymutil...not found Checking for program /bin/dsymutil...not found Checking for program /usr/games/dsymutil...not found Defined make macro "DSYMUTIL" to "true" ================================================================================ TEST configureCLanguage from PETSc.options.languages(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/languages.py:27) TESTING: configureCLanguage from PETSc.options.languages(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/languages.py:27) Choose whether to compile the PETSc library using a C or C++ compiler =============================================================================== WARNING -with-clanguage=C++ is a developer feature and is *not* required for regular usage of PETSc either from C or C++ =============================================================================== C language is Cxx Defined "CLANGUAGE_CXX" to "1" ================================================================================ TEST configureDirectories from PETSc.options.petscdir(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/petscdir.py:23) TESTING: configureDirectories from PETSc.options.petscdir(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/petscdir.py:23) Checks PETSC_DIR and sets if not set Version Information: #define PETSC_VERSION_RELEASE 0 #define PETSC_VERSION_MAJOR 3 #define PETSC_VERSION_MINOR 7 #define PETSC_VERSION_SUBMINOR 6 #define PETSC_VERSION_PATCH 0 #define PETSC_VERSION_DATE "unknown" #define PETSC_VERSION_GIT "unknown" #define PETSC_VERSION_DATE_GIT "unknown" #define PETSC_VERSION_EQ(MAJOR,MINOR,SUBMINOR) \ #define PETSC_VERSION_ PETSC_VERSION_EQ #define PETSC_VERSION_LT(MAJOR,MINOR,SUBMINOR) \ #define PETSC_VERSION_LE(MAJOR,MINOR,SUBMINOR) \ #define PETSC_VERSION_GT(MAJOR,MINOR,SUBMINOR) \ #define PETSC_VERSION_GE(MAJOR,MINOR,SUBMINOR) \ Defined make macro "DIR" to "/<>/petsc-3.7.6+git201709181029-0957343e" ================================================================================ TEST getDatafilespath from PETSc.options.dataFilesPath(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/dataFilesPath.py:29) TESTING: getDatafilespath from PETSc.options.dataFilesPath(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/dataFilesPath.py:29) Checks what DATAFILESPATH should be ================================================================================ TEST configureInstallationMethod from PETSc.options.petscclone(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/petscclone.py:20) TESTING: configureInstallationMethod from PETSc.options.petscclone(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/petscclone.py:20) bin/maint exists. This appears to be a repository clone This repository clone is obtained as a tarball as no .git dirs exist ================================================================================ TEST configureArchitecture from PETSc.options.arch(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/arch.py:36) TESTING: configureArchitecture from PETSc.options.arch(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/arch.py:36) Checks PETSC_ARCH and sets if not set Defined "ARCH" to ""i386-linux-gnu-real-debug"" ================================================================================ TEST setInstallDir from PETSc.options.installDir(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/installDir.py:35) TESTING: setInstallDir from PETSc.options.installDir(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/installDir.py:35) setup installDir to either prefix or if that is not set to PETSC_DIR/PETSC_ARCH Defined make macro "PREFIXDIR" to "/usr/lib/petscdir/3.7.6/i386-linux-gnu-real-debug" ================================================================================ TEST saveReconfigure from PETSc.options.installDir(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/installDir.py:75) TESTING: saveReconfigure from PETSc.options.installDir(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/installDir.py:75) ================================================================================ TEST cleanInstallDir from PETSc.options.installDir(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/installDir.py:68) TESTING: cleanInstallDir from PETSc.options.installDir(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/installDir.py:68) ================================================================================ TEST configureInstallDir from PETSc.options.installDir(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/installDir.py:52) TESTING: configureInstallDir from PETSc.options.installDir(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/installDir.py:52) Makes installDir subdirectories if it does not exist for both prefix install location and PETSc work install location Changed persistence directory to /<>/petsc-3.7.6+git201709181029-0957343e/i386-linux-gnu-real-debug/lib/petsc/conf ================================================================================ TEST restoreReconfigure from PETSc.options.installDir(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/installDir.py:88) TESTING: restoreReconfigure from PETSc.options.installDir(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/installDir.py:88) ================================================================================ TEST setExternalPackagesDir from PETSc.options.externalpackagesdir(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/externalpackagesdir.py:15) TESTING: setExternalPackagesDir from PETSc.options.externalpackagesdir(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/externalpackagesdir.py:15) ================================================================================ TEST cleanExternalpackagesDir from PETSc.options.externalpackagesdir(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/externalpackagesdir.py:22) TESTING: cleanExternalpackagesDir from PETSc.options.externalpackagesdir(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/externalpackagesdir.py:22) ================================================================================ TEST printEnvVariables from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:1591) TESTING: printEnvVariables from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:1591) **** printenv **** CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 DEB_BUILD_ARCH=i386 DEB_BUILD_GNU_SYSTEM=linux-gnu DEB_BUILD_MULTIARCH=i386-linux-gnu DEB_TARGET_MULTIARCH=i386-linux-gnu SCHROOT_UID=2001 DEB_HOST_GNU_TYPE=i686-linux-gnu DEB_BUILD_ARCH_OS=linux SCHROOT_GROUP=buildd DEB_HOST_ARCH_OS=linux GCJFLAGS=-g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong CXXFLAGS=-g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC SCHROOT_CHROOT_NAME=build-PACKAGEBUILD-13388159 DEB_BUILD_ARCH_ABI=base LOGNAME=buildd USER=buildd OBJCFLAGS=-g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security DEB_TARGET_GNU_CPU=i686 DH_INTERNAL_OPTIONS=-a HOME=/sbuild-nonexistent DEB_TARGET_ARCH=i386 SCHROOT_ALIAS_NAME=build-PACKAGEBUILD-13388159 MAKEFLAGS=w DEB_HOST_ARCH_ENDIAN=little LANG=en_US.UTF-8 DEB_BUILD_ARCH_BITS=32 TERM=unknown SCHROOT_SESSION_ID=build-PACKAGEBUILD-13388159 DEB_TARGET_ARCH_LIBC=gnu DEB_BUILD_ARCH_ENDIAN=little MAKELEVEL=2 DEB_HOST_ARCH_BITS=32 DEB_HOST_GNU_CPU=i686 DEB_TARGET_ARCH_ABI=base SCHROOT_USER=buildd LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC DH_INTERNAL_OVERRIDE=dh_auto_configure SCHROOT_GID=2501 DEB_TARGET_GNU_TYPE=i686-linux-gnu DEB_HOST_ARCH_ABI=base MFLAGS=-w SOURCE_DATE_EPOCH=1505723378 DEB_HOST_ARCH_LIBC=gnu LC_ALL=C.UTF-8 DEB_CFLAGS_MAINT_APPEND=-fPIC DEB_HOST_MULTIARCH=i386-linux-gnu SCHROOT_COMMAND=dpkg-buildpackage -us -uc -mLaunchpad Build Daemon -B -rfakeroot APT_CONFIG=/var/lib/sbuild/apt.conf FFLAGS=-g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC DEB_BUILD_ARCH_CPU=i386 DEB_FCFLAGS_MAINT_APPEND=-fPIC DEB_HOST_ARCH=i386 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games SHELL=/bin/sh DEB_TARGET_ARCH_CPU=i386 V=1 FCFLAGS=-g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC DEB_BUILD_OPTIONS=noautodbgsym parallel=4 DH_INTERNAL_BUILDFLAGS=1 DEB_CXXFLAGS_MAINT_APPEND=-fPIC DEB_TARGET_ARCH_ENDIAN=little DEB_FFLAGS_MAINT_APPEND=-fPIC DEB_LDFLAGS_MAINT_APPEND=-fPIC DEB_HOST_ARCH_CPU=i386 DEB_TARGET_ARCH_BITS=32 PWD=/<>/petsc-3.7.6+git201709181029-0957343e DEB_BUILD_GNU_CPU=i686 DEB_BUILD_GNU_TYPE=i686-linux-gnu CFLAGS=-g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC OMPI_MCA_plm_rsh_agent=/bin/false OBJCXXFLAGS=-g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security DEB_HOST_GNU_SYSTEM=linux-gnu DEB_TARGET_GNU_SYSTEM=linux-gnu DEB_TARGET_ARCH_OS=linux PERL_USE_UNSAFE_INC=1 DEB_BUILD_ARCH_LIBC=gnu ================================================================================ TEST resetEnvCompilers from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:1598) TESTING: resetEnvCompilers from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:1598) CFLAGS (set to -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC) found in environment variables - ignoring since also set on command line CXXFLAGS (set to -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC) found in environment variables - ignoring since also set on command line FCFLAGS (set to -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC) found in environment variables - ignoring since also set on command line FFLAGS (set to -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC) found in environment variables - ignoring since also set on command line CPPFLAGS (set to -Wdate-time -D_FORTIFY_SOURCE=2) found in environment variables - ignoring since also set on command line LDFLAGS (set to -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC) found in environment variables - ignoring since also set on command line MAKEFLAGS (set to w) found in environment variables - ignoring since also set on command line ================================================================================ TEST checkEnvCompilers from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:1628) TESTING: checkEnvCompilers from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:1628) ================================================================================ TEST checkMPICompilerOverride from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:1563) TESTING: checkMPICompilerOverride from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:1563) Check if --with-mpi-dir is used along with CC CXX or FC compiler options. This usually prevents mpi compilers from being used - so issue a warning ================================================================================ TEST requireMpiLdPath from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:1582) TESTING: requireMpiLdPath from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:1582) OpenMPI wrappers require LD_LIBRARY_PATH set Adding to LD_LIBRARY_PATH /usr/lib/i386-linux-gnu/openmpi/lib ================================================================================ TEST checkVendor from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:426) TESTING: checkVendor from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:426) Determine the compiler vendor Compiler vendor is "" ================================================================================ TEST checkInitialFlags from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:436) TESTING: checkInitialFlags from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:436) Initialize the compiler and linker flags Pushing language C Initialized CFLAGS to -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC Initialized CFLAGS to -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC Initialized LDFLAGS to -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC Popping language C Pushing language CUDA Initialized CUDAFLAGS to Initialized CUDAFLAGS to Initialized LDFLAGS to -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC Popping language CUDA Pushing language Cxx Initialized CXXFLAGS to -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC Initialized CXX_CXXFLAGS to Initialized LDFLAGS to -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC Popping language Cxx Pushing language FC Initialized FFLAGS to -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC Initialized FFLAGS to -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC Initialized LDFLAGS to -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC Popping language FC Initialized CPPFLAGS to -Wdate-time -D_FORTIFY_SOURCE=2 Initialized CUDAPPFLAGS to Initialized CXXCPPFLAGS to Initialized CC_LINKER_FLAGS to [] Initialized CXX_LINKER_FLAGS to -Wl,--no-as-needed Initialized FC_LINKER_FLAGS to [] Initialized CUDAC_LINKER_FLAGS to [] Initialized sharedLibraryFlags to [] Initialized dynamicLibraryFlags to [] ================================================================================ TEST checkCCompiler from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:566) TESTING: checkCCompiler from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:566) Locate a functional C compiler Checking for program /usr/local/sbin/gcc...not found Checking for program /usr/local/bin/gcc...not found Checking for program /usr/sbin/gcc...not found Checking for program /usr/bin/gcc...found Defined make macro "CC" to "gcc" Pushing language C All intermediate test results are stored in /tmp/petsc-Ymuwb2 All intermediate test results are stored in /tmp/petsc-Ymuwb2/config.setCompilers Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Pushing language CUDA Popping language CUDA Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -lpetsc-ufod4vtr9mqHvKIQiVAm Possible ERROR while running linker: exit code 256 stderr: /usr/bin/ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm collect2: error: ld returned 1 exit status Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o Testing executable /tmp/petsc-Ymuwb2/config.setCompilers/conftest to see if it can be run Executing: /tmp/petsc-Ymuwb2/config.setCompilers/conftest Executing: /tmp/petsc-Ymuwb2/config.setCompilers/conftest Popping language C ================================================================================ TEST checkCPreprocessor from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:599) TESTING: checkCPreprocessor from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:599) Locate a functional C preprocessor Checking for program /usr/local/sbin/gcc...not found Checking for program /usr/local/bin/gcc...not found Checking for program /usr/sbin/gcc...not found Checking for program /usr/bin/gcc...found Defined make macro "CPP" to "gcc -E" Pushing language C Executing: gcc -E -I/tmp/petsc-Ymuwb2/config.setCompilers -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.c stdout: # 1 "/tmp/petsc-Ymuwb2/config.setCompilers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.setCompilers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.setCompilers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.setCompilers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.setCompilers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.setCompilers/conftest.c" 2 # 1 "/usr/include/stdlib.h" 1 3 4 # 24 "/usr/include/stdlib.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 364 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/sys/cdefs.h" 1 3 4 # 415 "/usr/include/i386-linux-gnu/sys/cdefs.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 416 "/usr/include/i386-linux-gnu/sys/cdefs.h" 2 3 4 # 365 "/usr/include/features.h" 2 3 4 # 388 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs.h" 1 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs-32.h" 1 3 4 # 8 "/usr/include/i386-linux-gnu/gnu/stubs.h" 2 3 4 # 389 "/usr/include/features.h" 2 3 4 # 25 "/usr/include/stdlib.h" 2 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 216 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 3 4 # 216 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 3 4 typedef unsigned int size_t; # 328 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 3 4 typedef long int wchar_t; # 33 "/usr/include/stdlib.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/waitflags.h" 1 3 4 # 50 "/usr/include/i386-linux-gnu/bits/waitflags.h" 3 4 typedef enum { P_ALL, P_PID, P_PGID } idtype_t; # 42 "/usr/include/stdlib.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/waitstatus.h" 1 3 4 # 43 "/usr/include/stdlib.h" 2 3 4 # 56 "/usr/include/stdlib.h" 3 4 typedef struct { int quot; int rem; } div_t; typedef struct { long int quot; long int rem; } ldiv_t; __extension__ typedef struct { long long int quot; long long int rem; } lldiv_t; # 100 "/usr/include/stdlib.h" 3 4 extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__ , __leaf__)) ; extern double atof (const char *__nptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern int atoi (const char *__nptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern long int atol (const char *__nptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; __extension__ extern long long int atoll (const char *__nptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern double strtod (const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern float strtof (const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern long double strtold (const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern long int strtol (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern unsigned long int strtoul (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); __extension__ extern long long int strtoq (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); __extension__ extern unsigned long long int strtouq (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); __extension__ extern long long int strtoll (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); __extension__ extern unsigned long long int strtoull (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 266 "/usr/include/stdlib.h" 3 4 extern char *l64a (long int __n) __attribute__ ((__nothrow__ , __leaf__)) ; extern long int a64l (const char *__s) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; # 1 "/usr/include/i386-linux-gnu/sys/types.h" 1 3 4 # 27 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/types.h" 1 3 4 # 27 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 28 "/usr/include/i386-linux-gnu/bits/types.h" 2 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; __extension__ typedef signed long long int __int64_t; __extension__ typedef unsigned long long int __uint64_t; __extension__ typedef long long int __quad_t; __extension__ typedef unsigned long long int __u_quad_t; # 121 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/typesizes.h" 1 3 4 # 122 "/usr/include/i386-linux-gnu/bits/types.h" 2 3 4 __extension__ typedef __u_quad_t __dev_t; __extension__ typedef unsigned int __uid_t; __extension__ typedef unsigned int __gid_t; __extension__ typedef unsigned long int __ino_t; __extension__ typedef __u_quad_t __ino64_t; __extension__ typedef unsigned int __mode_t; __extension__ typedef unsigned int __nlink_t; __extension__ typedef long int __off_t; __extension__ typedef __quad_t __off64_t; __extension__ typedef int __pid_t; __extension__ typedef struct { int __val[2]; } __fsid_t; __extension__ typedef long int __clock_t; __extension__ typedef unsigned long int __rlim_t; __extension__ typedef __u_quad_t __rlim64_t; __extension__ typedef unsigned int __id_t; __extension__ typedef long int __time_t; __extension__ typedef unsigned int __useconds_t; __extension__ typedef long int __suseconds_t; __extension__ typedef int __daddr_t; __extension__ typedef int __key_t; __extension__ typedef int __clockid_t; __extension__ typedef void * __timer_t; __extension__ typedef long int __blksize_t; __extension__ typedef long int __blkcnt_t; __extension__ typedef __quad_t __blkcnt64_t; __extension__ typedef unsigned long int __fsblkcnt_t; __extension__ typedef __u_quad_t __fsblkcnt64_t; __extension__ typedef unsigned long int __fsfilcnt_t; __extension__ typedef __u_quad_t __fsfilcnt64_t; __extension__ typedef int __fsword_t; __extension__ typedef int __ssize_t; __extension__ typedef long int __syscall_slong_t; __extension__ typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; __extension__ typedef int __intptr_t; __extension__ typedef unsigned int __socklen_t; # 30 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino_t ino_t; # 60 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off_t off_t; # 98 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 132 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/include/time.h" 1 3 4 # 57 "/usr/include/time.h" 3 4 typedef __clock_t clock_t; # 73 "/usr/include/time.h" 3 4 typedef __time_t time_t; # 91 "/usr/include/time.h" 3 4 typedef __clockid_t clockid_t; # 103 "/usr/include/time.h" 3 4 typedef __timer_t timer_t; # 133 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 # 146 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 147 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 194 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 typedef int int8_t __attribute__ ((__mode__ (__QI__))); typedef int int16_t __attribute__ ((__mode__ (__HI__))); typedef int int32_t __attribute__ ((__mode__ (__SI__))); typedef int int64_t __attribute__ ((__mode__ (__DI__))); typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 216 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/include/endian.h" 1 3 4 # 36 "/usr/include/endian.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/endian.h" 1 3 4 # 37 "/usr/include/endian.h" 2 3 4 # 60 "/usr/include/endian.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/byteswap.h" 1 3 4 # 28 "/usr/include/i386-linux-gnu/bits/byteswap.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 29 "/usr/include/i386-linux-gnu/bits/byteswap.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/byteswap-16.h" 1 3 4 # 36 "/usr/include/i386-linux-gnu/bits/byteswap.h" 2 3 4 # 44 "/usr/include/i386-linux-gnu/bits/byteswap.h" 3 4 static __inline unsigned int __bswap_32 (unsigned int __bsx) { return __builtin_bswap32 (__bsx); } # 108 "/usr/include/i386-linux-gnu/bits/byteswap.h" 3 4 static __inline __uint64_t __bswap_64 (__uint64_t __bsx) { return __builtin_bswap64 (__bsx); } # 61 "/usr/include/endian.h" 2 3 4 # 217 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/sys/select.h" 1 3 4 # 30 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/select.h" 1 3 4 # 22 "/usr/include/i386-linux-gnu/bits/select.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 23 "/usr/include/i386-linux-gnu/bits/select.h" 2 3 4 # 31 "/usr/include/i386-linux-gnu/sys/select.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/sigset.h" 1 3 4 # 22 "/usr/include/i386-linux-gnu/bits/sigset.h" 3 4 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 34 "/usr/include/i386-linux-gnu/sys/select.h" 2 3 4 typedef __sigset_t sigset_t; # 1 "/usr/include/time.h" 1 3 4 # 120 "/usr/include/time.h" 3 4 struct timespec { __time_t tv_sec; __syscall_slong_t tv_nsec; }; # 46 "/usr/include/i386-linux-gnu/sys/select.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/time.h" 1 3 4 # 30 "/usr/include/i386-linux-gnu/bits/time.h" 3 4 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 48 "/usr/include/i386-linux-gnu/sys/select.h" 2 3 4 typedef __suseconds_t suseconds_t; typedef long int __fd_mask; # 66 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 typedef struct { __fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; # 98 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 # 108 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); # 120 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); # 133 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 # 220 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/sys/sysmacros.h" 1 3 4 # 24 "/usr/include/i386-linux-gnu/sys/sysmacros.h" 3 4 __extension__ extern unsigned int gnu_dev_major (unsigned long long int __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern unsigned int gnu_dev_minor (unsigned long long int __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); # 58 "/usr/include/i386-linux-gnu/sys/sysmacros.h" 3 4 # 223 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 typedef __blksize_t blksize_t; typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 270 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 1 3 4 # 21 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 22 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 2 3 4 # 60 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 typedef unsigned long int pthread_t; union pthread_attr_t { char __size[36]; long int __align; }; typedef union pthread_attr_t pthread_attr_t; # 81 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 typedef struct __pthread_internal_slist { struct __pthread_internal_slist *__next; } __pthread_slist_t; typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; int __kind; # 111 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 unsigned int __nusers; __extension__ union { struct { short __espins; short __elision; } __elision_data; __pthread_slist_t __list; }; } __data; char __size[24]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { # 202 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; unsigned char __flags; unsigned char __shared; signed char __rwelision; unsigned char __pad2; int __writer; } __data; char __size[32]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[20]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 271 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 # 276 "/usr/include/stdlib.h" 2 3 4 extern long int random (void) __attribute__ ((__nothrow__ , __leaf__)); extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__ , __leaf__)); extern char *initstate (unsigned int __seed, char *__statebuf, size_t __statelen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); struct random_data { int32_t *fptr; int32_t *rptr; int32_t *state; int rand_type; int rand_deg; int rand_sep; int32_t *end_ptr; }; extern int random_r (struct random_data *__restrict __buf, int32_t *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int srandom_r (unsigned int __seed, struct random_data *__buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, size_t __statelen, struct random_data *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))); extern int setstate_r (char *__restrict __statebuf, struct random_data *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int rand (void) __attribute__ ((__nothrow__ , __leaf__)); extern void srand (unsigned int __seed) __attribute__ ((__nothrow__ , __leaf__)); extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__ , __leaf__)); extern double drand48 (void) __attribute__ ((__nothrow__ , __leaf__)); extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern long int lrand48 (void) __attribute__ ((__nothrow__ , __leaf__)); extern long int nrand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern long int mrand48 (void) __attribute__ ((__nothrow__ , __leaf__)); extern long int jrand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern void srand48 (long int __seedval) __attribute__ ((__nothrow__ , __leaf__)); extern unsigned short int *seed48 (unsigned short int __seed16v[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); struct drand48_data { unsigned short int __x[3]; unsigned short int __old_x[3]; unsigned short int __c; unsigned short int __init; __extension__ unsigned long long int __a; }; extern int drand48_r (struct drand48_data *__restrict __buffer, double *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int erand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, double *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int lrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int nrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int mrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int jrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int srand48_r (long int __seedval, struct drand48_data *__buffer) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int seed48_r (unsigned short int __seed16v[3], struct drand48_data *__buffer) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int lcong48_r (unsigned short int __param[7], struct drand48_data *__buffer) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern void *malloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; extern void *calloc (size_t __nmemb, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; extern void *realloc (void *__ptr, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern void free (void *__ptr) __attribute__ ((__nothrow__ , __leaf__)); extern void cfree (void *__ptr) __attribute__ ((__nothrow__ , __leaf__)); # 1 "/usr/include/alloca.h" 1 3 4 # 24 "/usr/include/alloca.h" 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 25 "/usr/include/alloca.h" 2 3 4 extern void *alloca (size_t __size) __attribute__ ((__nothrow__ , __leaf__)); # 454 "/usr/include/stdlib.h" 2 3 4 extern void *valloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern void *aligned_alloc (size_t __alignment, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__alloc_size__ (2))) ; extern void abort (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int at_quick_exit (void (*__func) (void)) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern void exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); extern void quick_exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); extern void _Exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); extern char *getenv (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; # 539 "/usr/include/stdlib.h" 3 4 extern int putenv (char *__string) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int setenv (const char *__name, const char *__value, int __replace) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int unsetenv (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int clearenv (void) __attribute__ ((__nothrow__ , __leaf__)); # 567 "/usr/include/stdlib.h" 3 4 extern char *mktemp (char *__template) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 580 "/usr/include/stdlib.h" 3 4 extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) ; # 602 "/usr/include/stdlib.h" 3 4 extern int mkstemps (char *__template, int __suffixlen) __attribute__ ((__nonnull__ (1))) ; # 623 "/usr/include/stdlib.h" 3 4 extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; # 672 "/usr/include/stdlib.h" 3 4 extern int system (const char *__command) ; # 694 "/usr/include/stdlib.h" 3 4 extern char *realpath (const char *__restrict __name, char *__restrict __resolved) __attribute__ ((__nothrow__ , __leaf__)) ; typedef int (*__compar_fn_t) (const void *, const void *); # 712 "/usr/include/stdlib.h" 3 4 extern void *bsearch (const void *__key, const void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 2, 5))) ; extern void qsort (void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4))); # 735 "/usr/include/stdlib.h" 3 4 extern int abs (int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; extern long int labs (long int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; __extension__ extern long long int llabs (long long int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; extern div_t div (int __numer, int __denom) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; extern ldiv_t ldiv (long int __numer, long int __denom) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; __extension__ extern lldiv_t lldiv (long long int __numer, long long int __denom) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; # 772 "/usr/include/stdlib.h" 3 4 extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *gcvt (double __value, int __ndigit, char *__buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))) ; extern char *qecvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *qfcvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *qgcvt (long double __value, int __ndigit, char *__buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))) ; extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int qecvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int qfcvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int mblen (const char *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); extern int mbtowc (wchar_t *__restrict __pwc, const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__ , __leaf__)); extern size_t mbstowcs (wchar_t *__restrict __pwcs, const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); extern size_t wcstombs (char *__restrict __s, const wchar_t *__restrict __pwcs, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); extern int rpmatch (const char *__response) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; # 859 "/usr/include/stdlib.h" 3 4 extern int getsubopt (char **__restrict __optionp, char *const *__restrict __tokens, char **__restrict __valuep) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2, 3))) ; # 911 "/usr/include/stdlib.h" 3 4 extern int getloadavg (double __loadavg[], int __nelem) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 921 "/usr/include/stdlib.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/stdlib-float.h" 1 3 4 # 922 "/usr/include/stdlib.h" 2 3 4 # 934 "/usr/include/stdlib.h" 3 4 # 3 "/tmp/petsc-Ymuwb2/config.setCompilers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Popping language C ================================================================================ TEST checkCUDACompiler from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:640) TESTING: checkCUDACompiler from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:640) Locate a functional CUDA compiler ================================================================================ TEST checkCUDAPreprocessor from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:680) TESTING: checkCUDAPreprocessor from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:680) Locate a functional CUDA preprocessor ================================================================================ TEST checkCxxCompiler from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:792) TESTING: checkCxxCompiler from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:792) Locate a functional Cxx compiler Checking for program /usr/local/sbin/g++...not found Checking for program /usr/local/bin/g++...not found Checking for program /usr/sbin/g++...not found Checking for program /usr/bin/g++...found Defined make macro "CXX" to "g++" Pushing language Cxx Executing: g++ -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: g++ -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Pushing language CUDA Popping language CUDA Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC Pushing language CXX Popping language CXX Executing: g++ -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -Wl,--no-as-needed -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o Executing: g++ -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language CXX Popping language CXX Executing: g++ -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -Wl,--no-as-needed -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -lpetsc-ufod4vtr9mqHvKIQiVAm Possible ERROR while running linker: exit code 256 stderr: /usr/bin/ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm collect2: error: ld returned 1 exit status Executing: g++ -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language CXX Popping language CXX Executing: g++ -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -Wl,--no-as-needed -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o Testing executable /tmp/petsc-Ymuwb2/config.setCompilers/conftest to see if it can be run Executing: /tmp/petsc-Ymuwb2/config.setCompilers/conftest Executing: /tmp/petsc-Ymuwb2/config.setCompilers/conftest Popping language Cxx ================================================================================ TEST checkCxxPreprocessor from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:830) TESTING: checkCxxPreprocessor from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:830) Locate a functional Cxx preprocessor Checking for program /usr/local/sbin/g++...not found Checking for program /usr/local/bin/g++...not found Checking for program /usr/sbin/g++...not found Checking for program /usr/bin/g++...found Defined make macro "CXXCPP" to "g++ -E" Pushing language Cxx Executing: g++ -E -I/tmp/petsc-Ymuwb2/config.setCompilers -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.cc stdout: # 1 "/tmp/petsc-Ymuwb2/config.setCompilers/conftest.cc" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.setCompilers/conftest.cc" # 1 "/tmp/petsc-Ymuwb2/config.setCompilers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.setCompilers/conftest.cc" 2 # 1 "/tmp/petsc-Ymuwb2/config.setCompilers/conffix.h" 1 extern "C" { } # 3 "/tmp/petsc-Ymuwb2/config.setCompilers/conftest.cc" 2 # 1 "/usr/include/c++/7/cstdlib" 1 3 # 39 "/usr/include/c++/7/cstdlib" 3 # 40 "/usr/include/c++/7/cstdlib" 3 # 1 "/usr/include/i386-linux-gnu/c++/7/bits/c++config.h" 1 3 # 229 "/usr/include/i386-linux-gnu/c++/7/bits/c++config.h" 3 # 229 "/usr/include/i386-linux-gnu/c++/7/bits/c++config.h" 3 namespace std { typedef unsigned int size_t; typedef int ptrdiff_t; typedef decltype(nullptr) nullptr_t; } # 251 "/usr/include/i386-linux-gnu/c++/7/bits/c++config.h" 3 namespace std { inline namespace __cxx11 __attribute__((__abi_tag__ ("cxx11"))) { } } namespace __gnu_cxx { inline namespace __cxx11 __attribute__((__abi_tag__ ("cxx11"))) { } } # 533 "/usr/include/i386-linux-gnu/c++/7/bits/c++config.h" 3 # 1 "/usr/include/i386-linux-gnu/c++/7/bits/os_defines.h" 1 3 # 39 "/usr/include/i386-linux-gnu/c++/7/bits/os_defines.h" 3 # 1 "/usr/include/features.h" 1 3 4 # 364 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/sys/cdefs.h" 1 3 4 # 415 "/usr/include/i386-linux-gnu/sys/cdefs.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 416 "/usr/include/i386-linux-gnu/sys/cdefs.h" 2 3 4 # 365 "/usr/include/features.h" 2 3 4 # 388 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs.h" 1 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs-32.h" 1 3 4 # 8 "/usr/include/i386-linux-gnu/gnu/stubs.h" 2 3 4 # 389 "/usr/include/features.h" 2 3 4 # 40 "/usr/include/i386-linux-gnu/c++/7/bits/os_defines.h" 2 3 # 534 "/usr/include/i386-linux-gnu/c++/7/bits/c++config.h" 2 3 # 1 "/usr/include/i386-linux-gnu/c++/7/bits/cpu_defines.h" 1 3 # 537 "/usr/include/i386-linux-gnu/c++/7/bits/c++config.h" 2 3 # 42 "/usr/include/c++/7/cstdlib" 2 3 # 75 "/usr/include/c++/7/cstdlib" 3 # 1 "/usr/include/stdlib.h" 1 3 4 # 32 "/usr/include/stdlib.h" 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 216 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 3 4 typedef unsigned int size_t; # 33 "/usr/include/stdlib.h" 2 3 4 extern "C" { # 1 "/usr/include/i386-linux-gnu/bits/waitflags.h" 1 3 4 # 50 "/usr/include/i386-linux-gnu/bits/waitflags.h" 3 4 typedef enum { P_ALL, P_PID, P_PGID } idtype_t; # 42 "/usr/include/stdlib.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/waitstatus.h" 1 3 4 # 43 "/usr/include/stdlib.h" 2 3 4 # 56 "/usr/include/stdlib.h" 3 4 typedef struct { int quot; int rem; } div_t; typedef struct { long int quot; long int rem; } ldiv_t; __extension__ typedef struct { long long int quot; long long int rem; } lldiv_t; # 100 "/usr/include/stdlib.h" 3 4 extern size_t __ctype_get_mb_cur_max (void) throw () ; extern double atof (const char *__nptr) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern int atoi (const char *__nptr) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern long int atol (const char *__nptr) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; __extension__ extern long long int atoll (const char *__nptr) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern double strtod (const char *__restrict __nptr, char **__restrict __endptr) throw () __attribute__ ((__nonnull__ (1))); extern float strtof (const char *__restrict __nptr, char **__restrict __endptr) throw () __attribute__ ((__nonnull__ (1))); extern long double strtold (const char *__restrict __nptr, char **__restrict __endptr) throw () __attribute__ ((__nonnull__ (1))); extern long int strtol (const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () __attribute__ ((__nonnull__ (1))); extern unsigned long int strtoul (const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () __attribute__ ((__nonnull__ (1))); __extension__ extern long long int strtoq (const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () __attribute__ ((__nonnull__ (1))); __extension__ extern unsigned long long int strtouq (const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () __attribute__ ((__nonnull__ (1))); __extension__ extern long long int strtoll (const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () __attribute__ ((__nonnull__ (1))); __extension__ extern unsigned long long int strtoull (const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () __attribute__ ((__nonnull__ (1))); # 196 "/usr/include/stdlib.h" 3 4 # 1 "/usr/include/xlocale.h" 1 3 4 # 27 "/usr/include/xlocale.h" 3 4 typedef struct __locale_struct { struct __locale_data *__locales[13]; const unsigned short int *__ctype_b; const int *__ctype_tolower; const int *__ctype_toupper; const char *__names[13]; } *__locale_t; typedef __locale_t locale_t; # 197 "/usr/include/stdlib.h" 2 3 4 extern long int strtol_l (const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 4))); extern unsigned long int strtoul_l (const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 4))); __extension__ extern long long int strtoll_l (const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 4))); __extension__ extern unsigned long long int strtoull_l (const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 4))); extern double strtod_l (const char *__restrict __nptr, char **__restrict __endptr, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 3))); extern float strtof_l (const char *__restrict __nptr, char **__restrict __endptr, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 3))); extern long double strtold_l (const char *__restrict __nptr, char **__restrict __endptr, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 3))); # 266 "/usr/include/stdlib.h" 3 4 extern char *l64a (long int __n) throw () ; extern long int a64l (const char *__s) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; # 1 "/usr/include/i386-linux-gnu/sys/types.h" 1 3 4 # 27 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 extern "C" { # 1 "/usr/include/i386-linux-gnu/bits/types.h" 1 3 4 # 27 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 28 "/usr/include/i386-linux-gnu/bits/types.h" 2 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; __extension__ typedef signed long long int __int64_t; __extension__ typedef unsigned long long int __uint64_t; __extension__ typedef long long int __quad_t; __extension__ typedef unsigned long long int __u_quad_t; # 121 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/typesizes.h" 1 3 4 # 122 "/usr/include/i386-linux-gnu/bits/types.h" 2 3 4 __extension__ typedef __u_quad_t __dev_t; __extension__ typedef unsigned int __uid_t; __extension__ typedef unsigned int __gid_t; __extension__ typedef unsigned long int __ino_t; __extension__ typedef __u_quad_t __ino64_t; __extension__ typedef unsigned int __mode_t; __extension__ typedef unsigned int __nlink_t; __extension__ typedef long int __off_t; __extension__ typedef __quad_t __off64_t; __extension__ typedef int __pid_t; __extension__ typedef struct { int __val[2]; } __fsid_t; __extension__ typedef long int __clock_t; __extension__ typedef unsigned long int __rlim_t; __extension__ typedef __u_quad_t __rlim64_t; __extension__ typedef unsigned int __id_t; __extension__ typedef long int __time_t; __extension__ typedef unsigned int __useconds_t; __extension__ typedef long int __suseconds_t; __extension__ typedef int __daddr_t; __extension__ typedef int __key_t; __extension__ typedef int __clockid_t; __extension__ typedef void * __timer_t; __extension__ typedef long int __blksize_t; __extension__ typedef long int __blkcnt_t; __extension__ typedef __quad_t __blkcnt64_t; __extension__ typedef unsigned long int __fsblkcnt_t; __extension__ typedef __u_quad_t __fsblkcnt64_t; __extension__ typedef unsigned long int __fsfilcnt_t; __extension__ typedef __u_quad_t __fsfilcnt64_t; __extension__ typedef int __fsword_t; __extension__ typedef int __ssize_t; __extension__ typedef long int __syscall_slong_t; __extension__ typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; __extension__ typedef int __intptr_t; __extension__ typedef unsigned int __socklen_t; # 30 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino_t ino_t; typedef __ino64_t ino64_t; typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off_t off_t; typedef __off64_t off64_t; typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 132 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/include/time.h" 1 3 4 # 57 "/usr/include/time.h" 3 4 typedef __clock_t clock_t; # 73 "/usr/include/time.h" 3 4 typedef __time_t time_t; # 91 "/usr/include/time.h" 3 4 typedef __clockid_t clockid_t; # 103 "/usr/include/time.h" 3 4 typedef __timer_t timer_t; # 133 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 typedef __useconds_t useconds_t; typedef __suseconds_t suseconds_t; # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 147 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 194 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 typedef int int8_t __attribute__ ((__mode__ (__QI__))); typedef int int16_t __attribute__ ((__mode__ (__HI__))); typedef int int32_t __attribute__ ((__mode__ (__SI__))); typedef int int64_t __attribute__ ((__mode__ (__DI__))); typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 216 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/include/endian.h" 1 3 4 # 36 "/usr/include/endian.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/endian.h" 1 3 4 # 37 "/usr/include/endian.h" 2 3 4 # 60 "/usr/include/endian.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/byteswap.h" 1 3 4 # 28 "/usr/include/i386-linux-gnu/bits/byteswap.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 29 "/usr/include/i386-linux-gnu/bits/byteswap.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/byteswap-16.h" 1 3 4 # 36 "/usr/include/i386-linux-gnu/bits/byteswap.h" 2 3 4 # 44 "/usr/include/i386-linux-gnu/bits/byteswap.h" 3 4 static __inline unsigned int __bswap_32 (unsigned int __bsx) { return __builtin_bswap32 (__bsx); } # 108 "/usr/include/i386-linux-gnu/bits/byteswap.h" 3 4 static __inline __uint64_t __bswap_64 (__uint64_t __bsx) { return __builtin_bswap64 (__bsx); } # 61 "/usr/include/endian.h" 2 3 4 # 217 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/sys/select.h" 1 3 4 # 30 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/select.h" 1 3 4 # 22 "/usr/include/i386-linux-gnu/bits/select.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 23 "/usr/include/i386-linux-gnu/bits/select.h" 2 3 4 # 31 "/usr/include/i386-linux-gnu/sys/select.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/sigset.h" 1 3 4 # 22 "/usr/include/i386-linux-gnu/bits/sigset.h" 3 4 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 34 "/usr/include/i386-linux-gnu/sys/select.h" 2 3 4 typedef __sigset_t sigset_t; # 1 "/usr/include/time.h" 1 3 4 # 120 "/usr/include/time.h" 3 4 struct timespec { __time_t tv_sec; __syscall_slong_t tv_nsec; }; # 46 "/usr/include/i386-linux-gnu/sys/select.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/time.h" 1 3 4 # 30 "/usr/include/i386-linux-gnu/bits/time.h" 3 4 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 48 "/usr/include/i386-linux-gnu/sys/select.h" 2 3 4 # 56 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 typedef long int __fd_mask; # 66 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 typedef struct { __fd_mask fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; # 98 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 extern "C" { # 108 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); # 120 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); # 133 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 } # 220 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/sys/sysmacros.h" 1 3 4 # 24 "/usr/include/i386-linux-gnu/sys/sysmacros.h" 3 4 extern "C" { __extension__ extern unsigned int gnu_dev_major (unsigned long long int __dev) throw () __attribute__ ((__const__)); __extension__ extern unsigned int gnu_dev_minor (unsigned long long int __dev) throw () __attribute__ ((__const__)); __extension__ extern unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) throw () __attribute__ ((__const__)); # 58 "/usr/include/i386-linux-gnu/sys/sysmacros.h" 3 4 } # 223 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 typedef __blksize_t blksize_t; typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 262 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 typedef __blkcnt64_t blkcnt64_t; typedef __fsblkcnt64_t fsblkcnt64_t; typedef __fsfilcnt64_t fsfilcnt64_t; # 1 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 1 3 4 # 21 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 22 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 2 3 4 # 60 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 typedef unsigned long int pthread_t; union pthread_attr_t { char __size[36]; long int __align; }; typedef union pthread_attr_t pthread_attr_t; # 81 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 typedef struct __pthread_internal_slist { struct __pthread_internal_slist *__next; } __pthread_slist_t; typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; int __kind; # 111 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 unsigned int __nusers; __extension__ union { struct { short __espins; short __elision; } __elision_data; __pthread_slist_t __list; }; } __data; char __size[24]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { # 202 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; unsigned char __flags; unsigned char __shared; signed char __rwelision; unsigned char __pad2; int __writer; } __data; char __size[32]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[20]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 271 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 } # 276 "/usr/include/stdlib.h" 2 3 4 extern long int random (void) throw (); extern void srandom (unsigned int __seed) throw (); extern char *initstate (unsigned int __seed, char *__statebuf, size_t __statelen) throw () __attribute__ ((__nonnull__ (2))); extern char *setstate (char *__statebuf) throw () __attribute__ ((__nonnull__ (1))); struct random_data { int32_t *fptr; int32_t *rptr; int32_t *state; int rand_type; int rand_deg; int rand_sep; int32_t *end_ptr; }; extern int random_r (struct random_data *__restrict __buf, int32_t *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int srandom_r (unsigned int __seed, struct random_data *__buf) throw () __attribute__ ((__nonnull__ (2))); extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, size_t __statelen, struct random_data *__restrict __buf) throw () __attribute__ ((__nonnull__ (2, 4))); extern int setstate_r (char *__restrict __statebuf, struct random_data *__restrict __buf) throw () __attribute__ ((__nonnull__ (1, 2))); extern int rand (void) throw (); extern void srand (unsigned int __seed) throw (); extern int rand_r (unsigned int *__seed) throw (); extern double drand48 (void) throw (); extern double erand48 (unsigned short int __xsubi[3]) throw () __attribute__ ((__nonnull__ (1))); extern long int lrand48 (void) throw (); extern long int nrand48 (unsigned short int __xsubi[3]) throw () __attribute__ ((__nonnull__ (1))); extern long int mrand48 (void) throw (); extern long int jrand48 (unsigned short int __xsubi[3]) throw () __attribute__ ((__nonnull__ (1))); extern void srand48 (long int __seedval) throw (); extern unsigned short int *seed48 (unsigned short int __seed16v[3]) throw () __attribute__ ((__nonnull__ (1))); extern void lcong48 (unsigned short int __param[7]) throw () __attribute__ ((__nonnull__ (1))); struct drand48_data { unsigned short int __x[3]; unsigned short int __old_x[3]; unsigned short int __c; unsigned short int __init; __extension__ unsigned long long int __a; }; extern int drand48_r (struct drand48_data *__restrict __buffer, double *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int erand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, double *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int lrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int nrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int mrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int jrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int srand48_r (long int __seedval, struct drand48_data *__buffer) throw () __attribute__ ((__nonnull__ (2))); extern int seed48_r (unsigned short int __seed16v[3], struct drand48_data *__buffer) throw () __attribute__ ((__nonnull__ (1, 2))); extern int lcong48_r (unsigned short int __param[7], struct drand48_data *__buffer) throw () __attribute__ ((__nonnull__ (1, 2))); extern void *malloc (size_t __size) throw () __attribute__ ((__malloc__)) ; extern void *calloc (size_t __nmemb, size_t __size) throw () __attribute__ ((__malloc__)) ; extern void *realloc (void *__ptr, size_t __size) throw () __attribute__ ((__warn_unused_result__)); extern void free (void *__ptr) throw (); extern void cfree (void *__ptr) throw (); # 1 "/usr/include/alloca.h" 1 3 4 # 24 "/usr/include/alloca.h" 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 25 "/usr/include/alloca.h" 2 3 4 extern "C" { extern void *alloca (size_t __size) throw (); } # 454 "/usr/include/stdlib.h" 2 3 4 extern void *valloc (size_t __size) throw () __attribute__ ((__malloc__)) ; extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) throw () __attribute__ ((__nonnull__ (1))) ; extern void *aligned_alloc (size_t __alignment, size_t __size) throw () __attribute__ ((__malloc__)) __attribute__ ((__alloc_size__ (2))) ; extern void abort (void) throw () __attribute__ ((__noreturn__)); extern int atexit (void (*__func) (void)) throw () __attribute__ ((__nonnull__ (1))); extern "C++" int at_quick_exit (void (*__func) (void)) throw () __asm ("at_quick_exit") __attribute__ ((__nonnull__ (1))); extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) throw () __attribute__ ((__nonnull__ (1))); extern void exit (int __status) throw () __attribute__ ((__noreturn__)); extern void quick_exit (int __status) throw () __attribute__ ((__noreturn__)); extern void _Exit (int __status) throw () __attribute__ ((__noreturn__)); extern char *getenv (const char *__name) throw () __attribute__ ((__nonnull__ (1))) ; extern char *secure_getenv (const char *__name) throw () __attribute__ ((__nonnull__ (1))) ; extern int putenv (char *__string) throw () __attribute__ ((__nonnull__ (1))); extern int setenv (const char *__name, const char *__value, int __replace) throw () __attribute__ ((__nonnull__ (2))); extern int unsetenv (const char *__name) throw () __attribute__ ((__nonnull__ (1))); extern int clearenv (void) throw (); # 567 "/usr/include/stdlib.h" 3 4 extern char *mktemp (char *__template) throw () __attribute__ ((__nonnull__ (1))); # 580 "/usr/include/stdlib.h" 3 4 extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) ; # 590 "/usr/include/stdlib.h" 3 4 extern int mkstemp64 (char *__template) __attribute__ ((__nonnull__ (1))) ; # 602 "/usr/include/stdlib.h" 3 4 extern int mkstemps (char *__template, int __suffixlen) __attribute__ ((__nonnull__ (1))) ; # 612 "/usr/include/stdlib.h" 3 4 extern int mkstemps64 (char *__template, int __suffixlen) __attribute__ ((__nonnull__ (1))) ; # 623 "/usr/include/stdlib.h" 3 4 extern char *mkdtemp (char *__template) throw () __attribute__ ((__nonnull__ (1))) ; # 634 "/usr/include/stdlib.h" 3 4 extern int mkostemp (char *__template, int __flags) __attribute__ ((__nonnull__ (1))) ; # 644 "/usr/include/stdlib.h" 3 4 extern int mkostemp64 (char *__template, int __flags) __attribute__ ((__nonnull__ (1))) ; # 654 "/usr/include/stdlib.h" 3 4 extern int mkostemps (char *__template, int __suffixlen, int __flags) __attribute__ ((__nonnull__ (1))) ; # 666 "/usr/include/stdlib.h" 3 4 extern int mkostemps64 (char *__template, int __suffixlen, int __flags) __attribute__ ((__nonnull__ (1))) ; extern int system (const char *__command) ; extern char *canonicalize_file_name (const char *__name) throw () __attribute__ ((__nonnull__ (1))) ; # 694 "/usr/include/stdlib.h" 3 4 extern char *realpath (const char *__restrict __name, char *__restrict __resolved) throw () ; typedef int (*__compar_fn_t) (const void *, const void *); typedef __compar_fn_t comparison_fn_t; typedef int (*__compar_d_fn_t) (const void *, const void *, void *); extern void *bsearch (const void *__key, const void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 2, 5))) ; extern void qsort (void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4))); extern void qsort_r (void *__base, size_t __nmemb, size_t __size, __compar_d_fn_t __compar, void *__arg) __attribute__ ((__nonnull__ (1, 4))); extern int abs (int __x) throw () __attribute__ ((__const__)) ; extern long int labs (long int __x) throw () __attribute__ ((__const__)) ; __extension__ extern long long int llabs (long long int __x) throw () __attribute__ ((__const__)) ; extern div_t div (int __numer, int __denom) throw () __attribute__ ((__const__)) ; extern ldiv_t ldiv (long int __numer, long int __denom) throw () __attribute__ ((__const__)) ; __extension__ extern lldiv_t lldiv (long long int __numer, long long int __denom) throw () __attribute__ ((__const__)) ; # 772 "/usr/include/stdlib.h" 3 4 extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) throw () __attribute__ ((__nonnull__ (3, 4))) ; extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) throw () __attribute__ ((__nonnull__ (3, 4))) ; extern char *gcvt (double __value, int __ndigit, char *__buf) throw () __attribute__ ((__nonnull__ (3))) ; extern char *qecvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) throw () __attribute__ ((__nonnull__ (3, 4))) ; extern char *qfcvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) throw () __attribute__ ((__nonnull__ (3, 4))) ; extern char *qgcvt (long double __value, int __ndigit, char *__buf) throw () __attribute__ ((__nonnull__ (3))) ; extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) throw () __attribute__ ((__nonnull__ (3, 4, 5))); extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) throw () __attribute__ ((__nonnull__ (3, 4, 5))); extern int qecvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) throw () __attribute__ ((__nonnull__ (3, 4, 5))); extern int qfcvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) throw () __attribute__ ((__nonnull__ (3, 4, 5))); extern int mblen (const char *__s, size_t __n) throw (); extern int mbtowc (wchar_t *__restrict __pwc, const char *__restrict __s, size_t __n) throw (); extern int wctomb (char *__s, wchar_t __wchar) throw (); extern size_t mbstowcs (wchar_t *__restrict __pwcs, const char *__restrict __s, size_t __n) throw (); extern size_t wcstombs (char *__restrict __s, const wchar_t *__restrict __pwcs, size_t __n) throw (); extern int rpmatch (const char *__response) throw () __attribute__ ((__nonnull__ (1))) ; # 859 "/usr/include/stdlib.h" 3 4 extern int getsubopt (char **__restrict __optionp, char *const *__restrict __tokens, char **__restrict __valuep) throw () __attribute__ ((__nonnull__ (1, 2, 3))) ; extern void setkey (const char *__key) throw () __attribute__ ((__nonnull__ (1))); extern int posix_openpt (int __oflag) ; extern int grantpt (int __fd) throw (); extern int unlockpt (int __fd) throw (); extern char *ptsname (int __fd) throw () ; extern int ptsname_r (int __fd, char *__buf, size_t __buflen) throw () __attribute__ ((__nonnull__ (2))); extern int getpt (void); extern int getloadavg (double __loadavg[], int __nelem) throw () __attribute__ ((__nonnull__ (1))); # 921 "/usr/include/stdlib.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/stdlib-float.h" 1 3 4 # 922 "/usr/include/stdlib.h" 2 3 4 # 934 "/usr/include/stdlib.h" 3 4 } # 76 "/usr/include/c++/7/cstdlib" 2 3 # 1 "/usr/include/c++/7/bits/std_abs.h" 1 3 # 33 "/usr/include/c++/7/bits/std_abs.h" 3 # 34 "/usr/include/c++/7/bits/std_abs.h" 3 # 46 "/usr/include/c++/7/bits/std_abs.h" 3 extern "C++" { namespace std __attribute__ ((__visibility__ ("default"))) { using ::abs; inline long abs(long __i) { return __builtin_labs(__i); } inline long long abs(long long __x) { return __builtin_llabs (__x); } inline constexpr double abs(double __x) { return __builtin_fabs(__x); } inline constexpr float abs(float __x) { return __builtin_fabsf(__x); } inline constexpr long double abs(long double __x) { return __builtin_fabsl(__x); } # 100 "/usr/include/c++/7/bits/std_abs.h" 3 inline constexpr __float128 abs(__float128 __x) { return __x < 0 ? -__x : __x; } } } # 78 "/usr/include/c++/7/cstdlib" 2 3 # 118 "/usr/include/c++/7/cstdlib" 3 extern "C++" { namespace std __attribute__ ((__visibility__ ("default"))) { using ::div_t; using ::ldiv_t; using ::abort; using ::atexit; using ::at_quick_exit; using ::atof; using ::atoi; using ::atol; using ::bsearch; using ::calloc; using ::div; using ::exit; using ::free; using ::getenv; using ::labs; using ::ldiv; using ::malloc; using ::mblen; using ::mbstowcs; using ::mbtowc; using ::qsort; using ::quick_exit; using ::rand; using ::realloc; using ::srand; using ::strtod; using ::strtol; using ::strtoul; using ::system; using ::wcstombs; using ::wctomb; inline ldiv_t div(long __i, long __j) { return ldiv(__i, __j); } } # 189 "/usr/include/c++/7/cstdlib" 3 namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) { using ::lldiv_t; using ::_Exit; using ::llabs; inline lldiv_t div(long long __n, long long __d) { lldiv_t __q; __q.quot = __n / __d; __q.rem = __n % __d; return __q; } using ::lldiv; # 221 "/usr/include/c++/7/cstdlib" 3 using ::atoll; using ::strtoll; using ::strtoull; using ::strtof; using ::strtold; } namespace std { using ::__gnu_cxx::lldiv_t; using ::__gnu_cxx::_Exit; using ::__gnu_cxx::llabs; using ::__gnu_cxx::div; using ::__gnu_cxx::lldiv; using ::__gnu_cxx::atoll; using ::__gnu_cxx::strtof; using ::__gnu_cxx::strtoll; using ::__gnu_cxx::strtoull; using ::__gnu_cxx::strtold; } } # 3 "/tmp/petsc-Ymuwb2/config.setCompilers/conftest.cc" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Popping language Cxx ================================================================================ TEST checkFortranCompiler from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:947) TESTING: checkFortranCompiler from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:947) Locate a functional Fortran compiler Checking for program /usr/local/sbin/gfortran...not found Checking for program /usr/local/bin/gfortran...not found Checking for program /usr/sbin/gfortran...not found Checking for program /usr/bin/gfortran...found Defined make macro "FC" to "gfortran" Pushing language FC Executing: gfortran -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.F90 Successful compile: Source: program main end Executing: gfortran -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.F90 Successful compile: Source: program main end Pushing language C Popping language C Pushing language CUDA Popping language CUDA Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC Pushing language FC Popping language FC Executing: gfortran -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o Executing: gfortran -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.F90 Successful compile: Source: program main end Pushing language FC Popping language FC Executing: gfortran -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -lpetsc-ufod4vtr9mqHvKIQiVAm Possible ERROR while running linker: exit code 256 stderr: /usr/bin/ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm collect2: error: ld returned 1 exit status Executing: gfortran -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.F90 Successful compile: Source: program main end Pushing language FC Popping language FC Executing: gfortran -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o Testing executable /tmp/petsc-Ymuwb2/config.setCompilers/conftest to see if it can be run Executing: /tmp/petsc-Ymuwb2/config.setCompilers/conftest Executing: /tmp/petsc-Ymuwb2/config.setCompilers/conftest Popping language FC ================================================================================ TEST checkFortranComments from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:968) TESTING: checkFortranComments from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:968) Make sure fortran comment "!" works Pushing language FC Executing: gfortran -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.F90 Successful compile: Source: ! comment program main end Fortran comments can use ! in column 1 Popping language FC ================================================================================ TEST checkLargeFileIO from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:1085) TESTING: checkLargeFileIO from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:1085) ================================================================================ TEST checkArchiver from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:1184) TESTING: checkArchiver from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:1184) Check that the archiver exists and can make a library usable by the compiler Pushing language C Executing: ar -V stdout: GNU ar (GNU Binutils for Ubuntu) 2.29 Copyright (C) 2017 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. Executing: ar -V stdout: GNU ar (GNU Binutils for Ubuntu) 2.29 Copyright (C) 2017 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. Defined make macro "FAST_AR_FLAGS" to "Scq" Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int foo(int a) { return a+1; } Checking for program /usr/local/sbin/ar...not found Checking for program /usr/local/bin/ar...not found Checking for program /usr/sbin/ar...not found Checking for program /usr/bin/ar...found Defined make macro "AR" to "/usr/bin/ar" Checking for program /usr/local/sbin/ranlib...not found Checking for program /usr/local/bin/ranlib...not found Checking for program /usr/sbin/ranlib...not found Checking for program /usr/bin/ranlib...found Defined make macro "RANLIB" to "/usr/bin/ranlib -c" Executing: /usr/bin/ar cr /tmp/petsc-Ymuwb2/config.setCompilers/libconf1.a /tmp/petsc-Ymuwb2/config.setCompilers/conf1.o Executing: /usr/bin/ranlib -c /tmp/petsc-Ymuwb2/config.setCompilers/libconf1.a Possible ERROR while running ranlib: stderr: /usr/bin/ranlib: invalid option -- 'c' Ranlib is not functional with your archiver. Try --with-ranlib=true if ranlib is unnecessary. Executing: ar -V stdout: GNU ar (GNU Binutils for Ubuntu) 2.29 Copyright (C) 2017 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. Executing: ar -V stdout: GNU ar (GNU Binutils for Ubuntu) 2.29 Copyright (C) 2017 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. Defined make macro "FAST_AR_FLAGS" to "Scq" Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int foo(int a) { return a+1; } Checking for program /usr/local/sbin/ar...not found Checking for program /usr/local/bin/ar...not found Checking for program /usr/sbin/ar...not found Checking for program /usr/bin/ar...found Defined make macro "AR" to "/usr/bin/ar" Checking for program /usr/local/sbin/ranlib...not found Checking for program /usr/local/bin/ranlib...not found Checking for program /usr/sbin/ranlib...not found Checking for program /usr/bin/ranlib...found Defined make macro "RANLIB" to "/usr/bin/ranlib" Executing: /usr/bin/ar cr /tmp/petsc-Ymuwb2/config.setCompilers/libconf1.a /tmp/petsc-Ymuwb2/config.setCompilers/conf1.o Executing: /usr/bin/ranlib /tmp/petsc-Ymuwb2/config.setCompilers/libconf1.a Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" extern int foo(int); int main() { int b = foo(1); if (b); ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -L/tmp/petsc-Ymuwb2/config.setCompilers -lconf1 Defined make macro "AR_FLAGS" to "cr" Defined make macro "AR_LIB_SUFFIX" to "a" Popping language C ================================================================================ TEST checkSharedLinker from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:1298) TESTING: checkSharedLinker from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:1298) Check that the linker can produce shared libraries Executing: uname -s stdout: Linux Checking shared linker g++ using flags ['-shared'] Checking for program /usr/local/sbin/g++...not found Checking for program /usr/local/bin/g++...not found Checking for program /usr/sbin/g++...not found Checking for program /usr/bin/g++...found Defined make macro "LD_SHARED" to "g++" Trying C compiler flag Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added C compiler flag Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -shared -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o Valid C linker flag -shared Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int (*fprintf_ptr)(FILE*,const char*,...) = fprintf; void foo(void){ fprintf_ptr(stdout,"hello"); return; } void bar(void){foo();} Pushing language C Popping language C Pushing language CUDA Popping language CUDA Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC Pushing language C Popping language C Executing: g++ -o /tmp/petsc-Ymuwb2/config.setCompilers/libconftest.so -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -shared /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int foo(void); int main() { int ret = foo(); if (ret) {} ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -L/tmp/petsc-Ymuwb2/config.setCompilers -lconftest Using shared linker g++ with flags ['-shared'] and library extension so Executing: uname -s stdout: Linux ================================================================================ TEST checkPIC from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:1044) TESTING: checkPIC from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:1044) Determine the PIC option for each compiler Pushing language C Trying C compiler flag Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added C compiler flag Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int (*fprintf_ptr)(FILE*,const char*,...) = fprintf; void foo(void){ fprintf_ptr(stdout,"hello"); return; } void bar(void){foo();} Pushing language C Popping language C Executing: g++ -o /tmp/petsc-Ymuwb2/config.setCompilers/libconftest.so -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -shared /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o Accepted C compiler flag Popping language C Pushing language Cxx Trying Cxx compiler flag Executing: g++ -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added Cxx compiler flag Executing: g++ -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int (*fprintf_ptr)(FILE*,const char*,...) = fprintf; void foo(void){ fprintf_ptr(stdout,"hello"); return; } void bar(void){foo();} Pushing language C Pushing language C Popping language C Popping language C Executing: g++ -o /tmp/petsc-Ymuwb2/config.setCompilers/libconftest.so -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -shared /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o Accepted Cxx compiler flag Popping language Cxx Pushing language FC Trying FC compiler flag Executing: gfortran -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.F90 Successful compile: Source: program main end Added FC compiler flag Executing: gfortran -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.F90 Successful compile: Source: function foo(a) real:: a,x,bar common /xx/ x x=a foo = bar(x) end Pushing language C Pushing language C Popping language C Popping language C Executing: g++ -o /tmp/petsc-Ymuwb2/config.setCompilers/libconftest.so -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -shared /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o Accepted FC compiler flag Popping language FC ================================================================================ TEST checkSharedLinkerPaths from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:1392) TESTING: checkSharedLinkerPaths from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:1392) Linker rpath setting turned off for Debian PETSc package. ================================================================================ TEST checkLibC from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:1406) TESTING: checkLibC from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:1406) Test whether we need to explicitly include libc in shared linking - Mac OSX requires an explicit reference to libc for shared linking Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int foo(void) {void *chunk = malloc(31); free(chunk); return 0;} Pushing language C Popping language C Executing: g++ -o /tmp/petsc-Ymuwb2/config.setCompilers/libconftest.so -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -shared /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o Shared linking does not require an explicit libc reference ================================================================================ TEST checkDynamicLinker from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:1455) TESTING: checkDynamicLinker from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:1455) Check that the linker can dynamicaly load shared libraries Checking for header: dlfcn.h All intermediate test results are stored in /tmp/petsc-Ymuwb2/config.headers Executing: gcc -E -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/usr/include/dlfcn.h" 1 3 4 # 22 "/usr/include/dlfcn.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 364 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/sys/cdefs.h" 1 3 4 # 415 "/usr/include/i386-linux-gnu/sys/cdefs.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 416 "/usr/include/i386-linux-gnu/sys/cdefs.h" 2 3 4 # 365 "/usr/include/features.h" 2 3 4 # 388 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs.h" 1 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs-32.h" 1 3 4 # 8 "/usr/include/i386-linux-gnu/gnu/stubs.h" 2 3 4 # 389 "/usr/include/features.h" 2 3 4 # 23 "/usr/include/dlfcn.h" 2 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 216 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 3 4 # 216 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 3 4 typedef unsigned int size_t; # 25 "/usr/include/dlfcn.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/dlfcn.h" 1 3 4 # 28 "/usr/include/dlfcn.h" 2 3 4 # 52 "/usr/include/dlfcn.h" 3 4 extern void *dlopen (const char *__file, int __mode) __attribute__ ((__nothrow__)); extern int dlclose (void *__handle) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern void *dlsym (void *__restrict __handle, const char *__restrict __name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); # 82 "/usr/include/dlfcn.h" 3 4 extern char *dlerror (void) __attribute__ ((__nothrow__ , __leaf__)); # 188 "/usr/include/dlfcn.h" 3 4 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_DLFCN_H" to "1" Checking for functions [dlopen dlsym dlclose] in library ['dl'] [] Pushing language C All intermediate test results are stored in /tmp/petsc-Ymuwb2/config.libraries Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.libraries/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char dlopen(); static void _check_dlopen() { dlopen(); } char dlsym(); static void _check_dlsym() { dlsym(); } char dlclose(); static void _check_dlclose() { dlclose(); } int main() { _check_dlopen(); _check_dlsym(); _check_dlclose();; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.libraries/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.libraries/conftest.o -ldl Defined "HAVE_LIBDL" to "1" Popping language C Adding ['dl'] to LIBS Executing: uname -s stdout: Linux Checking dynamic linker g++ using flags ['-shared'] Checking for program /usr/local/sbin/g++...not found Checking for program /usr/local/bin/g++...not found Checking for program /usr/sbin/g++...not found Checking for program /usr/bin/g++...found Defined make macro "DYNAMICLINKER" to "g++" Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -shared -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -ldl Valid C linker flag -shared Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int foo(void) {printf("test");return 0;} Pushing language C Popping language C Pushing language CUDA Popping language CUDA Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC Pushing language C Popping language C Executing: g++ -o /tmp/petsc-Ymuwb2/config.setCompilers/libconftest.so -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -shared /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -ldl Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-Ymuwb2/config.setCompilers/conftest.c: In function ‘main’: /tmp/petsc-Ymuwb2/config.setCompilers/conftest.c:11:3: warning: implicit declaration of function ‘printf’ [-Wimplicit-function-declaration] printf("Could not load symbol\n"); ^~~~~~ /tmp/petsc-Ymuwb2/config.setCompilers/conftest.c:11:3: warning: incompatible implicit declaration of built-in function ‘printf’ /tmp/petsc-Ymuwb2/config.setCompilers/conftest.c:11:3: note: include ‘’ or provide a declaration of ‘printf’ /tmp/petsc-Ymuwb2/config.setCompilers/conftest.c:15:3: warning: incompatible implicit declaration of built-in function ‘printf’ printf("Invalid return from foo()\n"); ^~~~~~ /tmp/petsc-Ymuwb2/config.setCompilers/conftest.c:15:3: note: include ‘’ or provide a declaration of ‘printf’ /tmp/petsc-Ymuwb2/config.setCompilers/conftest.c:19:3: warning: incompatible implicit declaration of built-in function ‘printf’ printf("Could not close library\n"); ^~~~~~ /tmp/petsc-Ymuwb2/config.setCompilers/conftest.c:19:3: note: include ‘’ or provide a declaration of ‘printf’ Source: #include "confdefs.h" #include "conffix.h" #include int main() { void *handle = dlopen("/tmp/petsc-Ymuwb2/config.setCompilers/libconftest.so", 0); int (*foo)(void) = (int (*)(void)) dlsym(handle, "foo"); if (!foo) { printf("Could not load symbol\n"); return -1; } if ((*foo)()) { printf("Invalid return from foo()\n"); return -1; } if (dlclose(handle)) { printf("Could not close library\n"); return -1; } ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -ldl Using dynamic linker g++ with flags ['-shared'] and library extension so ================================================================================ TEST output from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:1507) TESTING: output from config.setCompilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/setCompilers.py:1507) Output module data as defines and substitutions Substituting "CC" with "gcc" Substituting "CFLAGS" with "-g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC " Defined make macro "CC_LINKER_SLFLAG" to "-L" Substituting "CPP" with "gcc -E" Substituting "CPPFLAGS" with "-Wdate-time -D_FORTIFY_SOURCE=2" Substituting "CXX" with "g++" Substituting "CXX_CXXFLAGS" with " " Substituting "CXXFLAGS" with "-g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC" Substituting "CXX_LINKER_SLFLAG" with "-L" Substituting "CXXCPP" with "g++ -E" Substituting "CXXCPPFLAGS" with "" Substituting "FC" with "gfortran" Substituting "FFLAGS" with "-g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC " Defined make macro "FC_LINKER_SLFLAG" to "-L" Substituting "LDFLAGS" with "-Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC" Substituting "LIBS" with "-ldl " Substituting "SHARED_LIBRARY_FLAG" with "-shared" ================================================================================ TEST checkSharedDynamicPicOptions from PETSc.options.sharedLibraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/sharedLibraries.py:41) TESTING: checkSharedDynamicPicOptions from PETSc.options.sharedLibraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/sharedLibraries.py:41) ================================================================================ TEST configureSharedLibraries from PETSc.options.sharedLibraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/sharedLibraries.py:57) TESTING: configureSharedLibraries from PETSc.options.sharedLibraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/sharedLibraries.py:57) Checks whether shared libraries should be used, for which you must - Specify --with-shared-libraries - Have found a working shared linker Defines PETSC_USE_SHARED_LIBRARIES if they are used Defined make rule "shared_arch" with dependencies "shared_linux" and code [] Defined make macro "SONAME_FUNCTION" to "$(1).so.$(2)" Defined make macro "SL_LINKER_FUNCTION" to "-shared -Wl,-soname,$(call SONAME_FUNCTION,$(notdir $(1)),$(2))" Defined make macro "BUILDSHAREDLIB" to "yes" Defined "HAVE_SHARED_LIBRARIES" to "1" Defined "USE_SHARED_LIBRARIES" to "1" ================================================================================ TEST configureDynamicLibraries from PETSc.options.sharedLibraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/sharedLibraries.py:109) TESTING: configureDynamicLibraries from PETSc.options.sharedLibraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/sharedLibraries.py:109) Checks whether dynamic loading is available (with dlfcn.h and libdl) Defined "HAVE_DYNAMIC_LIBRARIES" to "1" ================================================================================ TEST configureSerializedFunctions from PETSc.options.sharedLibraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/sharedLibraries.py:115) TESTING: configureSerializedFunctions from PETSc.options.sharedLibraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/sharedLibraries.py:115) Defines PETSC_SERIALIZE_FUNCTIONS if they are used Requires shared libraries ================================================================================ TEST configureIndexSize from PETSc.options.indexTypes(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/indexTypes.py:31) TESTING: configureIndexSize from PETSc.options.indexTypes(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/indexTypes.py:31) Defined make macro "PETSC_INDEX_SIZE" to "32" ================================================================================ TEST configureCompilerFlags from config.compilerFlags(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilerFlags.py:72) TESTING: configureCompilerFlags from config.compilerFlags(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilerFlags.py:72) Get the default compiler flags Ignoring default options which were overridden using --CFLAGS -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC Optimization options found in CFLAGS. Skipping setting defaults Ignoring default options which were overridden using --CXXFLAGS -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC Optimization options found in CXXFLAGS. Skipping setting defaults Ignoring default options which were overridden using --FFLAGS -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC Optimization options found in FFLAGS. Skipping setting defaults Pushing language C Popping language C Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC Executing: gcc --version stdout: gcc (Ubuntu 7.2.0-3ubuntu1) 7.2.0 Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. getCompilerVersion: gcc gcc (Ubuntu 7.2.0-3ubuntu1) 7.2.0 Executing: g++ --version stdout: g++ (Ubuntu 7.2.0-3ubuntu1) 7.2.0 Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. getCompilerVersion: g++ g++ (Ubuntu 7.2.0-3ubuntu1) 7.2.0 Executing: gfortran --version stdout: GNU Fortran (Ubuntu 7.2.0-3ubuntu1) 7.2.0 Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. getCompilerVersion: gfortran GNU Fortran (Ubuntu 7.2.0-3ubuntu1) 7.2.0 ================================================================================ TEST configureDebugging from PETSc.options.debugging(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/debugging.py:25) TESTING: configureDebugging from PETSc.options.debugging(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/debugging.py:25) Defined "USE_ERRORCHECKING" to "1" Executing: gcc --help stdout: Usage: gcc [options] file... Options: -pass-exit-codes Exit with highest error code from a phase. --help Display this information. --target-help Display target specific command line options. --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. Display specific types of command line options. (Use '-v --help' to display command line options of sub-processes). --version Display compiler version information. -dumpspecs Display all of the built in spec strings. -dumpversion Display the version of the compiler. -dumpmachine Display the compiler's target processor. -print-search-dirs Display the directories in the compiler's search path. -print-libgcc-file-name Display the name of the compiler's companion library. -print-file-name= Display the full path to library . -print-prog-name= Display the full path to compiler component . -print-multiarch Display the target's normalized GNU triplet, used as a component in the library path. -print-multi-directory Display the root directory for versions of libgcc. -print-multi-lib Display the mapping between command line options and multiple library search directories. -print-multi-os-directory Display the relative path to OS libraries. -print-sysroot Display the target libraries directory. -print-sysroot-headers-suffix Display the sysroot suffix used to find headers. -Wa, Pass comma-separated on to the assembler. -Wp, Pass comma-separated on to the preprocessor. -Wl, Pass comma-separated on to the linker. -Xassembler Pass on to the assembler. -Xpreprocessor Pass on to the preprocessor. -Xlinker Pass on to the linker. -save-temps Do not delete intermediate files. -save-temps= Do not delete intermediate files. -no-canonical-prefixes Do not canonicalize paths when building relative prefixes to other gcc components. -pipe Use pipes rather than intermediate files. -time Time the execution of each subprocess. -specs= Override built-in specs with the contents of . -std= Assume that the input sources are for . --sysroot= Use as the root directory for headers and libraries. -B Add to the compiler's search paths. -v Display the programs invoked by the compiler. -### Like -v but options quoted and commands not executed. -E Preprocess only; do not compile, assemble or link. -S Compile only; do not assemble or link. -c Compile and assemble, but do not link. -o Place the output into . -pie Create a position independent executable. -shared Create a shared library. -x Specify the language of the following input files. Permissible languages include: c c++ assembler none 'none' means revert to the default behavior of guessing the language based on the file's extension. Options starting with -g, -f, -m, -O, -W, or --param are automatically passed on to the various sub-processes invoked by gcc. In order to pass other options on to these processes the -W options must be used. For bug reporting instructions, please see: . ================================================================================ TEST checkRestrict from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:137) TESTING: checkRestrict from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:137) Check for the C/CXX restrict keyword Executing: gcc -V Pushing language C All intermediate test results are stored in /tmp/petsc-Ymuwb2/config.compilers Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.compilers/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { float * __restrict x;; return 0; } compilers: Set C restrict keyword to __restrict Defined "C_RESTRICT" to "__restrict" Popping language C ================================================================================ TEST checkCFormatting from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:322) TESTING: checkCFormatting from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:322) Activate format string checking if using the GNU compilers ================================================================================ TEST checkCStaticInline from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:108) TESTING: checkCStaticInline from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:108) Check for C keyword: static inline Pushing language C Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.compilers/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.compilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" static inline int foo(int a) {return a;} int main() { foo(1);; return 0; } compilers: Set C StaticInline keyword to static inline Popping language C Defined "C_STATIC_INLINE" to "static inline" ================================================================================ TEST checkDynamicLoadFlag from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:333) TESTING: checkDynamicLoadFlag from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:333) Checks that dlopen() takes RTLD_XXX, and defines PETSC_HAVE_RTLD_XXX if it does Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.compilers/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.compilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include char *libname; int main() { dlopen(libname, RTLD_LAZY); ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.compilers/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.compilers/conftest.o -ldl Defined "HAVE_RTLD_LAZY" to "1" Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.compilers/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.compilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include char *libname; int main() { dlopen(libname, RTLD_NOW); ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.compilers/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.compilers/conftest.o -ldl Defined "HAVE_RTLD_NOW" to "1" Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.compilers/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.compilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include char *libname; int main() { dlopen(libname, RTLD_LOCAL); ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.compilers/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.compilers/conftest.o -ldl Defined "HAVE_RTLD_LOCAL" to "1" Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.compilers/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.compilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include char *libname; int main() { dlopen(libname, RTLD_GLOBAL); ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.compilers/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.compilers/conftest.o -ldl Defined "HAVE_RTLD_GLOBAL" to "1" ================================================================================ TEST checkCLibraries from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:171) TESTING: checkCLibraries from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:171) Determines the libraries needed to link with C Pushing language C Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.compilers/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.compilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.compilers/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -v -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.compilers/conftest.o -ldl Possible ERROR while running linker: stderr: Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/7/lto-wrapper Target: i686-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.2.0-3ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=i686-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-targets=all --enable-multiarch --disable-werror --with-arch-32=i686 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu Thread model: posix gcc version 7.2.0 (Ubuntu 7.2.0-3ubuntu1) COMPILER_PATH=/usr/lib/gcc/i686-linux-gnu/7/:/usr/lib/gcc/i686-linux-gnu/7/:/usr/lib/gcc/i686-linux-gnu/:/usr/lib/gcc/i686-linux-gnu/7/:/usr/lib/gcc/i686-linux-gnu/ LIBRARY_PATH=/usr/lib/gcc/i686-linux-gnu/7/:/usr/lib/gcc/i686-linux-gnu/7/../../../i386-linux-gnu/:/usr/lib/gcc/i686-linux-gnu/7/../../../../lib/:/lib/i386-linux-gnu/:/lib/../lib/:/usr/lib/i386-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/i686-linux-gnu/7/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS='-o' '/tmp/petsc-Ymuwb2/config.compilers/conftest' '-v' '-g' '-O2' '-fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=.' '-fstack-protector-strong' '-Wformat=1' '-Werror=format-security' '-fPIC' '-mtune=generic' '-march=i686' /usr/lib/gcc/i686-linux-gnu/7/collect2 -plugin /usr/lib/gcc/i686-linux-gnu/7/liblto_plugin.so -plugin-opt=/usr/lib/gcc/i686-linux-gnu/7/lto-wrapper -plugin-opt=-fresolution=/tmp/ccMmUPNu.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --sysroot=/ --build-id --eh-frame-hdr -m elf_i386 --hash-style=gnu --as-needed -dynamic-linker /lib/ld-linux.so.2 -pie -z now -z relro -o /tmp/petsc-Ymuwb2/config.compilers/conftest /usr/lib/gcc/i686-linux-gnu/7/../../../i386-linux-gnu/Scrt1.o /usr/lib/gcc/i686-linux-gnu/7/../../../i386-linux-gnu/crti.o /usr/lib/gcc/i686-linux-gnu/7/crtbeginS.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/gcc/i686-linux-gnu/7/../../../i386-linux-gnu -L/usr/lib/gcc/i686-linux-gnu/7/../../../../lib -L/lib/i386-linux-gnu -L/lib/../lib -L/usr/lib/i386-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/i686-linux-gnu/7/../../.. -Bsymbolic-functions -z relro /tmp/petsc-Ymuwb2/config.compilers/conftest.o -ldl -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/i686-linux-gnu/7/crtendS.o /usr/lib/gcc/i686-linux-gnu/7/../../../i386-linux-gnu/crtn.o COLLECT_GCC_OPTIONS='-o' '/tmp/petsc-Ymuwb2/config.compilers/conftest' '-v' '-g' '-O2' '-fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=.' '-fstack-protector-strong' '-Wformat=1' '-Werror=format-security' '-fPIC' '-mtune=generic' '-march=i686' Popping language C compilers: Checking arg Using compilers: Unknown arg Using compilers: Checking arg built-in compilers: Unknown arg built-in compilers: Checking arg specs. compilers: Unknown arg specs. compilers: Checking arg COLLECT_GCC=gcc compilers: Unknown arg COLLECT_GCC=gcc compilers: Checking arg COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/7/lto-wrapper compilers: Unknown arg COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/7/lto-wrapper compilers: Checking arg Target: compilers: Unknown arg Target: compilers: Checking arg i686-linux-gnu compilers: Unknown arg i686-linux-gnu compilers: Checking arg Configured compilers: Unknown arg Configured compilers: Checking arg with: compilers: Unknown arg with: compilers: Checking arg ../src/configure compilers: Unknown arg ../src/configure compilers: Checking arg -v compilers: Unknown arg -v compilers: Checking arg --with-pkgversion= compilers: Unknown arg --with-pkgversion= compilers: Checking arg --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs compilers: Unknown arg --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs compilers: Checking arg --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ compilers: Unknown arg --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ compilers: Checking arg --prefix=/usr compilers: Unknown arg --prefix=/usr compilers: Checking arg --with-gcc-major-version-only compilers: Unknown arg --with-gcc-major-version-only compilers: Checking arg --program-suffix=-7 compilers: Unknown arg --program-suffix=-7 compilers: Checking arg --program-prefix=i686-linux-gnu- compilers: Unknown arg --program-prefix=i686-linux-gnu- compilers: Checking arg --enable-shared compilers: Unknown arg --enable-shared compilers: Checking arg --enable-linker-build-id compilers: Unknown arg --enable-linker-build-id compilers: Checking arg --libexecdir=/usr/lib compilers: Unknown arg --libexecdir=/usr/lib compilers: Checking arg --without-included-gettext compilers: Unknown arg --without-included-gettext compilers: Checking arg --enable-threads=posix compilers: Unknown arg --enable-threads=posix compilers: Checking arg --libdir=/usr/lib compilers: Unknown arg --libdir=/usr/lib compilers: Checking arg --enable-nls compilers: Unknown arg --enable-nls compilers: Checking arg --with-sysroot=/ compilers: Unknown arg --with-sysroot=/ compilers: Checking arg --enable-clocale=gnu compilers: Unknown arg --enable-clocale=gnu compilers: Checking arg --enable-libstdcxx-debug compilers: Unknown arg --enable-libstdcxx-debug compilers: Checking arg --enable-libstdcxx-time=yes compilers: Unknown arg --enable-libstdcxx-time=yes compilers: Checking arg --with-default-libstdcxx-abi=new compilers: Unknown arg --with-default-libstdcxx-abi=new compilers: Checking arg --enable-gnu-unique-object compilers: Unknown arg --enable-gnu-unique-object compilers: Checking arg --disable-vtable-verify compilers: Unknown arg --disable-vtable-verify compilers: Checking arg --enable-libmpx compilers: Unknown arg --enable-libmpx compilers: Checking arg --enable-plugin compilers: Unknown arg --enable-plugin compilers: Checking arg --enable-default-pie compilers: Unknown arg --enable-default-pie compilers: Checking arg --with-system-zlib compilers: Unknown arg --with-system-zlib compilers: Checking arg --with-target-system-zlib compilers: Unknown arg --with-target-system-zlib compilers: Checking arg --enable-objc-gc=auto compilers: Unknown arg --enable-objc-gc=auto compilers: Checking arg --enable-targets=all compilers: Unknown arg --enable-targets=all compilers: Checking arg --enable-multiarch compilers: Unknown arg --enable-multiarch compilers: Checking arg --disable-werror compilers: Unknown arg --disable-werror compilers: Checking arg --with-arch-32=i686 compilers: Unknown arg --with-arch-32=i686 compilers: Checking arg --with-multilib-list=m32,m64,mx32 compilers: Unknown arg --with-multilib-list=m32,m64,mx32 compilers: Checking arg --enable-multilib compilers: Unknown arg --enable-multilib compilers: Checking arg --with-tune=generic compilers: Unknown arg --with-tune=generic compilers: Checking arg --enable-checking=release compilers: Unknown arg --enable-checking=release compilers: Checking arg --build=i686-linux-gnu compilers: Unknown arg --build=i686-linux-gnu compilers: Checking arg --host=i686-linux-gnu compilers: Unknown arg --host=i686-linux-gnu compilers: Checking arg --target=i686-linux-gnu compilers: Unknown arg --target=i686-linux-gnu compilers: Checking arg Thread compilers: Unknown arg Thread compilers: Checking arg model: compilers: Unknown arg model: compilers: Checking arg posix compilers: Unknown arg posix compilers: Checking arg gcc compilers: Unknown arg gcc compilers: Checking arg version compilers: Unknown arg version compilers: Checking arg 7.2.0 compilers: Unknown arg 7.2.0 compilers: Checking arg (Ubuntu compilers: Unknown arg (Ubuntu compilers: Checking arg 7.2.0-3ubuntu1) compilers: Unknown arg 7.2.0-3ubuntu1) compilers: Checking arg COMPILER_PATH=/usr/lib/gcc/i686-linux-gnu/7/:/usr/lib/gcc/i686-linux-gnu/7/:/usr/lib/gcc/i686-linux-gnu/:/usr/lib/gcc/i686-linux-gnu/7/:/usr/lib/gcc/i686-linux-gnu/ compilers: Unknown arg COMPILER_PATH=/usr/lib/gcc/i686-linux-gnu/7/:/usr/lib/gcc/i686-linux-gnu/7/:/usr/lib/gcc/i686-linux-gnu/:/usr/lib/gcc/i686-linux-gnu/7/:/usr/lib/gcc/i686-linux-gnu/ compilers: Checking arg LIBRARY_PATH=/usr/lib/gcc/i686-linux-gnu/7/:/usr/lib/gcc/i686-linux-gnu/7/../../../i386-linux-gnu/:/usr/lib/gcc/i686-linux-gnu/7/../../../../lib/:/lib/i386-linux-gnu/:/lib/../lib/:/usr/lib/i386-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/i686-linux-gnu/7/../../../:/lib/:/usr/lib/ compilers: Unknown arg LIBRARY_PATH=/usr/lib/gcc/i686-linux-gnu/7/:/usr/lib/gcc/i686-linux-gnu/7/../../../i386-linux-gnu/:/usr/lib/gcc/i686-linux-gnu/7/../../../../lib/:/lib/i386-linux-gnu/:/lib/../lib/:/usr/lib/i386-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/i686-linux-gnu/7/../../../:/lib/:/usr/lib/ compilers: Checking arg COLLECT_GCC_OPTIONS= compilers: Unknown arg COLLECT_GCC_OPTIONS= compilers: Checking arg /usr/lib/gcc/i686-linux-gnu/7/collect2 compilers: Unknown arg /usr/lib/gcc/i686-linux-gnu/7/collect2 compilers: Checking arg -plugin compilers: Unknown arg -plugin compilers: Checking arg /usr/lib/gcc/i686-linux-gnu/7/liblto_plugin.so compilers: Unknown arg /usr/lib/gcc/i686-linux-gnu/7/liblto_plugin.so compilers: Checking arg -plugin-opt=/usr/lib/gcc/i686-linux-gnu/7/lto-wrapper compilers: Unknown arg -plugin-opt=/usr/lib/gcc/i686-linux-gnu/7/lto-wrapper compilers: Checking arg -plugin-opt=-fresolution=/tmp/ccMmUPNu.res compilers: Unknown arg -plugin-opt=-fresolution=/tmp/ccMmUPNu.res compilers: Checking arg -plugin-opt=-pass-through=-lgcc compilers: Unknown arg -plugin-opt=-pass-through=-lgcc compilers: Checking arg -plugin-opt=-pass-through=-lgcc_s compilers: Unknown arg -plugin-opt=-pass-through=-lgcc_s compilers: Checking arg -plugin-opt=-pass-through=-lc compilers: Unknown arg -plugin-opt=-pass-through=-lc compilers: Checking arg -plugin-opt=-pass-through=-lgcc compilers: Unknown arg -plugin-opt=-pass-through=-lgcc compilers: Checking arg -plugin-opt=-pass-through=-lgcc_s compilers: Unknown arg -plugin-opt=-pass-through=-lgcc_s compilers: Checking arg --sysroot=/ compilers: Unknown arg --sysroot=/ compilers: Checking arg --build-id compilers: Unknown arg --build-id compilers: Checking arg --eh-frame-hdr compilers: Unknown arg --eh-frame-hdr compilers: Checking arg -m compilers: Unknown arg -m compilers: Checking arg elf_i386 compilers: Unknown arg elf_i386 compilers: Checking arg --hash-style=gnu compilers: Unknown arg --hash-style=gnu compilers: Checking arg --as-needed compilers: Unknown arg --as-needed compilers: Checking arg -dynamic-linker compilers: Unknown arg -dynamic-linker compilers: Checking arg /lib/ld-linux.so.2 compilers: Unknown arg /lib/ld-linux.so.2 compilers: Checking arg -pie compilers: Unknown arg -pie compilers: Checking arg -z compilers: Unknown arg -z compilers: Checking arg now compilers: Unknown arg now compilers: Checking arg -z compilers: Unknown arg -z compilers: Checking arg relro compilers: Unknown arg relro compilers: Checking arg -o compilers: Unknown arg -o compilers: Checking arg /tmp/petsc-Ymuwb2/config.compilers/conftest compilers: Unknown arg /tmp/petsc-Ymuwb2/config.compilers/conftest compilers: Checking arg /usr/lib/gcc/i686-linux-gnu/7/../../../i386-linux-gnu/Scrt1.o compilers: Unknown arg /usr/lib/gcc/i686-linux-gnu/7/../../../i386-linux-gnu/Scrt1.o compilers: Checking arg /usr/lib/gcc/i686-linux-gnu/7/../../../i386-linux-gnu/crti.o compilers: Unknown arg /usr/lib/gcc/i686-linux-gnu/7/../../../i386-linux-gnu/crti.o compilers: Checking arg /usr/lib/gcc/i686-linux-gnu/7/crtbeginS.o compilers: Unknown arg /usr/lib/gcc/i686-linux-gnu/7/crtbeginS.o compilers: Checking arg -L/usr/lib/gcc/i686-linux-gnu/7 compilers: Found library directory: -L/usr/lib/gcc/i686-linux-gnu/7 compilers: Checking arg -L/usr/lib/gcc/i686-linux-gnu/7/../../../i386-linux-gnu compilers: Found library directory: -L/usr/lib/i386-linux-gnu compilers: Checking arg -L/usr/lib/gcc/i686-linux-gnu/7/../../../../lib compilers: Checking arg -L/lib/i386-linux-gnu compilers: Found library directory: -L/lib/i386-linux-gnu compilers: Checking arg -L/lib/../lib compilers: Checking arg -L/usr/lib/i386-linux-gnu compilers: Found library directory: -L/usr/lib/i386-linux-gnu compilers: Checking arg -L/usr/lib/../lib compilers: Checking arg -L/usr/lib/gcc/i686-linux-gnu/7/../../.. compilers: Checking arg -Bsymbolic-functions compilers: Unknown arg -Bsymbolic-functions compilers: Checking arg -z compilers: Unknown arg -z compilers: Checking arg relro compilers: Unknown arg relro compilers: Checking arg /tmp/petsc-Ymuwb2/config.compilers/conftest.o compilers: Unknown arg /tmp/petsc-Ymuwb2/config.compilers/conftest.o compilers: Checking arg -ldl compilers: Found library : -ldl compilers: Checking arg -lgcc compilers: Skipping system library: -lgcc compilers: Checking arg --as-needed compilers: Unknown arg --as-needed compilers: Checking arg -lgcc_s compilers: Found library : -lgcc_s compilers: Checking arg --no-as-needed compilers: Unknown arg --no-as-needed compilers: Checking arg -lc compilers: Skipping system library: -lc compilers: Checking arg -lgcc compilers: Skipping system library: -lgcc compilers: Checking arg --as-needed compilers: Unknown arg --as-needed compilers: Checking arg -lgcc_s compilers: Checking arg --no-as-needed compilers: Unknown arg --no-as-needed compilers: Checking arg /usr/lib/gcc/i686-linux-gnu/7/crtendS.o compilers: Unknown arg /usr/lib/gcc/i686-linux-gnu/7/crtendS.o compilers: Checking arg /usr/lib/gcc/i686-linux-gnu/7/../../../i386-linux-gnu/crtn.o compilers: Unknown arg /usr/lib/gcc/i686-linux-gnu/7/../../../i386-linux-gnu/crtn.o compilers: Checking arg COLLECT_GCC_OPTIONS= compilers: Unknown arg COLLECT_GCC_OPTIONS= compilers: Libraries needed to link C code with another linker: ['-L/usr/lib/gcc/i686-linux-gnu/7', '-L/usr/lib/i386-linux-gnu', '-L/lib/i386-linux-gnu', '-L/usr/lib/i386-linux-gnu', '-ldl', '-lgcc_s'] compilers: Check that C libraries can be used from Fortran Pushing language FC Popping language FC Pushing language FC Popping language FC Pushing language FC Popping language FC Pushing language FC Executing: gfortran -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.F90 Successful compile: Source: program main end Executing: gfortran -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.F90 Successful compile: Source: program main end Executing: gfortran -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Executing: gfortran -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.F90 Successful compile: Source: program main end Executing: gfortran -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl -lpetsc-ufod4vtr9mqHvKIQiVAm Possible ERROR while running linker: exit code 256 stderr: /usr/bin/ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm collect2: error: ld returned 1 exit status Executing: gfortran -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.F90 Successful compile: Source: program main end Executing: gfortran -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Testing executable /tmp/petsc-Ymuwb2/config.setCompilers/conftest to see if it can be run Executing: /tmp/petsc-Ymuwb2/config.setCompilers/conftest Executing: /tmp/petsc-Ymuwb2/config.setCompilers/conftest Popping language FC ================================================================================ TEST checkDependencyGenerationFlag from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:1389) TESTING: checkDependencyGenerationFlag from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:1389) Check if -MMD works for dependency generation, and add it if it does Trying C compiler flag -MMD -MP Defined make macro "C_DEPFLAGS" to "-MMD -MP" Pushing language C Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -MMD -MP -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Popping language C Trying Cxx compiler flag -MMD -MP Defined make macro "CXX_DEPFLAGS" to "-MMD -MP" Pushing language Cxx Executing: g++ -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -MMD -MP -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Popping language Cxx Trying FC compiler flag -MMD -MP Defined make macro "FC_DEPFLAGS" to "-MMD -MP" Pushing language FC Executing: gfortran -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC -MMD -MP -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.F90 Successful compile: Source: program main end Popping language FC ================================================================================ TEST checkC99Flag from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:1435) TESTING: checkC99Flag from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:1435) Check for -std=c99 or equivalent flag Accepted C99 compile flag: Pushing language C Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { float x[2],y; y = FLT_ROUNDS; // c++ comment int j = 2; for (int i=0; i<2; i++){ x[i] = i*j*y; } ; return 0; } Popping language C Executing: g++ --help stdout: Usage: g++ [options] file... Options: -pass-exit-codes Exit with highest error code from a phase. --help Display this information. --target-help Display target specific command line options. --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. Display specific types of command line options. (Use '-v --help' to display command line options of sub-processes). --version Display compiler version information. -dumpspecs Display all of the built in spec strings. -dumpversion Display the version of the compiler. -dumpmachine Display the compiler's target processor. -print-search-dirs Display the directories in the compiler's search path. -print-libgcc-file-name Display the name of the compiler's companion library. -print-file-name= Display the full path to library . -print-prog-name= Display the full path to compiler component . -print-multiarch Display the target's normalized GNU triplet, used as a component in the library path. -print-multi-directory Display the root directory for versions of libgcc. -print-multi-lib Display the mapping between command line options and multiple library search directories. -print-multi-os-directory Display the relative path to OS libraries. -print-sysroot Display the target libraries directory. -print-sysroot-headers-suffix Display the sysroot suffix used to find headers. -Wa, Pass comma-separated on to the assembler. -Wp, Pass comma-separated on to the preprocessor. -Wl, Pass comma-separated on to the linker. -Xassembler Pass on to the assembler. -Xpreprocessor Pass on to the preprocessor. -Xlinker Pass on to the linker. -save-temps Do not delete intermediate files. -save-temps= Do not delete intermediate files. -no-canonical-prefixes Do not canonicalize paths when building relative prefixes to other gcc components. -pipe Use pipes rather than intermediate files. -time Time the execution of each subprocess. -specs= Override built-in specs with the contents of . -std= Assume that the input sources are for . --sysroot= Use as the root directory for headers and libraries. -B Add to the compiler's search paths. -v Display the programs invoked by the compiler. -### Like -v but options quoted and commands not executed. -E Preprocess only; do not compile, assemble or link. -S Compile only; do not assemble or link. -c Compile and assemble, but do not link. -o Place the output into . -pie Create a position independent executable. -shared Create a shared library. -x Specify the language of the following input files. Permissible languages include: c c++ assembler none 'none' means revert to the default behavior of guessing the language based on the file's extension. Options starting with -g, -f, -m, -O, -W, or --param are automatically passed on to the various sub-processes invoked by g++. In order to pass other options on to these processes the -W options must be used. For bug reporting instructions, please see: . ================================================================================ TEST checkRestrict from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:137) TESTING: checkRestrict from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:137) Check for the C/CXX restrict keyword Executing: gcc -V Pushing language Cxx Executing: g++ -c -o /tmp/petsc-Ymuwb2/config.compilers/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { float * __restrict x;; return 0; } compilers: Set Cxx restrict keyword to __restrict Defined "CXX_RESTRICT" to "__restrict" Popping language Cxx ================================================================================ TEST checkCxxNamespace from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:373) TESTING: checkCxxNamespace from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:373) Checks that C++ compiler supports namespaces, and if it does defines HAVE_CXX_NAMESPACE Pushing language Cxx Executing: g++ -c -o /tmp/petsc-Ymuwb2/config.compilers/conftest.o -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.compilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" namespace petsc {int dummy;} int main() { ; return 0; } Executing: g++ -c -o /tmp/petsc-Ymuwb2/config.compilers/conftest.o -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.compilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" template struct a {}; namespace trouble{ template struct a : public ::a {}; } trouble::a uugh; int main() { ; return 0; } Popping language Cxx compilers: C++ has namespaces Defined "HAVE_CXX_NAMESPACE" to "1" ================================================================================ TEST checkCxxOptionalExtensions from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:346) TESTING: checkCxxOptionalExtensions from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:346) Check whether the C++ compiler (IBM xlC, OSF5) need special flag for .c files which contain C++ Pushing language Cxx Executing: g++ -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { class somename { int i; };; return 0; } Added Cxx compiler flag Popping language Cxx ================================================================================ TEST checkCxxStaticInline from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:122) TESTING: checkCxxStaticInline from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:122) Check for C++ keyword: static inline Pushing language Cxx Executing: g++ -c -o /tmp/petsc-Ymuwb2/config.compilers/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" static inline int foo(int a) {return a;} int main() { foo(1);; return 0; } compilers: Set Cxx StaticInline keyword to static inline Popping language Cxx Defined "CXX_STATIC_INLINE" to "static inline" ================================================================================ TEST checkCxxLibraries from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:431) TESTING: checkCxxLibraries from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:431) Determines the libraries needed to link with C++ Pushing language Cxx Executing: g++ -c -o /tmp/petsc-Ymuwb2/config.compilers/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language CXX Popping language CXX Executing: g++ -o /tmp/petsc-Ymuwb2/config.compilers/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -v -Wl,--no-as-needed -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.compilers/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Possible ERROR while running linker: stderr: Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/7/lto-wrapper Target: i686-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.2.0-3ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=i686-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-targets=all --enable-multiarch --disable-werror --with-arch-32=i686 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu Thread model: posix gcc version 7.2.0 (Ubuntu 7.2.0-3ubuntu1) COMPILER_PATH=/usr/lib/gcc/i686-linux-gnu/7/:/usr/lib/gcc/i686-linux-gnu/7/:/usr/lib/gcc/i686-linux-gnu/:/usr/lib/gcc/i686-linux-gnu/7/:/usr/lib/gcc/i686-linux-gnu/ LIBRARY_PATH=/usr/lib/gcc/i686-linux-gnu/7/:/usr/lib/gcc/i686-linux-gnu/7/../../../i386-linux-gnu/:/usr/lib/gcc/i686-linux-gnu/7/../../../../lib/:/lib/i386-linux-gnu/:/lib/../lib/:/usr/lib/i386-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/i686-linux-gnu/7/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS='-o' '/tmp/petsc-Ymuwb2/config.compilers/conftest' '-v' '-g' '-O2' '-fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=.' '-fstack-protector-strong' '-Wformat=1' '-Werror=format-security' '-fPIC' '-L/usr/lib/gcc/i686-linux-gnu/7' '-L/usr/lib/i386-linux-gnu' '-L/lib/i386-linux-gnu' '-L/usr/lib/i386-linux-gnu' '-shared-libgcc' '-mtune=generic' '-march=i686' /usr/lib/gcc/i686-linux-gnu/7/collect2 -plugin /usr/lib/gcc/i686-linux-gnu/7/liblto_plugin.so -plugin-opt=/usr/lib/gcc/i686-linux-gnu/7/lto-wrapper -plugin-opt=-fresolution=/tmp/ccBOYS13.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --sysroot=/ --build-id --eh-frame-hdr -m elf_i386 --hash-style=gnu --as-needed -dynamic-linker /lib/ld-linux.so.2 -pie -z now -z relro -o /tmp/petsc-Ymuwb2/config.compilers/conftest /usr/lib/gcc/i686-linux-gnu/7/../../../i386-linux-gnu/Scrt1.o /usr/lib/gcc/i686-linux-gnu/7/../../../i386-linux-gnu/crti.o /usr/lib/gcc/i686-linux-gnu/7/crtbeginS.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/gcc/i686-linux-gnu/7/../../../i386-linux-gnu -L/usr/lib/gcc/i686-linux-gnu/7/../../../../lib -L/lib/i386-linux-gnu -L/lib/../lib -L/usr/lib/i386-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/i686-linux-gnu/7/../../.. -Bsymbolic-functions -z relro --no-as-needed /tmp/petsc-Ymuwb2/config.compilers/conftest.o -ldl -lgcc_s -ldl -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/i686-linux-gnu/7/crtendS.o /usr/lib/gcc/i686-linux-gnu/7/../../../i386-linux-gnu/crtn.o COLLECT_GCC_OPTIONS='-o' '/tmp/petsc-Ymuwb2/config.compilers/conftest' '-v' '-g' '-O2' '-fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=.' '-fstack-protector-strong' '-Wformat=1' '-Werror=format-security' '-fPIC' '-L/usr/lib/gcc/i686-linux-gnu/7' '-L/usr/lib/i386-linux-gnu' '-L/lib/i386-linux-gnu' '-L/usr/lib/i386-linux-gnu' '-shared-libgcc' '-mtune=generic' '-march=i686' Popping language Cxx compilers: Checking arg Using compilers: Unknown arg Using compilers: Checking arg built-in compilers: Unknown arg built-in compilers: Checking arg specs. compilers: Unknown arg specs. compilers: Checking arg COLLECT_GCC=g++ compilers: Unknown arg COLLECT_GCC=g++ compilers: Checking arg COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/7/lto-wrapper compilers: Unknown arg COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/7/lto-wrapper compilers: Checking arg Target: compilers: Unknown arg Target: compilers: Checking arg i686-linux-gnu compilers: Unknown arg i686-linux-gnu compilers: Checking arg Configured compilers: Unknown arg Configured compilers: Checking arg with: compilers: Unknown arg with: compilers: Checking arg ../src/configure compilers: Unknown arg ../src/configure compilers: Checking arg -v compilers: Unknown arg -v compilers: Checking arg --with-pkgversion= compilers: Unknown arg --with-pkgversion= compilers: Checking arg --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs compilers: Unknown arg --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs compilers: Checking arg --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ compilers: Unknown arg --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ compilers: Checking arg --prefix=/usr compilers: Unknown arg --prefix=/usr compilers: Checking arg --with-gcc-major-version-only compilers: Unknown arg --with-gcc-major-version-only compilers: Checking arg --program-suffix=-7 compilers: Unknown arg --program-suffix=-7 compilers: Checking arg --program-prefix=i686-linux-gnu- compilers: Unknown arg --program-prefix=i686-linux-gnu- compilers: Checking arg --enable-shared compilers: Unknown arg --enable-shared compilers: Checking arg --enable-linker-build-id compilers: Unknown arg --enable-linker-build-id compilers: Checking arg --libexecdir=/usr/lib compilers: Unknown arg --libexecdir=/usr/lib compilers: Checking arg --without-included-gettext compilers: Unknown arg --without-included-gettext compilers: Checking arg --enable-threads=posix compilers: Unknown arg --enable-threads=posix compilers: Checking arg --libdir=/usr/lib compilers: Unknown arg --libdir=/usr/lib compilers: Checking arg --enable-nls compilers: Unknown arg --enable-nls compilers: Checking arg --with-sysroot=/ compilers: Unknown arg --with-sysroot=/ compilers: Checking arg --enable-clocale=gnu compilers: Unknown arg --enable-clocale=gnu compilers: Checking arg --enable-libstdcxx-debug compilers: Unknown arg --enable-libstdcxx-debug compilers: Checking arg --enable-libstdcxx-time=yes compilers: Unknown arg --enable-libstdcxx-time=yes compilers: Checking arg --with-default-libstdcxx-abi=new compilers: Unknown arg --with-default-libstdcxx-abi=new compilers: Checking arg --enable-gnu-unique-object compilers: Unknown arg --enable-gnu-unique-object compilers: Checking arg --disable-vtable-verify compilers: Unknown arg --disable-vtable-verify compilers: Checking arg --enable-libmpx compilers: Unknown arg --enable-libmpx compilers: Checking arg --enable-plugin compilers: Unknown arg --enable-plugin compilers: Checking arg --enable-default-pie compilers: Unknown arg --enable-default-pie compilers: Checking arg --with-system-zlib compilers: Unknown arg --with-system-zlib compilers: Checking arg --with-target-system-zlib compilers: Unknown arg --with-target-system-zlib compilers: Checking arg --enable-objc-gc=auto compilers: Unknown arg --enable-objc-gc=auto compilers: Checking arg --enable-targets=all compilers: Unknown arg --enable-targets=all compilers: Checking arg --enable-multiarch compilers: Unknown arg --enable-multiarch compilers: Checking arg --disable-werror compilers: Unknown arg --disable-werror compilers: Checking arg --with-arch-32=i686 compilers: Unknown arg --with-arch-32=i686 compilers: Checking arg --with-multilib-list=m32,m64,mx32 compilers: Unknown arg --with-multilib-list=m32,m64,mx32 compilers: Checking arg --enable-multilib compilers: Unknown arg --enable-multilib compilers: Checking arg --with-tune=generic compilers: Unknown arg --with-tune=generic compilers: Checking arg --enable-checking=release compilers: Unknown arg --enable-checking=release compilers: Checking arg --build=i686-linux-gnu compilers: Unknown arg --build=i686-linux-gnu compilers: Checking arg --host=i686-linux-gnu compilers: Unknown arg --host=i686-linux-gnu compilers: Checking arg --target=i686-linux-gnu compilers: Unknown arg --target=i686-linux-gnu compilers: Checking arg Thread compilers: Unknown arg Thread compilers: Checking arg model: compilers: Unknown arg model: compilers: Checking arg posix compilers: Unknown arg posix compilers: Checking arg gcc compilers: Unknown arg gcc compilers: Checking arg version compilers: Unknown arg version compilers: Checking arg 7.2.0 compilers: Unknown arg 7.2.0 compilers: Checking arg (Ubuntu compilers: Unknown arg (Ubuntu compilers: Checking arg 7.2.0-3ubuntu1) compilers: Unknown arg 7.2.0-3ubuntu1) compilers: Checking arg COMPILER_PATH=/usr/lib/gcc/i686-linux-gnu/7/:/usr/lib/gcc/i686-linux-gnu/7/:/usr/lib/gcc/i686-linux-gnu/:/usr/lib/gcc/i686-linux-gnu/7/:/usr/lib/gcc/i686-linux-gnu/ compilers: Unknown arg COMPILER_PATH=/usr/lib/gcc/i686-linux-gnu/7/:/usr/lib/gcc/i686-linux-gnu/7/:/usr/lib/gcc/i686-linux-gnu/:/usr/lib/gcc/i686-linux-gnu/7/:/usr/lib/gcc/i686-linux-gnu/ compilers: Checking arg LIBRARY_PATH=/usr/lib/gcc/i686-linux-gnu/7/:/usr/lib/gcc/i686-linux-gnu/7/../../../i386-linux-gnu/:/usr/lib/gcc/i686-linux-gnu/7/../../../../lib/:/lib/i386-linux-gnu/:/lib/../lib/:/usr/lib/i386-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/i686-linux-gnu/7/../../../:/lib/:/usr/lib/ compilers: Unknown arg LIBRARY_PATH=/usr/lib/gcc/i686-linux-gnu/7/:/usr/lib/gcc/i686-linux-gnu/7/../../../i386-linux-gnu/:/usr/lib/gcc/i686-linux-gnu/7/../../../../lib/:/lib/i386-linux-gnu/:/lib/../lib/:/usr/lib/i386-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/i686-linux-gnu/7/../../../:/lib/:/usr/lib/ compilers: Checking arg COLLECT_GCC_OPTIONS= compilers: Unknown arg COLLECT_GCC_OPTIONS= compilers: Checking arg /usr/lib/gcc/i686-linux-gnu/7/collect2 compilers: Unknown arg /usr/lib/gcc/i686-linux-gnu/7/collect2 compilers: Checking arg -plugin compilers: Unknown arg -plugin compilers: Checking arg /usr/lib/gcc/i686-linux-gnu/7/liblto_plugin.so compilers: Unknown arg /usr/lib/gcc/i686-linux-gnu/7/liblto_plugin.so compilers: Checking arg -plugin-opt=/usr/lib/gcc/i686-linux-gnu/7/lto-wrapper compilers: Unknown arg -plugin-opt=/usr/lib/gcc/i686-linux-gnu/7/lto-wrapper compilers: Checking arg -plugin-opt=-fresolution=/tmp/ccBOYS13.res compilers: Unknown arg -plugin-opt=-fresolution=/tmp/ccBOYS13.res compilers: Checking arg -plugin-opt=-pass-through=-lgcc_s compilers: Unknown arg -plugin-opt=-pass-through=-lgcc_s compilers: Checking arg -plugin-opt=-pass-through=-lgcc compilers: Unknown arg -plugin-opt=-pass-through=-lgcc compilers: Checking arg -plugin-opt=-pass-through=-lc compilers: Unknown arg -plugin-opt=-pass-through=-lc compilers: Checking arg -plugin-opt=-pass-through=-lgcc_s compilers: Unknown arg -plugin-opt=-pass-through=-lgcc_s compilers: Checking arg -plugin-opt=-pass-through=-lgcc compilers: Unknown arg -plugin-opt=-pass-through=-lgcc compilers: Checking arg --sysroot=/ compilers: Unknown arg --sysroot=/ compilers: Checking arg --build-id compilers: Unknown arg --build-id compilers: Checking arg --eh-frame-hdr compilers: Unknown arg --eh-frame-hdr compilers: Checking arg -m compilers: Unknown arg -m compilers: Checking arg elf_i386 compilers: Unknown arg elf_i386 compilers: Checking arg --hash-style=gnu compilers: Unknown arg --hash-style=gnu compilers: Checking arg --as-needed compilers: Unknown arg --as-needed compilers: Checking arg -dynamic-linker compilers: Unknown arg -dynamic-linker compilers: Checking arg /lib/ld-linux.so.2 compilers: Unknown arg /lib/ld-linux.so.2 compilers: Checking arg -pie compilers: Unknown arg -pie compilers: Checking arg -z compilers: Unknown arg -z compilers: Checking arg now compilers: Unknown arg now compilers: Checking arg -z compilers: Unknown arg -z compilers: Checking arg relro compilers: Unknown arg relro compilers: Checking arg -o compilers: Unknown arg -o compilers: Checking arg /tmp/petsc-Ymuwb2/config.compilers/conftest compilers: Unknown arg /tmp/petsc-Ymuwb2/config.compilers/conftest compilers: Checking arg /usr/lib/gcc/i686-linux-gnu/7/../../../i386-linux-gnu/Scrt1.o compilers: Unknown arg /usr/lib/gcc/i686-linux-gnu/7/../../../i386-linux-gnu/Scrt1.o compilers: Checking arg /usr/lib/gcc/i686-linux-gnu/7/../../../i386-linux-gnu/crti.o compilers: Unknown arg /usr/lib/gcc/i686-linux-gnu/7/../../../i386-linux-gnu/crti.o compilers: Checking arg /usr/lib/gcc/i686-linux-gnu/7/crtbeginS.o compilers: Unknown arg /usr/lib/gcc/i686-linux-gnu/7/crtbeginS.o compilers: Checking arg -L/usr/lib/gcc/i686-linux-gnu/7 compilers: Found library directory: -L/usr/lib/gcc/i686-linux-gnu/7 compilers: Checking arg -L/usr/lib/i386-linux-gnu compilers: Found library directory: -L/usr/lib/i386-linux-gnu compilers: Checking arg -L/lib/i386-linux-gnu compilers: Found library directory: -L/lib/i386-linux-gnu compilers: Checking arg -L/usr/lib/i386-linux-gnu compilers: Checking arg -L/usr/lib/gcc/i686-linux-gnu/7 compilers: Checking arg -L/usr/lib/gcc/i686-linux-gnu/7/../../../i386-linux-gnu compilers: Checking arg -L/usr/lib/gcc/i686-linux-gnu/7/../../../../lib compilers: Checking arg -L/lib/i386-linux-gnu compilers: Checking arg -L/lib/../lib compilers: Checking arg -L/usr/lib/i386-linux-gnu compilers: Checking arg -L/usr/lib/../lib compilers: Checking arg -L/usr/lib/gcc/i686-linux-gnu/7/../../.. compilers: Checking arg -Bsymbolic-functions compilers: Unknown arg -Bsymbolic-functions compilers: Checking arg -z compilers: Unknown arg -z compilers: Checking arg relro compilers: Unknown arg relro compilers: Checking arg --no-as-needed compilers: Unknown arg --no-as-needed compilers: Checking arg /tmp/petsc-Ymuwb2/config.compilers/conftest.o compilers: Unknown arg /tmp/petsc-Ymuwb2/config.compilers/conftest.o compilers: Checking arg -ldl compilers: Found library: -ldl Library already in C list so skipping in C++ compilers: Checking arg -lgcc_s compilers: Found library: -lgcc_s Library already in C list so skipping in C++ compilers: Checking arg -ldl compilers: Checking arg -lstdc++ compilers: Found library: -lstdc++ compilers: Checking arg -lm compilers: Found library: -lm compilers: Checking arg -lgcc_s compilers: Checking arg -lgcc compilers: Skipping system library: -lgcc compilers: Checking arg -lc compilers: Skipping system library: -lc compilers: Checking arg -lgcc_s compilers: Checking arg -lgcc compilers: Skipping system library: -lgcc compilers: Checking arg /usr/lib/gcc/i686-linux-gnu/7/crtendS.o compilers: Unknown arg /usr/lib/gcc/i686-linux-gnu/7/crtendS.o compilers: Checking arg /usr/lib/gcc/i686-linux-gnu/7/../../../i386-linux-gnu/crtn.o compilers: Unknown arg /usr/lib/gcc/i686-linux-gnu/7/../../../i386-linux-gnu/crtn.o compilers: Checking arg COLLECT_GCC_OPTIONS= compilers: Unknown arg COLLECT_GCC_OPTIONS= compilers: Libraries needed to link Cxx code with another linker: ['-L/usr/lib/gcc/i686-linux-gnu/7', '-L/usr/lib/i386-linux-gnu', '-L/lib/i386-linux-gnu', '-lstdc++', '-lm'] compilers: Check that Cxx libraries can be used from C Pushing language C Popping language C Pushing language C Popping language C Pushing language C Popping language C Pushing language C Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: gcc -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -lstdc++ -lm -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: gcc -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -lstdc++ -lm -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl -lpetsc-ufod4vtr9mqHvKIQiVAm Possible ERROR while running linker: exit code 256 stderr: /usr/bin/ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm collect2: error: ld returned 1 exit status Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: gcc -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -lstdc++ -lm -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Testing executable /tmp/petsc-Ymuwb2/config.setCompilers/conftest to see if it can be run Executing: /tmp/petsc-Ymuwb2/config.setCompilers/conftest Executing: /tmp/petsc-Ymuwb2/config.setCompilers/conftest Popping language C compilers: Check that Cxx libraries can be used from Fortran Pushing language FC Popping language FC Pushing language FC Popping language FC Pushing language FC Popping language FC Pushing language FC Executing: gfortran -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.F90 Successful compile: Source: program main end Executing: gfortran -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.F90 Successful compile: Source: program main end Executing: gfortran -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -lstdc++ -lm -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Executing: gfortran -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.F90 Successful compile: Source: program main end Executing: gfortran -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -lstdc++ -lm -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl -lpetsc-ufod4vtr9mqHvKIQiVAm Possible ERROR while running linker: exit code 256 stderr: /usr/bin/ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm collect2: error: ld returned 1 exit status Executing: gfortran -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.F90 Successful compile: Source: program main end Executing: gfortran -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -lstdc++ -lm -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Testing executable /tmp/petsc-Ymuwb2/config.setCompilers/conftest to see if it can be run Executing: /tmp/petsc-Ymuwb2/config.setCompilers/conftest Executing: /tmp/petsc-Ymuwb2/config.setCompilers/conftest Popping language FC ================================================================================ TEST checkCxx11 from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:388) TESTING: checkCxx11 from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:388) Determine the option needed to support the C++11 dialect We auto-detect C++11 if the compiler supports it without options, otherwise we require with-cxx-dialect=C++11 to try adding flags to support it. Pushing language Cxx Executing: g++ -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include template constexpr T Cubed( T x ) { return x*x*x; } int main() { std::random_device rd; std::mt19937 mt(rd()); std::normal_distribution dist(0,1); const double x = dist(mt); ; return 0; } Popping language Cxx ================================================================================ TEST checkFortranTypeSizes from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:594) TESTING: checkFortranTypeSizes from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:594) Check whether real*8 is supported and suggest flags which will allow support Pushing language FC Executing: gfortran -c -o /tmp/petsc-Ymuwb2/config.compilers/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.compilers/conftest.F90 Successful compile: Source: program main real*8 variable end Popping language FC ================================================================================ TEST checkFortranNameMangling from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:653) TESTING: checkFortranNameMangling from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:653) Checks Fortran name mangling, and defines HAVE_FORTRAN_UNDERSCORE, HAVE_FORTRAN_NOUNDERSCORE, HAVE_FORTRAN_CAPS, or HAVE_FORTRAN_STDCALL Testing Fortran mangling type underscore with code void d1chk_(void){return;} Pushing language C Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.compilers/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" void d1chk_(void){return;} Popping language C Pushing language FC Executing: gfortran -c -o /tmp/petsc-Ymuwb2/config.compilers/conftest.o -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.compilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.compilers/conftest.F90 Successful compile: Source: program main call d1chk() end Pushing language FC Popping language FC Executing: gfortran -o /tmp/petsc-Ymuwb2/config.compilers/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC /tmp/petsc-Ymuwb2/config.compilers/conftest.o /tmp/petsc-Ymuwb2/config.compilers/confc.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Popping language FC compilers: Fortran name mangling is underscore Defined "HAVE_FORTRAN_UNDERSCORE" to "1" ================================================================================ TEST checkFortranNameManglingDouble from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:690) TESTING: checkFortranNameManglingDouble from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:690) Checks if symbols containing an underscore append an extra underscore, and defines HAVE_FORTRAN_UNDERSCORE_UNDERSCORE if necessary Pushing language C Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.compilers/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" void d1_chk__(void){return;} Popping language C Pushing language FC Executing: gfortran -c -o /tmp/petsc-Ymuwb2/config.compilers/conftest.o -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.compilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.compilers/conftest.F90 Successful compile: Source: program main call d1_chk() end Pushing language FC Popping language FC Executing: gfortran -o /tmp/petsc-Ymuwb2/config.compilers/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC /tmp/petsc-Ymuwb2/config.compilers/conftest.o /tmp/petsc-Ymuwb2/config.compilers/confc.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-Ymuwb2/config.compilers/conftest.o: In function `MAIN__': /tmp/petsc-Ymuwb2/config.compilers/conftest.F90:2: undefined reference to `d1_chk_' collect2: error: ld returned 1 exit status Popping language FC ================================================================================ TEST checkFortranPreprocessor from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:700) TESTING: checkFortranPreprocessor from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:700) Determine if Fortran handles preprocessing properly compilers: Fortran uses CPP preprocessor Pushing language FC Executing: gfortran -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.F90 Successful compile: Source: program main #define dummy dummy #ifndef dummy fooey #endif end Added FC compiler flag Popping language FC ================================================================================ TEST checkFortranDefineCompilerOption from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:724) TESTING: checkFortranDefineCompilerOption from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:724) Check if -WF,-Dfoobar or -Dfoobar is the compiler option to define a macro Defined make macro "FC_DEFINE_FLAG" to "-D" compilers: Fortran uses -D for defining macro Pushing language FC Executing: gfortran -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC -DTesting -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.F90 Successful compile: Source: program main #define dummy dummy #ifndef Testing fooey #endif end Popping language FC ================================================================================ TEST checkFortranLibraries from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:744) TESTING: checkFortranLibraries from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:744) Substitutes for FLIBS the libraries needed to link with Fortran This macro is intended to be used in those situations when it is necessary to mix, e.g. C++ and Fortran 77, source code into a single program or shared library. For example, if object files from a C++ and Fortran 77 compiler must be linked together, then the C++ compiler/linker must be used for linking (since special C++-ish things need to happen at link time like calling global constructors, instantiating templates, enabling exception support, etc.). However, the Fortran 77 intrinsic and run-time libraries must be linked in as well, but the C++ compiler/linker does not know how to add these Fortran 77 libraries. This code was translated from the autoconf macro which was packaged in its current form by Matthew D. Langston . However, nearly all of this macro came from the OCTAVE_FLIBS macro in octave-2.0.13/aclocal.m4, and full credit should go to John W. Eaton for writing this extremely useful macro. Pushing language FC Executing: gfortran -V Executing: gfortran -c -o /tmp/petsc-Ymuwb2/config.compilers/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.compilers/conftest.F90 Successful compile: Source: program main end Pushing language FC Popping language FC Executing: gfortran -o /tmp/petsc-Ymuwb2/config.compilers/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -v -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC /tmp/petsc-Ymuwb2/config.compilers/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Possible ERROR while running linker: stderr: Driving: gfortran -o /tmp/petsc-Ymuwb2/config.compilers/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -v -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC /tmp/petsc-Ymuwb2/config.compilers/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl -l gfortran -l m -shared-libgcc Using built-in specs. COLLECT_GCC=gfortran COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/7/lto-wrapper Target: i686-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.2.0-3ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=i686-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-targets=all --enable-multiarch --disable-werror --with-arch-32=i686 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu Thread model: posix gcc version 7.2.0 (Ubuntu 7.2.0-3ubuntu1) Reading specs from /usr/lib/gcc/i686-linux-gnu/7/libgfortran.spec rename spec lib to liborig COLLECT_GCC_OPTIONS='-o' '/tmp/petsc-Ymuwb2/config.compilers/conftest' '-v' '-g' '-O2' '-fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=.' '-fstack-protector-strong' '-fPIC' '-L/usr/lib/gcc/i686-linux-gnu/7' '-L/usr/lib/i386-linux-gnu' '-L/lib/i386-linux-gnu' '-L/usr/lib/i386-linux-gnu' '-shared-libgcc' '-mtune=generic' '-march=i686' COMPILER_PATH=/usr/lib/gcc/i686-linux-gnu/7/:/usr/lib/gcc/i686-linux-gnu/7/:/usr/lib/gcc/i686-linux-gnu/:/usr/lib/gcc/i686-linux-gnu/7/:/usr/lib/gcc/i686-linux-gnu/ LIBRARY_PATH=/usr/lib/gcc/i686-linux-gnu/7/:/usr/lib/gcc/i686-linux-gnu/7/../../../i386-linux-gnu/:/usr/lib/gcc/i686-linux-gnu/7/../../../../lib/:/lib/i386-linux-gnu/:/lib/../lib/:/usr/lib/i386-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/i686-linux-gnu/7/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS='-o' '/tmp/petsc-Ymuwb2/config.compilers/conftest' '-v' '-g' '-O2' '-fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=.' '-fstack-protector-strong' '-fPIC' '-L/usr/lib/gcc/i686-linux-gnu/7' '-L/usr/lib/i386-linux-gnu' '-L/lib/i386-linux-gnu' '-L/usr/lib/i386-linux-gnu' '-shared-libgcc' '-mtune=generic' '-march=i686' /usr/lib/gcc/i686-linux-gnu/7/collect2 -plugin /usr/lib/gcc/i686-linux-gnu/7/liblto_plugin.so -plugin-opt=/usr/lib/gcc/i686-linux-gnu/7/lto-wrapper -plugin-opt=-fresolution=/tmp/ccTdEsKu.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lquadmath -plugin-opt=-pass-through=-lm -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --sysroot=/ --build-id --eh-frame-hdr -m elf_i386 --hash-style=gnu --as-needed -dynamic-linker /lib/ld-linux.so.2 -pie -z now -z relro -o /tmp/petsc-Ymuwb2/config.compilers/conftest /usr/lib/gcc/i686-linux-gnu/7/../../../i386-linux-gnu/Scrt1.o /usr/lib/gcc/i686-linux-gnu/7/../../../i386-linux-gnu/crti.o /usr/lib/gcc/i686-linux-gnu/7/crtbeginS.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/gcc/i686-linux-gnu/7/../../../i386-linux-gnu -L/usr/lib/gcc/i686-linux-gnu/7/../../../../lib -L/lib/i386-linux-gnu -L/lib/../lib -L/usr/lib/i386-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/i686-linux-gnu/7/../../.. -Bsymbolic-functions -z relro /tmp/petsc-Ymuwb2/config.compilers/conftest.o -ldl -lgcc_s -ldl -lgfortran -lm -lgcc_s -lgcc -lquadmath -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/i686-linux-gnu/7/crtendS.o /usr/lib/gcc/i686-linux-gnu/7/../../../i386-linux-gnu/crtn.o COLLECT_GCC_OPTIONS='-o' '/tmp/petsc-Ymuwb2/config.compilers/conftest' '-v' '-g' '-O2' '-fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=.' '-fstack-protector-strong' '-fPIC' '-L/usr/lib/gcc/i686-linux-gnu/7' '-L/usr/lib/i386-linux-gnu' '-L/lib/i386-linux-gnu' '-L/usr/lib/i386-linux-gnu' '-shared-libgcc' '-mtune=generic' '-march=i686' Popping language FC compilers: Checking arg Driving: compilers: Unknown arg Driving: compilers: Checking arg gfortran compilers: Unknown arg gfortran compilers: Checking arg -o compilers: Unknown arg -o compilers: Checking arg /tmp/petsc-Ymuwb2/config.compilers/conftest compilers: Unknown arg /tmp/petsc-Ymuwb2/config.compilers/conftest compilers: Checking arg -Wl,-Bsymbolic-functions compilers: Unknown arg -Wl,-Bsymbolic-functions compilers: Checking arg -Wl,-z,relro compilers: Unknown arg -Wl,-z,relro compilers: Checking arg -v compilers: Unknown arg -v compilers: Checking arg -g compilers: Unknown arg -g compilers: Checking arg -O2 compilers: Unknown arg -O2 compilers: Checking arg -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. compilers: Unknown arg -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. compilers: Checking arg -fstack-protector-strong compilers: Unknown arg -fstack-protector-strong compilers: Checking arg -fPIC compilers: Unknown arg -fPIC compilers: Checking arg /tmp/petsc-Ymuwb2/config.compilers/conftest.o compilers: Unknown arg /tmp/petsc-Ymuwb2/config.compilers/conftest.o compilers: Checking arg -L/usr/lib/gcc/i686-linux-gnu/7 compilers: Found library directory: -L/usr/lib/gcc/i686-linux-gnu/7 compilers: Checking arg -L/usr/lib/i386-linux-gnu compilers: Found library directory: -L/usr/lib/i386-linux-gnu compilers: Checking arg -L/lib/i386-linux-gnu compilers: Found library directory: -L/lib/i386-linux-gnu compilers: Checking arg -L/usr/lib/i386-linux-gnu compilers: Already in lflags so skipping: -L/usr/lib/i386-linux-gnu compilers: Checking arg -ldl compilers: Found library: -ldl Library already in C list so skipping in Fortran compilers: Checking arg -lgcc_s compilers: Found library: -lgcc_s Library already in C list so skipping in Fortran compilers: Checking arg -ldl compilers: Already in lflags: -ldl compilers: Checking arg -l compilers: Found canonical library: -lgfortran compilers: Checking arg -l compilers: Found canonical library: -lm compilers: Checking arg -shared-libgcc compilers: Unknown arg -shared-libgcc compilers: Checking arg Using compilers: Unknown arg Using compilers: Checking arg built-in compilers: Unknown arg built-in compilers: Checking arg specs. compilers: Unknown arg specs. compilers: Checking arg COLLECT_GCC=gfortran compilers: Unknown arg COLLECT_GCC=gfortran compilers: Checking arg COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/7/lto-wrapper compilers: Unknown arg COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/7/lto-wrapper compilers: Checking arg Target: compilers: Unknown arg Target: compilers: Checking arg i686-linux-gnu compilers: Unknown arg i686-linux-gnu compilers: Checking arg Configured compilers: Unknown arg Configured compilers: Checking arg with: compilers: Unknown arg with: compilers: Checking arg ../src/configure compilers: Unknown arg ../src/configure compilers: Checking arg -v compilers: Unknown arg -v compilers: Checking arg --with-pkgversion= compilers: Unknown arg --with-pkgversion= compilers: Checking arg --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs compilers: Unknown arg --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs compilers: Checking arg --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ compilers: Unknown arg --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ compilers: Checking arg --prefix=/usr compilers: Unknown arg --prefix=/usr compilers: Checking arg --with-gcc-major-version-only compilers: Unknown arg --with-gcc-major-version-only compilers: Checking arg --program-suffix=-7 compilers: Unknown arg --program-suffix=-7 compilers: Checking arg --program-prefix=i686-linux-gnu- compilers: Unknown arg --program-prefix=i686-linux-gnu- compilers: Checking arg --enable-shared compilers: Unknown arg --enable-shared compilers: Checking arg --enable-linker-build-id compilers: Unknown arg --enable-linker-build-id compilers: Checking arg --libexecdir=/usr/lib compilers: Unknown arg --libexecdir=/usr/lib compilers: Checking arg --without-included-gettext compilers: Unknown arg --without-included-gettext compilers: Checking arg --enable-threads=posix compilers: Unknown arg --enable-threads=posix compilers: Checking arg --libdir=/usr/lib compilers: Unknown arg --libdir=/usr/lib compilers: Checking arg --enable-nls compilers: Unknown arg --enable-nls compilers: Checking arg --with-sysroot=/ compilers: Unknown arg --with-sysroot=/ compilers: Checking arg --enable-clocale=gnu compilers: Unknown arg --enable-clocale=gnu compilers: Checking arg --enable-libstdcxx-debug compilers: Unknown arg --enable-libstdcxx-debug compilers: Checking arg --enable-libstdcxx-time=yes compilers: Unknown arg --enable-libstdcxx-time=yes compilers: Checking arg --with-default-libstdcxx-abi=new compilers: Unknown arg --with-default-libstdcxx-abi=new compilers: Checking arg --enable-gnu-unique-object compilers: Unknown arg --enable-gnu-unique-object compilers: Checking arg --disable-vtable-verify compilers: Unknown arg --disable-vtable-verify compilers: Checking arg --enable-libmpx compilers: Unknown arg --enable-libmpx compilers: Checking arg --enable-plugin compilers: Unknown arg --enable-plugin compilers: Checking arg --enable-default-pie compilers: Unknown arg --enable-default-pie compilers: Checking arg --with-system-zlib compilers: Unknown arg --with-system-zlib compilers: Checking arg --with-target-system-zlib compilers: Unknown arg --with-target-system-zlib compilers: Checking arg --enable-objc-gc=auto compilers: Unknown arg --enable-objc-gc=auto compilers: Checking arg --enable-targets=all compilers: Unknown arg --enable-targets=all compilers: Checking arg --enable-multiarch compilers: Unknown arg --enable-multiarch compilers: Checking arg --disable-werror compilers: Unknown arg --disable-werror compilers: Checking arg --with-arch-32=i686 compilers: Unknown arg --with-arch-32=i686 compilers: Checking arg --with-multilib-list=m32,m64,mx32 compilers: Unknown arg --with-multilib-list=m32,m64,mx32 compilers: Checking arg --enable-multilib compilers: Unknown arg --enable-multilib compilers: Checking arg --with-tune=generic compilers: Unknown arg --with-tune=generic compilers: Checking arg --enable-checking=release compilers: Unknown arg --enable-checking=release compilers: Checking arg --build=i686-linux-gnu compilers: Unknown arg --build=i686-linux-gnu compilers: Checking arg --host=i686-linux-gnu compilers: Unknown arg --host=i686-linux-gnu compilers: Checking arg --target=i686-linux-gnu compilers: Unknown arg --target=i686-linux-gnu compilers: Checking arg Thread compilers: Unknown arg Thread compilers: Checking arg model: compilers: Unknown arg model: compilers: Checking arg posix compilers: Unknown arg posix compilers: Checking arg gcc compilers: Unknown arg gcc compilers: Checking arg version compilers: Unknown arg version compilers: Checking arg 7.2.0 compilers: Unknown arg 7.2.0 compilers: Checking arg (Ubuntu compilers: Unknown arg (Ubuntu compilers: Checking arg 7.2.0-3ubuntu1) compilers: Unknown arg 7.2.0-3ubuntu1) compilers: Checking arg Reading compilers: Unknown arg Reading compilers: Checking arg specs compilers: Unknown arg specs compilers: Checking arg from compilers: Unknown arg from compilers: Checking arg /usr/lib/gcc/i686-linux-gnu/7/libgfortran.spec compilers: Unknown arg /usr/lib/gcc/i686-linux-gnu/7/libgfortran.spec compilers: Checking arg rename compilers: Unknown arg rename compilers: Checking arg spec compilers: Unknown arg spec compilers: Checking arg lib compilers: Unknown arg lib compilers: Checking arg to compilers: Unknown arg to compilers: Checking arg liborig compilers: Unknown arg liborig compilers: Checking arg COLLECT_GCC_OPTIONS= compilers: Unknown arg COLLECT_GCC_OPTIONS= compilers: Checking arg COMPILER_PATH=/usr/lib/gcc/i686-linux-gnu/7/:/usr/lib/gcc/i686-linux-gnu/7/:/usr/lib/gcc/i686-linux-gnu/:/usr/lib/gcc/i686-linux-gnu/7/:/usr/lib/gcc/i686-linux-gnu/ compilers: Skipping arg COMPILER_PATH=/usr/lib/gcc/i686-linux-gnu/7/:/usr/lib/gcc/i686-linux-gnu/7/:/usr/lib/gcc/i686-linux-gnu/:/usr/lib/gcc/i686-linux-gnu/7/:/usr/lib/gcc/i686-linux-gnu/ compilers: Checking arg LIBRARY_PATH=/usr/lib/gcc/i686-linux-gnu/7/:/usr/lib/gcc/i686-linux-gnu/7/../../../i386-linux-gnu/:/usr/lib/gcc/i686-linux-gnu/7/../../../../lib/:/lib/i386-linux-gnu/:/lib/../lib/:/usr/lib/i386-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/i686-linux-gnu/7/../../../:/lib/:/usr/lib/ compilers: Skipping arg LIBRARY_PATH=/usr/lib/gcc/i686-linux-gnu/7/:/usr/lib/gcc/i686-linux-gnu/7/../../../i386-linux-gnu/:/usr/lib/gcc/i686-linux-gnu/7/../../../../lib/:/lib/i386-linux-gnu/:/lib/../lib/:/usr/lib/i386-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/i686-linux-gnu/7/../../../:/lib/:/usr/lib/ compilers: Checking arg COLLECT_GCC_OPTIONS= compilers: Unknown arg COLLECT_GCC_OPTIONS= compilers: Checking arg /usr/lib/gcc/i686-linux-gnu/7/collect2 compilers: Unknown arg /usr/lib/gcc/i686-linux-gnu/7/collect2 compilers: Checking arg -plugin compilers: Unknown arg -plugin compilers: Checking arg /usr/lib/gcc/i686-linux-gnu/7/liblto_plugin.so compilers: Unknown arg /usr/lib/gcc/i686-linux-gnu/7/liblto_plugin.so compilers: Checking arg -plugin-opt=/usr/lib/gcc/i686-linux-gnu/7/lto-wrapper compilers: Unknown arg -plugin-opt=/usr/lib/gcc/i686-linux-gnu/7/lto-wrapper compilers: Checking arg -plugin-opt=-fresolution=/tmp/ccTdEsKu.res compilers: Unknown arg -plugin-opt=-fresolution=/tmp/ccTdEsKu.res compilers: Checking arg -plugin-opt=-pass-through=-lgcc_s compilers: Unknown arg -plugin-opt=-pass-through=-lgcc_s compilers: Checking arg -plugin-opt=-pass-through=-lgcc compilers: Unknown arg -plugin-opt=-pass-through=-lgcc compilers: Checking arg -plugin-opt=-pass-through=-lquadmath compilers: Unknown arg -plugin-opt=-pass-through=-lquadmath compilers: Checking arg -plugin-opt=-pass-through=-lm compilers: Unknown arg -plugin-opt=-pass-through=-lm compilers: Checking arg -plugin-opt=-pass-through=-lgcc_s compilers: Unknown arg -plugin-opt=-pass-through=-lgcc_s compilers: Checking arg -plugin-opt=-pass-through=-lgcc compilers: Unknown arg -plugin-opt=-pass-through=-lgcc compilers: Checking arg -plugin-opt=-pass-through=-lc compilers: Unknown arg -plugin-opt=-pass-through=-lc compilers: Checking arg -plugin-opt=-pass-through=-lgcc_s compilers: Unknown arg -plugin-opt=-pass-through=-lgcc_s compilers: Checking arg -plugin-opt=-pass-through=-lgcc compilers: Unknown arg -plugin-opt=-pass-through=-lgcc compilers: Checking arg --sysroot=/ compilers: Unknown arg --sysroot=/ compilers: Checking arg --build-id compilers: Unknown arg --build-id compilers: Checking arg --eh-frame-hdr compilers: Unknown arg --eh-frame-hdr compilers: Checking arg -m compilers: Unknown arg -m compilers: Checking arg elf_i386 compilers: Unknown arg elf_i386 compilers: Checking arg --hash-style=gnu compilers: Unknown arg --hash-style=gnu compilers: Checking arg --as-needed compilers: Unknown arg --as-needed compilers: Checking arg -dynamic-linker compilers: Unknown arg -dynamic-linker compilers: Checking arg /lib/ld-linux.so.2 compilers: Unknown arg /lib/ld-linux.so.2 compilers: Checking arg -pie compilers: Unknown arg -pie compilers: Checking arg -z compilers: Unknown arg -z compilers: Checking arg now compilers: Unknown arg now compilers: Checking arg -z compilers: Unknown arg -z compilers: Checking arg relro compilers: Unknown arg relro compilers: Checking arg -o compilers: Unknown arg -o compilers: Checking arg /tmp/petsc-Ymuwb2/config.compilers/conftest compilers: Unknown arg /tmp/petsc-Ymuwb2/config.compilers/conftest compilers: Checking arg /usr/lib/gcc/i686-linux-gnu/7/../../../i386-linux-gnu/Scrt1.o compilers: Unknown arg /usr/lib/gcc/i686-linux-gnu/7/../../../i386-linux-gnu/Scrt1.o compilers: Checking arg /usr/lib/gcc/i686-linux-gnu/7/../../../i386-linux-gnu/crti.o compilers: Unknown arg /usr/lib/gcc/i686-linux-gnu/7/../../../i386-linux-gnu/crti.o compilers: Checking arg /usr/lib/gcc/i686-linux-gnu/7/crtbeginS.o compilers: Unknown arg /usr/lib/gcc/i686-linux-gnu/7/crtbeginS.o compilers: Checking arg -L/usr/lib/gcc/i686-linux-gnu/7 compilers: Already in lflags so skipping: -L/usr/lib/gcc/i686-linux-gnu/7 compilers: Checking arg -L/usr/lib/i386-linux-gnu compilers: Already in lflags so skipping: -L/usr/lib/i386-linux-gnu compilers: Checking arg -L/lib/i386-linux-gnu compilers: Already in lflags so skipping: -L/lib/i386-linux-gnu compilers: Checking arg -L/usr/lib/i386-linux-gnu compilers: Already in lflags so skipping: -L/usr/lib/i386-linux-gnu compilers: Checking arg -L/usr/lib/gcc/i686-linux-gnu/7 compilers: Already in lflags so skipping: -L/usr/lib/gcc/i686-linux-gnu/7 compilers: Checking arg -L/usr/lib/gcc/i686-linux-gnu/7/../../../i386-linux-gnu compilers: Already in lflags so skipping: -L/usr/lib/i386-linux-gnu compilers: Checking arg -L/usr/lib/gcc/i686-linux-gnu/7/../../../../lib compilers: Checking arg -L/lib/i386-linux-gnu compilers: Already in lflags so skipping: -L/lib/i386-linux-gnu compilers: Checking arg -L/lib/../lib compilers: Checking arg -L/usr/lib/i386-linux-gnu compilers: Already in lflags so skipping: -L/usr/lib/i386-linux-gnu compilers: Checking arg -L/usr/lib/../lib compilers: Checking arg -L/usr/lib/gcc/i686-linux-gnu/7/../../.. compilers: Checking arg -Bsymbolic-functions compilers: Unknown arg -Bsymbolic-functions compilers: Checking arg -z compilers: Unknown arg -z compilers: Checking arg relro compilers: Unknown arg relro compilers: Checking arg /tmp/petsc-Ymuwb2/config.compilers/conftest.o compilers: Unknown arg /tmp/petsc-Ymuwb2/config.compilers/conftest.o compilers: Checking arg -ldl compilers: Already in lflags: -ldl compilers: Checking arg -lgcc_s compilers: Already in lflags: -lgcc_s compilers: Checking arg -ldl compilers: Already in lflags: -ldl compilers: Checking arg -lgfortran compilers: Found library: -lgfortran compilers: Checking arg -lm compilers: Found library: -lm compilers: Checking arg -lgcc_s compilers: Already in lflags: -lgcc_s compilers: Checking arg -lgcc compilers: Found system library therefor skipping: -lgcc compilers: Checking arg -lquadmath compilers: Found library: -lquadmath compilers: Checking arg -lm compilers: Already in lflags: -lm compilers: Checking arg -lgcc_s compilers: Already in lflags: -lgcc_s compilers: Checking arg -lgcc compilers: Found system library therefor skipping: -lgcc compilers: Checking arg -lc compilers: Found system library therefor skipping: -lc compilers: Checking arg -lgcc_s compilers: Already in lflags: -lgcc_s compilers: Checking arg -lgcc compilers: Found system library therefor skipping: -lgcc compilers: Checking arg /usr/lib/gcc/i686-linux-gnu/7/crtendS.o compilers: Unknown arg /usr/lib/gcc/i686-linux-gnu/7/crtendS.o compilers: Checking arg /usr/lib/gcc/i686-linux-gnu/7/../../../i386-linux-gnu/crtn.o compilers: Unknown arg /usr/lib/gcc/i686-linux-gnu/7/../../../i386-linux-gnu/crtn.o compilers: Checking arg COLLECT_GCC_OPTIONS= compilers: Unknown arg COLLECT_GCC_OPTIONS= compilers: Libraries needed to link Fortran code with the C linker: ['-L/usr/lib/gcc/i686-linux-gnu/7', '-L/usr/lib/i386-linux-gnu', '-L/lib/i386-linux-gnu', '-lgfortran', '-lm', '-lgfortran', '-lm', '-lquadmath'] compilers: Libraries needed to link Fortran main with the C linker: [] compilers: Check that Fortran libraries can be used from C Pushing language C Popping language C Pushing language C Popping language C Pushing language C Popping language C Pushing language C Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: gcc -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -lgfortran -lm -lgfortran -lm -lquadmath -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: gcc -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -lgfortran -lm -lgfortran -lm -lquadmath -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl -lpetsc-ufod4vtr9mqHvKIQiVAm Possible ERROR while running linker: exit code 256 stderr: /usr/bin/ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm collect2: error: ld returned 1 exit status Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: gcc -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -lgfortran -lm -lgfortran -lm -lquadmath -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Testing executable /tmp/petsc-Ymuwb2/config.setCompilers/conftest to see if it can be run Executing: /tmp/petsc-Ymuwb2/config.setCompilers/conftest Executing: /tmp/petsc-Ymuwb2/config.setCompilers/conftest Popping language C compilers: Check that Fortran libraries can be used from C++ Pushing language CXX Popping language CXX Pushing language CXX Popping language CXX Pushing language CXX Popping language CXX compilers: Fortran libraries can be used from C++ Pushing language Cxx Executing: g++ -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: g++ -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: g++ -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -Wl,--no-as-needed -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -lgfortran -lm -lgfortran -lm -lquadmath -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Executing: g++ -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: g++ -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -Wl,--no-as-needed -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -lgfortran -lm -lgfortran -lm -lquadmath -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl -lpetsc-ufod4vtr9mqHvKIQiVAm Possible ERROR while running linker: exit code 256 stderr: /usr/bin/ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm collect2: error: ld returned 1 exit status Executing: g++ -c -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: g++ -o /tmp/petsc-Ymuwb2/config.setCompilers/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -Wl,--no-as-needed -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.setCompilers/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -lgfortran -lm -lgfortran -lm -lquadmath -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Testing executable /tmp/petsc-Ymuwb2/config.setCompilers/conftest to see if it can be run Executing: /tmp/petsc-Ymuwb2/config.setCompilers/conftest Executing: /tmp/petsc-Ymuwb2/config.setCompilers/conftest Popping language Cxx ================================================================================ TEST checkFortranLinkingCxx from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:1095) TESTING: checkFortranLinkingCxx from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:1095) Check that Fortran can be linked against C++ Pushing language Cxx Executing: g++ -c -o /tmp/petsc-Ymuwb2/config.compilers/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" extern "C" void d1chk_(void); void foo(void){d1chk_();} Popping language Cxx Pushing language Cxx Executing: g++ -c -o /tmp/petsc-Ymuwb2/config.compilers/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" extern "C" void d1chk_(void); void d1chk_(void){return;} Popping language Cxx Pushing language FC Executing: gfortran -c -o /tmp/petsc-Ymuwb2/config.compilers/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.compilers/conftest.F90 Successful compile: Source: program main call d1chk() end Pushing language FC Popping language FC Executing: gfortran -o /tmp/petsc-Ymuwb2/config.compilers/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC /tmp/petsc-Ymuwb2/config.compilers/conftest.o /tmp/petsc-Ymuwb2/config.compilers/cxxobj.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s /tmp/petsc-Ymuwb2/config.compilers/confc.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Popping language FC compilers: Fortran can link C++ functions ================================================================================ TEST checkFortran90 from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:1130) TESTING: checkFortran90 from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:1130) Determine whether the Fortran compiler handles F90 Pushing language FC Executing: gfortran -c -o /tmp/petsc-Ymuwb2/config.compilers/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.compilers/conftest.F90 Successful compile: Source: program main INTEGER, PARAMETER :: int = SELECTED_INT_KIND(8) INTEGER (KIND=int) :: ierr ierr = 1 end Pushing language FC Popping language FC Executing: gfortran -o /tmp/petsc-Ymuwb2/config.compilers/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC /tmp/petsc-Ymuwb2/config.compilers/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Defined "USING_F90" to "1" Fortran compiler supports F90 Popping language FC ================================================================================ TEST checkFortran90FreeForm from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:1143) TESTING: checkFortran90FreeForm from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:1143) Determine whether the Fortran compiler handles F90FreeForm We also require that the compiler handles lines longer than 132 characters Pushing language FC Executing: gfortran -c -o /tmp/petsc-Ymuwb2/config.compilers/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.compilers/conftest.F90 Possible ERROR while running compiler: exit code 256 stderr: /tmp/petsc-Ymuwb2/config.compilers/conftest.F90:2:132: INTEGER, PARAMETER :: int = SELECTED_INT_KIND(8); INTEGER (KIND=int) :: ierr; ierr = 1 1 Error: Line truncated at (1) [-Werror=line-truncation] /tmp/petsc-Ymuwb2/config.compilers/conftest.F90:2:110: INTEGER, PARAMETER :: int = SELECTED_INT_KIND(8); INTEGER (KIND=int) :: ierr; ierr = 1 1 Error: Unclassifiable statement at (1) f951: some warnings being treated as errors Source: program main INTEGER, PARAMETER :: int = SELECTED_INT_KIND(8); INTEGER (KIND=int) :: ierr; ierr = 1 end Compile failed inside link Fortran compiler does not support F90FreeForm Popping language FC ================================================================================ TEST checkFortran2003 from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:1157) TESTING: checkFortran2003 from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:1157) Determine whether the Fortran compiler handles F2003 Pushing language FC Executing: gfortran -c -o /tmp/petsc-Ymuwb2/config.compilers/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.compilers/conftest.F90 Successful compile: Source: module Base_module type, public :: base_type integer :: A contains procedure, public :: Print => BasePrint end type base_type contains subroutine BasePrint(this) class(base_type) :: this end subroutine BasePrint end module Base_module program main use,intrinsic :: iso_c_binding Type(C_Ptr),Dimension(:),Pointer :: CArray character(kind=c_char),pointer :: nullc => null() character(kind=c_char,len=5),dimension(:),pointer::list1 allocate(list1(5)) CArray = (/(c_loc(list1(i)),i=1,5),c_loc(nullc)/) end Pushing language FC Popping language FC Executing: gfortran -o /tmp/petsc-Ymuwb2/config.compilers/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC /tmp/petsc-Ymuwb2/config.compilers/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Defined "USING_F2003" to "1" Fortran compiler supports F2003 Popping language FC ================================================================================ TEST checkFortran90Array from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:1191) TESTING: checkFortran90Array from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:1191) Check for F90 array interfaces Executing: uname -s stdout: Linux Pushing language C Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.compilers/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include void f90arraytest_(void* a1, void* a2,void* a3, void* i) { printf("arrays [%p %p %p]\n",a1,a2,a3); fflush(stdout); return; } void f90ptrtest_(void* a1, void* a2,void* a3, void* i, void* p1 ,void* p2, void* p3) { printf("arrays [%p %p %p]\n",a1,a2,a3); if ((p1 == p3) && (p1 != p2)) { printf("pointers match! [%p %p] [%p]\n",p1,p3,p2); fflush(stdout); } else { printf("pointers do not match! [%p %p] [%p]\n",p1,p3,p2); fflush(stdout); exit(111); } return; } Popping language C Pushing language FC Executing: gfortran -c -o /tmp/petsc-Ymuwb2/config.compilers/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.compilers/conftest.F90 Successful compile: Source: program main Interface Subroutine f90ptrtest(p1,p2,p3,i) integer, pointer :: p1(:,:) integer, pointer :: p2(:,:) integer, pointer :: p3(:,:) integer i End Subroutine End Interface integer, pointer :: ptr1(:,:),ptr2(:,:) integer, target :: array(6:8,9:21) integer in in = 25 ptr1 => array ptr2 => array call f90arraytest(ptr1,ptr2,ptr1,in) call f90ptrtest(ptr1,ptr2,ptr1,in) end Pushing language FC Popping language FC Executing: gfortran -o /tmp/petsc-Ymuwb2/config.compilers/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC /tmp/petsc-Ymuwb2/config.compilers/conftest.o /tmp/petsc-Ymuwb2/config.compilers/fooobj.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Testing executable /tmp/petsc-Ymuwb2/config.compilers/conftest to see if it can be run Executing: /tmp/petsc-Ymuwb2/config.compilers/conftest Executing: /tmp/petsc-Ymuwb2/config.compilers/conftest stdout: arrays [0xff872910 0xff872910 0xff872910] arrays [0xff8728c8 0xff8728ec 0xff8728c8] pointers do not match! [0xff8728c4 0xff872910] [0xff8728ec] ERROR while running executable: Could not execute "/tmp/petsc-Ymuwb2/config.compilers/conftest": arrays [0xff872910 0xff872910 0xff872910] arrays [0xff8728c8 0xff8728ec 0xff8728c8] pointers do not match! [0xff8728c4 0xff872910] [0xff8728ec] Popping language FC compilers: F90 uses a single argument for array pointers ================================================================================ TEST checkFortranModuleInclude from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:1278) TESTING: checkFortranModuleInclude from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:1278) Figures out what flag is used to specify the include path for Fortran modules Pushing language FC Executing: gfortran -c -o /tmp/petsc-Ymuwb2/config.compilers/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.compilers/conftest.F90 Successful compile: Source: module configtest integer testint parameter (testint = 42) end module configtest Pushing language FC Executing: gfortran -c -o /tmp/petsc-Ymuwb2/config.compilers/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.compilers/confdir -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.compilers/conftest.F90 Successful compile: Source: program main use configtest write(*,*) testint end Pushing language FC Popping language FC Executing: gfortran -o /tmp/petsc-Ymuwb2/config.compilers/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -I/tmp/petsc-Ymuwb2/config.compilers/confdir -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC /tmp/petsc-Ymuwb2/config.compilers/conftest.o /tmp/petsc-Ymuwb2/config.compilers/configtest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl compilers: Fortran module include flag -I found Popping language FC ================================================================================ TEST checkFortranModuleOutput from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:1344) TESTING: checkFortranModuleOutput from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:1344) Figures out what flag is used to specify the include path for Fortran modules Pushing language FC Executing: gfortran -c -o /tmp/petsc-Ymuwb2/config.compilers/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -module /tmp/petsc-Ymuwb2/config.compilers/confdir -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.compilers/conftest.F90 Possible ERROR while running compiler: exit code 256 stderr: gfortran: error: unrecognized command line option ‘-module’; did you mean ‘-mhle’? Source: module configtest integer testint parameter (testint = 42) end module configtest compilers: Fortran module output flag -module compile failed Executing: gfortran -c -o /tmp/petsc-Ymuwb2/config.compilers/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -module:/tmp/petsc-Ymuwb2/config.compilers/confdir -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.compilers/conftest.F90 Possible ERROR while running compiler: exit code 256 stderr: gfortran: error: unrecognized command line option ‘-module:/tmp/petsc-Ymuwb2/config.compilers/confdir’ Source: module configtest integer testint parameter (testint = 42) end module configtest compilers: Fortran module output flag -module: compile failed Executing: gfortran -c -o /tmp/petsc-Ymuwb2/config.compilers/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -fmod=/tmp/petsc-Ymuwb2/config.compilers/confdir -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.compilers/conftest.F90 Possible ERROR while running compiler: exit code 256 stderr: gfortran: error: unrecognized command line option ‘-fmod=/tmp/petsc-Ymuwb2/config.compilers/confdir’ Source: module configtest integer testint parameter (testint = 42) end module configtest compilers: Fortran module output flag -fmod= compile failed Executing: gfortran -c -o /tmp/petsc-Ymuwb2/config.compilers/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -J/tmp/petsc-Ymuwb2/config.compilers/confdir -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.compilers/conftest.F90 Successful compile: Source: module configtest integer testint parameter (testint = 42) end module configtest compilers: Fortran module output flag -J found Popping language FC ================================================================================ TEST setupFrameworkCompilers from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:1503) TESTING: setupFrameworkCompilers from config.compilers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/compilers.py:1503) ================================================================================ TEST configureClosure from config.utilities.closure(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/utilities/closure.py:18) TESTING: configureClosure from config.utilities.closure(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/utilities/closure.py:18) Determine if Apple ^close syntax is supported in C Pushing language C All intermediate test results are stored in /tmp/petsc-Ymuwb2/config.utilities.closure Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.utilities.closure/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.utilities.closure/conftest.c Possible ERROR while running compiler: exit code 256 stderr: /tmp/petsc-Ymuwb2/config.utilities.closure/conftest.c: In function ‘main’: /tmp/petsc-Ymuwb2/config.utilities.closure/conftest.c:6:6: error: expected identifier or ‘(’ before ‘^’ token int (^closure)(int);; ^ Source: #include "confdefs.h" #include "conffix.h" #include int main() { int (^closure)(int);; return 0; } Compile failed inside link ================================================================================ TEST configureFortranCPP from PETSc.options.fortranCPP(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/fortranCPP.py:21) TESTING: configureFortranCPP from PETSc.options.fortranCPP(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/fortranCPP.py:21) Handle case where Fortran cannot preprocess properly Defined make rule ".f.o .f90.o .f95.o" with dependencies "" and code ['${PETSC_MAKE_STOP_ON_ERROR}${FC} -c ${FC_FLAGS} ${FFLAGS} -o $@ $<'] Defined make rule ".f.a" with dependencies "" and code ['${PETSC_MAKE_STOP_ON_ERROR}${FC} -c ${FC_FLAGS} ${FFLAGS} $<', '-${AR} ${AR_FLAGS} ${LIBNAME} $*.o', '-${RM} $*.o'] Defined make rule ".F.o .F90.o .F95.o" with dependencies "" and code ['${PETSC_MAKE_STOP_ON_ERROR}${FC} -c ${FC_FLAGS} ${FFLAGS} ${FCPPFLAGS} -o $@ $<'] Defined make rule ".F.a" with dependencies "" and code ['${PETSC_MAKE_STOP_ON_ERROR}${FC} -c ${FC_FLAGS} ${FFLAGS} ${FCPPFLAGS} $<', '-${AR} ${AR_FLAGS} ${LIBNAME} $*.o', '-${RM} $*.o'] ================================================================================ TEST checkStdC from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:105) TESTING: checkStdC from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:105) Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.headers/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include #include int main() { ; return 0; } Source: #include "confdefs.h" #include "conffix.h" #include Executing: gcc -E -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/usr/include/string.h" 1 3 4 # 25 "/usr/include/string.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 364 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/sys/cdefs.h" 1 3 4 # 415 "/usr/include/i386-linux-gnu/sys/cdefs.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 416 "/usr/include/i386-linux-gnu/sys/cdefs.h" 2 3 4 # 365 "/usr/include/features.h" 2 3 4 # 388 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs.h" 1 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs-32.h" 1 3 4 # 8 "/usr/include/i386-linux-gnu/gnu/stubs.h" 2 3 4 # 389 "/usr/include/features.h" 2 3 4 # 26 "/usr/include/string.h" 2 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 216 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 3 4 # 216 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 3 4 typedef unsigned int size_t; # 33 "/usr/include/string.h" 2 3 4 extern void *memcpy (void *__restrict __dest, const void *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memmove (void *__dest, const void *__src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memccpy (void *__restrict __dest, const void *__restrict __src, int __c, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int memcmp (const void *__s1, const void *__s2, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 92 "/usr/include/string.h" 3 4 extern void *memchr (const void *__s, int __c, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 123 "/usr/include/string.h" 3 4 extern char *strcpy (char *__restrict __dest, const char *__restrict __src) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strncpy (char *__restrict __dest, const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strcat (char *__restrict __dest, const char *__restrict __src) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strncat (char *__restrict __dest, const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int strcmp (const char *__s1, const char *__s2) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strncmp (const char *__s1, const char *__s2, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strcoll (const char *__s1, const char *__s2) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern size_t strxfrm (char *__restrict __dest, const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); # 1 "/usr/include/xlocale.h" 1 3 4 # 27 "/usr/include/xlocale.h" 3 4 typedef struct __locale_struct { struct __locale_data *__locales[13]; const unsigned short int *__ctype_b; const int *__ctype_tolower; const int *__ctype_toupper; const char *__names[13]; } *__locale_t; typedef __locale_t locale_t; # 160 "/usr/include/string.h" 2 3 4 extern int strcoll_l (const char *__s1, const char *__s2, __locale_t __l) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3))); extern size_t strxfrm_l (char *__dest, const char *__src, size_t __n, __locale_t __l) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))); extern char *strdup (const char *__s) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); extern char *strndup (const char *__string, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); # 206 "/usr/include/string.h" 3 4 # 231 "/usr/include/string.h" 3 4 extern char *strchr (const char *__s, int __c) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 258 "/usr/include/string.h" 3 4 extern char *strrchr (const char *__s, int __c) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 277 "/usr/include/string.h" 3 4 extern size_t strcspn (const char *__s, const char *__reject) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern size_t strspn (const char *__s, const char *__accept) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 310 "/usr/include/string.h" 3 4 extern char *strpbrk (const char *__s, const char *__accept) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 337 "/usr/include/string.h" 3 4 extern char *strstr (const char *__haystack, const char *__needle) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strtok (char *__restrict __s, const char *__restrict __delim) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern char *__strtok_r (char *__restrict __s, const char *__restrict __delim, char **__restrict __save_ptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, char **__restrict __save_ptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); # 392 "/usr/include/string.h" 3 4 extern size_t strlen (const char *__s) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern size_t strnlen (const char *__string, size_t __maxlen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern char *strerror (int __errnum) __attribute__ ((__nothrow__ , __leaf__)); # 422 "/usr/include/string.h" 3 4 extern int strerror_r (int __errnum, char *__buf, size_t __buflen) __asm__ ("" "__xpg_strerror_r") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); # 440 "/usr/include/string.h" 3 4 extern char *strerror_l (int __errnum, __locale_t __l) __attribute__ ((__nothrow__ , __leaf__)); extern void __bzero (void *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern void bcopy (const void *__src, void *__dest, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int bcmp (const void *__s1, const void *__s2, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 484 "/usr/include/string.h" 3 4 extern char *index (const char *__s, int __c) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 512 "/usr/include/string.h" 3 4 extern char *rindex (const char *__s, int __c) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern int ffs (int __i) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); # 529 "/usr/include/string.h" 3 4 extern int strcasecmp (const char *__s1, const char *__s2) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 552 "/usr/include/string.h" 3 4 extern char *strsep (char **__restrict __stringp, const char *__restrict __delim) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strsignal (int __sig) __attribute__ ((__nothrow__ , __leaf__)); extern char *__stpcpy (char *__restrict __dest, const char *__restrict __src) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *stpcpy (char *__restrict __dest, const char *__restrict __src) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *__stpncpy (char *__restrict __dest, const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *stpncpy (char *__restrict __dest, const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); # 656 "/usr/include/string.h" 3 4 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 Source: #include "confdefs.h" #include "conffix.h" #include Executing: gcc -E -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/usr/include/stdlib.h" 1 3 4 # 24 "/usr/include/stdlib.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 364 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/sys/cdefs.h" 1 3 4 # 415 "/usr/include/i386-linux-gnu/sys/cdefs.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 416 "/usr/include/i386-linux-gnu/sys/cdefs.h" 2 3 4 # 365 "/usr/include/features.h" 2 3 4 # 388 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs.h" 1 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs-32.h" 1 3 4 # 8 "/usr/include/i386-linux-gnu/gnu/stubs.h" 2 3 4 # 389 "/usr/include/features.h" 2 3 4 # 25 "/usr/include/stdlib.h" 2 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 216 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 3 4 # 216 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 3 4 typedef unsigned int size_t; # 328 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 3 4 typedef long int wchar_t; # 33 "/usr/include/stdlib.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/waitflags.h" 1 3 4 # 50 "/usr/include/i386-linux-gnu/bits/waitflags.h" 3 4 typedef enum { P_ALL, P_PID, P_PGID } idtype_t; # 42 "/usr/include/stdlib.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/waitstatus.h" 1 3 4 # 43 "/usr/include/stdlib.h" 2 3 4 # 56 "/usr/include/stdlib.h" 3 4 typedef struct { int quot; int rem; } div_t; typedef struct { long int quot; long int rem; } ldiv_t; __extension__ typedef struct { long long int quot; long long int rem; } lldiv_t; # 100 "/usr/include/stdlib.h" 3 4 extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__ , __leaf__)) ; extern double atof (const char *__nptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern int atoi (const char *__nptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern long int atol (const char *__nptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; __extension__ extern long long int atoll (const char *__nptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern double strtod (const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern float strtof (const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern long double strtold (const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern long int strtol (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern unsigned long int strtoul (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); __extension__ extern long long int strtoq (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); __extension__ extern unsigned long long int strtouq (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); __extension__ extern long long int strtoll (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); __extension__ extern unsigned long long int strtoull (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 266 "/usr/include/stdlib.h" 3 4 extern char *l64a (long int __n) __attribute__ ((__nothrow__ , __leaf__)) ; extern long int a64l (const char *__s) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; # 1 "/usr/include/i386-linux-gnu/sys/types.h" 1 3 4 # 27 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/types.h" 1 3 4 # 27 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 28 "/usr/include/i386-linux-gnu/bits/types.h" 2 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; __extension__ typedef signed long long int __int64_t; __extension__ typedef unsigned long long int __uint64_t; __extension__ typedef long long int __quad_t; __extension__ typedef unsigned long long int __u_quad_t; # 121 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/typesizes.h" 1 3 4 # 122 "/usr/include/i386-linux-gnu/bits/types.h" 2 3 4 __extension__ typedef __u_quad_t __dev_t; __extension__ typedef unsigned int __uid_t; __extension__ typedef unsigned int __gid_t; __extension__ typedef unsigned long int __ino_t; __extension__ typedef __u_quad_t __ino64_t; __extension__ typedef unsigned int __mode_t; __extension__ typedef unsigned int __nlink_t; __extension__ typedef long int __off_t; __extension__ typedef __quad_t __off64_t; __extension__ typedef int __pid_t; __extension__ typedef struct { int __val[2]; } __fsid_t; __extension__ typedef long int __clock_t; __extension__ typedef unsigned long int __rlim_t; __extension__ typedef __u_quad_t __rlim64_t; __extension__ typedef unsigned int __id_t; __extension__ typedef long int __time_t; __extension__ typedef unsigned int __useconds_t; __extension__ typedef long int __suseconds_t; __extension__ typedef int __daddr_t; __extension__ typedef int __key_t; __extension__ typedef int __clockid_t; __extension__ typedef void * __timer_t; __extension__ typedef long int __blksize_t; __extension__ typedef long int __blkcnt_t; __extension__ typedef __quad_t __blkcnt64_t; __extension__ typedef unsigned long int __fsblkcnt_t; __extension__ typedef __u_quad_t __fsblkcnt64_t; __extension__ typedef unsigned long int __fsfilcnt_t; __extension__ typedef __u_quad_t __fsfilcnt64_t; __extension__ typedef int __fsword_t; __extension__ typedef int __ssize_t; __extension__ typedef long int __syscall_slong_t; __extension__ typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; __extension__ typedef int __intptr_t; __extension__ typedef unsigned int __socklen_t; # 30 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino_t ino_t; # 60 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off_t off_t; # 98 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 132 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/include/time.h" 1 3 4 # 57 "/usr/include/time.h" 3 4 typedef __clock_t clock_t; # 73 "/usr/include/time.h" 3 4 typedef __time_t time_t; # 91 "/usr/include/time.h" 3 4 typedef __clockid_t clockid_t; # 103 "/usr/include/time.h" 3 4 typedef __timer_t timer_t; # 133 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 # 146 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 147 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 194 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 typedef int int8_t __attribute__ ((__mode__ (__QI__))); typedef int int16_t __attribute__ ((__mode__ (__HI__))); typedef int int32_t __attribute__ ((__mode__ (__SI__))); typedef int int64_t __attribute__ ((__mode__ (__DI__))); typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 216 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/include/endian.h" 1 3 4 # 36 "/usr/include/endian.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/endian.h" 1 3 4 # 37 "/usr/include/endian.h" 2 3 4 # 60 "/usr/include/endian.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/byteswap.h" 1 3 4 # 28 "/usr/include/i386-linux-gnu/bits/byteswap.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 29 "/usr/include/i386-linux-gnu/bits/byteswap.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/byteswap-16.h" 1 3 4 # 36 "/usr/include/i386-linux-gnu/bits/byteswap.h" 2 3 4 # 44 "/usr/include/i386-linux-gnu/bits/byteswap.h" 3 4 static __inline unsigned int __bswap_32 (unsigned int __bsx) { return __builtin_bswap32 (__bsx); } # 108 "/usr/include/i386-linux-gnu/bits/byteswap.h" 3 4 static __inline __uint64_t __bswap_64 (__uint64_t __bsx) { return __builtin_bswap64 (__bsx); } # 61 "/usr/include/endian.h" 2 3 4 # 217 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/sys/select.h" 1 3 4 # 30 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/select.h" 1 3 4 # 22 "/usr/include/i386-linux-gnu/bits/select.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 23 "/usr/include/i386-linux-gnu/bits/select.h" 2 3 4 # 31 "/usr/include/i386-linux-gnu/sys/select.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/sigset.h" 1 3 4 # 22 "/usr/include/i386-linux-gnu/bits/sigset.h" 3 4 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 34 "/usr/include/i386-linux-gnu/sys/select.h" 2 3 4 typedef __sigset_t sigset_t; # 1 "/usr/include/time.h" 1 3 4 # 120 "/usr/include/time.h" 3 4 struct timespec { __time_t tv_sec; __syscall_slong_t tv_nsec; }; # 46 "/usr/include/i386-linux-gnu/sys/select.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/time.h" 1 3 4 # 30 "/usr/include/i386-linux-gnu/bits/time.h" 3 4 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 48 "/usr/include/i386-linux-gnu/sys/select.h" 2 3 4 typedef __suseconds_t suseconds_t; typedef long int __fd_mask; # 66 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 typedef struct { __fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; # 98 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 # 108 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); # 120 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); # 133 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 # 220 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/sys/sysmacros.h" 1 3 4 # 24 "/usr/include/i386-linux-gnu/sys/sysmacros.h" 3 4 __extension__ extern unsigned int gnu_dev_major (unsigned long long int __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern unsigned int gnu_dev_minor (unsigned long long int __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); # 58 "/usr/include/i386-linux-gnu/sys/sysmacros.h" 3 4 # 223 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 typedef __blksize_t blksize_t; typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 270 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 1 3 4 # 21 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 22 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 2 3 4 # 60 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 typedef unsigned long int pthread_t; union pthread_attr_t { char __size[36]; long int __align; }; typedef union pthread_attr_t pthread_attr_t; # 81 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 typedef struct __pthread_internal_slist { struct __pthread_internal_slist *__next; } __pthread_slist_t; typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; int __kind; # 111 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 unsigned int __nusers; __extension__ union { struct { short __espins; short __elision; } __elision_data; __pthread_slist_t __list; }; } __data; char __size[24]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { # 202 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; unsigned char __flags; unsigned char __shared; signed char __rwelision; unsigned char __pad2; int __writer; } __data; char __size[32]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[20]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 271 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 # 276 "/usr/include/stdlib.h" 2 3 4 extern long int random (void) __attribute__ ((__nothrow__ , __leaf__)); extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__ , __leaf__)); extern char *initstate (unsigned int __seed, char *__statebuf, size_t __statelen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); struct random_data { int32_t *fptr; int32_t *rptr; int32_t *state; int rand_type; int rand_deg; int rand_sep; int32_t *end_ptr; }; extern int random_r (struct random_data *__restrict __buf, int32_t *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int srandom_r (unsigned int __seed, struct random_data *__buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, size_t __statelen, struct random_data *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))); extern int setstate_r (char *__restrict __statebuf, struct random_data *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int rand (void) __attribute__ ((__nothrow__ , __leaf__)); extern void srand (unsigned int __seed) __attribute__ ((__nothrow__ , __leaf__)); extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__ , __leaf__)); extern double drand48 (void) __attribute__ ((__nothrow__ , __leaf__)); extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern long int lrand48 (void) __attribute__ ((__nothrow__ , __leaf__)); extern long int nrand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern long int mrand48 (void) __attribute__ ((__nothrow__ , __leaf__)); extern long int jrand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern void srand48 (long int __seedval) __attribute__ ((__nothrow__ , __leaf__)); extern unsigned short int *seed48 (unsigned short int __seed16v[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); struct drand48_data { unsigned short int __x[3]; unsigned short int __old_x[3]; unsigned short int __c; unsigned short int __init; __extension__ unsigned long long int __a; }; extern int drand48_r (struct drand48_data *__restrict __buffer, double *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int erand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, double *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int lrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int nrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int mrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int jrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int srand48_r (long int __seedval, struct drand48_data *__buffer) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int seed48_r (unsigned short int __seed16v[3], struct drand48_data *__buffer) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int lcong48_r (unsigned short int __param[7], struct drand48_data *__buffer) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern void *malloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; extern void *calloc (size_t __nmemb, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; extern void *realloc (void *__ptr, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern void free (void *__ptr) __attribute__ ((__nothrow__ , __leaf__)); extern void cfree (void *__ptr) __attribute__ ((__nothrow__ , __leaf__)); # 1 "/usr/include/alloca.h" 1 3 4 # 24 "/usr/include/alloca.h" 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 25 "/usr/include/alloca.h" 2 3 4 extern void *alloca (size_t __size) __attribute__ ((__nothrow__ , __leaf__)); # 454 "/usr/include/stdlib.h" 2 3 4 extern void *valloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern void *aligned_alloc (size_t __alignment, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__alloc_size__ (2))) ; extern void abort (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int at_quick_exit (void (*__func) (void)) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern void exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); extern void quick_exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); extern void _Exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); extern char *getenv (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; # 539 "/usr/include/stdlib.h" 3 4 extern int putenv (char *__string) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int setenv (const char *__name, const char *__value, int __replace) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int unsetenv (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int clearenv (void) __attribute__ ((__nothrow__ , __leaf__)); # 567 "/usr/include/stdlib.h" 3 4 extern char *mktemp (char *__template) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 580 "/usr/include/stdlib.h" 3 4 extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) ; # 602 "/usr/include/stdlib.h" 3 4 extern int mkstemps (char *__template, int __suffixlen) __attribute__ ((__nonnull__ (1))) ; # 623 "/usr/include/stdlib.h" 3 4 extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; # 672 "/usr/include/stdlib.h" 3 4 extern int system (const char *__command) ; # 694 "/usr/include/stdlib.h" 3 4 extern char *realpath (const char *__restrict __name, char *__restrict __resolved) __attribute__ ((__nothrow__ , __leaf__)) ; typedef int (*__compar_fn_t) (const void *, const void *); # 712 "/usr/include/stdlib.h" 3 4 extern void *bsearch (const void *__key, const void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 2, 5))) ; extern void qsort (void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4))); # 735 "/usr/include/stdlib.h" 3 4 extern int abs (int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; extern long int labs (long int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; __extension__ extern long long int llabs (long long int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; extern div_t div (int __numer, int __denom) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; extern ldiv_t ldiv (long int __numer, long int __denom) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; __extension__ extern lldiv_t lldiv (long long int __numer, long long int __denom) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; # 772 "/usr/include/stdlib.h" 3 4 extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *gcvt (double __value, int __ndigit, char *__buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))) ; extern char *qecvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *qfcvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *qgcvt (long double __value, int __ndigit, char *__buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))) ; extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int qecvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int qfcvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int mblen (const char *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); extern int mbtowc (wchar_t *__restrict __pwc, const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__ , __leaf__)); extern size_t mbstowcs (wchar_t *__restrict __pwcs, const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); extern size_t wcstombs (char *__restrict __s, const wchar_t *__restrict __pwcs, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); extern int rpmatch (const char *__response) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; # 859 "/usr/include/stdlib.h" 3 4 extern int getsubopt (char **__restrict __optionp, char *const *__restrict __tokens, char **__restrict __valuep) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2, 3))) ; # 911 "/usr/include/stdlib.h" 3 4 extern int getloadavg (double __loadavg[], int __nelem) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 921 "/usr/include/stdlib.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/stdlib-float.h" 1 3 4 # 922 "/usr/include/stdlib.h" 2 3 4 # 934 "/usr/include/stdlib.h" 3 4 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.headers/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main() { int i; for(i = 0; i < 256; i++) if (XOR(islower(i), ISLOWER(i)) || toupper(i) != TOUPPER(i)) exit(2); exit(0); ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.headers/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.headers/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Testing executable /tmp/petsc-Ymuwb2/config.headers/conftest to see if it can be run Executing: /tmp/petsc-Ymuwb2/config.headers/conftest Executing: /tmp/petsc-Ymuwb2/config.headers/conftest Defined "STDC_HEADERS" to "1" ================================================================================ TEST checkStat from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:138) TESTING: checkStat from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:138) Checks whether stat file-mode macros are broken, and defines STAT_MACROS_BROKEN if they are Source: #include "confdefs.h" #include "conffix.h" #include #include #if defined(S_ISBLK) && defined(S_IFDIR) # if S_ISBLK (S_IFDIR) You lose. # endif #endif #if defined(S_ISBLK) && defined(S_IFCHR) # if S_ISBLK (S_IFCHR) You lose. # endif #endif #if defined(S_ISLNK) && defined(S_IFREG) # if S_ISLNK (S_IFREG) You lose. # endif #endif #if defined(S_ISSOCK) && defined(S_IFREG) # if S_ISSOCK (S_IFREG) You lose. # endif #endif Executing: gcc -E -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/usr/include/i386-linux-gnu/sys/types.h" 1 3 4 # 25 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 364 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/sys/cdefs.h" 1 3 4 # 415 "/usr/include/i386-linux-gnu/sys/cdefs.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 416 "/usr/include/i386-linux-gnu/sys/cdefs.h" 2 3 4 # 365 "/usr/include/features.h" 2 3 4 # 388 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs.h" 1 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs-32.h" 1 3 4 # 8 "/usr/include/i386-linux-gnu/gnu/stubs.h" 2 3 4 # 389 "/usr/include/features.h" 2 3 4 # 26 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/types.h" 1 3 4 # 27 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 28 "/usr/include/i386-linux-gnu/bits/types.h" 2 3 4 # 30 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; __extension__ typedef signed long long int __int64_t; __extension__ typedef unsigned long long int __uint64_t; __extension__ typedef long long int __quad_t; __extension__ typedef unsigned long long int __u_quad_t; # 121 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/typesizes.h" 1 3 4 # 122 "/usr/include/i386-linux-gnu/bits/types.h" 2 3 4 __extension__ typedef __u_quad_t __dev_t; __extension__ typedef unsigned int __uid_t; __extension__ typedef unsigned int __gid_t; __extension__ typedef unsigned long int __ino_t; __extension__ typedef __u_quad_t __ino64_t; __extension__ typedef unsigned int __mode_t; __extension__ typedef unsigned int __nlink_t; __extension__ typedef long int __off_t; __extension__ typedef __quad_t __off64_t; __extension__ typedef int __pid_t; __extension__ typedef struct { int __val[2]; } __fsid_t; __extension__ typedef long int __clock_t; __extension__ typedef unsigned long int __rlim_t; __extension__ typedef __u_quad_t __rlim64_t; __extension__ typedef unsigned int __id_t; __extension__ typedef long int __time_t; __extension__ typedef unsigned int __useconds_t; __extension__ typedef long int __suseconds_t; __extension__ typedef int __daddr_t; __extension__ typedef int __key_t; __extension__ typedef int __clockid_t; __extension__ typedef void * __timer_t; __extension__ typedef long int __blksize_t; __extension__ typedef long int __blkcnt_t; __extension__ typedef __quad_t __blkcnt64_t; __extension__ typedef unsigned long int __fsblkcnt_t; __extension__ typedef __u_quad_t __fsblkcnt64_t; __extension__ typedef unsigned long int __fsfilcnt_t; __extension__ typedef __u_quad_t __fsfilcnt64_t; __extension__ typedef int __fsword_t; __extension__ typedef int __ssize_t; __extension__ typedef long int __syscall_slong_t; __extension__ typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; __extension__ typedef int __intptr_t; __extension__ typedef unsigned int __socklen_t; # 30 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino_t ino_t; # 60 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off_t off_t; # 98 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 132 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/include/time.h" 1 3 4 # 57 "/usr/include/time.h" 3 4 typedef __clock_t clock_t; # 73 "/usr/include/time.h" 3 4 typedef __time_t time_t; # 91 "/usr/include/time.h" 3 4 typedef __clockid_t clockid_t; # 103 "/usr/include/time.h" 3 4 typedef __timer_t timer_t; # 133 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 # 146 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 216 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 3 4 typedef unsigned int size_t; # 147 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 194 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 typedef int int8_t __attribute__ ((__mode__ (__QI__))); typedef int int16_t __attribute__ ((__mode__ (__HI__))); typedef int int32_t __attribute__ ((__mode__ (__SI__))); typedef int int64_t __attribute__ ((__mode__ (__DI__))); typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 216 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/include/endian.h" 1 3 4 # 36 "/usr/include/endian.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/endian.h" 1 3 4 # 37 "/usr/include/endian.h" 2 3 4 # 60 "/usr/include/endian.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/byteswap.h" 1 3 4 # 28 "/usr/include/i386-linux-gnu/bits/byteswap.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 29 "/usr/include/i386-linux-gnu/bits/byteswap.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/byteswap-16.h" 1 3 4 # 36 "/usr/include/i386-linux-gnu/bits/byteswap.h" 2 3 4 # 44 "/usr/include/i386-linux-gnu/bits/byteswap.h" 3 4 static __inline unsigned int __bswap_32 (unsigned int __bsx) { return __builtin_bswap32 (__bsx); } # 108 "/usr/include/i386-linux-gnu/bits/byteswap.h" 3 4 static __inline __uint64_t __bswap_64 (__uint64_t __bsx) { return __builtin_bswap64 (__bsx); } # 61 "/usr/include/endian.h" 2 3 4 # 217 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/sys/select.h" 1 3 4 # 30 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/select.h" 1 3 4 # 22 "/usr/include/i386-linux-gnu/bits/select.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 23 "/usr/include/i386-linux-gnu/bits/select.h" 2 3 4 # 31 "/usr/include/i386-linux-gnu/sys/select.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/sigset.h" 1 3 4 # 22 "/usr/include/i386-linux-gnu/bits/sigset.h" 3 4 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 34 "/usr/include/i386-linux-gnu/sys/select.h" 2 3 4 typedef __sigset_t sigset_t; # 1 "/usr/include/time.h" 1 3 4 # 120 "/usr/include/time.h" 3 4 struct timespec { __time_t tv_sec; __syscall_slong_t tv_nsec; }; # 46 "/usr/include/i386-linux-gnu/sys/select.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/time.h" 1 3 4 # 30 "/usr/include/i386-linux-gnu/bits/time.h" 3 4 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 48 "/usr/include/i386-linux-gnu/sys/select.h" 2 3 4 typedef __suseconds_t suseconds_t; typedef long int __fd_mask; # 66 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 typedef struct { __fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; # 98 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 # 108 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); # 120 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); # 133 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 # 220 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/sys/sysmacros.h" 1 3 4 # 24 "/usr/include/i386-linux-gnu/sys/sysmacros.h" 3 4 __extension__ extern unsigned int gnu_dev_major (unsigned long long int __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern unsigned int gnu_dev_minor (unsigned long long int __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); # 58 "/usr/include/i386-linux-gnu/sys/sysmacros.h" 3 4 # 223 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 typedef __blksize_t blksize_t; typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 270 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 1 3 4 # 21 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 22 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 2 3 4 # 60 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 typedef unsigned long int pthread_t; union pthread_attr_t { char __size[36]; long int __align; }; typedef union pthread_attr_t pthread_attr_t; # 81 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 typedef struct __pthread_internal_slist { struct __pthread_internal_slist *__next; } __pthread_slist_t; typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; int __kind; # 111 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 unsigned int __nusers; __extension__ union { struct { short __espins; short __elision; } __elision_data; __pthread_slist_t __list; }; } __data; char __size[24]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { # 202 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; unsigned char __flags; unsigned char __shared; signed char __rwelision; unsigned char __pad2; int __writer; } __data; char __size[32]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[20]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 271 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 # 5 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/usr/include/i386-linux-gnu/sys/stat.h" 1 3 4 # 36 "/usr/include/i386-linux-gnu/sys/stat.h" 3 4 # 1 "/usr/include/time.h" 1 3 4 # 37 "/usr/include/i386-linux-gnu/sys/stat.h" 2 3 4 # 102 "/usr/include/i386-linux-gnu/sys/stat.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/stat.h" 1 3 4 # 46 "/usr/include/i386-linux-gnu/bits/stat.h" 3 4 struct stat { __dev_t st_dev; unsigned short int __pad1; __ino_t st_ino; __mode_t st_mode; __nlink_t st_nlink; __uid_t st_uid; __gid_t st_gid; __dev_t st_rdev; unsigned short int __pad2; __off_t st_size; __blksize_t st_blksize; __blkcnt_t st_blocks; # 91 "/usr/include/i386-linux-gnu/bits/stat.h" 3 4 struct timespec st_atim; struct timespec st_mtim; struct timespec st_ctim; # 109 "/usr/include/i386-linux-gnu/bits/stat.h" 3 4 unsigned long int __glibc_reserved4; unsigned long int __glibc_reserved5; }; # 105 "/usr/include/i386-linux-gnu/sys/stat.h" 2 3 4 # 208 "/usr/include/i386-linux-gnu/sys/stat.h" 3 4 extern int stat (const char *__restrict __file, struct stat *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int fstat (int __fd, struct stat *__buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); # 237 "/usr/include/i386-linux-gnu/sys/stat.h" 3 4 extern int fstatat (int __fd, const char *__restrict __file, struct stat *__restrict __buf, int __flag) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); # 262 "/usr/include/i386-linux-gnu/sys/stat.h" 3 4 extern int lstat (const char *__restrict __file, struct stat *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); # 283 "/usr/include/i386-linux-gnu/sys/stat.h" 3 4 extern int chmod (const char *__file, __mode_t __mode) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int lchmod (const char *__file, __mode_t __mode) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int fchmod (int __fd, __mode_t __mode) __attribute__ ((__nothrow__ , __leaf__)); extern int fchmodat (int __fd, const char *__file, __mode_t __mode, int __flag) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) ; extern __mode_t umask (__mode_t __mask) __attribute__ ((__nothrow__ , __leaf__)); # 320 "/usr/include/i386-linux-gnu/sys/stat.h" 3 4 extern int mkdir (const char *__path, __mode_t __mode) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int mkdirat (int __fd, const char *__path, __mode_t __mode) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int mknod (const char *__path, __mode_t __mode, __dev_t __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int mknodat (int __fd, const char *__path, __mode_t __mode, __dev_t __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int mkfifo (const char *__path, __mode_t __mode) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int mkfifoat (int __fd, const char *__path, __mode_t __mode) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int utimensat (int __fd, const char *__path, const struct timespec __times[2], int __flags) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int futimens (int __fd, const struct timespec __times[2]) __attribute__ ((__nothrow__ , __leaf__)); # 398 "/usr/include/i386-linux-gnu/sys/stat.h" 3 4 extern int __fxstat (int __ver, int __fildes, struct stat *__stat_buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))); extern int __xstat (int __ver, const char *__filename, struct stat *__stat_buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); extern int __lxstat (int __ver, const char *__filename, struct stat *__stat_buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); extern int __fxstatat (int __ver, int __fildes, const char *__filename, struct stat *__stat_buf, int __flag) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))); # 441 "/usr/include/i386-linux-gnu/sys/stat.h" 3 4 extern int __xmknod (int __ver, const char *__path, __mode_t __mode, __dev_t *__dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))); extern int __xmknodat (int __ver, int __fd, const char *__path, __mode_t __mode, __dev_t *__dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 5))); # 533 "/usr/include/i386-linux-gnu/sys/stat.h" 3 4 # 6 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 ================================================================================ TEST checkSysWait from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:173) TESTING: checkSysWait from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:173) Check for POSIX.1 compatible sys/wait.h, and defines HAVE_SYS_WAIT_H if found Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.headers/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #ifndef WEXITSTATUS #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) #endif #ifndef WIFEXITED #define WIFEXITED(stat_val) (((stat_val) & 255) == 0) #endif int main() { int s; wait (&s); s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; ; return 0; } Defined "HAVE_SYS_WAIT_H" to "1" ================================================================================ TEST checkTime from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:195) TESTING: checkTime from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:195) Checks if you can safely include both and , and if so defines TIME_WITH_SYS_TIME Checking for header: time.h Executing: gcc -E -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/usr/include/time.h" 1 3 4 # 27 "/usr/include/time.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 364 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/sys/cdefs.h" 1 3 4 # 415 "/usr/include/i386-linux-gnu/sys/cdefs.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 416 "/usr/include/i386-linux-gnu/sys/cdefs.h" 2 3 4 # 365 "/usr/include/features.h" 2 3 4 # 388 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs.h" 1 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs-32.h" 1 3 4 # 8 "/usr/include/i386-linux-gnu/gnu/stubs.h" 2 3 4 # 389 "/usr/include/features.h" 2 3 4 # 28 "/usr/include/time.h" 2 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 216 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 3 4 # 216 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 3 4 typedef unsigned int size_t; # 38 "/usr/include/time.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/time.h" 1 3 4 # 42 "/usr/include/time.h" 2 3 4 # 55 "/usr/include/time.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/types.h" 1 3 4 # 27 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 28 "/usr/include/i386-linux-gnu/bits/types.h" 2 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; __extension__ typedef signed long long int __int64_t; __extension__ typedef unsigned long long int __uint64_t; __extension__ typedef long long int __quad_t; __extension__ typedef unsigned long long int __u_quad_t; # 121 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/typesizes.h" 1 3 4 # 122 "/usr/include/i386-linux-gnu/bits/types.h" 2 3 4 __extension__ typedef __u_quad_t __dev_t; __extension__ typedef unsigned int __uid_t; __extension__ typedef unsigned int __gid_t; __extension__ typedef unsigned long int __ino_t; __extension__ typedef __u_quad_t __ino64_t; __extension__ typedef unsigned int __mode_t; __extension__ typedef unsigned int __nlink_t; __extension__ typedef long int __off_t; __extension__ typedef __quad_t __off64_t; __extension__ typedef int __pid_t; __extension__ typedef struct { int __val[2]; } __fsid_t; __extension__ typedef long int __clock_t; __extension__ typedef unsigned long int __rlim_t; __extension__ typedef __u_quad_t __rlim64_t; __extension__ typedef unsigned int __id_t; __extension__ typedef long int __time_t; __extension__ typedef unsigned int __useconds_t; __extension__ typedef long int __suseconds_t; __extension__ typedef int __daddr_t; __extension__ typedef int __key_t; __extension__ typedef int __clockid_t; __extension__ typedef void * __timer_t; __extension__ typedef long int __blksize_t; __extension__ typedef long int __blkcnt_t; __extension__ typedef __quad_t __blkcnt64_t; __extension__ typedef unsigned long int __fsblkcnt_t; __extension__ typedef __u_quad_t __fsblkcnt64_t; __extension__ typedef unsigned long int __fsfilcnt_t; __extension__ typedef __u_quad_t __fsfilcnt64_t; __extension__ typedef int __fsword_t; __extension__ typedef int __ssize_t; __extension__ typedef long int __syscall_slong_t; __extension__ typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; __extension__ typedef int __intptr_t; __extension__ typedef unsigned int __socklen_t; # 56 "/usr/include/time.h" 2 3 4 typedef __clock_t clock_t; # 73 "/usr/include/time.h" 3 4 typedef __time_t time_t; # 91 "/usr/include/time.h" 3 4 typedef __clockid_t clockid_t; # 103 "/usr/include/time.h" 3 4 typedef __timer_t timer_t; # 120 "/usr/include/time.h" 3 4 struct timespec { __time_t tv_sec; __syscall_slong_t tv_nsec; }; struct tm { int tm_sec; int tm_min; int tm_hour; int tm_mday; int tm_mon; int tm_year; int tm_wday; int tm_yday; int tm_isdst; long int tm_gmtoff; const char *tm_zone; }; struct itimerspec { struct timespec it_interval; struct timespec it_value; }; struct sigevent; typedef __pid_t pid_t; # 186 "/usr/include/time.h" 3 4 extern clock_t clock (void) __attribute__ ((__nothrow__ , __leaf__)); extern time_t time (time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); extern double difftime (time_t __time1, time_t __time0) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern time_t mktime (struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern size_t strftime (char *__restrict __s, size_t __maxsize, const char *__restrict __format, const struct tm *__restrict __tp) __attribute__ ((__nothrow__ , __leaf__)); # 221 "/usr/include/time.h" 3 4 # 1 "/usr/include/xlocale.h" 1 3 4 # 27 "/usr/include/xlocale.h" 3 4 typedef struct __locale_struct { struct __locale_data *__locales[13]; const unsigned short int *__ctype_b; const int *__ctype_tolower; const int *__ctype_toupper; const char *__names[13]; } *__locale_t; typedef __locale_t locale_t; # 222 "/usr/include/time.h" 2 3 4 extern size_t strftime_l (char *__restrict __s, size_t __maxsize, const char *__restrict __format, const struct tm *__restrict __tp, __locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)); # 236 "/usr/include/time.h" 3 4 extern struct tm *gmtime (const time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); extern struct tm *localtime (const time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); extern struct tm *gmtime_r (const time_t *__restrict __timer, struct tm *__restrict __tp) __attribute__ ((__nothrow__ , __leaf__)); extern struct tm *localtime_r (const time_t *__restrict __timer, struct tm *__restrict __tp) __attribute__ ((__nothrow__ , __leaf__)); extern char *asctime (const struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern char *ctime (const time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); extern char *asctime_r (const struct tm *__restrict __tp, char *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)); extern char *ctime_r (const time_t *__restrict __timer, char *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)); extern char *__tzname[2]; extern int __daylight; extern long int __timezone; extern char *tzname[2]; extern void tzset (void) __attribute__ ((__nothrow__ , __leaf__)); extern int daylight; extern long int timezone; extern int stime (const time_t *__when) __attribute__ ((__nothrow__ , __leaf__)); # 319 "/usr/include/time.h" 3 4 extern time_t timegm (struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern time_t timelocal (struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern int dysize (int __year) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); # 334 "/usr/include/time.h" 3 4 extern int nanosleep (const struct timespec *__requested_time, struct timespec *__remaining); extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __attribute__ ((__nothrow__ , __leaf__)); extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern int clock_settime (clockid_t __clock_id, const struct timespec *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern int clock_nanosleep (clockid_t __clock_id, int __flags, const struct timespec *__req, struct timespec *__rem); extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __attribute__ ((__nothrow__ , __leaf__)); extern int timer_create (clockid_t __clock_id, struct sigevent *__restrict __evp, timer_t *__restrict __timerid) __attribute__ ((__nothrow__ , __leaf__)); extern int timer_delete (timer_t __timerid) __attribute__ ((__nothrow__ , __leaf__)); extern int timer_settime (timer_t __timerid, int __flags, const struct itimerspec *__restrict __value, struct itimerspec *__restrict __ovalue) __attribute__ ((__nothrow__ , __leaf__)); extern int timer_gettime (timer_t __timerid, struct itimerspec *__value) __attribute__ ((__nothrow__ , __leaf__)); extern int timer_getoverrun (timer_t __timerid) __attribute__ ((__nothrow__ , __leaf__)); extern int timespec_get (struct timespec *__ts, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 430 "/usr/include/time.h" 3 4 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_TIME_H" to "1" Checking for header: sys/time.h Executing: gcc -E -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/usr/include/i386-linux-gnu/sys/time.h" 1 3 4 # 21 "/usr/include/i386-linux-gnu/sys/time.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 364 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/sys/cdefs.h" 1 3 4 # 415 "/usr/include/i386-linux-gnu/sys/cdefs.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 416 "/usr/include/i386-linux-gnu/sys/cdefs.h" 2 3 4 # 365 "/usr/include/features.h" 2 3 4 # 388 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs.h" 1 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs-32.h" 1 3 4 # 8 "/usr/include/i386-linux-gnu/gnu/stubs.h" 2 3 4 # 389 "/usr/include/features.h" 2 3 4 # 22 "/usr/include/i386-linux-gnu/sys/time.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/types.h" 1 3 4 # 27 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 28 "/usr/include/i386-linux-gnu/bits/types.h" 2 3 4 # 30 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; __extension__ typedef signed long long int __int64_t; __extension__ typedef unsigned long long int __uint64_t; __extension__ typedef long long int __quad_t; __extension__ typedef unsigned long long int __u_quad_t; # 121 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/typesizes.h" 1 3 4 # 122 "/usr/include/i386-linux-gnu/bits/types.h" 2 3 4 __extension__ typedef __u_quad_t __dev_t; __extension__ typedef unsigned int __uid_t; __extension__ typedef unsigned int __gid_t; __extension__ typedef unsigned long int __ino_t; __extension__ typedef __u_quad_t __ino64_t; __extension__ typedef unsigned int __mode_t; __extension__ typedef unsigned int __nlink_t; __extension__ typedef long int __off_t; __extension__ typedef __quad_t __off64_t; __extension__ typedef int __pid_t; __extension__ typedef struct { int __val[2]; } __fsid_t; __extension__ typedef long int __clock_t; __extension__ typedef unsigned long int __rlim_t; __extension__ typedef __u_quad_t __rlim64_t; __extension__ typedef unsigned int __id_t; __extension__ typedef long int __time_t; __extension__ typedef unsigned int __useconds_t; __extension__ typedef long int __suseconds_t; __extension__ typedef int __daddr_t; __extension__ typedef int __key_t; __extension__ typedef int __clockid_t; __extension__ typedef void * __timer_t; __extension__ typedef long int __blksize_t; __extension__ typedef long int __blkcnt_t; __extension__ typedef __quad_t __blkcnt64_t; __extension__ typedef unsigned long int __fsblkcnt_t; __extension__ typedef __u_quad_t __fsblkcnt64_t; __extension__ typedef unsigned long int __fsfilcnt_t; __extension__ typedef __u_quad_t __fsfilcnt64_t; __extension__ typedef int __fsword_t; __extension__ typedef int __ssize_t; __extension__ typedef long int __syscall_slong_t; __extension__ typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; __extension__ typedef int __intptr_t; __extension__ typedef unsigned int __socklen_t; # 24 "/usr/include/i386-linux-gnu/sys/time.h" 2 3 4 # 1 "/usr/include/time.h" 1 3 4 # 73 "/usr/include/time.h" 3 4 typedef __time_t time_t; # 26 "/usr/include/i386-linux-gnu/sys/time.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/time.h" 1 3 4 # 30 "/usr/include/i386-linux-gnu/bits/time.h" 3 4 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 28 "/usr/include/i386-linux-gnu/sys/time.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/sys/select.h" 1 3 4 # 30 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/select.h" 1 3 4 # 22 "/usr/include/i386-linux-gnu/bits/select.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 23 "/usr/include/i386-linux-gnu/bits/select.h" 2 3 4 # 31 "/usr/include/i386-linux-gnu/sys/select.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/sigset.h" 1 3 4 # 22 "/usr/include/i386-linux-gnu/bits/sigset.h" 3 4 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 34 "/usr/include/i386-linux-gnu/sys/select.h" 2 3 4 typedef __sigset_t sigset_t; # 1 "/usr/include/time.h" 1 3 4 # 120 "/usr/include/time.h" 3 4 struct timespec { __time_t tv_sec; __syscall_slong_t tv_nsec; }; # 46 "/usr/include/i386-linux-gnu/sys/select.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/time.h" 1 3 4 # 48 "/usr/include/i386-linux-gnu/sys/select.h" 2 3 4 typedef __suseconds_t suseconds_t; typedef long int __fd_mask; # 66 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 typedef struct { __fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; # 98 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 # 108 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); # 120 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); # 133 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 # 30 "/usr/include/i386-linux-gnu/sys/time.h" 2 3 4 # 55 "/usr/include/i386-linux-gnu/sys/time.h" 3 4 struct timezone { int tz_minuteswest; int tz_dsttime; }; typedef struct timezone *__restrict __timezone_ptr_t; # 71 "/usr/include/i386-linux-gnu/sys/time.h" 3 4 extern int gettimeofday (struct timeval *__restrict __tv, __timezone_ptr_t __tz) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int settimeofday (const struct timeval *__tv, const struct timezone *__tz) __attribute__ ((__nothrow__ , __leaf__)); extern int adjtime (const struct timeval *__delta, struct timeval *__olddelta) __attribute__ ((__nothrow__ , __leaf__)); enum __itimer_which { ITIMER_REAL = 0, ITIMER_VIRTUAL = 1, ITIMER_PROF = 2 }; struct itimerval { struct timeval it_interval; struct timeval it_value; }; typedef int __itimer_which_t; extern int getitimer (__itimer_which_t __which, struct itimerval *__value) __attribute__ ((__nothrow__ , __leaf__)); extern int setitimer (__itimer_which_t __which, const struct itimerval *__restrict __new, struct itimerval *__restrict __old) __attribute__ ((__nothrow__ , __leaf__)); extern int utimes (const char *__file, const struct timeval __tvp[2]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int lutimes (const char *__file, const struct timeval __tvp[2]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int futimes (int __fd, const struct timeval __tvp[2]) __attribute__ ((__nothrow__ , __leaf__)); # 189 "/usr/include/i386-linux-gnu/sys/time.h" 3 4 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_SYS_TIME_H" to "1" Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.headers/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include int main() { struct tm *tp = 0; if (tp); ; return 0; } Defined "TIME_WITH_SYS_TIME" to "1" ================================================================================ TEST checkMath from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:203) TESTING: checkMath from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:203) Checks for the math headers and defines Checking for header: math.h Executing: gcc -E -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/usr/include/math.h" 1 3 4 # 26 "/usr/include/math.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 364 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/sys/cdefs.h" 1 3 4 # 415 "/usr/include/i386-linux-gnu/sys/cdefs.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 416 "/usr/include/i386-linux-gnu/sys/cdefs.h" 2 3 4 # 365 "/usr/include/features.h" 2 3 4 # 388 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs.h" 1 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs-32.h" 1 3 4 # 8 "/usr/include/i386-linux-gnu/gnu/stubs.h" 2 3 4 # 389 "/usr/include/features.h" 2 3 4 # 27 "/usr/include/math.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/math-vector.h" 1 3 4 # 25 "/usr/include/i386-linux-gnu/bits/math-vector.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/libm-simd-decl-stubs.h" 1 3 4 # 26 "/usr/include/i386-linux-gnu/bits/math-vector.h" 2 3 4 # 32 "/usr/include/math.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/huge_val.h" 1 3 4 # 36 "/usr/include/math.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/huge_valf.h" 1 3 4 # 38 "/usr/include/math.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/huge_vall.h" 1 3 4 # 39 "/usr/include/math.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/inf.h" 1 3 4 # 42 "/usr/include/math.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/nan.h" 1 3 4 # 45 "/usr/include/math.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/mathdef.h" 1 3 4 # 35 "/usr/include/i386-linux-gnu/bits/mathdef.h" 3 4 # 35 "/usr/include/i386-linux-gnu/bits/mathdef.h" 3 4 typedef long double float_t; typedef long double double_t; # 49 "/usr/include/math.h" 2 3 4 # 83 "/usr/include/math.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/mathcalls.h" 1 3 4 # 52 "/usr/include/i386-linux-gnu/bits/mathcalls.h" 3 4 extern double acos (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __acos (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double asin (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __asin (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double atan (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __atan (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double atan2 (double __y, double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __atan2 (double __y, double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double cos (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __cos (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double sin (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __sin (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double tan (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __tan (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double cosh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __cosh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double sinh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __sinh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double tanh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __tanh (double __x) __attribute__ ((__nothrow__ , __leaf__)); # 86 "/usr/include/i386-linux-gnu/bits/mathcalls.h" 3 4 extern double acosh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __acosh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double asinh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __asinh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double atanh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __atanh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double exp (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __exp (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double frexp (double __x, int *__exponent) __attribute__ ((__nothrow__ , __leaf__)); extern double __frexp (double __x, int *__exponent) __attribute__ ((__nothrow__ , __leaf__)); extern double ldexp (double __x, int __exponent) __attribute__ ((__nothrow__ , __leaf__)); extern double __ldexp (double __x, int __exponent) __attribute__ ((__nothrow__ , __leaf__)); extern double log (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __log (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double log10 (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __log10 (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double modf (double __x, double *__iptr) __attribute__ ((__nothrow__ , __leaf__)); extern double __modf (double __x, double *__iptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); # 126 "/usr/include/i386-linux-gnu/bits/mathcalls.h" 3 4 extern double expm1 (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __expm1 (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double log1p (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __log1p (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double logb (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __logb (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double exp2 (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __exp2 (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double log2 (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __log2 (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double pow (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double __pow (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double sqrt (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __sqrt (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double hypot (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double __hypot (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double cbrt (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __cbrt (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double ceil (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __ceil (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double fabs (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __fabs (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double floor (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __floor (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double fmod (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double __fmod (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern int __isinf (double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __finite (double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int isinf (double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int finite (double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double drem (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double __drem (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double significand (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __significand (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double copysign (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __copysign (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double nan (const char *__tagb) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __nan (const char *__tagb) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __isnan (double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int isnan (double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double j0 (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __j0 (double) __attribute__ ((__nothrow__ , __leaf__)); extern double j1 (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __j1 (double) __attribute__ ((__nothrow__ , __leaf__)); extern double jn (int, double) __attribute__ ((__nothrow__ , __leaf__)); extern double __jn (int, double) __attribute__ ((__nothrow__ , __leaf__)); extern double y0 (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __y0 (double) __attribute__ ((__nothrow__ , __leaf__)); extern double y1 (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __y1 (double) __attribute__ ((__nothrow__ , __leaf__)); extern double yn (int, double) __attribute__ ((__nothrow__ , __leaf__)); extern double __yn (int, double) __attribute__ ((__nothrow__ , __leaf__)); extern double erf (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __erf (double) __attribute__ ((__nothrow__ , __leaf__)); extern double erfc (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __erfc (double) __attribute__ ((__nothrow__ , __leaf__)); extern double lgamma (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __lgamma (double) __attribute__ ((__nothrow__ , __leaf__)); extern double tgamma (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __tgamma (double) __attribute__ ((__nothrow__ , __leaf__)); extern double gamma (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __gamma (double) __attribute__ ((__nothrow__ , __leaf__)); extern double lgamma_r (double, int *__signgamp) __attribute__ ((__nothrow__ , __leaf__)); extern double __lgamma_r (double, int *__signgamp) __attribute__ ((__nothrow__ , __leaf__)); extern double rint (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __rint (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double nextafter (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __nextafter (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double nexttoward (double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __nexttoward (double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); # 305 "/usr/include/i386-linux-gnu/bits/mathcalls.h" 3 4 extern double remainder (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double __remainder (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double scalbn (double __x, int __n) __attribute__ ((__nothrow__ , __leaf__)); extern double __scalbn (double __x, int __n) __attribute__ ((__nothrow__ , __leaf__)); extern int ilogb (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern int __ilogb (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double scalbln (double __x, long int __n) __attribute__ ((__nothrow__ , __leaf__)); extern double __scalbln (double __x, long int __n) __attribute__ ((__nothrow__ , __leaf__)); extern double nearbyint (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __nearbyint (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double round (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __round (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double trunc (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __trunc (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double remquo (double __x, double __y, int *__quo) __attribute__ ((__nothrow__ , __leaf__)); extern double __remquo (double __x, double __y, int *__quo) __attribute__ ((__nothrow__ , __leaf__)); extern long int lrint (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int __lrint (double __x) __attribute__ ((__nothrow__ , __leaf__)); __extension__ extern long long int llrint (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int __llrint (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int lround (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int __lround (double __x) __attribute__ ((__nothrow__ , __leaf__)); __extension__ extern long long int llround (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int __llround (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double fdim (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double __fdim (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double fmax (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __fmax (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double fmin (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __fmin (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __fpclassify (double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __signbit (double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double fma (double __x, double __y, double __z) __attribute__ ((__nothrow__ , __leaf__)); extern double __fma (double __x, double __y, double __z) __attribute__ ((__nothrow__ , __leaf__)); # 390 "/usr/include/i386-linux-gnu/bits/mathcalls.h" 3 4 extern double scalb (double __x, double __n) __attribute__ ((__nothrow__ , __leaf__)); extern double __scalb (double __x, double __n) __attribute__ ((__nothrow__ , __leaf__)); # 84 "/usr/include/math.h" 2 3 4 # 104 "/usr/include/math.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/mathcalls.h" 1 3 4 # 52 "/usr/include/i386-linux-gnu/bits/mathcalls.h" 3 4 extern float acosf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __acosf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float asinf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __asinf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float atanf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __atanf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float atan2f (float __y, float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __atan2f (float __y, float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float cosf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __cosf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float sinf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __sinf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float tanf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __tanf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float coshf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __coshf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float sinhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __sinhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float tanhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __tanhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); # 86 "/usr/include/i386-linux-gnu/bits/mathcalls.h" 3 4 extern float acoshf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __acoshf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float asinhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __asinhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float atanhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __atanhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float expf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __expf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float frexpf (float __x, int *__exponent) __attribute__ ((__nothrow__ , __leaf__)); extern float __frexpf (float __x, int *__exponent) __attribute__ ((__nothrow__ , __leaf__)); extern float ldexpf (float __x, int __exponent) __attribute__ ((__nothrow__ , __leaf__)); extern float __ldexpf (float __x, int __exponent) __attribute__ ((__nothrow__ , __leaf__)); extern float logf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __logf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float log10f (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __log10f (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float modff (float __x, float *__iptr) __attribute__ ((__nothrow__ , __leaf__)); extern float __modff (float __x, float *__iptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); # 126 "/usr/include/i386-linux-gnu/bits/mathcalls.h" 3 4 extern float expm1f (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __expm1f (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float log1pf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __log1pf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float logbf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __logbf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float exp2f (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __exp2f (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float log2f (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __log2f (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float powf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float __powf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float sqrtf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __sqrtf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float hypotf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float __hypotf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float cbrtf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __cbrtf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float ceilf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __ceilf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float fabsf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __fabsf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float floorf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __floorf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float fmodf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float __fmodf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern int __isinff (float __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __finitef (float __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int isinff (float __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int finitef (float __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float dremf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float __dremf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float significandf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __significandf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float copysignf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __copysignf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float nanf (const char *__tagb) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __nanf (const char *__tagb) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __isnanf (float __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int isnanf (float __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float j0f (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __j0f (float) __attribute__ ((__nothrow__ , __leaf__)); extern float j1f (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __j1f (float) __attribute__ ((__nothrow__ , __leaf__)); extern float jnf (int, float) __attribute__ ((__nothrow__ , __leaf__)); extern float __jnf (int, float) __attribute__ ((__nothrow__ , __leaf__)); extern float y0f (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __y0f (float) __attribute__ ((__nothrow__ , __leaf__)); extern float y1f (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __y1f (float) __attribute__ ((__nothrow__ , __leaf__)); extern float ynf (int, float) __attribute__ ((__nothrow__ , __leaf__)); extern float __ynf (int, float) __attribute__ ((__nothrow__ , __leaf__)); extern float erff (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __erff (float) __attribute__ ((__nothrow__ , __leaf__)); extern float erfcf (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __erfcf (float) __attribute__ ((__nothrow__ , __leaf__)); extern float lgammaf (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __lgammaf (float) __attribute__ ((__nothrow__ , __leaf__)); extern float tgammaf (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __tgammaf (float) __attribute__ ((__nothrow__ , __leaf__)); extern float gammaf (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __gammaf (float) __attribute__ ((__nothrow__ , __leaf__)); extern float lgammaf_r (float, int *__signgamp) __attribute__ ((__nothrow__ , __leaf__)); extern float __lgammaf_r (float, int *__signgamp) __attribute__ ((__nothrow__ , __leaf__)); extern float rintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __rintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float nextafterf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __nextafterf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float nexttowardf (float __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __nexttowardf (float __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); # 305 "/usr/include/i386-linux-gnu/bits/mathcalls.h" 3 4 extern float remainderf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float __remainderf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float scalbnf (float __x, int __n) __attribute__ ((__nothrow__ , __leaf__)); extern float __scalbnf (float __x, int __n) __attribute__ ((__nothrow__ , __leaf__)); extern int ilogbf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern int __ilogbf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float scalblnf (float __x, long int __n) __attribute__ ((__nothrow__ , __leaf__)); extern float __scalblnf (float __x, long int __n) __attribute__ ((__nothrow__ , __leaf__)); extern float nearbyintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __nearbyintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float roundf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __roundf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float truncf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __truncf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float remquof (float __x, float __y, int *__quo) __attribute__ ((__nothrow__ , __leaf__)); extern float __remquof (float __x, float __y, int *__quo) __attribute__ ((__nothrow__ , __leaf__)); extern long int lrintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int __lrintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); __extension__ extern long long int llrintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int __llrintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int lroundf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int __lroundf (float __x) __attribute__ ((__nothrow__ , __leaf__)); __extension__ extern long long int llroundf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int __llroundf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float fdimf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float __fdimf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float fmaxf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __fmaxf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float fminf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __fminf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __fpclassifyf (float __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __signbitf (float __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float fmaf (float __x, float __y, float __z) __attribute__ ((__nothrow__ , __leaf__)); extern float __fmaf (float __x, float __y, float __z) __attribute__ ((__nothrow__ , __leaf__)); # 390 "/usr/include/i386-linux-gnu/bits/mathcalls.h" 3 4 extern float scalbf (float __x, float __n) __attribute__ ((__nothrow__ , __leaf__)); extern float __scalbf (float __x, float __n) __attribute__ ((__nothrow__ , __leaf__)); # 105 "/usr/include/math.h" 2 3 4 # 151 "/usr/include/math.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/mathcalls.h" 1 3 4 # 52 "/usr/include/i386-linux-gnu/bits/mathcalls.h" 3 4 extern long double acosl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __acosl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double asinl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __asinl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double atanl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __atanl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double atan2l (long double __y, long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __atan2l (long double __y, long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double cosl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __cosl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double sinl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __sinl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double tanl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __tanl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double coshl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __coshl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double sinhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __sinhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double tanhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __tanhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); # 86 "/usr/include/i386-linux-gnu/bits/mathcalls.h" 3 4 extern long double acoshl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __acoshl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double asinhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __asinhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double atanhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __atanhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double expl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __expl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double frexpl (long double __x, int *__exponent) __attribute__ ((__nothrow__ , __leaf__)); extern long double __frexpl (long double __x, int *__exponent) __attribute__ ((__nothrow__ , __leaf__)); extern long double ldexpl (long double __x, int __exponent) __attribute__ ((__nothrow__ , __leaf__)); extern long double __ldexpl (long double __x, int __exponent) __attribute__ ((__nothrow__ , __leaf__)); extern long double logl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __logl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double log10l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __log10l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double modfl (long double __x, long double *__iptr) __attribute__ ((__nothrow__ , __leaf__)); extern long double __modfl (long double __x, long double *__iptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); # 126 "/usr/include/i386-linux-gnu/bits/mathcalls.h" 3 4 extern long double expm1l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __expm1l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double log1pl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __log1pl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double logbl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __logbl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double exp2l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __exp2l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double log2l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __log2l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double powl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double __powl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double sqrtl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __sqrtl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double hypotl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double __hypotl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double cbrtl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __cbrtl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double ceill (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __ceill (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double fabsl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __fabsl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double floorl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __floorl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double fmodl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double __fmodl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern int __isinfl (long double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __finitel (long double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int isinfl (long double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int finitel (long double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double dreml (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double __dreml (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double significandl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __significandl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double copysignl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __copysignl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double nanl (const char *__tagb) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __nanl (const char *__tagb) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __isnanl (long double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int isnanl (long double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double j0l (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __j0l (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double j1l (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __j1l (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double jnl (int, long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __jnl (int, long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double y0l (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __y0l (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double y1l (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __y1l (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double ynl (int, long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __ynl (int, long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double erfl (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __erfl (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double erfcl (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __erfcl (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double lgammal (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __lgammal (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double tgammal (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __tgammal (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double gammal (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __gammal (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double lgammal_r (long double, int *__signgamp) __attribute__ ((__nothrow__ , __leaf__)); extern long double __lgammal_r (long double, int *__signgamp) __attribute__ ((__nothrow__ , __leaf__)); extern long double rintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __rintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double nextafterl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __nextafterl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double nexttowardl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __nexttowardl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); # 305 "/usr/include/i386-linux-gnu/bits/mathcalls.h" 3 4 extern long double remainderl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double __remainderl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double scalbnl (long double __x, int __n) __attribute__ ((__nothrow__ , __leaf__)); extern long double __scalbnl (long double __x, int __n) __attribute__ ((__nothrow__ , __leaf__)); extern int ilogbl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern int __ilogbl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double scalblnl (long double __x, long int __n) __attribute__ ((__nothrow__ , __leaf__)); extern long double __scalblnl (long double __x, long int __n) __attribute__ ((__nothrow__ , __leaf__)); extern long double nearbyintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __nearbyintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double roundl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __roundl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double truncl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __truncl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double remquol (long double __x, long double __y, int *__quo) __attribute__ ((__nothrow__ , __leaf__)); extern long double __remquol (long double __x, long double __y, int *__quo) __attribute__ ((__nothrow__ , __leaf__)); extern long int lrintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int __lrintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); __extension__ extern long long int llrintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int __llrintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int lroundl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int __lroundl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); __extension__ extern long long int llroundl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int __llroundl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double fdiml (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double __fdiml (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double fmaxl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __fmaxl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double fminl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __fminl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __fpclassifyl (long double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __signbitl (long double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double fmal (long double __x, long double __y, long double __z) __attribute__ ((__nothrow__ , __leaf__)); extern long double __fmal (long double __x, long double __y, long double __z) __attribute__ ((__nothrow__ , __leaf__)); # 390 "/usr/include/i386-linux-gnu/bits/mathcalls.h" 3 4 extern long double scalbl (long double __x, long double __n) __attribute__ ((__nothrow__ , __leaf__)); extern long double __scalbl (long double __x, long double __n) __attribute__ ((__nothrow__ , __leaf__)); # 152 "/usr/include/math.h" 2 3 4 # 168 "/usr/include/math.h" 3 4 extern int signgam; # 209 "/usr/include/math.h" 3 4 enum { FP_NAN = 0, FP_INFINITE = 1, FP_ZERO = 2, FP_SUBNORMAL = 3, FP_NORMAL = 4 }; # 347 "/usr/include/math.h" 3 4 typedef enum { _IEEE_ = -1, _SVID_, _XOPEN_, _POSIX_, _ISOC_ } _LIB_VERSION_TYPE; extern _LIB_VERSION_TYPE _LIB_VERSION; # 372 "/usr/include/math.h" 3 4 struct exception { int type; char *name; double arg1; double arg2; double retval; }; extern int matherr (struct exception *__exc); # 534 "/usr/include/math.h" 3 4 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_MATH_H" to "1" Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.headers/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { double pi = M_PI; if (pi); ; return 0; } Found math #defines, like M_PI ================================================================================ TEST check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/socket.h Executing: gcc -E -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/usr/include/i386-linux-gnu/sys/socket.h" 1 3 4 # 22 "/usr/include/i386-linux-gnu/sys/socket.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 364 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/sys/cdefs.h" 1 3 4 # 415 "/usr/include/i386-linux-gnu/sys/cdefs.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 416 "/usr/include/i386-linux-gnu/sys/cdefs.h" 2 3 4 # 365 "/usr/include/features.h" 2 3 4 # 388 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs.h" 1 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs-32.h" 1 3 4 # 8 "/usr/include/i386-linux-gnu/gnu/stubs.h" 2 3 4 # 389 "/usr/include/features.h" 2 3 4 # 23 "/usr/include/i386-linux-gnu/sys/socket.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/sys/uio.h" 1 3 4 # 23 "/usr/include/i386-linux-gnu/sys/uio.h" 3 4 # 1 "/usr/include/i386-linux-gnu/sys/types.h" 1 3 4 # 27 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/types.h" 1 3 4 # 27 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 28 "/usr/include/i386-linux-gnu/bits/types.h" 2 3 4 # 30 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; __extension__ typedef signed long long int __int64_t; __extension__ typedef unsigned long long int __uint64_t; __extension__ typedef long long int __quad_t; __extension__ typedef unsigned long long int __u_quad_t; # 121 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/typesizes.h" 1 3 4 # 122 "/usr/include/i386-linux-gnu/bits/types.h" 2 3 4 __extension__ typedef __u_quad_t __dev_t; __extension__ typedef unsigned int __uid_t; __extension__ typedef unsigned int __gid_t; __extension__ typedef unsigned long int __ino_t; __extension__ typedef __u_quad_t __ino64_t; __extension__ typedef unsigned int __mode_t; __extension__ typedef unsigned int __nlink_t; __extension__ typedef long int __off_t; __extension__ typedef __quad_t __off64_t; __extension__ typedef int __pid_t; __extension__ typedef struct { int __val[2]; } __fsid_t; __extension__ typedef long int __clock_t; __extension__ typedef unsigned long int __rlim_t; __extension__ typedef __u_quad_t __rlim64_t; __extension__ typedef unsigned int __id_t; __extension__ typedef long int __time_t; __extension__ typedef unsigned int __useconds_t; __extension__ typedef long int __suseconds_t; __extension__ typedef int __daddr_t; __extension__ typedef int __key_t; __extension__ typedef int __clockid_t; __extension__ typedef void * __timer_t; __extension__ typedef long int __blksize_t; __extension__ typedef long int __blkcnt_t; __extension__ typedef __quad_t __blkcnt64_t; __extension__ typedef unsigned long int __fsblkcnt_t; __extension__ typedef __u_quad_t __fsblkcnt64_t; __extension__ typedef unsigned long int __fsfilcnt_t; __extension__ typedef __u_quad_t __fsfilcnt64_t; __extension__ typedef int __fsword_t; __extension__ typedef int __ssize_t; __extension__ typedef long int __syscall_slong_t; __extension__ typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; __extension__ typedef int __intptr_t; __extension__ typedef unsigned int __socklen_t; # 30 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino_t ino_t; # 60 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off_t off_t; # 98 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 132 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/include/time.h" 1 3 4 # 57 "/usr/include/time.h" 3 4 typedef __clock_t clock_t; # 73 "/usr/include/time.h" 3 4 typedef __time_t time_t; # 91 "/usr/include/time.h" 3 4 typedef __clockid_t clockid_t; # 103 "/usr/include/time.h" 3 4 typedef __timer_t timer_t; # 133 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 # 146 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 216 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 3 4 typedef unsigned int size_t; # 147 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 194 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 typedef int int8_t __attribute__ ((__mode__ (__QI__))); typedef int int16_t __attribute__ ((__mode__ (__HI__))); typedef int int32_t __attribute__ ((__mode__ (__SI__))); typedef int int64_t __attribute__ ((__mode__ (__DI__))); typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 216 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/include/endian.h" 1 3 4 # 36 "/usr/include/endian.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/endian.h" 1 3 4 # 37 "/usr/include/endian.h" 2 3 4 # 60 "/usr/include/endian.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/byteswap.h" 1 3 4 # 28 "/usr/include/i386-linux-gnu/bits/byteswap.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 29 "/usr/include/i386-linux-gnu/bits/byteswap.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/byteswap-16.h" 1 3 4 # 36 "/usr/include/i386-linux-gnu/bits/byteswap.h" 2 3 4 # 44 "/usr/include/i386-linux-gnu/bits/byteswap.h" 3 4 static __inline unsigned int __bswap_32 (unsigned int __bsx) { return __builtin_bswap32 (__bsx); } # 108 "/usr/include/i386-linux-gnu/bits/byteswap.h" 3 4 static __inline __uint64_t __bswap_64 (__uint64_t __bsx) { return __builtin_bswap64 (__bsx); } # 61 "/usr/include/endian.h" 2 3 4 # 217 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/sys/select.h" 1 3 4 # 30 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/select.h" 1 3 4 # 22 "/usr/include/i386-linux-gnu/bits/select.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 23 "/usr/include/i386-linux-gnu/bits/select.h" 2 3 4 # 31 "/usr/include/i386-linux-gnu/sys/select.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/sigset.h" 1 3 4 # 22 "/usr/include/i386-linux-gnu/bits/sigset.h" 3 4 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 34 "/usr/include/i386-linux-gnu/sys/select.h" 2 3 4 typedef __sigset_t sigset_t; # 1 "/usr/include/time.h" 1 3 4 # 120 "/usr/include/time.h" 3 4 struct timespec { __time_t tv_sec; __syscall_slong_t tv_nsec; }; # 46 "/usr/include/i386-linux-gnu/sys/select.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/time.h" 1 3 4 # 30 "/usr/include/i386-linux-gnu/bits/time.h" 3 4 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 48 "/usr/include/i386-linux-gnu/sys/select.h" 2 3 4 typedef __suseconds_t suseconds_t; typedef long int __fd_mask; # 66 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 typedef struct { __fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; # 98 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 # 108 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); # 120 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); # 133 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 # 220 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/sys/sysmacros.h" 1 3 4 # 24 "/usr/include/i386-linux-gnu/sys/sysmacros.h" 3 4 __extension__ extern unsigned int gnu_dev_major (unsigned long long int __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern unsigned int gnu_dev_minor (unsigned long long int __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); # 58 "/usr/include/i386-linux-gnu/sys/sysmacros.h" 3 4 # 223 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 typedef __blksize_t blksize_t; typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 270 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 1 3 4 # 21 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 22 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 2 3 4 # 60 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 typedef unsigned long int pthread_t; union pthread_attr_t { char __size[36]; long int __align; }; typedef union pthread_attr_t pthread_attr_t; # 81 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 typedef struct __pthread_internal_slist { struct __pthread_internal_slist *__next; } __pthread_slist_t; typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; int __kind; # 111 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 unsigned int __nusers; __extension__ union { struct { short __espins; short __elision; } __elision_data; __pthread_slist_t __list; }; } __data; char __size[24]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { # 202 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; unsigned char __flags; unsigned char __shared; signed char __rwelision; unsigned char __pad2; int __writer; } __data; char __size[32]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[20]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 271 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 # 24 "/usr/include/i386-linux-gnu/sys/uio.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/uio.h" 1 3 4 # 43 "/usr/include/i386-linux-gnu/bits/uio.h" 3 4 struct iovec { void *iov_base; size_t iov_len; }; # 29 "/usr/include/i386-linux-gnu/sys/uio.h" 2 3 4 # 39 "/usr/include/i386-linux-gnu/sys/uio.h" 3 4 extern ssize_t readv (int __fd, const struct iovec *__iovec, int __count) ; # 50 "/usr/include/i386-linux-gnu/sys/uio.h" 3 4 extern ssize_t writev (int __fd, const struct iovec *__iovec, int __count) ; # 65 "/usr/include/i386-linux-gnu/sys/uio.h" 3 4 extern ssize_t preadv (int __fd, const struct iovec *__iovec, int __count, __off_t __offset) ; # 77 "/usr/include/i386-linux-gnu/sys/uio.h" 3 4 extern ssize_t pwritev (int __fd, const struct iovec *__iovec, int __count, __off_t __offset) ; # 120 "/usr/include/i386-linux-gnu/sys/uio.h" 3 4 # 27 "/usr/include/i386-linux-gnu/sys/socket.h" 2 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 29 "/usr/include/i386-linux-gnu/sys/socket.h" 2 3 4 # 38 "/usr/include/i386-linux-gnu/sys/socket.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/socket.h" 1 3 4 # 27 "/usr/include/i386-linux-gnu/bits/socket.h" 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 28 "/usr/include/i386-linux-gnu/bits/socket.h" 2 3 4 typedef __socklen_t socklen_t; # 1 "/usr/include/i386-linux-gnu/bits/socket_type.h" 1 3 4 # 24 "/usr/include/i386-linux-gnu/bits/socket_type.h" 3 4 enum __socket_type { SOCK_STREAM = 1, SOCK_DGRAM = 2, SOCK_RAW = 3, SOCK_RDM = 4, SOCK_SEQPACKET = 5, SOCK_DCCP = 6, SOCK_PACKET = 10, SOCK_CLOEXEC = 02000000, SOCK_NONBLOCK = 00004000 }; # 39 "/usr/include/i386-linux-gnu/bits/socket.h" 2 3 4 # 167 "/usr/include/i386-linux-gnu/bits/socket.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/sockaddr.h" 1 3 4 # 28 "/usr/include/i386-linux-gnu/bits/sockaddr.h" 3 4 typedef unsigned short int sa_family_t; # 168 "/usr/include/i386-linux-gnu/bits/socket.h" 2 3 4 struct sockaddr { sa_family_t sa_family; char sa_data[14]; }; # 183 "/usr/include/i386-linux-gnu/bits/socket.h" 3 4 struct sockaddr_storage { sa_family_t ss_family; char __ss_padding[(128 - (sizeof (unsigned short int)) - sizeof (unsigned long int))]; unsigned long int __ss_align; }; enum { MSG_OOB = 0x01, MSG_PEEK = 0x02, MSG_DONTROUTE = 0x04, MSG_CTRUNC = 0x08, MSG_PROXY = 0x10, MSG_TRUNC = 0x20, MSG_DONTWAIT = 0x40, MSG_EOR = 0x80, MSG_WAITALL = 0x100, MSG_FIN = 0x200, MSG_SYN = 0x400, MSG_CONFIRM = 0x800, MSG_RST = 0x1000, MSG_ERRQUEUE = 0x2000, MSG_NOSIGNAL = 0x4000, MSG_MORE = 0x8000, MSG_WAITFORONE = 0x10000, MSG_BATCH = 0x40000, MSG_FASTOPEN = 0x20000000, MSG_CMSG_CLOEXEC = 0x40000000 }; struct msghdr { void *msg_name; socklen_t msg_namelen; struct iovec *msg_iov; size_t msg_iovlen; void *msg_control; size_t msg_controllen; int msg_flags; }; struct cmsghdr { size_t cmsg_len; int cmsg_level; int cmsg_type; __extension__ unsigned char __cmsg_data []; }; # 295 "/usr/include/i386-linux-gnu/bits/socket.h" 3 4 extern struct cmsghdr *__cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg) __attribute__ ((__nothrow__ , __leaf__)); # 322 "/usr/include/i386-linux-gnu/bits/socket.h" 3 4 enum { SCM_RIGHTS = 0x01 }; # 368 "/usr/include/i386-linux-gnu/bits/socket.h" 3 4 # 1 "/usr/include/i386-linux-gnu/asm/socket.h" 1 3 4 # 1 "/usr/include/asm-generic/socket.h" 1 3 4 # 1 "/usr/include/i386-linux-gnu/asm/sockios.h" 1 3 4 # 1 "/usr/include/asm-generic/sockios.h" 1 3 4 # 1 "/usr/include/i386-linux-gnu/asm/sockios.h" 2 3 4 # 5 "/usr/include/asm-generic/socket.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/asm/socket.h" 2 3 4 # 369 "/usr/include/i386-linux-gnu/bits/socket.h" 2 3 4 # 402 "/usr/include/i386-linux-gnu/bits/socket.h" 3 4 struct linger { int l_onoff; int l_linger; }; # 39 "/usr/include/i386-linux-gnu/sys/socket.h" 2 3 4 struct osockaddr { unsigned short int sa_family; unsigned char sa_data[14]; }; enum { SHUT_RD = 0, SHUT_WR, SHUT_RDWR }; # 113 "/usr/include/i386-linux-gnu/sys/socket.h" 3 4 extern int socket (int __domain, int __type, int __protocol) __attribute__ ((__nothrow__ , __leaf__)); extern int socketpair (int __domain, int __type, int __protocol, int __fds[2]) __attribute__ ((__nothrow__ , __leaf__)); extern int bind (int __fd, const struct sockaddr * __addr, socklen_t __len) __attribute__ ((__nothrow__ , __leaf__)); extern int getsockname (int __fd, struct sockaddr *__restrict __addr, socklen_t *__restrict __len) __attribute__ ((__nothrow__ , __leaf__)); # 137 "/usr/include/i386-linux-gnu/sys/socket.h" 3 4 extern int connect (int __fd, const struct sockaddr * __addr, socklen_t __len); extern int getpeername (int __fd, struct sockaddr *__restrict __addr, socklen_t *__restrict __len) __attribute__ ((__nothrow__ , __leaf__)); extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); extern ssize_t sendto (int __fd, const void *__buf, size_t __n, int __flags, const struct sockaddr * __addr, socklen_t __addr_len); # 174 "/usr/include/i386-linux-gnu/sys/socket.h" 3 4 extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, struct sockaddr *__restrict __addr, socklen_t *__restrict __addr_len); extern ssize_t sendmsg (int __fd, const struct msghdr *__message, int __flags); # 202 "/usr/include/i386-linux-gnu/sys/socket.h" 3 4 extern ssize_t recvmsg (int __fd, struct msghdr *__message, int __flags); # 219 "/usr/include/i386-linux-gnu/sys/socket.h" 3 4 extern int getsockopt (int __fd, int __level, int __optname, void *__restrict __optval, socklen_t *__restrict __optlen) __attribute__ ((__nothrow__ , __leaf__)); extern int setsockopt (int __fd, int __level, int __optname, const void *__optval, socklen_t __optlen) __attribute__ ((__nothrow__ , __leaf__)); extern int listen (int __fd, int __n) __attribute__ ((__nothrow__ , __leaf__)); # 243 "/usr/include/i386-linux-gnu/sys/socket.h" 3 4 extern int accept (int __fd, struct sockaddr *__restrict __addr, socklen_t *__restrict __addr_len); # 261 "/usr/include/i386-linux-gnu/sys/socket.h" 3 4 extern int shutdown (int __fd, int __how) __attribute__ ((__nothrow__ , __leaf__)); extern int sockatmark (int __fd) __attribute__ ((__nothrow__ , __leaf__)); extern int isfdtype (int __fd, int __fdtype) __attribute__ ((__nothrow__ , __leaf__)); # 283 "/usr/include/i386-linux-gnu/sys/socket.h" 3 4 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_SYS_SOCKET_H" to "1" ================================================================================ TEST check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/types.h Executing: gcc -E -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/usr/include/i386-linux-gnu/sys/types.h" 1 3 4 # 25 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 364 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/sys/cdefs.h" 1 3 4 # 415 "/usr/include/i386-linux-gnu/sys/cdefs.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 416 "/usr/include/i386-linux-gnu/sys/cdefs.h" 2 3 4 # 365 "/usr/include/features.h" 2 3 4 # 388 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs.h" 1 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs-32.h" 1 3 4 # 8 "/usr/include/i386-linux-gnu/gnu/stubs.h" 2 3 4 # 389 "/usr/include/features.h" 2 3 4 # 26 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/types.h" 1 3 4 # 27 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 28 "/usr/include/i386-linux-gnu/bits/types.h" 2 3 4 # 30 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; __extension__ typedef signed long long int __int64_t; __extension__ typedef unsigned long long int __uint64_t; __extension__ typedef long long int __quad_t; __extension__ typedef unsigned long long int __u_quad_t; # 121 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/typesizes.h" 1 3 4 # 122 "/usr/include/i386-linux-gnu/bits/types.h" 2 3 4 __extension__ typedef __u_quad_t __dev_t; __extension__ typedef unsigned int __uid_t; __extension__ typedef unsigned int __gid_t; __extension__ typedef unsigned long int __ino_t; __extension__ typedef __u_quad_t __ino64_t; __extension__ typedef unsigned int __mode_t; __extension__ typedef unsigned int __nlink_t; __extension__ typedef long int __off_t; __extension__ typedef __quad_t __off64_t; __extension__ typedef int __pid_t; __extension__ typedef struct { int __val[2]; } __fsid_t; __extension__ typedef long int __clock_t; __extension__ typedef unsigned long int __rlim_t; __extension__ typedef __u_quad_t __rlim64_t; __extension__ typedef unsigned int __id_t; __extension__ typedef long int __time_t; __extension__ typedef unsigned int __useconds_t; __extension__ typedef long int __suseconds_t; __extension__ typedef int __daddr_t; __extension__ typedef int __key_t; __extension__ typedef int __clockid_t; __extension__ typedef void * __timer_t; __extension__ typedef long int __blksize_t; __extension__ typedef long int __blkcnt_t; __extension__ typedef __quad_t __blkcnt64_t; __extension__ typedef unsigned long int __fsblkcnt_t; __extension__ typedef __u_quad_t __fsblkcnt64_t; __extension__ typedef unsigned long int __fsfilcnt_t; __extension__ typedef __u_quad_t __fsfilcnt64_t; __extension__ typedef int __fsword_t; __extension__ typedef int __ssize_t; __extension__ typedef long int __syscall_slong_t; __extension__ typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; __extension__ typedef int __intptr_t; __extension__ typedef unsigned int __socklen_t; # 30 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino_t ino_t; # 60 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off_t off_t; # 98 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 132 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/include/time.h" 1 3 4 # 57 "/usr/include/time.h" 3 4 typedef __clock_t clock_t; # 73 "/usr/include/time.h" 3 4 typedef __time_t time_t; # 91 "/usr/include/time.h" 3 4 typedef __clockid_t clockid_t; # 103 "/usr/include/time.h" 3 4 typedef __timer_t timer_t; # 133 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 # 146 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 216 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 3 4 typedef unsigned int size_t; # 147 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 194 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 typedef int int8_t __attribute__ ((__mode__ (__QI__))); typedef int int16_t __attribute__ ((__mode__ (__HI__))); typedef int int32_t __attribute__ ((__mode__ (__SI__))); typedef int int64_t __attribute__ ((__mode__ (__DI__))); typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 216 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/include/endian.h" 1 3 4 # 36 "/usr/include/endian.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/endian.h" 1 3 4 # 37 "/usr/include/endian.h" 2 3 4 # 60 "/usr/include/endian.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/byteswap.h" 1 3 4 # 28 "/usr/include/i386-linux-gnu/bits/byteswap.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 29 "/usr/include/i386-linux-gnu/bits/byteswap.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/byteswap-16.h" 1 3 4 # 36 "/usr/include/i386-linux-gnu/bits/byteswap.h" 2 3 4 # 44 "/usr/include/i386-linux-gnu/bits/byteswap.h" 3 4 static __inline unsigned int __bswap_32 (unsigned int __bsx) { return __builtin_bswap32 (__bsx); } # 108 "/usr/include/i386-linux-gnu/bits/byteswap.h" 3 4 static __inline __uint64_t __bswap_64 (__uint64_t __bsx) { return __builtin_bswap64 (__bsx); } # 61 "/usr/include/endian.h" 2 3 4 # 217 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/sys/select.h" 1 3 4 # 30 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/select.h" 1 3 4 # 22 "/usr/include/i386-linux-gnu/bits/select.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 23 "/usr/include/i386-linux-gnu/bits/select.h" 2 3 4 # 31 "/usr/include/i386-linux-gnu/sys/select.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/sigset.h" 1 3 4 # 22 "/usr/include/i386-linux-gnu/bits/sigset.h" 3 4 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 34 "/usr/include/i386-linux-gnu/sys/select.h" 2 3 4 typedef __sigset_t sigset_t; # 1 "/usr/include/time.h" 1 3 4 # 120 "/usr/include/time.h" 3 4 struct timespec { __time_t tv_sec; __syscall_slong_t tv_nsec; }; # 46 "/usr/include/i386-linux-gnu/sys/select.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/time.h" 1 3 4 # 30 "/usr/include/i386-linux-gnu/bits/time.h" 3 4 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 48 "/usr/include/i386-linux-gnu/sys/select.h" 2 3 4 typedef __suseconds_t suseconds_t; typedef long int __fd_mask; # 66 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 typedef struct { __fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; # 98 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 # 108 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); # 120 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); # 133 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 # 220 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/sys/sysmacros.h" 1 3 4 # 24 "/usr/include/i386-linux-gnu/sys/sysmacros.h" 3 4 __extension__ extern unsigned int gnu_dev_major (unsigned long long int __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern unsigned int gnu_dev_minor (unsigned long long int __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); # 58 "/usr/include/i386-linux-gnu/sys/sysmacros.h" 3 4 # 223 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 typedef __blksize_t blksize_t; typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 270 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 1 3 4 # 21 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 22 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 2 3 4 # 60 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 typedef unsigned long int pthread_t; union pthread_attr_t { char __size[36]; long int __align; }; typedef union pthread_attr_t pthread_attr_t; # 81 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 typedef struct __pthread_internal_slist { struct __pthread_internal_slist *__next; } __pthread_slist_t; typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; int __kind; # 111 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 unsigned int __nusers; __extension__ union { struct { short __espins; short __elision; } __elision_data; __pthread_slist_t __list; }; } __data; char __size[24]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { # 202 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; unsigned char __flags; unsigned char __shared; signed char __rwelision; unsigned char __pad2; int __writer; } __data; char __size[32]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[20]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 271 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_SYS_TYPES_H" to "1" ================================================================================ TEST check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: malloc.h Executing: gcc -E -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/usr/include/malloc.h" 1 3 4 # 22 "/usr/include/malloc.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 364 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/sys/cdefs.h" 1 3 4 # 415 "/usr/include/i386-linux-gnu/sys/cdefs.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 416 "/usr/include/i386-linux-gnu/sys/cdefs.h" 2 3 4 # 365 "/usr/include/features.h" 2 3 4 # 388 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs.h" 1 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs-32.h" 1 3 4 # 8 "/usr/include/i386-linux-gnu/gnu/stubs.h" 2 3 4 # 389 "/usr/include/features.h" 2 3 4 # 23 "/usr/include/malloc.h" 2 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 149 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 3 4 # 149 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 3 4 typedef int ptrdiff_t; # 216 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 3 4 typedef unsigned int size_t; # 328 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 3 4 typedef long int wchar_t; # 426 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 3 4 typedef struct { long long __max_align_ll __attribute__((__aligned__(__alignof__(long long)))); long double __max_align_ld __attribute__((__aligned__(__alignof__(long double)))); __float128 __max_align_f128 __attribute__((__aligned__(__alignof(__float128)))); } max_align_t; # 24 "/usr/include/malloc.h" 2 3 4 # 1 "/usr/include/stdio.h" 1 3 4 # 29 "/usr/include/stdio.h" 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 34 "/usr/include/stdio.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/types.h" 1 3 4 # 27 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 28 "/usr/include/i386-linux-gnu/bits/types.h" 2 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; __extension__ typedef signed long long int __int64_t; __extension__ typedef unsigned long long int __uint64_t; __extension__ typedef long long int __quad_t; __extension__ typedef unsigned long long int __u_quad_t; # 121 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/typesizes.h" 1 3 4 # 122 "/usr/include/i386-linux-gnu/bits/types.h" 2 3 4 __extension__ typedef __u_quad_t __dev_t; __extension__ typedef unsigned int __uid_t; __extension__ typedef unsigned int __gid_t; __extension__ typedef unsigned long int __ino_t; __extension__ typedef __u_quad_t __ino64_t; __extension__ typedef unsigned int __mode_t; __extension__ typedef unsigned int __nlink_t; __extension__ typedef long int __off_t; __extension__ typedef __quad_t __off64_t; __extension__ typedef int __pid_t; __extension__ typedef struct { int __val[2]; } __fsid_t; __extension__ typedef long int __clock_t; __extension__ typedef unsigned long int __rlim_t; __extension__ typedef __u_quad_t __rlim64_t; __extension__ typedef unsigned int __id_t; __extension__ typedef long int __time_t; __extension__ typedef unsigned int __useconds_t; __extension__ typedef long int __suseconds_t; __extension__ typedef int __daddr_t; __extension__ typedef int __key_t; __extension__ typedef int __clockid_t; __extension__ typedef void * __timer_t; __extension__ typedef long int __blksize_t; __extension__ typedef long int __blkcnt_t; __extension__ typedef __quad_t __blkcnt64_t; __extension__ typedef unsigned long int __fsblkcnt_t; __extension__ typedef __u_quad_t __fsblkcnt64_t; __extension__ typedef unsigned long int __fsfilcnt_t; __extension__ typedef __u_quad_t __fsfilcnt64_t; __extension__ typedef int __fsword_t; __extension__ typedef int __ssize_t; __extension__ typedef long int __syscall_slong_t; __extension__ typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; __extension__ typedef int __intptr_t; __extension__ typedef unsigned int __socklen_t; # 36 "/usr/include/stdio.h" 2 3 4 # 44 "/usr/include/stdio.h" 3 4 struct _IO_FILE; typedef struct _IO_FILE FILE; # 64 "/usr/include/stdio.h" 3 4 typedef struct _IO_FILE __FILE; # 74 "/usr/include/stdio.h" 3 4 # 1 "/usr/include/libio.h" 1 3 4 # 31 "/usr/include/libio.h" 3 4 # 1 "/usr/include/_G_config.h" 1 3 4 # 15 "/usr/include/_G_config.h" 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 16 "/usr/include/_G_config.h" 2 3 4 # 1 "/usr/include/wchar.h" 1 3 4 # 82 "/usr/include/wchar.h" 3 4 typedef struct { int __count; union { unsigned int __wch; char __wchb[4]; } __value; } __mbstate_t; # 21 "/usr/include/_G_config.h" 2 3 4 typedef struct { __off_t __pos; __mbstate_t __state; } _G_fpos_t; typedef struct { __off64_t __pos; __mbstate_t __state; } _G_fpos64_t; # 32 "/usr/include/libio.h" 2 3 4 # 49 "/usr/include/libio.h" 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stdarg.h" 1 3 4 # 40 "/usr/lib/gcc/i686-linux-gnu/7/include/stdarg.h" 3 4 typedef __builtin_va_list __gnuc_va_list; # 50 "/usr/include/libio.h" 2 3 4 # 144 "/usr/include/libio.h" 3 4 struct _IO_jump_t; struct _IO_FILE; typedef void _IO_lock_t; struct _IO_marker { struct _IO_marker *_next; struct _IO_FILE *_sbuf; int _pos; # 173 "/usr/include/libio.h" 3 4 }; enum __codecvt_result { __codecvt_ok, __codecvt_partial, __codecvt_error, __codecvt_noconv }; # 241 "/usr/include/libio.h" 3 4 struct _IO_FILE { int _flags; char* _IO_read_ptr; char* _IO_read_end; char* _IO_read_base; char* _IO_write_base; char* _IO_write_ptr; char* _IO_write_end; char* _IO_buf_base; char* _IO_buf_end; char *_IO_save_base; char *_IO_backup_base; char *_IO_save_end; struct _IO_marker *_markers; struct _IO_FILE *_chain; int _fileno; int _flags2; __off_t _old_offset; unsigned short _cur_column; signed char _vtable_offset; char _shortbuf[1]; _IO_lock_t *_lock; # 289 "/usr/include/libio.h" 3 4 __off64_t _offset; void *__pad1; void *__pad2; void *__pad3; void *__pad4; size_t __pad5; int _mode; char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)]; }; typedef struct _IO_FILE _IO_FILE; struct _IO_FILE_plus; extern struct _IO_FILE_plus _IO_2_1_stdin_; extern struct _IO_FILE_plus _IO_2_1_stdout_; extern struct _IO_FILE_plus _IO_2_1_stderr_; # 333 "/usr/include/libio.h" 3 4 typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes); typedef __ssize_t __io_write_fn (void *__cookie, const char *__buf, size_t __n); typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w); typedef int __io_close_fn (void *__cookie); # 385 "/usr/include/libio.h" 3 4 extern int __underflow (_IO_FILE *); extern int __uflow (_IO_FILE *); extern int __overflow (_IO_FILE *, int); # 429 "/usr/include/libio.h" 3 4 extern int _IO_getc (_IO_FILE *__fp); extern int _IO_putc (int __c, _IO_FILE *__fp); extern int _IO_feof (_IO_FILE *__fp) __attribute__ ((__nothrow__ , __leaf__)); extern int _IO_ferror (_IO_FILE *__fp) __attribute__ ((__nothrow__ , __leaf__)); extern int _IO_peekc_locked (_IO_FILE *__fp); extern void _IO_flockfile (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__)); extern void _IO_funlockfile (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__)); extern int _IO_ftrylockfile (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__)); # 459 "/usr/include/libio.h" 3 4 extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict, __gnuc_va_list, int *__restrict); extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict, __gnuc_va_list); extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t); extern size_t _IO_sgetn (_IO_FILE *, void *, size_t); extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int); extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int); extern void _IO_free_backup_area (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__)); # 75 "/usr/include/stdio.h" 2 3 4 typedef __gnuc_va_list va_list; # 90 "/usr/include/stdio.h" 3 4 typedef __off_t off_t; # 104 "/usr/include/stdio.h" 3 4 typedef __ssize_t ssize_t; typedef _G_fpos_t fpos_t; # 166 "/usr/include/stdio.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/stdio_lim.h" 1 3 4 # 167 "/usr/include/stdio.h" 2 3 4 extern struct _IO_FILE *stdin; extern struct _IO_FILE *stdout; extern struct _IO_FILE *stderr; extern int remove (const char *__filename) __attribute__ ((__nothrow__ , __leaf__)); extern int rename (const char *__old, const char *__new) __attribute__ ((__nothrow__ , __leaf__)); extern int renameat (int __oldfd, const char *__old, int __newfd, const char *__new) __attribute__ ((__nothrow__ , __leaf__)); extern FILE *tmpfile (void) ; # 211 "/usr/include/stdio.h" 3 4 extern char *tmpnam (char *__s) __attribute__ ((__nothrow__ , __leaf__)) ; extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__ , __leaf__)) ; # 229 "/usr/include/stdio.h" 3 4 extern char *tempnam (const char *__dir, const char *__pfx) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; extern int fclose (FILE *__stream); extern int fflush (FILE *__stream); # 254 "/usr/include/stdio.h" 3 4 extern int fflush_unlocked (FILE *__stream); # 268 "/usr/include/stdio.h" 3 4 extern FILE *fopen (const char *__restrict __filename, const char *__restrict __modes) ; extern FILE *freopen (const char *__restrict __filename, const char *__restrict __modes, FILE *__restrict __stream) ; # 297 "/usr/include/stdio.h" 3 4 # 308 "/usr/include/stdio.h" 3 4 extern FILE *fdopen (int __fd, const char *__modes) __attribute__ ((__nothrow__ , __leaf__)) ; # 321 "/usr/include/stdio.h" 3 4 extern FILE *fmemopen (void *__s, size_t __len, const char *__modes) __attribute__ ((__nothrow__ , __leaf__)) ; extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __attribute__ ((__nothrow__ , __leaf__)) ; extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)); extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf, int __modes, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf, size_t __size) __attribute__ ((__nothrow__ , __leaf__)); extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); extern int fprintf (FILE *__restrict __stream, const char *__restrict __format, ...); extern int printf (const char *__restrict __format, ...); extern int sprintf (char *__restrict __s, const char *__restrict __format, ...) __attribute__ ((__nothrow__)); extern int vfprintf (FILE *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg); extern int vprintf (const char *__restrict __format, __gnuc_va_list __arg); extern int vsprintf (char *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__nothrow__)); extern int snprintf (char *__restrict __s, size_t __maxlen, const char *__restrict __format, ...) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4))); extern int vsnprintf (char *__restrict __s, size_t __maxlen, const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0))); # 414 "/usr/include/stdio.h" 3 4 extern int vdprintf (int __fd, const char *__restrict __fmt, __gnuc_va_list __arg) __attribute__ ((__format__ (__printf__, 2, 0))); extern int dprintf (int __fd, const char *__restrict __fmt, ...) __attribute__ ((__format__ (__printf__, 2, 3))); extern int fscanf (FILE *__restrict __stream, const char *__restrict __format, ...) ; extern int scanf (const char *__restrict __format, ...) ; extern int sscanf (const char *__restrict __s, const char *__restrict __format, ...) __attribute__ ((__nothrow__ , __leaf__)); # 445 "/usr/include/stdio.h" 3 4 extern int fscanf (FILE *__restrict __stream, const char *__restrict __format, ...) __asm__ ("" "__isoc99_fscanf") ; extern int scanf (const char *__restrict __format, ...) __asm__ ("" "__isoc99_scanf") ; extern int sscanf (const char *__restrict __s, const char *__restrict __format, ...) __asm__ ("" "__isoc99_sscanf") __attribute__ ((__nothrow__ , __leaf__)) ; # 465 "/usr/include/stdio.h" 3 4 extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__format__ (__scanf__, 2, 0))) ; extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__format__ (__scanf__, 1, 0))) ; extern int vsscanf (const char *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format__ (__scanf__, 2, 0))); # 496 "/usr/include/stdio.h" 3 4 extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vfscanf") __attribute__ ((__format__ (__scanf__, 2, 0))) ; extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vscanf") __attribute__ ((__format__ (__scanf__, 1, 0))) ; extern int vsscanf (const char *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vsscanf") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format__ (__scanf__, 2, 0))); # 524 "/usr/include/stdio.h" 3 4 extern int fgetc (FILE *__stream); extern int getc (FILE *__stream); extern int getchar (void); # 552 "/usr/include/stdio.h" 3 4 extern int getc_unlocked (FILE *__stream); extern int getchar_unlocked (void); # 563 "/usr/include/stdio.h" 3 4 extern int fgetc_unlocked (FILE *__stream); extern int fputc (int __c, FILE *__stream); extern int putc (int __c, FILE *__stream); extern int putchar (int __c); # 596 "/usr/include/stdio.h" 3 4 extern int fputc_unlocked (int __c, FILE *__stream); extern int putc_unlocked (int __c, FILE *__stream); extern int putchar_unlocked (int __c); extern int getw (FILE *__stream); extern int putw (int __w, FILE *__stream); extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ; # 642 "/usr/include/stdio.h" 3 4 # 667 "/usr/include/stdio.h" 3 4 extern __ssize_t __getdelim (char **__restrict __lineptr, size_t *__restrict __n, int __delimiter, FILE *__restrict __stream) ; extern __ssize_t getdelim (char **__restrict __lineptr, size_t *__restrict __n, int __delimiter, FILE *__restrict __stream) ; extern __ssize_t getline (char **__restrict __lineptr, size_t *__restrict __n, FILE *__restrict __stream) ; extern int fputs (const char *__restrict __s, FILE *__restrict __stream); extern int puts (const char *__s); extern int ungetc (int __c, FILE *__stream); extern size_t fread (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) ; extern size_t fwrite (const void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __s); # 739 "/usr/include/stdio.h" 3 4 extern size_t fread_unlocked (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) ; extern size_t fwrite_unlocked (const void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream); extern int fseek (FILE *__stream, long int __off, int __whence); extern long int ftell (FILE *__stream) ; extern void rewind (FILE *__stream); # 775 "/usr/include/stdio.h" 3 4 extern int fseeko (FILE *__stream, __off_t __off, int __whence); extern __off_t ftello (FILE *__stream) ; # 794 "/usr/include/stdio.h" 3 4 extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos); extern int fsetpos (FILE *__stream, const fpos_t *__pos); # 817 "/usr/include/stdio.h" 3 4 # 826 "/usr/include/stdio.h" 3 4 extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); extern int feof (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; extern int ferror (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; extern void perror (const char *__s); # 1 "/usr/include/i386-linux-gnu/bits/sys_errlist.h" 1 3 4 # 26 "/usr/include/i386-linux-gnu/bits/sys_errlist.h" 3 4 extern int sys_nerr; extern const char *const sys_errlist[]; # 856 "/usr/include/stdio.h" 2 3 4 extern int fileno (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; # 874 "/usr/include/stdio.h" 3 4 extern FILE *popen (const char *__command, const char *__modes) ; extern int pclose (FILE *__stream); extern char *ctermid (char *__s) __attribute__ ((__nothrow__ , __leaf__)); # 914 "/usr/include/stdio.h" 3 4 extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); # 944 "/usr/include/stdio.h" 3 4 # 25 "/usr/include/malloc.h" 2 3 4 # 35 "/usr/include/malloc.h" 3 4 extern void *malloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; extern void *calloc (size_t __nmemb, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; extern void *realloc (void *__ptr, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern void free (void *__ptr) __attribute__ ((__nothrow__ , __leaf__)); extern void cfree (void *__ptr) __attribute__ ((__nothrow__ , __leaf__)); extern void *memalign (size_t __alignment, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; extern void *valloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; extern void *pvalloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; extern void *(*__morecore) (ptrdiff_t __size); extern void *__default_morecore (ptrdiff_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)); struct mallinfo { int arena; int ordblks; int smblks; int hblks; int hblkhd; int usmblks; int fsmblks; int uordblks; int fordblks; int keepcost; }; extern struct mallinfo mallinfo (void) __attribute__ ((__nothrow__ , __leaf__)); # 121 "/usr/include/malloc.h" 3 4 extern int mallopt (int __param, int __val) __attribute__ ((__nothrow__ , __leaf__)); extern int malloc_trim (size_t __pad) __attribute__ ((__nothrow__ , __leaf__)); extern size_t malloc_usable_size (void *__ptr) __attribute__ ((__nothrow__ , __leaf__)); extern void malloc_stats (void) __attribute__ ((__nothrow__ , __leaf__)); extern int malloc_info (int __options, FILE *__fp) __attribute__ ((__nothrow__ , __leaf__)); extern void *malloc_get_state (void) __attribute__ ((__nothrow__ , __leaf__)); extern int malloc_set_state (void *__ptr) __attribute__ ((__nothrow__ , __leaf__)); extern void (*volatile __free_hook) (void *__ptr, const void *) __attribute__ ((__deprecated__)); extern void *(*volatile __malloc_hook)(size_t __size, const void *) __attribute__ ((__deprecated__)); extern void *(*volatile __realloc_hook)(void *__ptr, size_t __size, const void *) __attribute__ ((__deprecated__)); extern void *(*volatile __memalign_hook)(size_t __alignment, size_t __size, const void *) __attribute__ ((__deprecated__)); extern void (*volatile __after_morecore_hook) (void); extern void __malloc_check_init (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_MALLOC_H" to "1" ================================================================================ TEST check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: time.h Executing: gcc -E -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/usr/include/time.h" 1 3 4 # 27 "/usr/include/time.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 364 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/sys/cdefs.h" 1 3 4 # 415 "/usr/include/i386-linux-gnu/sys/cdefs.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 416 "/usr/include/i386-linux-gnu/sys/cdefs.h" 2 3 4 # 365 "/usr/include/features.h" 2 3 4 # 388 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs.h" 1 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs-32.h" 1 3 4 # 8 "/usr/include/i386-linux-gnu/gnu/stubs.h" 2 3 4 # 389 "/usr/include/features.h" 2 3 4 # 28 "/usr/include/time.h" 2 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 216 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 3 4 # 216 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 3 4 typedef unsigned int size_t; # 38 "/usr/include/time.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/time.h" 1 3 4 # 42 "/usr/include/time.h" 2 3 4 # 55 "/usr/include/time.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/types.h" 1 3 4 # 27 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 28 "/usr/include/i386-linux-gnu/bits/types.h" 2 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; __extension__ typedef signed long long int __int64_t; __extension__ typedef unsigned long long int __uint64_t; __extension__ typedef long long int __quad_t; __extension__ typedef unsigned long long int __u_quad_t; # 121 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/typesizes.h" 1 3 4 # 122 "/usr/include/i386-linux-gnu/bits/types.h" 2 3 4 __extension__ typedef __u_quad_t __dev_t; __extension__ typedef unsigned int __uid_t; __extension__ typedef unsigned int __gid_t; __extension__ typedef unsigned long int __ino_t; __extension__ typedef __u_quad_t __ino64_t; __extension__ typedef unsigned int __mode_t; __extension__ typedef unsigned int __nlink_t; __extension__ typedef long int __off_t; __extension__ typedef __quad_t __off64_t; __extension__ typedef int __pid_t; __extension__ typedef struct { int __val[2]; } __fsid_t; __extension__ typedef long int __clock_t; __extension__ typedef unsigned long int __rlim_t; __extension__ typedef __u_quad_t __rlim64_t; __extension__ typedef unsigned int __id_t; __extension__ typedef long int __time_t; __extension__ typedef unsigned int __useconds_t; __extension__ typedef long int __suseconds_t; __extension__ typedef int __daddr_t; __extension__ typedef int __key_t; __extension__ typedef int __clockid_t; __extension__ typedef void * __timer_t; __extension__ typedef long int __blksize_t; __extension__ typedef long int __blkcnt_t; __extension__ typedef __quad_t __blkcnt64_t; __extension__ typedef unsigned long int __fsblkcnt_t; __extension__ typedef __u_quad_t __fsblkcnt64_t; __extension__ typedef unsigned long int __fsfilcnt_t; __extension__ typedef __u_quad_t __fsfilcnt64_t; __extension__ typedef int __fsword_t; __extension__ typedef int __ssize_t; __extension__ typedef long int __syscall_slong_t; __extension__ typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; __extension__ typedef int __intptr_t; __extension__ typedef unsigned int __socklen_t; # 56 "/usr/include/time.h" 2 3 4 typedef __clock_t clock_t; # 73 "/usr/include/time.h" 3 4 typedef __time_t time_t; # 91 "/usr/include/time.h" 3 4 typedef __clockid_t clockid_t; # 103 "/usr/include/time.h" 3 4 typedef __timer_t timer_t; # 120 "/usr/include/time.h" 3 4 struct timespec { __time_t tv_sec; __syscall_slong_t tv_nsec; }; struct tm { int tm_sec; int tm_min; int tm_hour; int tm_mday; int tm_mon; int tm_year; int tm_wday; int tm_yday; int tm_isdst; long int tm_gmtoff; const char *tm_zone; }; struct itimerspec { struct timespec it_interval; struct timespec it_value; }; struct sigevent; typedef __pid_t pid_t; # 186 "/usr/include/time.h" 3 4 extern clock_t clock (void) __attribute__ ((__nothrow__ , __leaf__)); extern time_t time (time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); extern double difftime (time_t __time1, time_t __time0) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern time_t mktime (struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern size_t strftime (char *__restrict __s, size_t __maxsize, const char *__restrict __format, const struct tm *__restrict __tp) __attribute__ ((__nothrow__ , __leaf__)); # 221 "/usr/include/time.h" 3 4 # 1 "/usr/include/xlocale.h" 1 3 4 # 27 "/usr/include/xlocale.h" 3 4 typedef struct __locale_struct { struct __locale_data *__locales[13]; const unsigned short int *__ctype_b; const int *__ctype_tolower; const int *__ctype_toupper; const char *__names[13]; } *__locale_t; typedef __locale_t locale_t; # 222 "/usr/include/time.h" 2 3 4 extern size_t strftime_l (char *__restrict __s, size_t __maxsize, const char *__restrict __format, const struct tm *__restrict __tp, __locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)); # 236 "/usr/include/time.h" 3 4 extern struct tm *gmtime (const time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); extern struct tm *localtime (const time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); extern struct tm *gmtime_r (const time_t *__restrict __timer, struct tm *__restrict __tp) __attribute__ ((__nothrow__ , __leaf__)); extern struct tm *localtime_r (const time_t *__restrict __timer, struct tm *__restrict __tp) __attribute__ ((__nothrow__ , __leaf__)); extern char *asctime (const struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern char *ctime (const time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); extern char *asctime_r (const struct tm *__restrict __tp, char *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)); extern char *ctime_r (const time_t *__restrict __timer, char *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)); extern char *__tzname[2]; extern int __daylight; extern long int __timezone; extern char *tzname[2]; extern void tzset (void) __attribute__ ((__nothrow__ , __leaf__)); extern int daylight; extern long int timezone; extern int stime (const time_t *__when) __attribute__ ((__nothrow__ , __leaf__)); # 319 "/usr/include/time.h" 3 4 extern time_t timegm (struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern time_t timelocal (struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern int dysize (int __year) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); # 334 "/usr/include/time.h" 3 4 extern int nanosleep (const struct timespec *__requested_time, struct timespec *__remaining); extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __attribute__ ((__nothrow__ , __leaf__)); extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern int clock_settime (clockid_t __clock_id, const struct timespec *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern int clock_nanosleep (clockid_t __clock_id, int __flags, const struct timespec *__req, struct timespec *__rem); extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __attribute__ ((__nothrow__ , __leaf__)); extern int timer_create (clockid_t __clock_id, struct sigevent *__restrict __evp, timer_t *__restrict __timerid) __attribute__ ((__nothrow__ , __leaf__)); extern int timer_delete (timer_t __timerid) __attribute__ ((__nothrow__ , __leaf__)); extern int timer_settime (timer_t __timerid, int __flags, const struct itimerspec *__restrict __value, struct itimerspec *__restrict __ovalue) __attribute__ ((__nothrow__ , __leaf__)); extern int timer_gettime (timer_t __timerid, struct itimerspec *__value) __attribute__ ((__nothrow__ , __leaf__)); extern int timer_getoverrun (timer_t __timerid) __attribute__ ((__nothrow__ , __leaf__)); extern int timespec_get (struct timespec *__ts, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 430 "/usr/include/time.h" 3 4 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_TIME_H" to "1" ================================================================================ TEST check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: Direct.h Executing: gcc -E -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 Possible ERROR while running preprocessor: exit code 256 stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2stderr: /tmp/petsc-Ymuwb2/config.headers/conftest.c:3:10: fatal error: Direct.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess stderr before filtering:/tmp/petsc-Ymuwb2/config.headers/conftest.c:3:10: fatal error: Direct.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. : Preprocess stderr after filtering:/tmp/petsc-Ymuwb2/config.headers/conftest.c:3:10: fatal error: Direct.h: No such file or directory #include ^~~~~~~~~~compilation terminated.: ================================================================================ TEST check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: Ws2tcpip.h Executing: gcc -E -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 Possible ERROR while running preprocessor: exit code 256 stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2stderr: /tmp/petsc-Ymuwb2/config.headers/conftest.c:3:10: fatal error: Ws2tcpip.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess stderr before filtering:/tmp/petsc-Ymuwb2/config.headers/conftest.c:3:10: fatal error: Ws2tcpip.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. : Preprocess stderr after filtering:/tmp/petsc-Ymuwb2/config.headers/conftest.c:3:10: fatal error: Ws2tcpip.h: No such file or directory #include ^~~~~~~~~~~~compilation terminated.: ================================================================================ TEST check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: endian.h Executing: gcc -E -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/usr/include/endian.h" 1 3 4 # 21 "/usr/include/endian.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 364 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/sys/cdefs.h" 1 3 4 # 415 "/usr/include/i386-linux-gnu/sys/cdefs.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 416 "/usr/include/i386-linux-gnu/sys/cdefs.h" 2 3 4 # 365 "/usr/include/features.h" 2 3 4 # 388 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs.h" 1 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs-32.h" 1 3 4 # 8 "/usr/include/i386-linux-gnu/gnu/stubs.h" 2 3 4 # 389 "/usr/include/features.h" 2 3 4 # 22 "/usr/include/endian.h" 2 3 4 # 36 "/usr/include/endian.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/endian.h" 1 3 4 # 37 "/usr/include/endian.h" 2 3 4 # 60 "/usr/include/endian.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/byteswap.h" 1 3 4 # 27 "/usr/include/i386-linux-gnu/bits/byteswap.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/types.h" 1 3 4 # 27 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 28 "/usr/include/i386-linux-gnu/bits/types.h" 2 3 4 # 30 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; __extension__ typedef signed long long int __int64_t; __extension__ typedef unsigned long long int __uint64_t; __extension__ typedef long long int __quad_t; __extension__ typedef unsigned long long int __u_quad_t; # 121 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/typesizes.h" 1 3 4 # 122 "/usr/include/i386-linux-gnu/bits/types.h" 2 3 4 __extension__ typedef __u_quad_t __dev_t; __extension__ typedef unsigned int __uid_t; __extension__ typedef unsigned int __gid_t; __extension__ typedef unsigned long int __ino_t; __extension__ typedef __u_quad_t __ino64_t; __extension__ typedef unsigned int __mode_t; __extension__ typedef unsigned int __nlink_t; __extension__ typedef long int __off_t; __extension__ typedef __quad_t __off64_t; __extension__ typedef int __pid_t; __extension__ typedef struct { int __val[2]; } __fsid_t; __extension__ typedef long int __clock_t; __extension__ typedef unsigned long int __rlim_t; __extension__ typedef __u_quad_t __rlim64_t; __extension__ typedef unsigned int __id_t; __extension__ typedef long int __time_t; __extension__ typedef unsigned int __useconds_t; __extension__ typedef long int __suseconds_t; __extension__ typedef int __daddr_t; __extension__ typedef int __key_t; __extension__ typedef int __clockid_t; __extension__ typedef void * __timer_t; __extension__ typedef long int __blksize_t; __extension__ typedef long int __blkcnt_t; __extension__ typedef __quad_t __blkcnt64_t; __extension__ typedef unsigned long int __fsblkcnt_t; __extension__ typedef __u_quad_t __fsblkcnt64_t; __extension__ typedef unsigned long int __fsfilcnt_t; __extension__ typedef __u_quad_t __fsfilcnt64_t; __extension__ typedef int __fsword_t; __extension__ typedef int __ssize_t; __extension__ typedef long int __syscall_slong_t; __extension__ typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; __extension__ typedef int __intptr_t; __extension__ typedef unsigned int __socklen_t; # 28 "/usr/include/i386-linux-gnu/bits/byteswap.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 29 "/usr/include/i386-linux-gnu/bits/byteswap.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/byteswap-16.h" 1 3 4 # 36 "/usr/include/i386-linux-gnu/bits/byteswap.h" 2 3 4 # 44 "/usr/include/i386-linux-gnu/bits/byteswap.h" 3 4 static __inline unsigned int __bswap_32 (unsigned int __bsx) { return __builtin_bswap32 (__bsx); } # 108 "/usr/include/i386-linux-gnu/bits/byteswap.h" 3 4 static __inline __uint64_t __bswap_64 (__uint64_t __bsx) { return __builtin_bswap64 (__bsx); } # 61 "/usr/include/endian.h" 2 3 4 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_ENDIAN_H" to "1" ================================================================================ TEST check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: ieeefp.h Executing: gcc -E -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 Possible ERROR while running preprocessor: exit code 256 stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2stderr: /tmp/petsc-Ymuwb2/config.headers/conftest.c:3:10: fatal error: ieeefp.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess stderr before filtering:/tmp/petsc-Ymuwb2/config.headers/conftest.c:3:10: fatal error: ieeefp.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. : Preprocess stderr after filtering:/tmp/petsc-Ymuwb2/config.headers/conftest.c:3:10: fatal error: ieeefp.h: No such file or directory #include ^~~~~~~~~~compilation terminated.: ================================================================================ TEST check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: strings.h Executing: gcc -E -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/usr/include/strings.h" 1 3 4 # 26 "/usr/include/strings.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 364 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/sys/cdefs.h" 1 3 4 # 415 "/usr/include/i386-linux-gnu/sys/cdefs.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 416 "/usr/include/i386-linux-gnu/sys/cdefs.h" 2 3 4 # 365 "/usr/include/features.h" 2 3 4 # 388 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs.h" 1 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs-32.h" 1 3 4 # 8 "/usr/include/i386-linux-gnu/gnu/stubs.h" 2 3 4 # 389 "/usr/include/features.h" 2 3 4 # 27 "/usr/include/strings.h" 2 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 216 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 3 4 # 216 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 3 4 typedef unsigned int size_t; # 29 "/usr/include/strings.h" 2 3 4 extern int bcmp (const void *__s1, const void *__s2, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)); extern void bcopy (const void *__src, void *__dest, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); # 72 "/usr/include/strings.h" 3 4 extern char *index (const char *__s, int __c) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 100 "/usr/include/strings.h" 3 4 extern char *rindex (const char *__s, int __c) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern int ffs (int __i) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((const)); extern int strcasecmp (const char *__s1, const char *__s2) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)); extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)); # 1 "/usr/include/xlocale.h" 1 3 4 # 27 "/usr/include/xlocale.h" 3 4 typedef struct __locale_struct { struct __locale_data *__locales[13]; const unsigned short int *__ctype_b; const int *__ctype_tolower; const int *__ctype_toupper; const char *__names[13]; } *__locale_t; typedef __locale_t locale_t; # 124 "/usr/include/strings.h" 2 3 4 extern int strcasecmp_l (const char *__s1, const char *__s2, __locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3))); extern int strncasecmp_l (const char *__s1, const char *__s2, size_t __n, __locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 4))); # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_STRINGS_H" to "1" ================================================================================ TEST check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: inttypes.h Executing: gcc -E -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/usr/include/inttypes.h" 1 3 4 # 25 "/usr/include/inttypes.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 364 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/sys/cdefs.h" 1 3 4 # 415 "/usr/include/i386-linux-gnu/sys/cdefs.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 416 "/usr/include/i386-linux-gnu/sys/cdefs.h" 2 3 4 # 365 "/usr/include/features.h" 2 3 4 # 388 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs.h" 1 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs-32.h" 1 3 4 # 8 "/usr/include/i386-linux-gnu/gnu/stubs.h" 2 3 4 # 389 "/usr/include/features.h" 2 3 4 # 26 "/usr/include/inttypes.h" 2 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stdint.h" 1 3 4 # 9 "/usr/lib/gcc/i686-linux-gnu/7/include/stdint.h" 3 4 # 1 "/usr/include/stdint.h" 1 3 4 # 26 "/usr/include/stdint.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wchar.h" 1 3 4 # 27 "/usr/include/stdint.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 28 "/usr/include/stdint.h" 2 3 4 # 36 "/usr/include/stdint.h" 3 4 # 36 "/usr/include/stdint.h" 3 4 typedef signed char int8_t; typedef short int int16_t; typedef int int32_t; __extension__ typedef long long int int64_t; typedef unsigned char uint8_t; typedef unsigned short int uint16_t; typedef unsigned int uint32_t; __extension__ typedef unsigned long long int uint64_t; typedef signed char int_least8_t; typedef short int int_least16_t; typedef int int_least32_t; __extension__ typedef long long int int_least64_t; typedef unsigned char uint_least8_t; typedef unsigned short int uint_least16_t; typedef unsigned int uint_least32_t; __extension__ typedef unsigned long long int uint_least64_t; typedef signed char int_fast8_t; typedef int int_fast16_t; typedef int int_fast32_t; __extension__ typedef long long int int_fast64_t; typedef unsigned char uint_fast8_t; typedef unsigned int uint_fast16_t; typedef unsigned int uint_fast32_t; __extension__ typedef unsigned long long int uint_fast64_t; # 125 "/usr/include/stdint.h" 3 4 typedef int intptr_t; typedef unsigned int uintptr_t; # 137 "/usr/include/stdint.h" 3 4 __extension__ typedef long long int intmax_t; __extension__ typedef unsigned long long int uintmax_t; # 10 "/usr/lib/gcc/i686-linux-gnu/7/include/stdint.h" 2 3 4 # 28 "/usr/include/inttypes.h" 2 3 4 typedef long int __gwchar_t; # 266 "/usr/include/inttypes.h" 3 4 # 280 "/usr/include/inttypes.h" 3 4 typedef struct { __extension__ long long int quot; __extension__ long long int rem; } imaxdiv_t; extern intmax_t imaxabs (intmax_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern imaxdiv_t imaxdiv (intmax_t __numer, intmax_t __denom) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern intmax_t strtoimax (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)); extern uintmax_t strtoumax (const char *__restrict __nptr, char ** __restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)); extern intmax_t wcstoimax (const __gwchar_t *__restrict __nptr, __gwchar_t **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)); extern uintmax_t wcstoumax (const __gwchar_t *__restrict __nptr, __gwchar_t ** __restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)); # 432 "/usr/include/inttypes.h" 3 4 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_INTTYPES_H" to "1" ================================================================================ TEST check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sched.h Executing: gcc -E -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/usr/include/sched.h" 1 3 4 # 22 "/usr/include/sched.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 364 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/sys/cdefs.h" 1 3 4 # 415 "/usr/include/i386-linux-gnu/sys/cdefs.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 416 "/usr/include/i386-linux-gnu/sys/cdefs.h" 2 3 4 # 365 "/usr/include/features.h" 2 3 4 # 388 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs.h" 1 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs-32.h" 1 3 4 # 8 "/usr/include/i386-linux-gnu/gnu/stubs.h" 2 3 4 # 389 "/usr/include/features.h" 2 3 4 # 23 "/usr/include/sched.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/types.h" 1 3 4 # 27 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 28 "/usr/include/i386-linux-gnu/bits/types.h" 2 3 4 # 30 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; __extension__ typedef signed long long int __int64_t; __extension__ typedef unsigned long long int __uint64_t; __extension__ typedef long long int __quad_t; __extension__ typedef unsigned long long int __u_quad_t; # 121 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/typesizes.h" 1 3 4 # 122 "/usr/include/i386-linux-gnu/bits/types.h" 2 3 4 __extension__ typedef __u_quad_t __dev_t; __extension__ typedef unsigned int __uid_t; __extension__ typedef unsigned int __gid_t; __extension__ typedef unsigned long int __ino_t; __extension__ typedef __u_quad_t __ino64_t; __extension__ typedef unsigned int __mode_t; __extension__ typedef unsigned int __nlink_t; __extension__ typedef long int __off_t; __extension__ typedef __quad_t __off64_t; __extension__ typedef int __pid_t; __extension__ typedef struct { int __val[2]; } __fsid_t; __extension__ typedef long int __clock_t; __extension__ typedef unsigned long int __rlim_t; __extension__ typedef __u_quad_t __rlim64_t; __extension__ typedef unsigned int __id_t; __extension__ typedef long int __time_t; __extension__ typedef unsigned int __useconds_t; __extension__ typedef long int __suseconds_t; __extension__ typedef int __daddr_t; __extension__ typedef int __key_t; __extension__ typedef int __clockid_t; __extension__ typedef void * __timer_t; __extension__ typedef long int __blksize_t; __extension__ typedef long int __blkcnt_t; __extension__ typedef __quad_t __blkcnt64_t; __extension__ typedef unsigned long int __fsblkcnt_t; __extension__ typedef __u_quad_t __fsblkcnt64_t; __extension__ typedef unsigned long int __fsfilcnt_t; __extension__ typedef __u_quad_t __fsfilcnt64_t; __extension__ typedef int __fsword_t; __extension__ typedef int __ssize_t; __extension__ typedef long int __syscall_slong_t; __extension__ typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; __extension__ typedef int __intptr_t; __extension__ typedef unsigned int __socklen_t; # 26 "/usr/include/sched.h" 2 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 216 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 3 4 typedef unsigned int size_t; # 29 "/usr/include/sched.h" 2 3 4 # 1 "/usr/include/time.h" 1 3 4 # 73 "/usr/include/time.h" 3 4 typedef __time_t time_t; # 120 "/usr/include/time.h" 3 4 struct timespec { __time_t tv_sec; __syscall_slong_t tv_nsec; }; # 35 "/usr/include/sched.h" 2 3 4 typedef __pid_t pid_t; # 1 "/usr/include/i386-linux-gnu/bits/sched.h" 1 3 4 # 73 "/usr/include/i386-linux-gnu/bits/sched.h" 3 4 struct sched_param { int __sched_priority; }; # 96 "/usr/include/i386-linux-gnu/bits/sched.h" 3 4 struct __sched_param { int __sched_priority; }; # 119 "/usr/include/i386-linux-gnu/bits/sched.h" 3 4 typedef unsigned long int __cpu_mask; typedef struct { __cpu_mask __bits[1024 / (8 * sizeof (__cpu_mask))]; } cpu_set_t; # 202 "/usr/include/i386-linux-gnu/bits/sched.h" 3 4 extern int __sched_cpucount (size_t __setsize, const cpu_set_t *__setp) __attribute__ ((__nothrow__ , __leaf__)); extern cpu_set_t *__sched_cpualloc (size_t __count) __attribute__ ((__nothrow__ , __leaf__)) ; extern void __sched_cpufree (cpu_set_t *__set) __attribute__ ((__nothrow__ , __leaf__)); # 44 "/usr/include/sched.h" 2 3 4 extern int sched_setparam (__pid_t __pid, const struct sched_param *__param) __attribute__ ((__nothrow__ , __leaf__)); extern int sched_getparam (__pid_t __pid, struct sched_param *__param) __attribute__ ((__nothrow__ , __leaf__)); extern int sched_setscheduler (__pid_t __pid, int __policy, const struct sched_param *__param) __attribute__ ((__nothrow__ , __leaf__)); extern int sched_getscheduler (__pid_t __pid) __attribute__ ((__nothrow__ , __leaf__)); extern int sched_yield (void) __attribute__ ((__nothrow__ , __leaf__)); extern int sched_get_priority_max (int __algorithm) __attribute__ ((__nothrow__ , __leaf__)); extern int sched_get_priority_min (int __algorithm) __attribute__ ((__nothrow__ , __leaf__)); extern int sched_rr_get_interval (__pid_t __pid, struct timespec *__t) __attribute__ ((__nothrow__ , __leaf__)); # 126 "/usr/include/sched.h" 3 4 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_SCHED_H" to "1" ================================================================================ TEST check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: cxxabi.h Executing: gcc -E -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 Possible ERROR while running preprocessor: exit code 256 stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2stderr: /tmp/petsc-Ymuwb2/config.headers/conftest.c:3:10: fatal error: cxxabi.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess stderr before filtering:/tmp/petsc-Ymuwb2/config.headers/conftest.c:3:10: fatal error: cxxabi.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. : Preprocess stderr after filtering:/tmp/petsc-Ymuwb2/config.headers/conftest.c:3:10: fatal error: cxxabi.h: No such file or directory #include ^~~~~~~~~~compilation terminated.: ================================================================================ TEST check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/systeminfo.h Executing: gcc -E -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 Possible ERROR while running preprocessor: exit code 256 stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2stderr: /tmp/petsc-Ymuwb2/config.headers/conftest.c:3:10: fatal error: sys/systeminfo.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess stderr before filtering:/tmp/petsc-Ymuwb2/config.headers/conftest.c:3:10: fatal error: sys/systeminfo.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. : Preprocess stderr after filtering:/tmp/petsc-Ymuwb2/config.headers/conftest.c:3:10: fatal error: sys/systeminfo.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~compilation terminated.: ================================================================================ TEST check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: dos.h Executing: gcc -E -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 Possible ERROR while running preprocessor: exit code 256 stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2stderr: /tmp/petsc-Ymuwb2/config.headers/conftest.c:3:10: fatal error: dos.h: No such file or directory #include ^~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess stderr before filtering:/tmp/petsc-Ymuwb2/config.headers/conftest.c:3:10: fatal error: dos.h: No such file or directory #include ^~~~~~~ compilation terminated. : Preprocess stderr after filtering:/tmp/petsc-Ymuwb2/config.headers/conftest.c:3:10: fatal error: dos.h: No such file or directory #include ^~~~~~~compilation terminated.: ================================================================================ TEST check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: WindowsX.h Executing: gcc -E -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 Possible ERROR while running preprocessor: exit code 256 stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2stderr: /tmp/petsc-Ymuwb2/config.headers/conftest.c:3:10: fatal error: WindowsX.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess stderr before filtering:/tmp/petsc-Ymuwb2/config.headers/conftest.c:3:10: fatal error: WindowsX.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. : Preprocess stderr after filtering:/tmp/petsc-Ymuwb2/config.headers/conftest.c:3:10: fatal error: WindowsX.h: No such file or directory #include ^~~~~~~~~~~~compilation terminated.: ================================================================================ TEST check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/sysinfo.h Executing: gcc -E -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/usr/include/i386-linux-gnu/sys/sysinfo.h" 1 3 4 # 21 "/usr/include/i386-linux-gnu/sys/sysinfo.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 364 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/sys/cdefs.h" 1 3 4 # 415 "/usr/include/i386-linux-gnu/sys/cdefs.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 416 "/usr/include/i386-linux-gnu/sys/cdefs.h" 2 3 4 # 365 "/usr/include/features.h" 2 3 4 # 388 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs.h" 1 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs-32.h" 1 3 4 # 8 "/usr/include/i386-linux-gnu/gnu/stubs.h" 2 3 4 # 389 "/usr/include/features.h" 2 3 4 # 22 "/usr/include/i386-linux-gnu/sys/sysinfo.h" 2 3 4 # 1 "/usr/include/linux/kernel.h" 1 3 4 # 1 "/usr/include/linux/sysinfo.h" 1 3 4 # 1 "/usr/include/linux/types.h" 1 3 4 # 1 "/usr/include/i386-linux-gnu/asm/types.h" 1 3 4 # 1 "/usr/include/asm-generic/types.h" 1 3 4 # 1 "/usr/include/asm-generic/int-ll64.h" 1 3 4 # 11 "/usr/include/asm-generic/int-ll64.h" 3 4 # 1 "/usr/include/i386-linux-gnu/asm/bitsperlong.h" 1 3 4 # 10 "/usr/include/i386-linux-gnu/asm/bitsperlong.h" 3 4 # 1 "/usr/include/asm-generic/bitsperlong.h" 1 3 4 # 11 "/usr/include/i386-linux-gnu/asm/bitsperlong.h" 2 3 4 # 12 "/usr/include/asm-generic/int-ll64.h" 2 3 4 # 19 "/usr/include/asm-generic/int-ll64.h" 3 4 typedef __signed__ char __s8; typedef unsigned char __u8; typedef __signed__ short __s16; typedef unsigned short __u16; typedef __signed__ int __s32; typedef unsigned int __u32; __extension__ typedef __signed__ long long __s64; __extension__ typedef unsigned long long __u64; # 7 "/usr/include/asm-generic/types.h" 2 3 4 # 5 "/usr/include/i386-linux-gnu/asm/types.h" 2 3 4 # 5 "/usr/include/linux/types.h" 2 3 4 # 1 "/usr/include/linux/posix_types.h" 1 3 4 # 1 "/usr/include/linux/stddef.h" 1 3 4 # 5 "/usr/include/linux/posix_types.h" 2 3 4 # 24 "/usr/include/linux/posix_types.h" 3 4 typedef struct { unsigned long fds_bits[1024 / (8 * sizeof(long))]; } __kernel_fd_set; typedef void (*__kernel_sighandler_t)(int); typedef int __kernel_key_t; typedef int __kernel_mqd_t; # 1 "/usr/include/i386-linux-gnu/asm/posix_types.h" 1 3 4 # 1 "/usr/include/i386-linux-gnu/asm/posix_types_32.h" 1 3 4 # 10 "/usr/include/i386-linux-gnu/asm/posix_types_32.h" 3 4 typedef unsigned short __kernel_mode_t; typedef unsigned short __kernel_ipc_pid_t; typedef unsigned short __kernel_uid_t; typedef unsigned short __kernel_gid_t; typedef unsigned short __kernel_old_dev_t; # 1 "/usr/include/asm-generic/posix_types.h" 1 3 4 # 14 "/usr/include/asm-generic/posix_types.h" 3 4 typedef long __kernel_long_t; typedef unsigned long __kernel_ulong_t; typedef __kernel_ulong_t __kernel_ino_t; typedef int __kernel_pid_t; # 40 "/usr/include/asm-generic/posix_types.h" 3 4 typedef __kernel_long_t __kernel_suseconds_t; typedef int __kernel_daddr_t; typedef unsigned int __kernel_uid32_t; typedef unsigned int __kernel_gid32_t; typedef __kernel_uid_t __kernel_old_uid_t; typedef __kernel_gid_t __kernel_old_gid_t; # 67 "/usr/include/asm-generic/posix_types.h" 3 4 typedef unsigned int __kernel_size_t; typedef int __kernel_ssize_t; typedef int __kernel_ptrdiff_t; # 78 "/usr/include/asm-generic/posix_types.h" 3 4 typedef struct { int val[2]; } __kernel_fsid_t; typedef __kernel_long_t __kernel_off_t; typedef long long __kernel_loff_t; typedef __kernel_long_t __kernel_time_t; typedef __kernel_long_t __kernel_clock_t; typedef int __kernel_timer_t; typedef int __kernel_clockid_t; typedef char * __kernel_caddr_t; typedef unsigned short __kernel_uid16_t; typedef unsigned short __kernel_gid16_t; # 24 "/usr/include/i386-linux-gnu/asm/posix_types_32.h" 2 3 4 # 3 "/usr/include/i386-linux-gnu/asm/posix_types.h" 2 3 4 # 36 "/usr/include/linux/posix_types.h" 2 3 4 # 9 "/usr/include/linux/types.h" 2 3 4 # 23 "/usr/include/linux/types.h" 3 4 typedef __u16 __le16; typedef __u16 __be16; typedef __u32 __le32; typedef __u32 __be32; typedef __u64 __le64; typedef __u64 __be64; typedef __u16 __sum16; typedef __u32 __wsum; # 5 "/usr/include/linux/sysinfo.h" 2 3 4 struct sysinfo { __kernel_long_t uptime; __kernel_ulong_t loads[3]; __kernel_ulong_t totalram; __kernel_ulong_t freeram; __kernel_ulong_t sharedram; __kernel_ulong_t bufferram; __kernel_ulong_t totalswap; __kernel_ulong_t freeswap; __u16 procs; __u16 pad; __kernel_ulong_t totalhigh; __kernel_ulong_t freehigh; __u32 mem_unit; char _f[20-2*sizeof(__kernel_ulong_t)-sizeof(__u32)]; }; # 5 "/usr/include/linux/kernel.h" 2 3 4 # 25 "/usr/include/i386-linux-gnu/sys/sysinfo.h" 2 3 4 extern int sysinfo (struct sysinfo *__info) __attribute__ ((__nothrow__ , __leaf__)); extern int get_nprocs_conf (void) __attribute__ ((__nothrow__ , __leaf__)); extern int get_nprocs (void) __attribute__ ((__nothrow__ , __leaf__)); extern long int get_phys_pages (void) __attribute__ ((__nothrow__ , __leaf__)); extern long int get_avphys_pages (void) __attribute__ ((__nothrow__ , __leaf__)); # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_SYS_SYSINFO_H" to "1" ================================================================================ TEST check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/wait.h Executing: gcc -E -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/usr/include/i386-linux-gnu/sys/wait.h" 1 3 4 # 25 "/usr/include/i386-linux-gnu/sys/wait.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 364 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/sys/cdefs.h" 1 3 4 # 415 "/usr/include/i386-linux-gnu/sys/cdefs.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 416 "/usr/include/i386-linux-gnu/sys/cdefs.h" 2 3 4 # 365 "/usr/include/features.h" 2 3 4 # 388 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs.h" 1 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs-32.h" 1 3 4 # 8 "/usr/include/i386-linux-gnu/gnu/stubs.h" 2 3 4 # 389 "/usr/include/features.h" 2 3 4 # 26 "/usr/include/i386-linux-gnu/sys/wait.h" 2 3 4 # 1 "/usr/include/signal.h" 1 3 4 # 30 "/usr/include/signal.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/sigset.h" 1 3 4 # 22 "/usr/include/i386-linux-gnu/bits/sigset.h" 3 4 # 22 "/usr/include/i386-linux-gnu/bits/sigset.h" 3 4 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 102 "/usr/include/i386-linux-gnu/bits/sigset.h" 3 4 extern int __sigismember (const __sigset_t *, int); extern int __sigaddset (__sigset_t *, int); extern int __sigdelset (__sigset_t *, int); # 33 "/usr/include/signal.h" 2 3 4 typedef __sig_atomic_t sig_atomic_t; typedef __sigset_t sigset_t; # 1 "/usr/include/i386-linux-gnu/bits/types.h" 1 3 4 # 27 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 28 "/usr/include/i386-linux-gnu/bits/types.h" 2 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; __extension__ typedef signed long long int __int64_t; __extension__ typedef unsigned long long int __uint64_t; __extension__ typedef long long int __quad_t; __extension__ typedef unsigned long long int __u_quad_t; # 121 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/typesizes.h" 1 3 4 # 122 "/usr/include/i386-linux-gnu/bits/types.h" 2 3 4 __extension__ typedef __u_quad_t __dev_t; __extension__ typedef unsigned int __uid_t; __extension__ typedef unsigned int __gid_t; __extension__ typedef unsigned long int __ino_t; __extension__ typedef __u_quad_t __ino64_t; __extension__ typedef unsigned int __mode_t; __extension__ typedef unsigned int __nlink_t; __extension__ typedef long int __off_t; __extension__ typedef __quad_t __off64_t; __extension__ typedef int __pid_t; __extension__ typedef struct { int __val[2]; } __fsid_t; __extension__ typedef long int __clock_t; __extension__ typedef unsigned long int __rlim_t; __extension__ typedef __u_quad_t __rlim64_t; __extension__ typedef unsigned int __id_t; __extension__ typedef long int __time_t; __extension__ typedef unsigned int __useconds_t; __extension__ typedef long int __suseconds_t; __extension__ typedef int __daddr_t; __extension__ typedef int __key_t; __extension__ typedef int __clockid_t; __extension__ typedef void * __timer_t; __extension__ typedef long int __blksize_t; __extension__ typedef long int __blkcnt_t; __extension__ typedef __quad_t __blkcnt64_t; __extension__ typedef unsigned long int __fsblkcnt_t; __extension__ typedef __u_quad_t __fsblkcnt64_t; __extension__ typedef unsigned long int __fsfilcnt_t; __extension__ typedef __u_quad_t __fsfilcnt64_t; __extension__ typedef int __fsword_t; __extension__ typedef int __ssize_t; __extension__ typedef long int __syscall_slong_t; __extension__ typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; __extension__ typedef int __intptr_t; __extension__ typedef unsigned int __socklen_t; # 57 "/usr/include/signal.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/signum.h" 1 3 4 # 58 "/usr/include/signal.h" 2 3 4 typedef __pid_t pid_t; typedef __uid_t uid_t; # 1 "/usr/include/time.h" 1 3 4 # 120 "/usr/include/time.h" 3 4 struct timespec { __time_t tv_sec; __syscall_slong_t tv_nsec; }; # 76 "/usr/include/signal.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/siginfo.h" 1 3 4 # 24 "/usr/include/i386-linux-gnu/bits/siginfo.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 25 "/usr/include/i386-linux-gnu/bits/siginfo.h" 2 3 4 typedef union sigval { int sival_int; void *sival_ptr; } sigval_t; # 58 "/usr/include/i386-linux-gnu/bits/siginfo.h" 3 4 typedef __clock_t __sigchld_clock_t; typedef struct { int si_signo; int si_errno; int si_code; union { int _pad[((128 / sizeof (int)) - 3)]; struct { __pid_t si_pid; __uid_t si_uid; } _kill; struct { int si_tid; int si_overrun; sigval_t si_sigval; } _timer; struct { __pid_t si_pid; __uid_t si_uid; sigval_t si_sigval; } _rt; struct { __pid_t si_pid; __uid_t si_uid; int si_status; __sigchld_clock_t si_utime; __sigchld_clock_t si_stime; } _sigchld; struct { void *si_addr; short int si_addr_lsb; struct { void *_lower; void *_upper; } si_addr_bnd; } _sigfault; struct { long int si_band; int si_fd; } _sigpoll; struct { void *_call_addr; int _syscall; unsigned int _arch; } _sigsys; } _sifields; } siginfo_t ; # 160 "/usr/include/i386-linux-gnu/bits/siginfo.h" 3 4 enum { SI_ASYNCNL = -60, SI_TKILL = -6, SI_SIGIO, SI_ASYNCIO, SI_MESGQ, SI_TIMER, SI_QUEUE, SI_USER, SI_KERNEL = 0x80 }; enum { ILL_ILLOPC = 1, ILL_ILLOPN, ILL_ILLADR, ILL_ILLTRP, ILL_PRVOPC, ILL_PRVREG, ILL_COPROC, ILL_BADSTK }; enum { FPE_INTDIV = 1, FPE_INTOVF, FPE_FLTDIV, FPE_FLTOVF, FPE_FLTUND, FPE_FLTRES, FPE_FLTINV, FPE_FLTSUB }; enum { SEGV_MAPERR = 1, SEGV_ACCERR }; enum { BUS_ADRALN = 1, BUS_ADRERR, BUS_OBJERR, BUS_MCEERR_AR, BUS_MCEERR_AO }; # 264 "/usr/include/i386-linux-gnu/bits/siginfo.h" 3 4 enum { CLD_EXITED = 1, CLD_KILLED, CLD_DUMPED, CLD_TRAPPED, CLD_STOPPED, CLD_CONTINUED }; enum { POLL_IN = 1, POLL_OUT, POLL_MSG, POLL_ERR, POLL_PRI, POLL_HUP }; # 316 "/usr/include/i386-linux-gnu/bits/siginfo.h" 3 4 typedef union pthread_attr_t pthread_attr_t; typedef struct sigevent { sigval_t sigev_value; int sigev_signo; int sigev_notify; union { int _pad[((64 / sizeof (int)) - 3)]; __pid_t _tid; struct { void (*_function) (sigval_t); pthread_attr_t *_attribute; } _sigev_thread; } _sigev_un; } sigevent_t; enum { SIGEV_SIGNAL = 0, SIGEV_NONE, SIGEV_THREAD, SIGEV_THREAD_ID = 4 }; # 81 "/usr/include/signal.h" 2 3 4 typedef void (*__sighandler_t) (int); extern __sighandler_t __sysv_signal (int __sig, __sighandler_t __handler) __attribute__ ((__nothrow__ , __leaf__)); # 100 "/usr/include/signal.h" 3 4 extern __sighandler_t signal (int __sig, __sighandler_t __handler) __attribute__ ((__nothrow__ , __leaf__)); # 114 "/usr/include/signal.h" 3 4 # 127 "/usr/include/signal.h" 3 4 extern int kill (__pid_t __pid, int __sig) __attribute__ ((__nothrow__ , __leaf__)); extern int killpg (__pid_t __pgrp, int __sig) __attribute__ ((__nothrow__ , __leaf__)); extern int raise (int __sig) __attribute__ ((__nothrow__ , __leaf__)); extern __sighandler_t ssignal (int __sig, __sighandler_t __handler) __attribute__ ((__nothrow__ , __leaf__)); extern int gsignal (int __sig) __attribute__ ((__nothrow__ , __leaf__)); extern void psignal (int __sig, const char *__s); extern void psiginfo (const siginfo_t *__pinfo, const char *__s); # 187 "/usr/include/signal.h" 3 4 extern int sigblock (int __mask) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); extern int sigsetmask (int __mask) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); extern int siggetmask (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); # 207 "/usr/include/signal.h" 3 4 typedef __sighandler_t sig_t; extern int sigemptyset (sigset_t *__set) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int sigfillset (sigset_t *__set) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int sigaddset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int sigdelset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int sigismember (const sigset_t *__set, int __signo) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 243 "/usr/include/signal.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/sigaction.h" 1 3 4 # 24 "/usr/include/i386-linux-gnu/bits/sigaction.h" 3 4 struct sigaction { union { __sighandler_t sa_handler; void (*sa_sigaction) (int, siginfo_t *, void *); } __sigaction_handler; __sigset_t sa_mask; int sa_flags; void (*sa_restorer) (void); }; # 244 "/usr/include/signal.h" 2 3 4 extern int sigprocmask (int __how, const sigset_t *__restrict __set, sigset_t *__restrict __oset) __attribute__ ((__nothrow__ , __leaf__)); extern int sigsuspend (const sigset_t *__set) __attribute__ ((__nonnull__ (1))); extern int sigaction (int __sig, const struct sigaction *__restrict __act, struct sigaction *__restrict __oact) __attribute__ ((__nothrow__ , __leaf__)); extern int sigpending (sigset_t *__set) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int sigwait (const sigset_t *__restrict __set, int *__restrict __sig) __attribute__ ((__nonnull__ (1, 2))); extern int sigwaitinfo (const sigset_t *__restrict __set, siginfo_t *__restrict __info) __attribute__ ((__nonnull__ (1))); extern int sigtimedwait (const sigset_t *__restrict __set, siginfo_t *__restrict __info, const struct timespec *__restrict __timeout) __attribute__ ((__nonnull__ (1))); extern int sigqueue (__pid_t __pid, int __sig, const union sigval __val) __attribute__ ((__nothrow__ , __leaf__)); # 301 "/usr/include/signal.h" 3 4 extern const char *const _sys_siglist[65]; extern const char *const sys_siglist[65]; # 1 "/usr/include/i386-linux-gnu/bits/sigcontext.h" 1 3 4 # 29 "/usr/include/i386-linux-gnu/bits/sigcontext.h" 3 4 struct _fpx_sw_bytes { __uint32_t magic1; __uint32_t extended_size; __uint64_t xstate_bv; __uint32_t xstate_size; __uint32_t padding[7]; }; struct _fpreg { unsigned short significand[4]; unsigned short exponent; }; struct _fpxreg { unsigned short significand[4]; unsigned short exponent; unsigned short padding[3]; }; struct _xmmreg { __uint32_t element[4]; }; struct _fpstate { __uint32_t cw; __uint32_t sw; __uint32_t tag; __uint32_t ipoff; __uint32_t cssel; __uint32_t dataoff; __uint32_t datasel; struct _fpreg _st[8]; unsigned short status; unsigned short magic; __uint32_t _fxsr_env[6]; __uint32_t mxcsr; __uint32_t reserved; struct _fpxreg _fxsr_st[8]; struct _xmmreg _xmm[8]; __uint32_t padding[56]; }; # 93 "/usr/include/i386-linux-gnu/bits/sigcontext.h" 3 4 struct sigcontext { unsigned short gs, __gsh; unsigned short fs, __fsh; unsigned short es, __esh; unsigned short ds, __dsh; unsigned long edi; unsigned long esi; unsigned long ebp; unsigned long esp; unsigned long ebx; unsigned long edx; unsigned long ecx; unsigned long eax; unsigned long trapno; unsigned long err; unsigned long eip; unsigned short cs, __csh; unsigned long eflags; unsigned long esp_at_signal; unsigned short ss, __ssh; struct _fpstate * fpstate; unsigned long oldmask; unsigned long cr2; }; # 175 "/usr/include/i386-linux-gnu/bits/sigcontext.h" 3 4 struct _xsave_hdr { __uint64_t xstate_bv; __uint64_t reserved1[2]; __uint64_t reserved2[5]; }; struct _ymmh_state { __uint32_t ymmh_space[64]; }; struct _xstate { struct _fpstate fpstate; struct _xsave_hdr xstate_hdr; struct _ymmh_state ymmh; }; # 307 "/usr/include/signal.h" 2 3 4 extern int sigreturn (struct sigcontext *__scp) __attribute__ ((__nothrow__ , __leaf__)); # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 216 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 3 4 typedef unsigned int size_t; # 317 "/usr/include/signal.h" 2 3 4 extern int siginterrupt (int __sig, int __interrupt) __attribute__ ((__nothrow__ , __leaf__)); # 1 "/usr/include/i386-linux-gnu/bits/sigstack.h" 1 3 4 # 25 "/usr/include/i386-linux-gnu/bits/sigstack.h" 3 4 struct sigstack { void *ss_sp; int ss_onstack; }; enum { SS_ONSTACK = 1, SS_DISABLE }; # 49 "/usr/include/i386-linux-gnu/bits/sigstack.h" 3 4 typedef struct sigaltstack { void *ss_sp; int ss_flags; size_t ss_size; } stack_t; # 324 "/usr/include/signal.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/sys/ucontext.h" 1 3 4 # 22 "/usr/include/i386-linux-gnu/sys/ucontext.h" 3 4 # 1 "/usr/include/signal.h" 1 3 4 # 23 "/usr/include/i386-linux-gnu/sys/ucontext.h" 2 3 4 # 146 "/usr/include/i386-linux-gnu/sys/ucontext.h" 3 4 typedef int greg_t; typedef greg_t gregset_t[19]; # 200 "/usr/include/i386-linux-gnu/sys/ucontext.h" 3 4 struct _libc_fpreg { unsigned short int significand[4]; unsigned short int exponent; }; struct _libc_fpstate { unsigned long int cw; unsigned long int sw; unsigned long int tag; unsigned long int ipoff; unsigned long int cssel; unsigned long int dataoff; unsigned long int datasel; struct _libc_fpreg _st[8]; unsigned long int status; }; typedef struct _libc_fpstate *fpregset_t; typedef struct { gregset_t gregs; fpregset_t fpregs; unsigned long int oldmask; unsigned long int cr2; } mcontext_t; typedef struct ucontext { unsigned long int uc_flags; struct ucontext *uc_link; stack_t uc_stack; mcontext_t uc_mcontext; __sigset_t uc_sigmask; struct _libc_fpstate __fpregs_mem; } ucontext_t; # 327 "/usr/include/signal.h" 2 3 4 extern int sigstack (struct sigstack *__ss, struct sigstack *__oss) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); extern int sigaltstack (const struct sigaltstack *__restrict __ss, struct sigaltstack *__restrict __oss) __attribute__ ((__nothrow__ , __leaf__)); # 361 "/usr/include/signal.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 1 3 4 # 21 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 22 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 2 3 4 # 60 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 typedef unsigned long int pthread_t; union pthread_attr_t { char __size[36]; long int __align; }; # 81 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 typedef struct __pthread_internal_slist { struct __pthread_internal_slist *__next; } __pthread_slist_t; typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; int __kind; # 111 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 unsigned int __nusers; __extension__ union { struct { short __espins; short __elision; } __elision_data; __pthread_slist_t __list; }; } __data; char __size[24]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { # 202 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; unsigned char __flags; unsigned char __shared; signed char __rwelision; unsigned char __pad2; int __writer; } __data; char __size[32]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[20]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 362 "/usr/include/signal.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/sigthread.h" 1 3 4 # 30 "/usr/include/i386-linux-gnu/bits/sigthread.h" 3 4 extern int pthread_sigmask (int __how, const __sigset_t *__restrict __newmask, __sigset_t *__restrict __oldmask)__attribute__ ((__nothrow__ , __leaf__)); extern int pthread_kill (pthread_t __threadid, int __signo) __attribute__ ((__nothrow__ , __leaf__)); # 363 "/usr/include/signal.h" 2 3 4 extern int __libc_current_sigrtmin (void) __attribute__ ((__nothrow__ , __leaf__)); extern int __libc_current_sigrtmax (void) __attribute__ ((__nothrow__ , __leaf__)); # 30 "/usr/include/i386-linux-gnu/sys/wait.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/waitflags.h" 1 3 4 # 50 "/usr/include/i386-linux-gnu/bits/waitflags.h" 3 4 typedef enum { P_ALL, P_PID, P_PGID } idtype_t; # 36 "/usr/include/i386-linux-gnu/sys/wait.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/waitstatus.h" 1 3 4 # 39 "/usr/include/i386-linux-gnu/sys/wait.h" 2 3 4 # 63 "/usr/include/i386-linux-gnu/sys/wait.h" 3 4 extern __pid_t wait (int *__stat_loc); # 86 "/usr/include/i386-linux-gnu/sys/wait.h" 3 4 extern __pid_t waitpid (__pid_t __pid, int *__stat_loc, int __options); typedef __id_t id_t; # 1 "/usr/include/i386-linux-gnu/bits/siginfo.h" 1 3 4 # 24 "/usr/include/i386-linux-gnu/bits/siginfo.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 25 "/usr/include/i386-linux-gnu/bits/siginfo.h" 2 3 4 # 97 "/usr/include/i386-linux-gnu/sys/wait.h" 2 3 4 # 109 "/usr/include/i386-linux-gnu/sys/wait.h" 3 4 extern int waitid (idtype_t __idtype, __id_t __id, siginfo_t *__infop, int __options); struct rusage; extern __pid_t wait3 (int *__stat_loc, int __options, struct rusage * __usage) __attribute__ ((__nothrow__)); extern __pid_t wait4 (__pid_t __pid, int *__stat_loc, int __options, struct rusage *__usage) __attribute__ ((__nothrow__)); # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_SYS_WAIT_H" to "1" ================================================================================ TEST check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: stdlib.h Executing: gcc -E -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/usr/include/stdlib.h" 1 3 4 # 24 "/usr/include/stdlib.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 364 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/sys/cdefs.h" 1 3 4 # 415 "/usr/include/i386-linux-gnu/sys/cdefs.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 416 "/usr/include/i386-linux-gnu/sys/cdefs.h" 2 3 4 # 365 "/usr/include/features.h" 2 3 4 # 388 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs.h" 1 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs-32.h" 1 3 4 # 8 "/usr/include/i386-linux-gnu/gnu/stubs.h" 2 3 4 # 389 "/usr/include/features.h" 2 3 4 # 25 "/usr/include/stdlib.h" 2 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 216 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 3 4 # 216 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 3 4 typedef unsigned int size_t; # 328 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 3 4 typedef long int wchar_t; # 33 "/usr/include/stdlib.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/waitflags.h" 1 3 4 # 50 "/usr/include/i386-linux-gnu/bits/waitflags.h" 3 4 typedef enum { P_ALL, P_PID, P_PGID } idtype_t; # 42 "/usr/include/stdlib.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/waitstatus.h" 1 3 4 # 43 "/usr/include/stdlib.h" 2 3 4 # 56 "/usr/include/stdlib.h" 3 4 typedef struct { int quot; int rem; } div_t; typedef struct { long int quot; long int rem; } ldiv_t; __extension__ typedef struct { long long int quot; long long int rem; } lldiv_t; # 100 "/usr/include/stdlib.h" 3 4 extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__ , __leaf__)) ; extern double atof (const char *__nptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern int atoi (const char *__nptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern long int atol (const char *__nptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; __extension__ extern long long int atoll (const char *__nptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern double strtod (const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern float strtof (const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern long double strtold (const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern long int strtol (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern unsigned long int strtoul (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); __extension__ extern long long int strtoq (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); __extension__ extern unsigned long long int strtouq (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); __extension__ extern long long int strtoll (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); __extension__ extern unsigned long long int strtoull (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 266 "/usr/include/stdlib.h" 3 4 extern char *l64a (long int __n) __attribute__ ((__nothrow__ , __leaf__)) ; extern long int a64l (const char *__s) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; # 1 "/usr/include/i386-linux-gnu/sys/types.h" 1 3 4 # 27 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/types.h" 1 3 4 # 27 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 28 "/usr/include/i386-linux-gnu/bits/types.h" 2 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; __extension__ typedef signed long long int __int64_t; __extension__ typedef unsigned long long int __uint64_t; __extension__ typedef long long int __quad_t; __extension__ typedef unsigned long long int __u_quad_t; # 121 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/typesizes.h" 1 3 4 # 122 "/usr/include/i386-linux-gnu/bits/types.h" 2 3 4 __extension__ typedef __u_quad_t __dev_t; __extension__ typedef unsigned int __uid_t; __extension__ typedef unsigned int __gid_t; __extension__ typedef unsigned long int __ino_t; __extension__ typedef __u_quad_t __ino64_t; __extension__ typedef unsigned int __mode_t; __extension__ typedef unsigned int __nlink_t; __extension__ typedef long int __off_t; __extension__ typedef __quad_t __off64_t; __extension__ typedef int __pid_t; __extension__ typedef struct { int __val[2]; } __fsid_t; __extension__ typedef long int __clock_t; __extension__ typedef unsigned long int __rlim_t; __extension__ typedef __u_quad_t __rlim64_t; __extension__ typedef unsigned int __id_t; __extension__ typedef long int __time_t; __extension__ typedef unsigned int __useconds_t; __extension__ typedef long int __suseconds_t; __extension__ typedef int __daddr_t; __extension__ typedef int __key_t; __extension__ typedef int __clockid_t; __extension__ typedef void * __timer_t; __extension__ typedef long int __blksize_t; __extension__ typedef long int __blkcnt_t; __extension__ typedef __quad_t __blkcnt64_t; __extension__ typedef unsigned long int __fsblkcnt_t; __extension__ typedef __u_quad_t __fsblkcnt64_t; __extension__ typedef unsigned long int __fsfilcnt_t; __extension__ typedef __u_quad_t __fsfilcnt64_t; __extension__ typedef int __fsword_t; __extension__ typedef int __ssize_t; __extension__ typedef long int __syscall_slong_t; __extension__ typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; __extension__ typedef int __intptr_t; __extension__ typedef unsigned int __socklen_t; # 30 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino_t ino_t; # 60 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off_t off_t; # 98 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 132 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/include/time.h" 1 3 4 # 57 "/usr/include/time.h" 3 4 typedef __clock_t clock_t; # 73 "/usr/include/time.h" 3 4 typedef __time_t time_t; # 91 "/usr/include/time.h" 3 4 typedef __clockid_t clockid_t; # 103 "/usr/include/time.h" 3 4 typedef __timer_t timer_t; # 133 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 # 146 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 147 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 194 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 typedef int int8_t __attribute__ ((__mode__ (__QI__))); typedef int int16_t __attribute__ ((__mode__ (__HI__))); typedef int int32_t __attribute__ ((__mode__ (__SI__))); typedef int int64_t __attribute__ ((__mode__ (__DI__))); typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 216 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/include/endian.h" 1 3 4 # 36 "/usr/include/endian.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/endian.h" 1 3 4 # 37 "/usr/include/endian.h" 2 3 4 # 60 "/usr/include/endian.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/byteswap.h" 1 3 4 # 28 "/usr/include/i386-linux-gnu/bits/byteswap.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 29 "/usr/include/i386-linux-gnu/bits/byteswap.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/byteswap-16.h" 1 3 4 # 36 "/usr/include/i386-linux-gnu/bits/byteswap.h" 2 3 4 # 44 "/usr/include/i386-linux-gnu/bits/byteswap.h" 3 4 static __inline unsigned int __bswap_32 (unsigned int __bsx) { return __builtin_bswap32 (__bsx); } # 108 "/usr/include/i386-linux-gnu/bits/byteswap.h" 3 4 static __inline __uint64_t __bswap_64 (__uint64_t __bsx) { return __builtin_bswap64 (__bsx); } # 61 "/usr/include/endian.h" 2 3 4 # 217 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/sys/select.h" 1 3 4 # 30 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/select.h" 1 3 4 # 22 "/usr/include/i386-linux-gnu/bits/select.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 23 "/usr/include/i386-linux-gnu/bits/select.h" 2 3 4 # 31 "/usr/include/i386-linux-gnu/sys/select.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/sigset.h" 1 3 4 # 22 "/usr/include/i386-linux-gnu/bits/sigset.h" 3 4 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 34 "/usr/include/i386-linux-gnu/sys/select.h" 2 3 4 typedef __sigset_t sigset_t; # 1 "/usr/include/time.h" 1 3 4 # 120 "/usr/include/time.h" 3 4 struct timespec { __time_t tv_sec; __syscall_slong_t tv_nsec; }; # 46 "/usr/include/i386-linux-gnu/sys/select.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/time.h" 1 3 4 # 30 "/usr/include/i386-linux-gnu/bits/time.h" 3 4 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 48 "/usr/include/i386-linux-gnu/sys/select.h" 2 3 4 typedef __suseconds_t suseconds_t; typedef long int __fd_mask; # 66 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 typedef struct { __fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; # 98 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 # 108 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); # 120 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); # 133 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 # 220 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/sys/sysmacros.h" 1 3 4 # 24 "/usr/include/i386-linux-gnu/sys/sysmacros.h" 3 4 __extension__ extern unsigned int gnu_dev_major (unsigned long long int __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern unsigned int gnu_dev_minor (unsigned long long int __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); # 58 "/usr/include/i386-linux-gnu/sys/sysmacros.h" 3 4 # 223 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 typedef __blksize_t blksize_t; typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 270 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 1 3 4 # 21 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 22 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 2 3 4 # 60 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 typedef unsigned long int pthread_t; union pthread_attr_t { char __size[36]; long int __align; }; typedef union pthread_attr_t pthread_attr_t; # 81 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 typedef struct __pthread_internal_slist { struct __pthread_internal_slist *__next; } __pthread_slist_t; typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; int __kind; # 111 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 unsigned int __nusers; __extension__ union { struct { short __espins; short __elision; } __elision_data; __pthread_slist_t __list; }; } __data; char __size[24]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { # 202 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; unsigned char __flags; unsigned char __shared; signed char __rwelision; unsigned char __pad2; int __writer; } __data; char __size[32]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[20]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 271 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 # 276 "/usr/include/stdlib.h" 2 3 4 extern long int random (void) __attribute__ ((__nothrow__ , __leaf__)); extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__ , __leaf__)); extern char *initstate (unsigned int __seed, char *__statebuf, size_t __statelen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); struct random_data { int32_t *fptr; int32_t *rptr; int32_t *state; int rand_type; int rand_deg; int rand_sep; int32_t *end_ptr; }; extern int random_r (struct random_data *__restrict __buf, int32_t *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int srandom_r (unsigned int __seed, struct random_data *__buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, size_t __statelen, struct random_data *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))); extern int setstate_r (char *__restrict __statebuf, struct random_data *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int rand (void) __attribute__ ((__nothrow__ , __leaf__)); extern void srand (unsigned int __seed) __attribute__ ((__nothrow__ , __leaf__)); extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__ , __leaf__)); extern double drand48 (void) __attribute__ ((__nothrow__ , __leaf__)); extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern long int lrand48 (void) __attribute__ ((__nothrow__ , __leaf__)); extern long int nrand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern long int mrand48 (void) __attribute__ ((__nothrow__ , __leaf__)); extern long int jrand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern void srand48 (long int __seedval) __attribute__ ((__nothrow__ , __leaf__)); extern unsigned short int *seed48 (unsigned short int __seed16v[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); struct drand48_data { unsigned short int __x[3]; unsigned short int __old_x[3]; unsigned short int __c; unsigned short int __init; __extension__ unsigned long long int __a; }; extern int drand48_r (struct drand48_data *__restrict __buffer, double *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int erand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, double *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int lrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int nrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int mrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int jrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int srand48_r (long int __seedval, struct drand48_data *__buffer) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int seed48_r (unsigned short int __seed16v[3], struct drand48_data *__buffer) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int lcong48_r (unsigned short int __param[7], struct drand48_data *__buffer) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern void *malloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; extern void *calloc (size_t __nmemb, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; extern void *realloc (void *__ptr, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern void free (void *__ptr) __attribute__ ((__nothrow__ , __leaf__)); extern void cfree (void *__ptr) __attribute__ ((__nothrow__ , __leaf__)); # 1 "/usr/include/alloca.h" 1 3 4 # 24 "/usr/include/alloca.h" 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 25 "/usr/include/alloca.h" 2 3 4 extern void *alloca (size_t __size) __attribute__ ((__nothrow__ , __leaf__)); # 454 "/usr/include/stdlib.h" 2 3 4 extern void *valloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern void *aligned_alloc (size_t __alignment, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__alloc_size__ (2))) ; extern void abort (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int at_quick_exit (void (*__func) (void)) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern void exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); extern void quick_exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); extern void _Exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); extern char *getenv (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; # 539 "/usr/include/stdlib.h" 3 4 extern int putenv (char *__string) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int setenv (const char *__name, const char *__value, int __replace) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int unsetenv (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int clearenv (void) __attribute__ ((__nothrow__ , __leaf__)); # 567 "/usr/include/stdlib.h" 3 4 extern char *mktemp (char *__template) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 580 "/usr/include/stdlib.h" 3 4 extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) ; # 602 "/usr/include/stdlib.h" 3 4 extern int mkstemps (char *__template, int __suffixlen) __attribute__ ((__nonnull__ (1))) ; # 623 "/usr/include/stdlib.h" 3 4 extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; # 672 "/usr/include/stdlib.h" 3 4 extern int system (const char *__command) ; # 694 "/usr/include/stdlib.h" 3 4 extern char *realpath (const char *__restrict __name, char *__restrict __resolved) __attribute__ ((__nothrow__ , __leaf__)) ; typedef int (*__compar_fn_t) (const void *, const void *); # 712 "/usr/include/stdlib.h" 3 4 extern void *bsearch (const void *__key, const void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 2, 5))) ; extern void qsort (void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4))); # 735 "/usr/include/stdlib.h" 3 4 extern int abs (int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; extern long int labs (long int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; __extension__ extern long long int llabs (long long int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; extern div_t div (int __numer, int __denom) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; extern ldiv_t ldiv (long int __numer, long int __denom) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; __extension__ extern lldiv_t lldiv (long long int __numer, long long int __denom) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; # 772 "/usr/include/stdlib.h" 3 4 extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *gcvt (double __value, int __ndigit, char *__buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))) ; extern char *qecvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *qfcvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *qgcvt (long double __value, int __ndigit, char *__buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))) ; extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int qecvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int qfcvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int mblen (const char *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); extern int mbtowc (wchar_t *__restrict __pwc, const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__ , __leaf__)); extern size_t mbstowcs (wchar_t *__restrict __pwcs, const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); extern size_t wcstombs (char *__restrict __s, const wchar_t *__restrict __pwcs, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); extern int rpmatch (const char *__response) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; # 859 "/usr/include/stdlib.h" 3 4 extern int getsubopt (char **__restrict __optionp, char *const *__restrict __tokens, char **__restrict __valuep) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2, 3))) ; # 911 "/usr/include/stdlib.h" 3 4 extern int getloadavg (double __loadavg[], int __nelem) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 921 "/usr/include/stdlib.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/stdlib-float.h" 1 3 4 # 922 "/usr/include/stdlib.h" 2 3 4 # 934 "/usr/include/stdlib.h" 3 4 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_STDLIB_H" to "1" ================================================================================ TEST check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: pthread.h Executing: gcc -E -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/usr/include/pthread.h" 1 3 4 # 21 "/usr/include/pthread.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 364 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/sys/cdefs.h" 1 3 4 # 415 "/usr/include/i386-linux-gnu/sys/cdefs.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 416 "/usr/include/i386-linux-gnu/sys/cdefs.h" 2 3 4 # 365 "/usr/include/features.h" 2 3 4 # 388 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs.h" 1 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs-32.h" 1 3 4 # 8 "/usr/include/i386-linux-gnu/gnu/stubs.h" 2 3 4 # 389 "/usr/include/features.h" 2 3 4 # 22 "/usr/include/pthread.h" 2 3 4 # 1 "/usr/include/endian.h" 1 3 4 # 36 "/usr/include/endian.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/endian.h" 1 3 4 # 37 "/usr/include/endian.h" 2 3 4 # 60 "/usr/include/endian.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/byteswap.h" 1 3 4 # 27 "/usr/include/i386-linux-gnu/bits/byteswap.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/types.h" 1 3 4 # 27 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 28 "/usr/include/i386-linux-gnu/bits/types.h" 2 3 4 # 30 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; __extension__ typedef signed long long int __int64_t; __extension__ typedef unsigned long long int __uint64_t; __extension__ typedef long long int __quad_t; __extension__ typedef unsigned long long int __u_quad_t; # 121 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/typesizes.h" 1 3 4 # 122 "/usr/include/i386-linux-gnu/bits/types.h" 2 3 4 __extension__ typedef __u_quad_t __dev_t; __extension__ typedef unsigned int __uid_t; __extension__ typedef unsigned int __gid_t; __extension__ typedef unsigned long int __ino_t; __extension__ typedef __u_quad_t __ino64_t; __extension__ typedef unsigned int __mode_t; __extension__ typedef unsigned int __nlink_t; __extension__ typedef long int __off_t; __extension__ typedef __quad_t __off64_t; __extension__ typedef int __pid_t; __extension__ typedef struct { int __val[2]; } __fsid_t; __extension__ typedef long int __clock_t; __extension__ typedef unsigned long int __rlim_t; __extension__ typedef __u_quad_t __rlim64_t; __extension__ typedef unsigned int __id_t; __extension__ typedef long int __time_t; __extension__ typedef unsigned int __useconds_t; __extension__ typedef long int __suseconds_t; __extension__ typedef int __daddr_t; __extension__ typedef int __key_t; __extension__ typedef int __clockid_t; __extension__ typedef void * __timer_t; __extension__ typedef long int __blksize_t; __extension__ typedef long int __blkcnt_t; __extension__ typedef __quad_t __blkcnt64_t; __extension__ typedef unsigned long int __fsblkcnt_t; __extension__ typedef __u_quad_t __fsblkcnt64_t; __extension__ typedef unsigned long int __fsfilcnt_t; __extension__ typedef __u_quad_t __fsfilcnt64_t; __extension__ typedef int __fsword_t; __extension__ typedef int __ssize_t; __extension__ typedef long int __syscall_slong_t; __extension__ typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; __extension__ typedef int __intptr_t; __extension__ typedef unsigned int __socklen_t; # 28 "/usr/include/i386-linux-gnu/bits/byteswap.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 29 "/usr/include/i386-linux-gnu/bits/byteswap.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/byteswap-16.h" 1 3 4 # 36 "/usr/include/i386-linux-gnu/bits/byteswap.h" 2 3 4 # 44 "/usr/include/i386-linux-gnu/bits/byteswap.h" 3 4 static __inline unsigned int __bswap_32 (unsigned int __bsx) { return __builtin_bswap32 (__bsx); } # 108 "/usr/include/i386-linux-gnu/bits/byteswap.h" 3 4 static __inline __uint64_t __bswap_64 (__uint64_t __bsx) { return __builtin_bswap64 (__bsx); } # 61 "/usr/include/endian.h" 2 3 4 # 23 "/usr/include/pthread.h" 2 3 4 # 1 "/usr/include/sched.h" 1 3 4 # 28 "/usr/include/sched.h" 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 216 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 3 4 typedef unsigned int size_t; # 29 "/usr/include/sched.h" 2 3 4 # 1 "/usr/include/time.h" 1 3 4 # 73 "/usr/include/time.h" 3 4 typedef __time_t time_t; # 120 "/usr/include/time.h" 3 4 struct timespec { __time_t tv_sec; __syscall_slong_t tv_nsec; }; # 35 "/usr/include/sched.h" 2 3 4 typedef __pid_t pid_t; # 1 "/usr/include/i386-linux-gnu/bits/sched.h" 1 3 4 # 73 "/usr/include/i386-linux-gnu/bits/sched.h" 3 4 struct sched_param { int __sched_priority; }; # 96 "/usr/include/i386-linux-gnu/bits/sched.h" 3 4 struct __sched_param { int __sched_priority; }; # 119 "/usr/include/i386-linux-gnu/bits/sched.h" 3 4 typedef unsigned long int __cpu_mask; typedef struct { __cpu_mask __bits[1024 / (8 * sizeof (__cpu_mask))]; } cpu_set_t; # 202 "/usr/include/i386-linux-gnu/bits/sched.h" 3 4 extern int __sched_cpucount (size_t __setsize, const cpu_set_t *__setp) __attribute__ ((__nothrow__ , __leaf__)); extern cpu_set_t *__sched_cpualloc (size_t __count) __attribute__ ((__nothrow__ , __leaf__)) ; extern void __sched_cpufree (cpu_set_t *__set) __attribute__ ((__nothrow__ , __leaf__)); # 44 "/usr/include/sched.h" 2 3 4 extern int sched_setparam (__pid_t __pid, const struct sched_param *__param) __attribute__ ((__nothrow__ , __leaf__)); extern int sched_getparam (__pid_t __pid, struct sched_param *__param) __attribute__ ((__nothrow__ , __leaf__)); extern int sched_setscheduler (__pid_t __pid, int __policy, const struct sched_param *__param) __attribute__ ((__nothrow__ , __leaf__)); extern int sched_getscheduler (__pid_t __pid) __attribute__ ((__nothrow__ , __leaf__)); extern int sched_yield (void) __attribute__ ((__nothrow__ , __leaf__)); extern int sched_get_priority_max (int __algorithm) __attribute__ ((__nothrow__ , __leaf__)); extern int sched_get_priority_min (int __algorithm) __attribute__ ((__nothrow__ , __leaf__)); extern int sched_rr_get_interval (__pid_t __pid, struct timespec *__t) __attribute__ ((__nothrow__ , __leaf__)); # 126 "/usr/include/sched.h" 3 4 # 24 "/usr/include/pthread.h" 2 3 4 # 1 "/usr/include/time.h" 1 3 4 # 29 "/usr/include/time.h" 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 38 "/usr/include/time.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/time.h" 1 3 4 # 42 "/usr/include/time.h" 2 3 4 # 57 "/usr/include/time.h" 3 4 typedef __clock_t clock_t; # 91 "/usr/include/time.h" 3 4 typedef __clockid_t clockid_t; # 103 "/usr/include/time.h" 3 4 typedef __timer_t timer_t; # 131 "/usr/include/time.h" 3 4 struct tm { int tm_sec; int tm_min; int tm_hour; int tm_mday; int tm_mon; int tm_year; int tm_wday; int tm_yday; int tm_isdst; long int tm_gmtoff; const char *tm_zone; }; struct itimerspec { struct timespec it_interval; struct timespec it_value; }; struct sigevent; # 186 "/usr/include/time.h" 3 4 extern clock_t clock (void) __attribute__ ((__nothrow__ , __leaf__)); extern time_t time (time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); extern double difftime (time_t __time1, time_t __time0) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern time_t mktime (struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern size_t strftime (char *__restrict __s, size_t __maxsize, const char *__restrict __format, const struct tm *__restrict __tp) __attribute__ ((__nothrow__ , __leaf__)); # 221 "/usr/include/time.h" 3 4 # 1 "/usr/include/xlocale.h" 1 3 4 # 27 "/usr/include/xlocale.h" 3 4 typedef struct __locale_struct { struct __locale_data *__locales[13]; const unsigned short int *__ctype_b; const int *__ctype_tolower; const int *__ctype_toupper; const char *__names[13]; } *__locale_t; typedef __locale_t locale_t; # 222 "/usr/include/time.h" 2 3 4 extern size_t strftime_l (char *__restrict __s, size_t __maxsize, const char *__restrict __format, const struct tm *__restrict __tp, __locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)); # 236 "/usr/include/time.h" 3 4 extern struct tm *gmtime (const time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); extern struct tm *localtime (const time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); extern struct tm *gmtime_r (const time_t *__restrict __timer, struct tm *__restrict __tp) __attribute__ ((__nothrow__ , __leaf__)); extern struct tm *localtime_r (const time_t *__restrict __timer, struct tm *__restrict __tp) __attribute__ ((__nothrow__ , __leaf__)); extern char *asctime (const struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern char *ctime (const time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); extern char *asctime_r (const struct tm *__restrict __tp, char *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)); extern char *ctime_r (const time_t *__restrict __timer, char *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)); extern char *__tzname[2]; extern int __daylight; extern long int __timezone; extern char *tzname[2]; extern void tzset (void) __attribute__ ((__nothrow__ , __leaf__)); extern int daylight; extern long int timezone; extern int stime (const time_t *__when) __attribute__ ((__nothrow__ , __leaf__)); # 319 "/usr/include/time.h" 3 4 extern time_t timegm (struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern time_t timelocal (struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern int dysize (int __year) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); # 334 "/usr/include/time.h" 3 4 extern int nanosleep (const struct timespec *__requested_time, struct timespec *__remaining); extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __attribute__ ((__nothrow__ , __leaf__)); extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern int clock_settime (clockid_t __clock_id, const struct timespec *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern int clock_nanosleep (clockid_t __clock_id, int __flags, const struct timespec *__req, struct timespec *__rem); extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __attribute__ ((__nothrow__ , __leaf__)); extern int timer_create (clockid_t __clock_id, struct sigevent *__restrict __evp, timer_t *__restrict __timerid) __attribute__ ((__nothrow__ , __leaf__)); extern int timer_delete (timer_t __timerid) __attribute__ ((__nothrow__ , __leaf__)); extern int timer_settime (timer_t __timerid, int __flags, const struct itimerspec *__restrict __value, struct itimerspec *__restrict __ovalue) __attribute__ ((__nothrow__ , __leaf__)); extern int timer_gettime (timer_t __timerid, struct itimerspec *__value) __attribute__ ((__nothrow__ , __leaf__)); extern int timer_getoverrun (timer_t __timerid) __attribute__ ((__nothrow__ , __leaf__)); extern int timespec_get (struct timespec *__ts, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 430 "/usr/include/time.h" 3 4 # 25 "/usr/include/pthread.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 1 3 4 # 21 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 22 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 2 3 4 # 60 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 typedef unsigned long int pthread_t; union pthread_attr_t { char __size[36]; long int __align; }; typedef union pthread_attr_t pthread_attr_t; # 81 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 typedef struct __pthread_internal_slist { struct __pthread_internal_slist *__next; } __pthread_slist_t; typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; int __kind; # 111 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 unsigned int __nusers; __extension__ union { struct { short __espins; short __elision; } __elision_data; __pthread_slist_t __list; }; } __data; char __size[24]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { # 202 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; unsigned char __flags; unsigned char __shared; signed char __rwelision; unsigned char __pad2; int __writer; } __data; char __size[32]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[20]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 27 "/usr/include/pthread.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/setjmp.h" 1 3 4 # 26 "/usr/include/i386-linux-gnu/bits/setjmp.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 27 "/usr/include/i386-linux-gnu/bits/setjmp.h" 2 3 4 # 35 "/usr/include/i386-linux-gnu/bits/setjmp.h" 3 4 typedef int __jmp_buf[6]; # 28 "/usr/include/pthread.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 29 "/usr/include/pthread.h" 2 3 4 enum { PTHREAD_CREATE_JOINABLE, PTHREAD_CREATE_DETACHED }; enum { PTHREAD_MUTEX_TIMED_NP, PTHREAD_MUTEX_RECURSIVE_NP, PTHREAD_MUTEX_ERRORCHECK_NP, PTHREAD_MUTEX_ADAPTIVE_NP , PTHREAD_MUTEX_NORMAL = PTHREAD_MUTEX_TIMED_NP, PTHREAD_MUTEX_RECURSIVE = PTHREAD_MUTEX_RECURSIVE_NP, PTHREAD_MUTEX_ERRORCHECK = PTHREAD_MUTEX_ERRORCHECK_NP, PTHREAD_MUTEX_DEFAULT = PTHREAD_MUTEX_NORMAL }; enum { PTHREAD_MUTEX_STALLED, PTHREAD_MUTEX_STALLED_NP = PTHREAD_MUTEX_STALLED, PTHREAD_MUTEX_ROBUST, PTHREAD_MUTEX_ROBUST_NP = PTHREAD_MUTEX_ROBUST }; enum { PTHREAD_PRIO_NONE, PTHREAD_PRIO_INHERIT, PTHREAD_PRIO_PROTECT }; # 114 "/usr/include/pthread.h" 3 4 enum { PTHREAD_RWLOCK_PREFER_READER_NP, PTHREAD_RWLOCK_PREFER_WRITER_NP, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP, PTHREAD_RWLOCK_DEFAULT_NP = PTHREAD_RWLOCK_PREFER_READER_NP }; # 155 "/usr/include/pthread.h" 3 4 enum { PTHREAD_INHERIT_SCHED, PTHREAD_EXPLICIT_SCHED }; enum { PTHREAD_SCOPE_SYSTEM, PTHREAD_SCOPE_PROCESS }; enum { PTHREAD_PROCESS_PRIVATE, PTHREAD_PROCESS_SHARED }; # 190 "/usr/include/pthread.h" 3 4 struct _pthread_cleanup_buffer { void (*__routine) (void *); void *__arg; int __canceltype; struct _pthread_cleanup_buffer *__prev; }; enum { PTHREAD_CANCEL_ENABLE, PTHREAD_CANCEL_DISABLE }; enum { PTHREAD_CANCEL_DEFERRED, PTHREAD_CANCEL_ASYNCHRONOUS }; # 228 "/usr/include/pthread.h" 3 4 extern int pthread_create (pthread_t *__restrict __newthread, const pthread_attr_t *__restrict __attr, void *(*__start_routine) (void *), void *__restrict __arg) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))); extern void pthread_exit (void *__retval) __attribute__ ((__noreturn__)); extern int pthread_join (pthread_t __th, void **__thread_return); # 271 "/usr/include/pthread.h" 3 4 extern int pthread_detach (pthread_t __th) __attribute__ ((__nothrow__ , __leaf__)); extern pthread_t pthread_self (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int pthread_equal (pthread_t __thread1, pthread_t __thread2) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int pthread_attr_init (pthread_attr_t *__attr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_destroy (pthread_attr_t *__attr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getdetachstate (const pthread_attr_t *__attr, int *__detachstate) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setdetachstate (pthread_attr_t *__attr, int __detachstate) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getguardsize (const pthread_attr_t *__attr, size_t *__guardsize) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setguardsize (pthread_attr_t *__attr, size_t __guardsize) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getschedparam (const pthread_attr_t *__restrict __attr, struct sched_param *__restrict __param) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setschedparam (pthread_attr_t *__restrict __attr, const struct sched_param *__restrict __param) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_getschedpolicy (const pthread_attr_t *__restrict __attr, int *__restrict __policy) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setschedpolicy (pthread_attr_t *__attr, int __policy) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getinheritsched (const pthread_attr_t *__restrict __attr, int *__restrict __inherit) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setinheritsched (pthread_attr_t *__attr, int __inherit) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getscope (const pthread_attr_t *__restrict __attr, int *__restrict __scope) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setscope (pthread_attr_t *__attr, int __scope) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getstackaddr (const pthread_attr_t *__restrict __attr, void **__restrict __stackaddr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__deprecated__)); extern int pthread_attr_setstackaddr (pthread_attr_t *__attr, void *__stackaddr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__)); extern int pthread_attr_getstacksize (const pthread_attr_t *__restrict __attr, size_t *__restrict __stacksize) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setstacksize (pthread_attr_t *__attr, size_t __stacksize) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getstack (const pthread_attr_t *__restrict __attr, void **__restrict __stackaddr, size_t *__restrict __stacksize) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2, 3))); extern int pthread_attr_setstack (pthread_attr_t *__attr, void *__stackaddr, size_t __stacksize) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 429 "/usr/include/pthread.h" 3 4 extern int pthread_setschedparam (pthread_t __target_thread, int __policy, const struct sched_param *__param) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))); extern int pthread_getschedparam (pthread_t __target_thread, int *__restrict __policy, struct sched_param *__restrict __param) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); extern int pthread_setschedprio (pthread_t __target_thread, int __prio) __attribute__ ((__nothrow__ , __leaf__)); # 494 "/usr/include/pthread.h" 3 4 extern int pthread_once (pthread_once_t *__once_control, void (*__init_routine) (void)) __attribute__ ((__nonnull__ (1, 2))); # 506 "/usr/include/pthread.h" 3 4 extern int pthread_setcancelstate (int __state, int *__oldstate); extern int pthread_setcanceltype (int __type, int *__oldtype); extern int pthread_cancel (pthread_t __th); extern void pthread_testcancel (void); typedef struct { struct { __jmp_buf __cancel_jmp_buf; int __mask_was_saved; } __cancel_jmp_buf[1]; void *__pad[4]; } __pthread_unwind_buf_t __attribute__ ((__aligned__)); # 540 "/usr/include/pthread.h" 3 4 struct __pthread_cleanup_frame { void (*__cancel_routine) (void *); void *__cancel_arg; int __do_it; int __cancel_type; }; # 680 "/usr/include/pthread.h" 3 4 extern void __pthread_register_cancel (__pthread_unwind_buf_t *__buf) __attribute__ ((__regparm__ (1))); # 692 "/usr/include/pthread.h" 3 4 extern void __pthread_unregister_cancel (__pthread_unwind_buf_t *__buf) __attribute__ ((__regparm__ (1))); # 733 "/usr/include/pthread.h" 3 4 extern void __pthread_unwind_next (__pthread_unwind_buf_t *__buf) __attribute__ ((__regparm__ (1))) __attribute__ ((__noreturn__)) __attribute__ ((__weak__)) ; struct __jmp_buf_tag; extern int __sigsetjmp (struct __jmp_buf_tag *__env, int __savemask) __attribute__ ((__nothrow__)); extern int pthread_mutex_init (pthread_mutex_t *__mutex, const pthread_mutexattr_t *__mutexattr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutex_destroy (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutex_trylock (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutex_lock (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutex_timedlock (pthread_mutex_t *__restrict __mutex, const struct timespec *__restrict __abstime) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutex_unlock (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutex_getprioceiling (const pthread_mutex_t * __restrict __mutex, int *__restrict __prioceiling) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutex_setprioceiling (pthread_mutex_t *__restrict __mutex, int __prioceiling, int *__restrict __old_ceiling) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3))); extern int pthread_mutex_consistent (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 806 "/usr/include/pthread.h" 3 4 extern int pthread_mutexattr_init (pthread_mutexattr_t *__attr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_destroy (pthread_mutexattr_t *__attr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_getpshared (const pthread_mutexattr_t * __restrict __attr, int *__restrict __pshared) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutexattr_setpshared (pthread_mutexattr_t *__attr, int __pshared) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_gettype (const pthread_mutexattr_t *__restrict __attr, int *__restrict __kind) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutexattr_settype (pthread_mutexattr_t *__attr, int __kind) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_getprotocol (const pthread_mutexattr_t * __restrict __attr, int *__restrict __protocol) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutexattr_setprotocol (pthread_mutexattr_t *__attr, int __protocol) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_getprioceiling (const pthread_mutexattr_t * __restrict __attr, int *__restrict __prioceiling) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutexattr_setprioceiling (pthread_mutexattr_t *__attr, int __prioceiling) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_getrobust (const pthread_mutexattr_t *__attr, int *__robustness) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutexattr_setrobust (pthread_mutexattr_t *__attr, int __robustness) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 888 "/usr/include/pthread.h" 3 4 extern int pthread_rwlock_init (pthread_rwlock_t *__restrict __rwlock, const pthread_rwlockattr_t *__restrict __attr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_destroy (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_rdlock (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_tryrdlock (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_timedrdlock (pthread_rwlock_t *__restrict __rwlock, const struct timespec *__restrict __abstime) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_rwlock_wrlock (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_trywrlock (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_timedwrlock (pthread_rwlock_t *__restrict __rwlock, const struct timespec *__restrict __abstime) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_rwlock_unlock (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlockattr_init (pthread_rwlockattr_t *__attr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlockattr_destroy (pthread_rwlockattr_t *__attr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlockattr_getpshared (const pthread_rwlockattr_t * __restrict __attr, int *__restrict __pshared) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_rwlockattr_setpshared (pthread_rwlockattr_t *__attr, int __pshared) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlockattr_getkind_np (const pthread_rwlockattr_t * __restrict __attr, int *__restrict __pref) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_rwlockattr_setkind_np (pthread_rwlockattr_t *__attr, int __pref) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_cond_init (pthread_cond_t *__restrict __cond, const pthread_condattr_t *__restrict __cond_attr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_cond_destroy (pthread_cond_t *__cond) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_cond_signal (pthread_cond_t *__cond) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_cond_broadcast (pthread_cond_t *__cond) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_cond_wait (pthread_cond_t *__restrict __cond, pthread_mutex_t *__restrict __mutex) __attribute__ ((__nonnull__ (1, 2))); # 1000 "/usr/include/pthread.h" 3 4 extern int pthread_cond_timedwait (pthread_cond_t *__restrict __cond, pthread_mutex_t *__restrict __mutex, const struct timespec *__restrict __abstime) __attribute__ ((__nonnull__ (1, 2, 3))); extern int pthread_condattr_init (pthread_condattr_t *__attr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_condattr_destroy (pthread_condattr_t *__attr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_condattr_getpshared (const pthread_condattr_t * __restrict __attr, int *__restrict __pshared) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_condattr_setpshared (pthread_condattr_t *__attr, int __pshared) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_condattr_getclock (const pthread_condattr_t * __restrict __attr, __clockid_t *__restrict __clock_id) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_condattr_setclock (pthread_condattr_t *__attr, __clockid_t __clock_id) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 1044 "/usr/include/pthread.h" 3 4 extern int pthread_spin_init (pthread_spinlock_t *__lock, int __pshared) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_spin_destroy (pthread_spinlock_t *__lock) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_spin_lock (pthread_spinlock_t *__lock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_spin_trylock (pthread_spinlock_t *__lock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_spin_unlock (pthread_spinlock_t *__lock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_barrier_init (pthread_barrier_t *__restrict __barrier, const pthread_barrierattr_t *__restrict __attr, unsigned int __count) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_barrier_destroy (pthread_barrier_t *__barrier) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_barrier_wait (pthread_barrier_t *__barrier) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_barrierattr_init (pthread_barrierattr_t *__attr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_barrierattr_destroy (pthread_barrierattr_t *__attr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_barrierattr_getpshared (const pthread_barrierattr_t * __restrict __attr, int *__restrict __pshared) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_barrierattr_setpshared (pthread_barrierattr_t *__attr, int __pshared) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 1111 "/usr/include/pthread.h" 3 4 extern int pthread_key_create (pthread_key_t *__key, void (*__destr_function) (void *)) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_key_delete (pthread_key_t __key) __attribute__ ((__nothrow__ , __leaf__)); extern void *pthread_getspecific (pthread_key_t __key) __attribute__ ((__nothrow__ , __leaf__)); extern int pthread_setspecific (pthread_key_t __key, const void *__pointer) __attribute__ ((__nothrow__ , __leaf__)) ; extern int pthread_getcpuclockid (pthread_t __thread_id, __clockid_t *__clock_id) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); # 1145 "/usr/include/pthread.h" 3 4 extern int pthread_atfork (void (*__prepare) (void), void (*__parent) (void), void (*__child) (void)) __attribute__ ((__nothrow__ , __leaf__)); # 1159 "/usr/include/pthread.h" 3 4 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_PTHREAD_H" to "1" ================================================================================ TEST check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: setjmp.h Executing: gcc -E -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/usr/include/setjmp.h" 1 3 4 # 25 "/usr/include/setjmp.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 364 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/sys/cdefs.h" 1 3 4 # 415 "/usr/include/i386-linux-gnu/sys/cdefs.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 416 "/usr/include/i386-linux-gnu/sys/cdefs.h" 2 3 4 # 365 "/usr/include/features.h" 2 3 4 # 388 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs.h" 1 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs-32.h" 1 3 4 # 8 "/usr/include/i386-linux-gnu/gnu/stubs.h" 2 3 4 # 389 "/usr/include/features.h" 2 3 4 # 26 "/usr/include/setjmp.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/setjmp.h" 1 3 4 # 26 "/usr/include/i386-linux-gnu/bits/setjmp.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 27 "/usr/include/i386-linux-gnu/bits/setjmp.h" 2 3 4 # 35 "/usr/include/i386-linux-gnu/bits/setjmp.h" 3 4 # 35 "/usr/include/i386-linux-gnu/bits/setjmp.h" 3 4 typedef int __jmp_buf[6]; # 30 "/usr/include/setjmp.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/sigset.h" 1 3 4 # 22 "/usr/include/i386-linux-gnu/bits/sigset.h" 3 4 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 31 "/usr/include/setjmp.h" 2 3 4 struct __jmp_buf_tag { __jmp_buf __jmpbuf; int __mask_was_saved; __sigset_t __saved_mask; }; typedef struct __jmp_buf_tag jmp_buf[1]; extern int setjmp (jmp_buf __env) __attribute__ ((__nothrow__)); extern int __sigsetjmp (struct __jmp_buf_tag __env[1], int __savemask) __attribute__ ((__nothrow__)); extern int _setjmp (struct __jmp_buf_tag __env[1]) __attribute__ ((__nothrow__)); extern void longjmp (struct __jmp_buf_tag __env[1], int __val) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); extern void _longjmp (struct __jmp_buf_tag __env[1], int __val) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); typedef struct __jmp_buf_tag sigjmp_buf[1]; # 102 "/usr/include/setjmp.h" 3 4 extern void siglongjmp (sigjmp_buf __env, int __val) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); # 112 "/usr/include/setjmp.h" 3 4 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_SETJMP_H" to "1" ================================================================================ TEST check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/utsname.h Executing: gcc -E -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/usr/include/i386-linux-gnu/sys/utsname.h" 1 3 4 # 25 "/usr/include/i386-linux-gnu/sys/utsname.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 364 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/sys/cdefs.h" 1 3 4 # 415 "/usr/include/i386-linux-gnu/sys/cdefs.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 416 "/usr/include/i386-linux-gnu/sys/cdefs.h" 2 3 4 # 365 "/usr/include/features.h" 2 3 4 # 388 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs.h" 1 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs-32.h" 1 3 4 # 8 "/usr/include/i386-linux-gnu/gnu/stubs.h" 2 3 4 # 389 "/usr/include/features.h" 2 3 4 # 26 "/usr/include/i386-linux-gnu/sys/utsname.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/utsname.h" 1 3 4 # 30 "/usr/include/i386-linux-gnu/sys/utsname.h" 2 3 4 # 48 "/usr/include/i386-linux-gnu/sys/utsname.h" 3 4 # 48 "/usr/include/i386-linux-gnu/sys/utsname.h" 3 4 struct utsname { char sysname[65]; char nodename[65]; char release[65]; char version[65]; char machine[65]; char __domainname[65]; }; # 81 "/usr/include/i386-linux-gnu/sys/utsname.h" 3 4 extern int uname (struct utsname *__name) __attribute__ ((__nothrow__ , __leaf__)); # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_SYS_UTSNAME_H" to "1" ================================================================================ TEST check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: machine/endian.h Executing: gcc -E -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 Possible ERROR while running preprocessor: exit code 256 stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2stderr: /tmp/petsc-Ymuwb2/config.headers/conftest.c:3:10: fatal error: machine/endian.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess stderr before filtering:/tmp/petsc-Ymuwb2/config.headers/conftest.c:3:10: fatal error: machine/endian.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. : Preprocess stderr after filtering:/tmp/petsc-Ymuwb2/config.headers/conftest.c:3:10: fatal error: machine/endian.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~compilation terminated.: ================================================================================ TEST check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: limits.h Executing: gcc -E -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include-fixed/limits.h" 1 3 4 # 34 "/usr/lib/gcc/i686-linux-gnu/7/include-fixed/limits.h" 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include-fixed/syslimits.h" 1 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include-fixed/limits.h" 1 3 4 # 194 "/usr/lib/gcc/i686-linux-gnu/7/include-fixed/limits.h" 3 4 # 1 "/usr/include/limits.h" 1 3 4 # 25 "/usr/include/limits.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 364 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/sys/cdefs.h" 1 3 4 # 415 "/usr/include/i386-linux-gnu/sys/cdefs.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 416 "/usr/include/i386-linux-gnu/sys/cdefs.h" 2 3 4 # 365 "/usr/include/features.h" 2 3 4 # 388 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs.h" 1 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs-32.h" 1 3 4 # 8 "/usr/include/i386-linux-gnu/gnu/stubs.h" 2 3 4 # 389 "/usr/include/features.h" 2 3 4 # 26 "/usr/include/limits.h" 2 3 4 # 143 "/usr/include/limits.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/posix1_lim.h" 1 3 4 # 160 "/usr/include/i386-linux-gnu/bits/posix1_lim.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/local_lim.h" 1 3 4 # 38 "/usr/include/i386-linux-gnu/bits/local_lim.h" 3 4 # 1 "/usr/include/linux/limits.h" 1 3 4 # 39 "/usr/include/i386-linux-gnu/bits/local_lim.h" 2 3 4 # 161 "/usr/include/i386-linux-gnu/bits/posix1_lim.h" 2 3 4 # 144 "/usr/include/limits.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/posix2_lim.h" 1 3 4 # 148 "/usr/include/limits.h" 2 3 4 # 195 "/usr/lib/gcc/i686-linux-gnu/7/include-fixed/limits.h" 2 3 4 # 8 "/usr/lib/gcc/i686-linux-gnu/7/include-fixed/syslimits.h" 2 3 4 # 35 "/usr/lib/gcc/i686-linux-gnu/7/include-fixed/limits.h" 2 3 4 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_LIMITS_H" to "1" ================================================================================ TEST check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: fcntl.h Executing: gcc -E -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/usr/include/fcntl.h" 1 3 4 # 25 "/usr/include/fcntl.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 364 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/sys/cdefs.h" 1 3 4 # 415 "/usr/include/i386-linux-gnu/sys/cdefs.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 416 "/usr/include/i386-linux-gnu/sys/cdefs.h" 2 3 4 # 365 "/usr/include/features.h" 2 3 4 # 388 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs.h" 1 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs-32.h" 1 3 4 # 8 "/usr/include/i386-linux-gnu/gnu/stubs.h" 2 3 4 # 389 "/usr/include/features.h" 2 3 4 # 26 "/usr/include/fcntl.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/types.h" 1 3 4 # 27 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 28 "/usr/include/i386-linux-gnu/bits/types.h" 2 3 4 # 30 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; __extension__ typedef signed long long int __int64_t; __extension__ typedef unsigned long long int __uint64_t; __extension__ typedef long long int __quad_t; __extension__ typedef unsigned long long int __u_quad_t; # 121 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/typesizes.h" 1 3 4 # 122 "/usr/include/i386-linux-gnu/bits/types.h" 2 3 4 __extension__ typedef __u_quad_t __dev_t; __extension__ typedef unsigned int __uid_t; __extension__ typedef unsigned int __gid_t; __extension__ typedef unsigned long int __ino_t; __extension__ typedef __u_quad_t __ino64_t; __extension__ typedef unsigned int __mode_t; __extension__ typedef unsigned int __nlink_t; __extension__ typedef long int __off_t; __extension__ typedef __quad_t __off64_t; __extension__ typedef int __pid_t; __extension__ typedef struct { int __val[2]; } __fsid_t; __extension__ typedef long int __clock_t; __extension__ typedef unsigned long int __rlim_t; __extension__ typedef __u_quad_t __rlim64_t; __extension__ typedef unsigned int __id_t; __extension__ typedef long int __time_t; __extension__ typedef unsigned int __useconds_t; __extension__ typedef long int __suseconds_t; __extension__ typedef int __daddr_t; __extension__ typedef int __key_t; __extension__ typedef int __clockid_t; __extension__ typedef void * __timer_t; __extension__ typedef long int __blksize_t; __extension__ typedef long int __blkcnt_t; __extension__ typedef __quad_t __blkcnt64_t; __extension__ typedef unsigned long int __fsblkcnt_t; __extension__ typedef __u_quad_t __fsblkcnt64_t; __extension__ typedef unsigned long int __fsfilcnt_t; __extension__ typedef __u_quad_t __fsfilcnt64_t; __extension__ typedef int __fsword_t; __extension__ typedef int __ssize_t; __extension__ typedef long int __syscall_slong_t; __extension__ typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; __extension__ typedef int __intptr_t; __extension__ typedef unsigned int __socklen_t; # 32 "/usr/include/fcntl.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/fcntl.h" 1 3 4 # 35 "/usr/include/i386-linux-gnu/bits/fcntl.h" 3 4 struct flock { short int l_type; short int l_whence; __off_t l_start; __off_t l_len; __pid_t l_pid; }; # 61 "/usr/include/i386-linux-gnu/bits/fcntl.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/fcntl-linux.h" 1 3 4 # 363 "/usr/include/i386-linux-gnu/bits/fcntl-linux.h" 3 4 # 437 "/usr/include/i386-linux-gnu/bits/fcntl-linux.h" 3 4 # 61 "/usr/include/i386-linux-gnu/bits/fcntl.h" 2 3 4 # 36 "/usr/include/fcntl.h" 2 3 4 # 50 "/usr/include/fcntl.h" 3 4 typedef __mode_t mode_t; typedef __off_t off_t; # 69 "/usr/include/fcntl.h" 3 4 typedef __pid_t pid_t; # 1 "/usr/include/time.h" 1 3 4 # 120 "/usr/include/time.h" 3 4 struct timespec { __time_t tv_sec; __syscall_slong_t tv_nsec; }; # 77 "/usr/include/fcntl.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/stat.h" 1 3 4 # 46 "/usr/include/i386-linux-gnu/bits/stat.h" 3 4 struct stat { __dev_t st_dev; unsigned short int __pad1; __ino_t st_ino; __mode_t st_mode; __nlink_t st_nlink; __uid_t st_uid; __gid_t st_gid; __dev_t st_rdev; unsigned short int __pad2; __off_t st_size; __blksize_t st_blksize; __blkcnt_t st_blocks; # 91 "/usr/include/i386-linux-gnu/bits/stat.h" 3 4 struct timespec st_atim; struct timespec st_mtim; struct timespec st_ctim; # 109 "/usr/include/i386-linux-gnu/bits/stat.h" 3 4 unsigned long int __glibc_reserved4; unsigned long int __glibc_reserved5; }; # 80 "/usr/include/fcntl.h" 2 3 4 # 148 "/usr/include/fcntl.h" 3 4 extern int fcntl (int __fd, int __cmd, ...); # 158 "/usr/include/fcntl.h" 3 4 extern int open (const char *__file, int __oflag, ...) __attribute__ ((__nonnull__ (1))); # 182 "/usr/include/fcntl.h" 3 4 extern int openat (int __fd, const char *__file, int __oflag, ...) __attribute__ ((__nonnull__ (2))); # 204 "/usr/include/fcntl.h" 3 4 extern int creat (const char *__file, mode_t __mode) __attribute__ ((__nonnull__ (1))); # 233 "/usr/include/fcntl.h" 3 4 extern int lockf (int __fd, int __cmd, off_t __len); # 250 "/usr/include/fcntl.h" 3 4 extern int posix_fadvise (int __fd, off_t __offset, off_t __len, int __advise) __attribute__ ((__nothrow__ , __leaf__)); # 272 "/usr/include/fcntl.h" 3 4 extern int posix_fallocate (int __fd, off_t __offset, off_t __len); # 294 "/usr/include/fcntl.h" 3 4 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_FCNTL_H" to "1" ================================================================================ TEST check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: string.h Executing: gcc -E -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/usr/include/string.h" 1 3 4 # 25 "/usr/include/string.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 364 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/sys/cdefs.h" 1 3 4 # 415 "/usr/include/i386-linux-gnu/sys/cdefs.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 416 "/usr/include/i386-linux-gnu/sys/cdefs.h" 2 3 4 # 365 "/usr/include/features.h" 2 3 4 # 388 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs.h" 1 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs-32.h" 1 3 4 # 8 "/usr/include/i386-linux-gnu/gnu/stubs.h" 2 3 4 # 389 "/usr/include/features.h" 2 3 4 # 26 "/usr/include/string.h" 2 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 216 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 3 4 # 216 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 3 4 typedef unsigned int size_t; # 33 "/usr/include/string.h" 2 3 4 extern void *memcpy (void *__restrict __dest, const void *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memmove (void *__dest, const void *__src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memccpy (void *__restrict __dest, const void *__restrict __src, int __c, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int memcmp (const void *__s1, const void *__s2, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 92 "/usr/include/string.h" 3 4 extern void *memchr (const void *__s, int __c, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 123 "/usr/include/string.h" 3 4 extern char *strcpy (char *__restrict __dest, const char *__restrict __src) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strncpy (char *__restrict __dest, const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strcat (char *__restrict __dest, const char *__restrict __src) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strncat (char *__restrict __dest, const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int strcmp (const char *__s1, const char *__s2) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strncmp (const char *__s1, const char *__s2, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strcoll (const char *__s1, const char *__s2) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern size_t strxfrm (char *__restrict __dest, const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); # 1 "/usr/include/xlocale.h" 1 3 4 # 27 "/usr/include/xlocale.h" 3 4 typedef struct __locale_struct { struct __locale_data *__locales[13]; const unsigned short int *__ctype_b; const int *__ctype_tolower; const int *__ctype_toupper; const char *__names[13]; } *__locale_t; typedef __locale_t locale_t; # 160 "/usr/include/string.h" 2 3 4 extern int strcoll_l (const char *__s1, const char *__s2, __locale_t __l) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3))); extern size_t strxfrm_l (char *__dest, const char *__src, size_t __n, __locale_t __l) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))); extern char *strdup (const char *__s) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); extern char *strndup (const char *__string, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); # 206 "/usr/include/string.h" 3 4 # 231 "/usr/include/string.h" 3 4 extern char *strchr (const char *__s, int __c) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 258 "/usr/include/string.h" 3 4 extern char *strrchr (const char *__s, int __c) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 277 "/usr/include/string.h" 3 4 extern size_t strcspn (const char *__s, const char *__reject) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern size_t strspn (const char *__s, const char *__accept) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 310 "/usr/include/string.h" 3 4 extern char *strpbrk (const char *__s, const char *__accept) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 337 "/usr/include/string.h" 3 4 extern char *strstr (const char *__haystack, const char *__needle) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strtok (char *__restrict __s, const char *__restrict __delim) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern char *__strtok_r (char *__restrict __s, const char *__restrict __delim, char **__restrict __save_ptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, char **__restrict __save_ptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); # 392 "/usr/include/string.h" 3 4 extern size_t strlen (const char *__s) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern size_t strnlen (const char *__string, size_t __maxlen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern char *strerror (int __errnum) __attribute__ ((__nothrow__ , __leaf__)); # 422 "/usr/include/string.h" 3 4 extern int strerror_r (int __errnum, char *__buf, size_t __buflen) __asm__ ("" "__xpg_strerror_r") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); # 440 "/usr/include/string.h" 3 4 extern char *strerror_l (int __errnum, __locale_t __l) __attribute__ ((__nothrow__ , __leaf__)); extern void __bzero (void *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern void bcopy (const void *__src, void *__dest, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int bcmp (const void *__s1, const void *__s2, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 484 "/usr/include/string.h" 3 4 extern char *index (const char *__s, int __c) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 512 "/usr/include/string.h" 3 4 extern char *rindex (const char *__s, int __c) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern int ffs (int __i) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); # 529 "/usr/include/string.h" 3 4 extern int strcasecmp (const char *__s1, const char *__s2) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 552 "/usr/include/string.h" 3 4 extern char *strsep (char **__restrict __stringp, const char *__restrict __delim) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strsignal (int __sig) __attribute__ ((__nothrow__ , __leaf__)); extern char *__stpcpy (char *__restrict __dest, const char *__restrict __src) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *stpcpy (char *__restrict __dest, const char *__restrict __src) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *__stpncpy (char *__restrict __dest, const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *stpncpy (char *__restrict __dest, const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); # 656 "/usr/include/string.h" 3 4 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_STRING_H" to "1" ================================================================================ TEST check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/times.h Executing: gcc -E -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/usr/include/i386-linux-gnu/sys/times.h" 1 3 4 # 25 "/usr/include/i386-linux-gnu/sys/times.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 364 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/sys/cdefs.h" 1 3 4 # 415 "/usr/include/i386-linux-gnu/sys/cdefs.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 416 "/usr/include/i386-linux-gnu/sys/cdefs.h" 2 3 4 # 365 "/usr/include/features.h" 2 3 4 # 388 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs.h" 1 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs-32.h" 1 3 4 # 8 "/usr/include/i386-linux-gnu/gnu/stubs.h" 2 3 4 # 389 "/usr/include/features.h" 2 3 4 # 26 "/usr/include/i386-linux-gnu/sys/times.h" 2 3 4 # 1 "/usr/include/time.h" 1 3 4 # 55 "/usr/include/time.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/types.h" 1 3 4 # 27 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 28 "/usr/include/i386-linux-gnu/bits/types.h" 2 3 4 # 30 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; __extension__ typedef signed long long int __int64_t; __extension__ typedef unsigned long long int __uint64_t; __extension__ typedef long long int __quad_t; __extension__ typedef unsigned long long int __u_quad_t; # 121 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/typesizes.h" 1 3 4 # 122 "/usr/include/i386-linux-gnu/bits/types.h" 2 3 4 __extension__ typedef __u_quad_t __dev_t; __extension__ typedef unsigned int __uid_t; __extension__ typedef unsigned int __gid_t; __extension__ typedef unsigned long int __ino_t; __extension__ typedef __u_quad_t __ino64_t; __extension__ typedef unsigned int __mode_t; __extension__ typedef unsigned int __nlink_t; __extension__ typedef long int __off_t; __extension__ typedef __quad_t __off64_t; __extension__ typedef int __pid_t; __extension__ typedef struct { int __val[2]; } __fsid_t; __extension__ typedef long int __clock_t; __extension__ typedef unsigned long int __rlim_t; __extension__ typedef __u_quad_t __rlim64_t; __extension__ typedef unsigned int __id_t; __extension__ typedef long int __time_t; __extension__ typedef unsigned int __useconds_t; __extension__ typedef long int __suseconds_t; __extension__ typedef int __daddr_t; __extension__ typedef int __key_t; __extension__ typedef int __clockid_t; __extension__ typedef void * __timer_t; __extension__ typedef long int __blksize_t; __extension__ typedef long int __blkcnt_t; __extension__ typedef __quad_t __blkcnt64_t; __extension__ typedef unsigned long int __fsblkcnt_t; __extension__ typedef __u_quad_t __fsblkcnt64_t; __extension__ typedef unsigned long int __fsfilcnt_t; __extension__ typedef __u_quad_t __fsfilcnt64_t; __extension__ typedef int __fsword_t; __extension__ typedef int __ssize_t; __extension__ typedef long int __syscall_slong_t; __extension__ typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; __extension__ typedef int __intptr_t; __extension__ typedef unsigned int __socklen_t; # 56 "/usr/include/time.h" 2 3 4 typedef __clock_t clock_t; # 29 "/usr/include/i386-linux-gnu/sys/times.h" 2 3 4 struct tms { clock_t tms_utime; clock_t tms_stime; clock_t tms_cutime; clock_t tms_cstime; }; extern clock_t times (struct tms *__buffer) __attribute__ ((__nothrow__ , __leaf__)); # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_SYS_TIMES_H" to "1" ================================================================================ TEST check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: io.h Executing: gcc -E -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 Possible ERROR while running preprocessor: exit code 256 stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2stderr: /tmp/petsc-Ymuwb2/config.headers/conftest.c:3:10: fatal error: io.h: No such file or directory #include ^~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess stderr before filtering:/tmp/petsc-Ymuwb2/config.headers/conftest.c:3:10: fatal error: io.h: No such file or directory #include ^~~~~~ compilation terminated. : Preprocess stderr after filtering:/tmp/petsc-Ymuwb2/config.headers/conftest.c:3:10: fatal error: io.h: No such file or directory #include ^~~~~~compilation terminated.: ================================================================================ TEST check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: stdint.h Executing: gcc -E -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stdint.h" 1 3 4 # 9 "/usr/lib/gcc/i686-linux-gnu/7/include/stdint.h" 3 4 # 1 "/usr/include/stdint.h" 1 3 4 # 25 "/usr/include/stdint.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 364 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/sys/cdefs.h" 1 3 4 # 415 "/usr/include/i386-linux-gnu/sys/cdefs.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 416 "/usr/include/i386-linux-gnu/sys/cdefs.h" 2 3 4 # 365 "/usr/include/features.h" 2 3 4 # 388 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs.h" 1 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs-32.h" 1 3 4 # 8 "/usr/include/i386-linux-gnu/gnu/stubs.h" 2 3 4 # 389 "/usr/include/features.h" 2 3 4 # 26 "/usr/include/stdint.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wchar.h" 1 3 4 # 27 "/usr/include/stdint.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 28 "/usr/include/stdint.h" 2 3 4 # 36 "/usr/include/stdint.h" 3 4 # 36 "/usr/include/stdint.h" 3 4 typedef signed char int8_t; typedef short int int16_t; typedef int int32_t; __extension__ typedef long long int int64_t; typedef unsigned char uint8_t; typedef unsigned short int uint16_t; typedef unsigned int uint32_t; __extension__ typedef unsigned long long int uint64_t; typedef signed char int_least8_t; typedef short int int_least16_t; typedef int int_least32_t; __extension__ typedef long long int int_least64_t; typedef unsigned char uint_least8_t; typedef unsigned short int uint_least16_t; typedef unsigned int uint_least32_t; __extension__ typedef unsigned long long int uint_least64_t; typedef signed char int_fast8_t; typedef int int_fast16_t; typedef int int_fast32_t; __extension__ typedef long long int int_fast64_t; typedef unsigned char uint_fast8_t; typedef unsigned int uint_fast16_t; typedef unsigned int uint_fast32_t; __extension__ typedef unsigned long long int uint_fast64_t; # 125 "/usr/include/stdint.h" 3 4 typedef int intptr_t; typedef unsigned int uintptr_t; # 137 "/usr/include/stdint.h" 3 4 __extension__ typedef long long int intmax_t; __extension__ typedef unsigned long long int uintmax_t; # 10 "/usr/lib/gcc/i686-linux-gnu/7/include/stdint.h" 2 3 4 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_STDINT_H" to "1" ================================================================================ TEST check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: pwd.h Executing: gcc -E -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/usr/include/pwd.h" 1 3 4 # 25 "/usr/include/pwd.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 364 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/sys/cdefs.h" 1 3 4 # 415 "/usr/include/i386-linux-gnu/sys/cdefs.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 416 "/usr/include/i386-linux-gnu/sys/cdefs.h" 2 3 4 # 365 "/usr/include/features.h" 2 3 4 # 388 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs.h" 1 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs-32.h" 1 3 4 # 8 "/usr/include/i386-linux-gnu/gnu/stubs.h" 2 3 4 # 389 "/usr/include/features.h" 2 3 4 # 26 "/usr/include/pwd.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/types.h" 1 3 4 # 27 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 28 "/usr/include/i386-linux-gnu/bits/types.h" 2 3 4 # 30 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; __extension__ typedef signed long long int __int64_t; __extension__ typedef unsigned long long int __uint64_t; __extension__ typedef long long int __quad_t; __extension__ typedef unsigned long long int __u_quad_t; # 121 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/typesizes.h" 1 3 4 # 122 "/usr/include/i386-linux-gnu/bits/types.h" 2 3 4 __extension__ typedef __u_quad_t __dev_t; __extension__ typedef unsigned int __uid_t; __extension__ typedef unsigned int __gid_t; __extension__ typedef unsigned long int __ino_t; __extension__ typedef __u_quad_t __ino64_t; __extension__ typedef unsigned int __mode_t; __extension__ typedef unsigned int __nlink_t; __extension__ typedef long int __off_t; __extension__ typedef __quad_t __off64_t; __extension__ typedef int __pid_t; __extension__ typedef struct { int __val[2]; } __fsid_t; __extension__ typedef long int __clock_t; __extension__ typedef unsigned long int __rlim_t; __extension__ typedef __u_quad_t __rlim64_t; __extension__ typedef unsigned int __id_t; __extension__ typedef long int __time_t; __extension__ typedef unsigned int __useconds_t; __extension__ typedef long int __suseconds_t; __extension__ typedef int __daddr_t; __extension__ typedef int __key_t; __extension__ typedef int __clockid_t; __extension__ typedef void * __timer_t; __extension__ typedef long int __blksize_t; __extension__ typedef long int __blkcnt_t; __extension__ typedef __quad_t __blkcnt64_t; __extension__ typedef unsigned long int __fsblkcnt_t; __extension__ typedef __u_quad_t __fsblkcnt64_t; __extension__ typedef unsigned long int __fsfilcnt_t; __extension__ typedef __u_quad_t __fsfilcnt64_t; __extension__ typedef int __fsword_t; __extension__ typedef int __ssize_t; __extension__ typedef long int __syscall_slong_t; __extension__ typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; __extension__ typedef int __intptr_t; __extension__ typedef unsigned int __socklen_t; # 30 "/usr/include/pwd.h" 2 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 216 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 3 4 typedef unsigned int size_t; # 33 "/usr/include/pwd.h" 2 3 4 typedef __gid_t gid_t; typedef __uid_t uid_t; struct passwd { char *pw_name; char *pw_passwd; __uid_t pw_uid; __gid_t pw_gid; char *pw_gecos; char *pw_dir; char *pw_shell; }; # 1 "/usr/include/stdio.h" 1 3 4 # 44 "/usr/include/stdio.h" 3 4 struct _IO_FILE; typedef struct _IO_FILE FILE; # 64 "/usr/include/pwd.h" 2 3 4 # 72 "/usr/include/pwd.h" 3 4 extern void setpwent (void); extern void endpwent (void); extern struct passwd *getpwent (void); # 94 "/usr/include/pwd.h" 3 4 extern struct passwd *fgetpwent (FILE *__stream) __attribute__ ((__nonnull__ (1))); extern int putpwent (const struct passwd *__restrict __p, FILE *__restrict __f); extern struct passwd *getpwuid (__uid_t __uid); extern struct passwd *getpwnam (const char *__name) __attribute__ ((__nonnull__ (1))); # 139 "/usr/include/pwd.h" 3 4 extern int getpwent_r (struct passwd *__restrict __resultbuf, char *__restrict __buffer, size_t __buflen, struct passwd **__restrict __result) __attribute__ ((__nonnull__ (1, 2, 4))); extern int getpwuid_r (__uid_t __uid, struct passwd *__restrict __resultbuf, char *__restrict __buffer, size_t __buflen, struct passwd **__restrict __result) __attribute__ ((__nonnull__ (2, 3, 5))); extern int getpwnam_r (const char *__restrict __name, struct passwd *__restrict __resultbuf, char *__restrict __buffer, size_t __buflen, struct passwd **__restrict __result) __attribute__ ((__nonnull__ (1, 2, 3, 5))); # 166 "/usr/include/pwd.h" 3 4 extern int fgetpwent_r (FILE *__restrict __stream, struct passwd *__restrict __resultbuf, char *__restrict __buffer, size_t __buflen, struct passwd **__restrict __result) __attribute__ ((__nonnull__ (1, 2, 3, 5))); # 187 "/usr/include/pwd.h" 3 4 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_PWD_H" to "1" ================================================================================ TEST check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: float.h Executing: gcc -E -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/float.h" 1 3 4 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_FLOAT_H" to "1" ================================================================================ TEST check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/param.h Executing: gcc -E -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/usr/include/i386-linux-gnu/sys/param.h" 1 3 4 # 23 "/usr/include/i386-linux-gnu/sys/param.h" 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 24 "/usr/include/i386-linux-gnu/sys/param.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/sys/types.h" 1 3 4 # 25 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 364 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/sys/cdefs.h" 1 3 4 # 415 "/usr/include/i386-linux-gnu/sys/cdefs.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 416 "/usr/include/i386-linux-gnu/sys/cdefs.h" 2 3 4 # 365 "/usr/include/features.h" 2 3 4 # 388 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs.h" 1 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs-32.h" 1 3 4 # 8 "/usr/include/i386-linux-gnu/gnu/stubs.h" 2 3 4 # 389 "/usr/include/features.h" 2 3 4 # 26 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/types.h" 1 3 4 # 27 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 28 "/usr/include/i386-linux-gnu/bits/types.h" 2 3 4 # 30 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; __extension__ typedef signed long long int __int64_t; __extension__ typedef unsigned long long int __uint64_t; __extension__ typedef long long int __quad_t; __extension__ typedef unsigned long long int __u_quad_t; # 121 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/typesizes.h" 1 3 4 # 122 "/usr/include/i386-linux-gnu/bits/types.h" 2 3 4 __extension__ typedef __u_quad_t __dev_t; __extension__ typedef unsigned int __uid_t; __extension__ typedef unsigned int __gid_t; __extension__ typedef unsigned long int __ino_t; __extension__ typedef __u_quad_t __ino64_t; __extension__ typedef unsigned int __mode_t; __extension__ typedef unsigned int __nlink_t; __extension__ typedef long int __off_t; __extension__ typedef __quad_t __off64_t; __extension__ typedef int __pid_t; __extension__ typedef struct { int __val[2]; } __fsid_t; __extension__ typedef long int __clock_t; __extension__ typedef unsigned long int __rlim_t; __extension__ typedef __u_quad_t __rlim64_t; __extension__ typedef unsigned int __id_t; __extension__ typedef long int __time_t; __extension__ typedef unsigned int __useconds_t; __extension__ typedef long int __suseconds_t; __extension__ typedef int __daddr_t; __extension__ typedef int __key_t; __extension__ typedef int __clockid_t; __extension__ typedef void * __timer_t; __extension__ typedef long int __blksize_t; __extension__ typedef long int __blkcnt_t; __extension__ typedef __quad_t __blkcnt64_t; __extension__ typedef unsigned long int __fsblkcnt_t; __extension__ typedef __u_quad_t __fsblkcnt64_t; __extension__ typedef unsigned long int __fsfilcnt_t; __extension__ typedef __u_quad_t __fsfilcnt64_t; __extension__ typedef int __fsword_t; __extension__ typedef int __ssize_t; __extension__ typedef long int __syscall_slong_t; __extension__ typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; __extension__ typedef int __intptr_t; __extension__ typedef unsigned int __socklen_t; # 30 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino_t ino_t; # 60 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off_t off_t; # 98 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 132 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/include/time.h" 1 3 4 # 57 "/usr/include/time.h" 3 4 typedef __clock_t clock_t; # 73 "/usr/include/time.h" 3 4 typedef __time_t time_t; # 91 "/usr/include/time.h" 3 4 typedef __clockid_t clockid_t; # 103 "/usr/include/time.h" 3 4 typedef __timer_t timer_t; # 133 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 # 146 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 216 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 3 4 typedef unsigned int size_t; # 147 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 194 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 typedef int int8_t __attribute__ ((__mode__ (__QI__))); typedef int int16_t __attribute__ ((__mode__ (__HI__))); typedef int int32_t __attribute__ ((__mode__ (__SI__))); typedef int int64_t __attribute__ ((__mode__ (__DI__))); typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 216 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/include/endian.h" 1 3 4 # 36 "/usr/include/endian.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/endian.h" 1 3 4 # 37 "/usr/include/endian.h" 2 3 4 # 60 "/usr/include/endian.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/byteswap.h" 1 3 4 # 28 "/usr/include/i386-linux-gnu/bits/byteswap.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 29 "/usr/include/i386-linux-gnu/bits/byteswap.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/byteswap-16.h" 1 3 4 # 36 "/usr/include/i386-linux-gnu/bits/byteswap.h" 2 3 4 # 44 "/usr/include/i386-linux-gnu/bits/byteswap.h" 3 4 static __inline unsigned int __bswap_32 (unsigned int __bsx) { return __builtin_bswap32 (__bsx); } # 108 "/usr/include/i386-linux-gnu/bits/byteswap.h" 3 4 static __inline __uint64_t __bswap_64 (__uint64_t __bsx) { return __builtin_bswap64 (__bsx); } # 61 "/usr/include/endian.h" 2 3 4 # 217 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/sys/select.h" 1 3 4 # 30 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/select.h" 1 3 4 # 22 "/usr/include/i386-linux-gnu/bits/select.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 23 "/usr/include/i386-linux-gnu/bits/select.h" 2 3 4 # 31 "/usr/include/i386-linux-gnu/sys/select.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/sigset.h" 1 3 4 # 22 "/usr/include/i386-linux-gnu/bits/sigset.h" 3 4 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 34 "/usr/include/i386-linux-gnu/sys/select.h" 2 3 4 typedef __sigset_t sigset_t; # 1 "/usr/include/time.h" 1 3 4 # 120 "/usr/include/time.h" 3 4 struct timespec { __time_t tv_sec; __syscall_slong_t tv_nsec; }; # 46 "/usr/include/i386-linux-gnu/sys/select.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/time.h" 1 3 4 # 30 "/usr/include/i386-linux-gnu/bits/time.h" 3 4 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 48 "/usr/include/i386-linux-gnu/sys/select.h" 2 3 4 typedef __suseconds_t suseconds_t; typedef long int __fd_mask; # 66 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 typedef struct { __fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; # 98 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 # 108 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); # 120 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); # 133 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 # 220 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/sys/sysmacros.h" 1 3 4 # 24 "/usr/include/i386-linux-gnu/sys/sysmacros.h" 3 4 __extension__ extern unsigned int gnu_dev_major (unsigned long long int __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern unsigned int gnu_dev_minor (unsigned long long int __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); # 58 "/usr/include/i386-linux-gnu/sys/sysmacros.h" 3 4 # 223 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 typedef __blksize_t blksize_t; typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 270 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 1 3 4 # 21 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 22 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 2 3 4 # 60 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 typedef unsigned long int pthread_t; union pthread_attr_t { char __size[36]; long int __align; }; typedef union pthread_attr_t pthread_attr_t; # 81 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 typedef struct __pthread_internal_slist { struct __pthread_internal_slist *__next; } __pthread_slist_t; typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; int __kind; # 111 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 unsigned int __nusers; __extension__ union { struct { short __espins; short __elision; } __elision_data; __pthread_slist_t __list; }; } __data; char __size[24]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { # 202 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; unsigned char __flags; unsigned char __shared; signed char __rwelision; unsigned char __pad2; int __writer; } __data; char __size[32]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[20]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 271 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 # 26 "/usr/include/i386-linux-gnu/sys/param.h" 2 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include-fixed/limits.h" 1 3 4 # 34 "/usr/lib/gcc/i686-linux-gnu/7/include-fixed/limits.h" 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include-fixed/syslimits.h" 1 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include-fixed/limits.h" 1 3 4 # 194 "/usr/lib/gcc/i686-linux-gnu/7/include-fixed/limits.h" 3 4 # 1 "/usr/include/limits.h" 1 3 4 # 143 "/usr/include/limits.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/posix1_lim.h" 1 3 4 # 160 "/usr/include/i386-linux-gnu/bits/posix1_lim.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/local_lim.h" 1 3 4 # 38 "/usr/include/i386-linux-gnu/bits/local_lim.h" 3 4 # 1 "/usr/include/linux/limits.h" 1 3 4 # 39 "/usr/include/i386-linux-gnu/bits/local_lim.h" 2 3 4 # 161 "/usr/include/i386-linux-gnu/bits/posix1_lim.h" 2 3 4 # 144 "/usr/include/limits.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/posix2_lim.h" 1 3 4 # 148 "/usr/include/limits.h" 2 3 4 # 195 "/usr/lib/gcc/i686-linux-gnu/7/include-fixed/limits.h" 2 3 4 # 8 "/usr/lib/gcc/i686-linux-gnu/7/include-fixed/syslimits.h" 2 3 4 # 35 "/usr/lib/gcc/i686-linux-gnu/7/include-fixed/limits.h" 2 3 4 # 27 "/usr/include/i386-linux-gnu/sys/param.h" 2 3 4 # 1 "/usr/include/signal.h" 1 3 4 # 30 "/usr/include/signal.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/sigset.h" 1 3 4 # 102 "/usr/include/i386-linux-gnu/bits/sigset.h" 3 4 extern int __sigismember (const __sigset_t *, int); extern int __sigaddset (__sigset_t *, int); extern int __sigdelset (__sigset_t *, int); # 33 "/usr/include/signal.h" 2 3 4 typedef __sig_atomic_t sig_atomic_t; # 57 "/usr/include/signal.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/signum.h" 1 3 4 # 58 "/usr/include/signal.h" 2 3 4 # 75 "/usr/include/signal.h" 3 4 # 1 "/usr/include/time.h" 1 3 4 # 76 "/usr/include/signal.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/siginfo.h" 1 3 4 # 24 "/usr/include/i386-linux-gnu/bits/siginfo.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 25 "/usr/include/i386-linux-gnu/bits/siginfo.h" 2 3 4 typedef union sigval { int sival_int; void *sival_ptr; } sigval_t; # 58 "/usr/include/i386-linux-gnu/bits/siginfo.h" 3 4 typedef __clock_t __sigchld_clock_t; typedef struct { int si_signo; int si_errno; int si_code; union { int _pad[((128 / sizeof (int)) - 3)]; struct { __pid_t si_pid; __uid_t si_uid; } _kill; struct { int si_tid; int si_overrun; sigval_t si_sigval; } _timer; struct { __pid_t si_pid; __uid_t si_uid; sigval_t si_sigval; } _rt; struct { __pid_t si_pid; __uid_t si_uid; int si_status; __sigchld_clock_t si_utime; __sigchld_clock_t si_stime; } _sigchld; struct { void *si_addr; short int si_addr_lsb; struct { void *_lower; void *_upper; } si_addr_bnd; } _sigfault; struct { long int si_band; int si_fd; } _sigpoll; struct { void *_call_addr; int _syscall; unsigned int _arch; } _sigsys; } _sifields; } siginfo_t ; # 160 "/usr/include/i386-linux-gnu/bits/siginfo.h" 3 4 enum { SI_ASYNCNL = -60, SI_TKILL = -6, SI_SIGIO, SI_ASYNCIO, SI_MESGQ, SI_TIMER, SI_QUEUE, SI_USER, SI_KERNEL = 0x80 }; enum { ILL_ILLOPC = 1, ILL_ILLOPN, ILL_ILLADR, ILL_ILLTRP, ILL_PRVOPC, ILL_PRVREG, ILL_COPROC, ILL_BADSTK }; enum { FPE_INTDIV = 1, FPE_INTOVF, FPE_FLTDIV, FPE_FLTOVF, FPE_FLTUND, FPE_FLTRES, FPE_FLTINV, FPE_FLTSUB }; enum { SEGV_MAPERR = 1, SEGV_ACCERR }; enum { BUS_ADRALN = 1, BUS_ADRERR, BUS_OBJERR, BUS_MCEERR_AR, BUS_MCEERR_AO }; # 264 "/usr/include/i386-linux-gnu/bits/siginfo.h" 3 4 enum { CLD_EXITED = 1, CLD_KILLED, CLD_DUMPED, CLD_TRAPPED, CLD_STOPPED, CLD_CONTINUED }; enum { POLL_IN = 1, POLL_OUT, POLL_MSG, POLL_ERR, POLL_PRI, POLL_HUP }; # 320 "/usr/include/i386-linux-gnu/bits/siginfo.h" 3 4 typedef struct sigevent { sigval_t sigev_value; int sigev_signo; int sigev_notify; union { int _pad[((64 / sizeof (int)) - 3)]; __pid_t _tid; struct { void (*_function) (sigval_t); pthread_attr_t *_attribute; } _sigev_thread; } _sigev_un; } sigevent_t; enum { SIGEV_SIGNAL = 0, SIGEV_NONE, SIGEV_THREAD, SIGEV_THREAD_ID = 4 }; # 81 "/usr/include/signal.h" 2 3 4 typedef void (*__sighandler_t) (int); extern __sighandler_t __sysv_signal (int __sig, __sighandler_t __handler) __attribute__ ((__nothrow__ , __leaf__)); # 100 "/usr/include/signal.h" 3 4 extern __sighandler_t signal (int __sig, __sighandler_t __handler) __attribute__ ((__nothrow__ , __leaf__)); # 114 "/usr/include/signal.h" 3 4 # 127 "/usr/include/signal.h" 3 4 extern int kill (__pid_t __pid, int __sig) __attribute__ ((__nothrow__ , __leaf__)); extern int killpg (__pid_t __pgrp, int __sig) __attribute__ ((__nothrow__ , __leaf__)); extern int raise (int __sig) __attribute__ ((__nothrow__ , __leaf__)); extern __sighandler_t ssignal (int __sig, __sighandler_t __handler) __attribute__ ((__nothrow__ , __leaf__)); extern int gsignal (int __sig) __attribute__ ((__nothrow__ , __leaf__)); extern void psignal (int __sig, const char *__s); extern void psiginfo (const siginfo_t *__pinfo, const char *__s); # 187 "/usr/include/signal.h" 3 4 extern int sigblock (int __mask) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); extern int sigsetmask (int __mask) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); extern int siggetmask (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); # 207 "/usr/include/signal.h" 3 4 typedef __sighandler_t sig_t; extern int sigemptyset (sigset_t *__set) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int sigfillset (sigset_t *__set) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int sigaddset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int sigdelset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int sigismember (const sigset_t *__set, int __signo) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 243 "/usr/include/signal.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/sigaction.h" 1 3 4 # 24 "/usr/include/i386-linux-gnu/bits/sigaction.h" 3 4 struct sigaction { union { __sighandler_t sa_handler; void (*sa_sigaction) (int, siginfo_t *, void *); } __sigaction_handler; __sigset_t sa_mask; int sa_flags; void (*sa_restorer) (void); }; # 244 "/usr/include/signal.h" 2 3 4 extern int sigprocmask (int __how, const sigset_t *__restrict __set, sigset_t *__restrict __oset) __attribute__ ((__nothrow__ , __leaf__)); extern int sigsuspend (const sigset_t *__set) __attribute__ ((__nonnull__ (1))); extern int sigaction (int __sig, const struct sigaction *__restrict __act, struct sigaction *__restrict __oact) __attribute__ ((__nothrow__ , __leaf__)); extern int sigpending (sigset_t *__set) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int sigwait (const sigset_t *__restrict __set, int *__restrict __sig) __attribute__ ((__nonnull__ (1, 2))); extern int sigwaitinfo (const sigset_t *__restrict __set, siginfo_t *__restrict __info) __attribute__ ((__nonnull__ (1))); extern int sigtimedwait (const sigset_t *__restrict __set, siginfo_t *__restrict __info, const struct timespec *__restrict __timeout) __attribute__ ((__nonnull__ (1))); extern int sigqueue (__pid_t __pid, int __sig, const union sigval __val) __attribute__ ((__nothrow__ , __leaf__)); # 301 "/usr/include/signal.h" 3 4 extern const char *const _sys_siglist[65]; extern const char *const sys_siglist[65]; # 1 "/usr/include/i386-linux-gnu/bits/sigcontext.h" 1 3 4 # 29 "/usr/include/i386-linux-gnu/bits/sigcontext.h" 3 4 struct _fpx_sw_bytes { __uint32_t magic1; __uint32_t extended_size; __uint64_t xstate_bv; __uint32_t xstate_size; __uint32_t padding[7]; }; struct _fpreg { unsigned short significand[4]; unsigned short exponent; }; struct _fpxreg { unsigned short significand[4]; unsigned short exponent; unsigned short padding[3]; }; struct _xmmreg { __uint32_t element[4]; }; struct _fpstate { __uint32_t cw; __uint32_t sw; __uint32_t tag; __uint32_t ipoff; __uint32_t cssel; __uint32_t dataoff; __uint32_t datasel; struct _fpreg _st[8]; unsigned short status; unsigned short magic; __uint32_t _fxsr_env[6]; __uint32_t mxcsr; __uint32_t reserved; struct _fpxreg _fxsr_st[8]; struct _xmmreg _xmm[8]; __uint32_t padding[56]; }; # 93 "/usr/include/i386-linux-gnu/bits/sigcontext.h" 3 4 struct sigcontext { unsigned short gs, __gsh; unsigned short fs, __fsh; unsigned short es, __esh; unsigned short ds, __dsh; unsigned long edi; unsigned long esi; unsigned long ebp; unsigned long esp; unsigned long ebx; unsigned long edx; unsigned long ecx; unsigned long eax; unsigned long trapno; unsigned long err; unsigned long eip; unsigned short cs, __csh; unsigned long eflags; unsigned long esp_at_signal; unsigned short ss, __ssh; struct _fpstate * fpstate; unsigned long oldmask; unsigned long cr2; }; # 175 "/usr/include/i386-linux-gnu/bits/sigcontext.h" 3 4 struct _xsave_hdr { __uint64_t xstate_bv; __uint64_t reserved1[2]; __uint64_t reserved2[5]; }; struct _ymmh_state { __uint32_t ymmh_space[64]; }; struct _xstate { struct _fpstate fpstate; struct _xsave_hdr xstate_hdr; struct _ymmh_state ymmh; }; # 307 "/usr/include/signal.h" 2 3 4 extern int sigreturn (struct sigcontext *__scp) __attribute__ ((__nothrow__ , __leaf__)); # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 317 "/usr/include/signal.h" 2 3 4 extern int siginterrupt (int __sig, int __interrupt) __attribute__ ((__nothrow__ , __leaf__)); # 1 "/usr/include/i386-linux-gnu/bits/sigstack.h" 1 3 4 # 25 "/usr/include/i386-linux-gnu/bits/sigstack.h" 3 4 struct sigstack { void *ss_sp; int ss_onstack; }; enum { SS_ONSTACK = 1, SS_DISABLE }; # 49 "/usr/include/i386-linux-gnu/bits/sigstack.h" 3 4 typedef struct sigaltstack { void *ss_sp; int ss_flags; size_t ss_size; } stack_t; # 324 "/usr/include/signal.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/sys/ucontext.h" 1 3 4 # 22 "/usr/include/i386-linux-gnu/sys/ucontext.h" 3 4 # 1 "/usr/include/signal.h" 1 3 4 # 23 "/usr/include/i386-linux-gnu/sys/ucontext.h" 2 3 4 # 146 "/usr/include/i386-linux-gnu/sys/ucontext.h" 3 4 typedef int greg_t; typedef greg_t gregset_t[19]; # 200 "/usr/include/i386-linux-gnu/sys/ucontext.h" 3 4 struct _libc_fpreg { unsigned short int significand[4]; unsigned short int exponent; }; struct _libc_fpstate { unsigned long int cw; unsigned long int sw; unsigned long int tag; unsigned long int ipoff; unsigned long int cssel; unsigned long int dataoff; unsigned long int datasel; struct _libc_fpreg _st[8]; unsigned long int status; }; typedef struct _libc_fpstate *fpregset_t; typedef struct { gregset_t gregs; fpregset_t fpregs; unsigned long int oldmask; unsigned long int cr2; } mcontext_t; typedef struct ucontext { unsigned long int uc_flags; struct ucontext *uc_link; stack_t uc_stack; mcontext_t uc_mcontext; __sigset_t uc_sigmask; struct _libc_fpstate __fpregs_mem; } ucontext_t; # 327 "/usr/include/signal.h" 2 3 4 extern int sigstack (struct sigstack *__ss, struct sigstack *__oss) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); extern int sigaltstack (const struct sigaltstack *__restrict __ss, struct sigaltstack *__restrict __oss) __attribute__ ((__nothrow__ , __leaf__)); # 362 "/usr/include/signal.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/sigthread.h" 1 3 4 # 30 "/usr/include/i386-linux-gnu/bits/sigthread.h" 3 4 extern int pthread_sigmask (int __how, const __sigset_t *__restrict __newmask, __sigset_t *__restrict __oldmask)__attribute__ ((__nothrow__ , __leaf__)); extern int pthread_kill (pthread_t __threadid, int __signo) __attribute__ ((__nothrow__ , __leaf__)); # 363 "/usr/include/signal.h" 2 3 4 extern int __libc_current_sigrtmin (void) __attribute__ ((__nothrow__ , __leaf__)); extern int __libc_current_sigrtmax (void) __attribute__ ((__nothrow__ , __leaf__)); # 29 "/usr/include/i386-linux-gnu/sys/param.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/param.h" 1 3 4 # 28 "/usr/include/i386-linux-gnu/bits/param.h" 3 4 # 1 "/usr/include/linux/param.h" 1 3 4 # 1 "/usr/include/i386-linux-gnu/asm/param.h" 1 3 4 # 1 "/usr/include/asm-generic/param.h" 1 3 4 # 1 "/usr/include/i386-linux-gnu/asm/param.h" 2 3 4 # 5 "/usr/include/linux/param.h" 2 3 4 # 29 "/usr/include/i386-linux-gnu/bits/param.h" 2 3 4 # 32 "/usr/include/i386-linux-gnu/sys/param.h" 2 3 4 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_SYS_PARAM_H" to "1" ================================================================================ TEST check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: netdb.h Executing: gcc -E -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/usr/include/netdb.h" 1 3 4 # 25 "/usr/include/netdb.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 364 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/sys/cdefs.h" 1 3 4 # 415 "/usr/include/i386-linux-gnu/sys/cdefs.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 416 "/usr/include/i386-linux-gnu/sys/cdefs.h" 2 3 4 # 365 "/usr/include/features.h" 2 3 4 # 388 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs.h" 1 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs-32.h" 1 3 4 # 8 "/usr/include/i386-linux-gnu/gnu/stubs.h" 2 3 4 # 389 "/usr/include/features.h" 2 3 4 # 26 "/usr/include/netdb.h" 2 3 4 # 1 "/usr/include/netinet/in.h" 1 3 4 # 22 "/usr/include/netinet/in.h" 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stdint.h" 1 3 4 # 9 "/usr/lib/gcc/i686-linux-gnu/7/include/stdint.h" 3 4 # 1 "/usr/include/stdint.h" 1 3 4 # 26 "/usr/include/stdint.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wchar.h" 1 3 4 # 27 "/usr/include/stdint.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 28 "/usr/include/stdint.h" 2 3 4 # 36 "/usr/include/stdint.h" 3 4 # 36 "/usr/include/stdint.h" 3 4 typedef signed char int8_t; typedef short int int16_t; typedef int int32_t; __extension__ typedef long long int int64_t; typedef unsigned char uint8_t; typedef unsigned short int uint16_t; typedef unsigned int uint32_t; __extension__ typedef unsigned long long int uint64_t; typedef signed char int_least8_t; typedef short int int_least16_t; typedef int int_least32_t; __extension__ typedef long long int int_least64_t; typedef unsigned char uint_least8_t; typedef unsigned short int uint_least16_t; typedef unsigned int uint_least32_t; __extension__ typedef unsigned long long int uint_least64_t; typedef signed char int_fast8_t; typedef int int_fast16_t; typedef int int_fast32_t; __extension__ typedef long long int int_fast64_t; typedef unsigned char uint_fast8_t; typedef unsigned int uint_fast16_t; typedef unsigned int uint_fast32_t; __extension__ typedef unsigned long long int uint_fast64_t; # 125 "/usr/include/stdint.h" 3 4 typedef int intptr_t; typedef unsigned int uintptr_t; # 137 "/usr/include/stdint.h" 3 4 __extension__ typedef long long int intmax_t; __extension__ typedef unsigned long long int uintmax_t; # 10 "/usr/lib/gcc/i686-linux-gnu/7/include/stdint.h" 2 3 4 # 23 "/usr/include/netinet/in.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/sys/socket.h" 1 3 4 # 24 "/usr/include/i386-linux-gnu/sys/socket.h" 3 4 # 1 "/usr/include/i386-linux-gnu/sys/uio.h" 1 3 4 # 23 "/usr/include/i386-linux-gnu/sys/uio.h" 3 4 # 1 "/usr/include/i386-linux-gnu/sys/types.h" 1 3 4 # 27 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/types.h" 1 3 4 # 27 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 28 "/usr/include/i386-linux-gnu/bits/types.h" 2 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; __extension__ typedef signed long long int __int64_t; __extension__ typedef unsigned long long int __uint64_t; __extension__ typedef long long int __quad_t; __extension__ typedef unsigned long long int __u_quad_t; # 121 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/typesizes.h" 1 3 4 # 122 "/usr/include/i386-linux-gnu/bits/types.h" 2 3 4 __extension__ typedef __u_quad_t __dev_t; __extension__ typedef unsigned int __uid_t; __extension__ typedef unsigned int __gid_t; __extension__ typedef unsigned long int __ino_t; __extension__ typedef __u_quad_t __ino64_t; __extension__ typedef unsigned int __mode_t; __extension__ typedef unsigned int __nlink_t; __extension__ typedef long int __off_t; __extension__ typedef __quad_t __off64_t; __extension__ typedef int __pid_t; __extension__ typedef struct { int __val[2]; } __fsid_t; __extension__ typedef long int __clock_t; __extension__ typedef unsigned long int __rlim_t; __extension__ typedef __u_quad_t __rlim64_t; __extension__ typedef unsigned int __id_t; __extension__ typedef long int __time_t; __extension__ typedef unsigned int __useconds_t; __extension__ typedef long int __suseconds_t; __extension__ typedef int __daddr_t; __extension__ typedef int __key_t; __extension__ typedef int __clockid_t; __extension__ typedef void * __timer_t; __extension__ typedef long int __blksize_t; __extension__ typedef long int __blkcnt_t; __extension__ typedef __quad_t __blkcnt64_t; __extension__ typedef unsigned long int __fsblkcnt_t; __extension__ typedef __u_quad_t __fsblkcnt64_t; __extension__ typedef unsigned long int __fsfilcnt_t; __extension__ typedef __u_quad_t __fsfilcnt64_t; __extension__ typedef int __fsword_t; __extension__ typedef int __ssize_t; __extension__ typedef long int __syscall_slong_t; __extension__ typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; __extension__ typedef int __intptr_t; __extension__ typedef unsigned int __socklen_t; # 30 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino_t ino_t; # 60 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off_t off_t; # 98 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 132 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/include/time.h" 1 3 4 # 57 "/usr/include/time.h" 3 4 typedef __clock_t clock_t; # 73 "/usr/include/time.h" 3 4 typedef __time_t time_t; # 91 "/usr/include/time.h" 3 4 typedef __clockid_t clockid_t; # 103 "/usr/include/time.h" 3 4 typedef __timer_t timer_t; # 133 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 # 146 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 216 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 3 4 typedef unsigned int size_t; # 147 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 200 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 216 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/include/endian.h" 1 3 4 # 36 "/usr/include/endian.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/endian.h" 1 3 4 # 37 "/usr/include/endian.h" 2 3 4 # 60 "/usr/include/endian.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/byteswap.h" 1 3 4 # 28 "/usr/include/i386-linux-gnu/bits/byteswap.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 29 "/usr/include/i386-linux-gnu/bits/byteswap.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/byteswap-16.h" 1 3 4 # 36 "/usr/include/i386-linux-gnu/bits/byteswap.h" 2 3 4 # 44 "/usr/include/i386-linux-gnu/bits/byteswap.h" 3 4 static __inline unsigned int __bswap_32 (unsigned int __bsx) { return __builtin_bswap32 (__bsx); } # 108 "/usr/include/i386-linux-gnu/bits/byteswap.h" 3 4 static __inline __uint64_t __bswap_64 (__uint64_t __bsx) { return __builtin_bswap64 (__bsx); } # 61 "/usr/include/endian.h" 2 3 4 # 217 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/sys/select.h" 1 3 4 # 30 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/select.h" 1 3 4 # 22 "/usr/include/i386-linux-gnu/bits/select.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 23 "/usr/include/i386-linux-gnu/bits/select.h" 2 3 4 # 31 "/usr/include/i386-linux-gnu/sys/select.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/sigset.h" 1 3 4 # 22 "/usr/include/i386-linux-gnu/bits/sigset.h" 3 4 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 34 "/usr/include/i386-linux-gnu/sys/select.h" 2 3 4 typedef __sigset_t sigset_t; # 1 "/usr/include/time.h" 1 3 4 # 120 "/usr/include/time.h" 3 4 struct timespec { __time_t tv_sec; __syscall_slong_t tv_nsec; }; # 46 "/usr/include/i386-linux-gnu/sys/select.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/time.h" 1 3 4 # 30 "/usr/include/i386-linux-gnu/bits/time.h" 3 4 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 48 "/usr/include/i386-linux-gnu/sys/select.h" 2 3 4 typedef __suseconds_t suseconds_t; typedef long int __fd_mask; # 66 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 typedef struct { __fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; # 98 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 # 108 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); # 120 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); # 133 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 # 220 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/sys/sysmacros.h" 1 3 4 # 24 "/usr/include/i386-linux-gnu/sys/sysmacros.h" 3 4 __extension__ extern unsigned int gnu_dev_major (unsigned long long int __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern unsigned int gnu_dev_minor (unsigned long long int __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); # 58 "/usr/include/i386-linux-gnu/sys/sysmacros.h" 3 4 # 223 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 typedef __blksize_t blksize_t; typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 270 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 1 3 4 # 21 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 22 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 2 3 4 # 60 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 typedef unsigned long int pthread_t; union pthread_attr_t { char __size[36]; long int __align; }; typedef union pthread_attr_t pthread_attr_t; # 81 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 typedef struct __pthread_internal_slist { struct __pthread_internal_slist *__next; } __pthread_slist_t; typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; int __kind; # 111 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 unsigned int __nusers; __extension__ union { struct { short __espins; short __elision; } __elision_data; __pthread_slist_t __list; }; } __data; char __size[24]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { # 202 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; unsigned char __flags; unsigned char __shared; signed char __rwelision; unsigned char __pad2; int __writer; } __data; char __size[32]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[20]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 271 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 # 24 "/usr/include/i386-linux-gnu/sys/uio.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/uio.h" 1 3 4 # 43 "/usr/include/i386-linux-gnu/bits/uio.h" 3 4 struct iovec { void *iov_base; size_t iov_len; }; # 29 "/usr/include/i386-linux-gnu/sys/uio.h" 2 3 4 # 39 "/usr/include/i386-linux-gnu/sys/uio.h" 3 4 extern ssize_t readv (int __fd, const struct iovec *__iovec, int __count) ; # 50 "/usr/include/i386-linux-gnu/sys/uio.h" 3 4 extern ssize_t writev (int __fd, const struct iovec *__iovec, int __count) ; # 65 "/usr/include/i386-linux-gnu/sys/uio.h" 3 4 extern ssize_t preadv (int __fd, const struct iovec *__iovec, int __count, __off_t __offset) ; # 77 "/usr/include/i386-linux-gnu/sys/uio.h" 3 4 extern ssize_t pwritev (int __fd, const struct iovec *__iovec, int __count, __off_t __offset) ; # 120 "/usr/include/i386-linux-gnu/sys/uio.h" 3 4 # 27 "/usr/include/i386-linux-gnu/sys/socket.h" 2 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 29 "/usr/include/i386-linux-gnu/sys/socket.h" 2 3 4 # 38 "/usr/include/i386-linux-gnu/sys/socket.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/socket.h" 1 3 4 # 27 "/usr/include/i386-linux-gnu/bits/socket.h" 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 28 "/usr/include/i386-linux-gnu/bits/socket.h" 2 3 4 typedef __socklen_t socklen_t; # 1 "/usr/include/i386-linux-gnu/bits/socket_type.h" 1 3 4 # 24 "/usr/include/i386-linux-gnu/bits/socket_type.h" 3 4 enum __socket_type { SOCK_STREAM = 1, SOCK_DGRAM = 2, SOCK_RAW = 3, SOCK_RDM = 4, SOCK_SEQPACKET = 5, SOCK_DCCP = 6, SOCK_PACKET = 10, SOCK_CLOEXEC = 02000000, SOCK_NONBLOCK = 00004000 }; # 39 "/usr/include/i386-linux-gnu/bits/socket.h" 2 3 4 # 167 "/usr/include/i386-linux-gnu/bits/socket.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/sockaddr.h" 1 3 4 # 28 "/usr/include/i386-linux-gnu/bits/sockaddr.h" 3 4 typedef unsigned short int sa_family_t; # 168 "/usr/include/i386-linux-gnu/bits/socket.h" 2 3 4 struct sockaddr { sa_family_t sa_family; char sa_data[14]; }; # 183 "/usr/include/i386-linux-gnu/bits/socket.h" 3 4 struct sockaddr_storage { sa_family_t ss_family; char __ss_padding[(128 - (sizeof (unsigned short int)) - sizeof (unsigned long int))]; unsigned long int __ss_align; }; enum { MSG_OOB = 0x01, MSG_PEEK = 0x02, MSG_DONTROUTE = 0x04, MSG_CTRUNC = 0x08, MSG_PROXY = 0x10, MSG_TRUNC = 0x20, MSG_DONTWAIT = 0x40, MSG_EOR = 0x80, MSG_WAITALL = 0x100, MSG_FIN = 0x200, MSG_SYN = 0x400, MSG_CONFIRM = 0x800, MSG_RST = 0x1000, MSG_ERRQUEUE = 0x2000, MSG_NOSIGNAL = 0x4000, MSG_MORE = 0x8000, MSG_WAITFORONE = 0x10000, MSG_BATCH = 0x40000, MSG_FASTOPEN = 0x20000000, MSG_CMSG_CLOEXEC = 0x40000000 }; struct msghdr { void *msg_name; socklen_t msg_namelen; struct iovec *msg_iov; size_t msg_iovlen; void *msg_control; size_t msg_controllen; int msg_flags; }; struct cmsghdr { size_t cmsg_len; int cmsg_level; int cmsg_type; __extension__ unsigned char __cmsg_data []; }; # 295 "/usr/include/i386-linux-gnu/bits/socket.h" 3 4 extern struct cmsghdr *__cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg) __attribute__ ((__nothrow__ , __leaf__)); # 322 "/usr/include/i386-linux-gnu/bits/socket.h" 3 4 enum { SCM_RIGHTS = 0x01 }; # 368 "/usr/include/i386-linux-gnu/bits/socket.h" 3 4 # 1 "/usr/include/i386-linux-gnu/asm/socket.h" 1 3 4 # 1 "/usr/include/asm-generic/socket.h" 1 3 4 # 1 "/usr/include/i386-linux-gnu/asm/sockios.h" 1 3 4 # 1 "/usr/include/asm-generic/sockios.h" 1 3 4 # 1 "/usr/include/i386-linux-gnu/asm/sockios.h" 2 3 4 # 5 "/usr/include/asm-generic/socket.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/asm/socket.h" 2 3 4 # 369 "/usr/include/i386-linux-gnu/bits/socket.h" 2 3 4 # 402 "/usr/include/i386-linux-gnu/bits/socket.h" 3 4 struct linger { int l_onoff; int l_linger; }; # 39 "/usr/include/i386-linux-gnu/sys/socket.h" 2 3 4 struct osockaddr { unsigned short int sa_family; unsigned char sa_data[14]; }; enum { SHUT_RD = 0, SHUT_WR, SHUT_RDWR }; # 113 "/usr/include/i386-linux-gnu/sys/socket.h" 3 4 extern int socket (int __domain, int __type, int __protocol) __attribute__ ((__nothrow__ , __leaf__)); extern int socketpair (int __domain, int __type, int __protocol, int __fds[2]) __attribute__ ((__nothrow__ , __leaf__)); extern int bind (int __fd, const struct sockaddr * __addr, socklen_t __len) __attribute__ ((__nothrow__ , __leaf__)); extern int getsockname (int __fd, struct sockaddr *__restrict __addr, socklen_t *__restrict __len) __attribute__ ((__nothrow__ , __leaf__)); # 137 "/usr/include/i386-linux-gnu/sys/socket.h" 3 4 extern int connect (int __fd, const struct sockaddr * __addr, socklen_t __len); extern int getpeername (int __fd, struct sockaddr *__restrict __addr, socklen_t *__restrict __len) __attribute__ ((__nothrow__ , __leaf__)); extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); extern ssize_t sendto (int __fd, const void *__buf, size_t __n, int __flags, const struct sockaddr * __addr, socklen_t __addr_len); # 174 "/usr/include/i386-linux-gnu/sys/socket.h" 3 4 extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, struct sockaddr *__restrict __addr, socklen_t *__restrict __addr_len); extern ssize_t sendmsg (int __fd, const struct msghdr *__message, int __flags); # 202 "/usr/include/i386-linux-gnu/sys/socket.h" 3 4 extern ssize_t recvmsg (int __fd, struct msghdr *__message, int __flags); # 219 "/usr/include/i386-linux-gnu/sys/socket.h" 3 4 extern int getsockopt (int __fd, int __level, int __optname, void *__restrict __optval, socklen_t *__restrict __optlen) __attribute__ ((__nothrow__ , __leaf__)); extern int setsockopt (int __fd, int __level, int __optname, const void *__optval, socklen_t __optlen) __attribute__ ((__nothrow__ , __leaf__)); extern int listen (int __fd, int __n) __attribute__ ((__nothrow__ , __leaf__)); # 243 "/usr/include/i386-linux-gnu/sys/socket.h" 3 4 extern int accept (int __fd, struct sockaddr *__restrict __addr, socklen_t *__restrict __addr_len); # 261 "/usr/include/i386-linux-gnu/sys/socket.h" 3 4 extern int shutdown (int __fd, int __how) __attribute__ ((__nothrow__ , __leaf__)); extern int sockatmark (int __fd) __attribute__ ((__nothrow__ , __leaf__)); extern int isfdtype (int __fd, int __fdtype) __attribute__ ((__nothrow__ , __leaf__)); # 283 "/usr/include/i386-linux-gnu/sys/socket.h" 3 4 # 24 "/usr/include/netinet/in.h" 2 3 4 typedef uint32_t in_addr_t; struct in_addr { in_addr_t s_addr; }; # 1 "/usr/include/i386-linux-gnu/bits/in.h" 1 3 4 # 141 "/usr/include/i386-linux-gnu/bits/in.h" 3 4 struct ip_opts { struct in_addr ip_dst; char ip_opts[40]; }; struct ip_mreqn { struct in_addr imr_multiaddr; struct in_addr imr_address; int imr_ifindex; }; struct in_pktinfo { int ipi_ifindex; struct in_addr ipi_spec_dst; struct in_addr ipi_addr; }; # 38 "/usr/include/netinet/in.h" 2 3 4 enum { IPPROTO_IP = 0, IPPROTO_ICMP = 1, IPPROTO_IGMP = 2, IPPROTO_IPIP = 4, IPPROTO_TCP = 6, IPPROTO_EGP = 8, IPPROTO_PUP = 12, IPPROTO_UDP = 17, IPPROTO_IDP = 22, IPPROTO_TP = 29, IPPROTO_DCCP = 33, IPPROTO_IPV6 = 41, IPPROTO_RSVP = 46, IPPROTO_GRE = 47, IPPROTO_ESP = 50, IPPROTO_AH = 51, IPPROTO_MTP = 92, IPPROTO_BEETPH = 94, IPPROTO_ENCAP = 98, IPPROTO_PIM = 103, IPPROTO_COMP = 108, IPPROTO_SCTP = 132, IPPROTO_UDPLITE = 136, IPPROTO_MPLS = 137, IPPROTO_RAW = 255, IPPROTO_MAX }; enum { IPPROTO_HOPOPTS = 0, IPPROTO_ROUTING = 43, IPPROTO_FRAGMENT = 44, IPPROTO_ICMPV6 = 58, IPPROTO_NONE = 59, IPPROTO_DSTOPTS = 60, IPPROTO_MH = 135 }; typedef uint16_t in_port_t; enum { IPPORT_ECHO = 7, IPPORT_DISCARD = 9, IPPORT_SYSTAT = 11, IPPORT_DAYTIME = 13, IPPORT_NETSTAT = 15, IPPORT_FTP = 21, IPPORT_TELNET = 23, IPPORT_SMTP = 25, IPPORT_TIMESERVER = 37, IPPORT_NAMESERVER = 42, IPPORT_WHOIS = 43, IPPORT_MTP = 57, IPPORT_TFTP = 69, IPPORT_RJE = 77, IPPORT_FINGER = 79, IPPORT_TTYLINK = 87, IPPORT_SUPDUP = 95, IPPORT_EXECSERVER = 512, IPPORT_LOGINSERVER = 513, IPPORT_CMDSERVER = 514, IPPORT_EFSSERVER = 520, IPPORT_BIFFUDP = 512, IPPORT_WHOSERVER = 513, IPPORT_ROUTESERVER = 520, IPPORT_RESERVED = 1024, IPPORT_USERRESERVED = 5000 }; # 211 "/usr/include/netinet/in.h" 3 4 struct in6_addr { union { uint8_t __u6_addr8[16]; uint16_t __u6_addr16[8]; uint32_t __u6_addr32[4]; } __in6_u; }; extern const struct in6_addr in6addr_any; extern const struct in6_addr in6addr_loopback; # 239 "/usr/include/netinet/in.h" 3 4 struct sockaddr_in { sa_family_t sin_family; in_port_t sin_port; struct in_addr sin_addr; unsigned char sin_zero[sizeof (struct sockaddr) - (sizeof (unsigned short int)) - sizeof (in_port_t) - sizeof (struct in_addr)]; }; struct sockaddr_in6 { sa_family_t sin6_family; in_port_t sin6_port; uint32_t sin6_flowinfo; struct in6_addr sin6_addr; uint32_t sin6_scope_id; }; struct ip_mreq { struct in_addr imr_multiaddr; struct in_addr imr_interface; }; struct ip_mreq_source { struct in_addr imr_multiaddr; struct in_addr imr_interface; struct in_addr imr_sourceaddr; }; struct ipv6_mreq { struct in6_addr ipv6mr_multiaddr; unsigned int ipv6mr_interface; }; struct group_req { uint32_t gr_interface; struct sockaddr_storage gr_group; }; struct group_source_req { uint32_t gsr_interface; struct sockaddr_storage gsr_group; struct sockaddr_storage gsr_source; }; struct ip_msfilter { struct in_addr imsf_multiaddr; struct in_addr imsf_interface; uint32_t imsf_fmode; uint32_t imsf_numsrc; struct in_addr imsf_slist[1]; }; struct group_filter { uint32_t gf_interface; struct sockaddr_storage gf_group; uint32_t gf_fmode; uint32_t gf_numsrc; struct sockaddr_storage gf_slist[1]; }; # 376 "/usr/include/netinet/in.h" 3 4 extern uint32_t ntohl (uint32_t __netlong) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern uint16_t ntohs (uint16_t __netshort) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern uint32_t htonl (uint32_t __hostlong) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern uint16_t htons (uint16_t __hostshort) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); # 1 "/usr/include/i386-linux-gnu/bits/byteswap.h" 1 3 4 # 388 "/usr/include/netinet/in.h" 2 3 4 # 503 "/usr/include/netinet/in.h" 3 4 extern int bindresvport (int __sockfd, struct sockaddr_in *__sock_in) __attribute__ ((__nothrow__ , __leaf__)); extern int bindresvport6 (int __sockfd, struct sockaddr_in6 *__sock_in) __attribute__ ((__nothrow__ , __leaf__)); # 631 "/usr/include/netinet/in.h" 3 4 # 28 "/usr/include/netdb.h" 2 3 4 # 1 "/usr/include/rpc/netdb.h" 1 3 4 # 42 "/usr/include/rpc/netdb.h" 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 43 "/usr/include/rpc/netdb.h" 2 3 4 struct rpcent { char *r_name; char **r_aliases; int r_number; }; extern void setrpcent (int __stayopen) __attribute__ ((__nothrow__ , __leaf__)); extern void endrpcent (void) __attribute__ ((__nothrow__ , __leaf__)); extern struct rpcent *getrpcbyname (const char *__name) __attribute__ ((__nothrow__ , __leaf__)); extern struct rpcent *getrpcbynumber (int __number) __attribute__ ((__nothrow__ , __leaf__)); extern struct rpcent *getrpcent (void) __attribute__ ((__nothrow__ , __leaf__)); extern int getrpcbyname_r (const char *__name, struct rpcent *__result_buf, char *__buffer, size_t __buflen, struct rpcent **__result) __attribute__ ((__nothrow__ , __leaf__)); extern int getrpcbynumber_r (int __number, struct rpcent *__result_buf, char *__buffer, size_t __buflen, struct rpcent **__result) __attribute__ ((__nothrow__ , __leaf__)); extern int getrpcent_r (struct rpcent *__result_buf, char *__buffer, size_t __buflen, struct rpcent **__result) __attribute__ ((__nothrow__ , __leaf__)); # 33 "/usr/include/netdb.h" 2 3 4 # 42 "/usr/include/netdb.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/netdb.h" 1 3 4 # 26 "/usr/include/i386-linux-gnu/bits/netdb.h" 3 4 struct netent { char *n_name; char **n_aliases; int n_addrtype; uint32_t n_net; }; # 43 "/usr/include/netdb.h" 2 3 4 # 53 "/usr/include/netdb.h" 3 4 extern int *__h_errno_location (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); # 92 "/usr/include/netdb.h" 3 4 extern void herror (const char *__str) __attribute__ ((__nothrow__ , __leaf__)); extern const char *hstrerror (int __err_num) __attribute__ ((__nothrow__ , __leaf__)); struct hostent { char *h_name; char **h_aliases; int h_addrtype; int h_length; char **h_addr_list; }; extern void sethostent (int __stay_open); extern void endhostent (void); extern struct hostent *gethostent (void); extern struct hostent *gethostbyaddr (const void *__addr, __socklen_t __len, int __type); extern struct hostent *gethostbyname (const char *__name); # 155 "/usr/include/netdb.h" 3 4 extern struct hostent *gethostbyname2 (const char *__name, int __af); # 167 "/usr/include/netdb.h" 3 4 extern int gethostent_r (struct hostent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct hostent **__restrict __result, int *__restrict __h_errnop); extern int gethostbyaddr_r (const void *__restrict __addr, __socklen_t __len, int __type, struct hostent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct hostent **__restrict __result, int *__restrict __h_errnop); extern int gethostbyname_r (const char *__restrict __name, struct hostent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct hostent **__restrict __result, int *__restrict __h_errnop); extern int gethostbyname2_r (const char *__restrict __name, int __af, struct hostent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct hostent **__restrict __result, int *__restrict __h_errnop); # 198 "/usr/include/netdb.h" 3 4 extern void setnetent (int __stay_open); extern void endnetent (void); extern struct netent *getnetent (void); extern struct netent *getnetbyaddr (uint32_t __net, int __type); extern struct netent *getnetbyname (const char *__name); # 237 "/usr/include/netdb.h" 3 4 extern int getnetent_r (struct netent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct netent **__restrict __result, int *__restrict __h_errnop); extern int getnetbyaddr_r (uint32_t __net, int __type, struct netent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct netent **__restrict __result, int *__restrict __h_errnop); extern int getnetbyname_r (const char *__restrict __name, struct netent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct netent **__restrict __result, int *__restrict __h_errnop); struct servent { char *s_name; char **s_aliases; int s_port; char *s_proto; }; extern void setservent (int __stay_open); extern void endservent (void); extern struct servent *getservent (void); extern struct servent *getservbyname (const char *__name, const char *__proto); extern struct servent *getservbyport (int __port, const char *__proto); # 308 "/usr/include/netdb.h" 3 4 extern int getservent_r (struct servent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct servent **__restrict __result); extern int getservbyname_r (const char *__restrict __name, const char *__restrict __proto, struct servent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct servent **__restrict __result); extern int getservbyport_r (int __port, const char *__restrict __proto, struct servent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct servent **__restrict __result); struct protoent { char *p_name; char **p_aliases; int p_proto; }; extern void setprotoent (int __stay_open); extern void endprotoent (void); extern struct protoent *getprotoent (void); extern struct protoent *getprotobyname (const char *__name); extern struct protoent *getprotobynumber (int __proto); # 374 "/usr/include/netdb.h" 3 4 extern int getprotoent_r (struct protoent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct protoent **__restrict __result); extern int getprotobyname_r (const char *__restrict __name, struct protoent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct protoent **__restrict __result); extern int getprotobynumber_r (int __proto, struct protoent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct protoent **__restrict __result); # 395 "/usr/include/netdb.h" 3 4 extern int setnetgrent (const char *__netgroup); extern void endnetgrent (void); # 412 "/usr/include/netdb.h" 3 4 extern int getnetgrent (char **__restrict __hostp, char **__restrict __userp, char **__restrict __domainp); # 423 "/usr/include/netdb.h" 3 4 extern int innetgr (const char *__netgroup, const char *__host, const char *__user, const char *__domain); extern int getnetgrent_r (char **__restrict __hostp, char **__restrict __userp, char **__restrict __domainp, char *__restrict __buffer, size_t __buflen); # 451 "/usr/include/netdb.h" 3 4 extern int rcmd (char **__restrict __ahost, unsigned short int __rport, const char *__restrict __locuser, const char *__restrict __remuser, const char *__restrict __cmd, int *__restrict __fd2p); # 463 "/usr/include/netdb.h" 3 4 extern int rcmd_af (char **__restrict __ahost, unsigned short int __rport, const char *__restrict __locuser, const char *__restrict __remuser, const char *__restrict __cmd, int *__restrict __fd2p, sa_family_t __af); # 479 "/usr/include/netdb.h" 3 4 extern int rexec (char **__restrict __ahost, int __rport, const char *__restrict __name, const char *__restrict __pass, const char *__restrict __cmd, int *__restrict __fd2p); # 491 "/usr/include/netdb.h" 3 4 extern int rexec_af (char **__restrict __ahost, int __rport, const char *__restrict __name, const char *__restrict __pass, const char *__restrict __cmd, int *__restrict __fd2p, sa_family_t __af); # 505 "/usr/include/netdb.h" 3 4 extern int ruserok (const char *__rhost, int __suser, const char *__remuser, const char *__locuser); # 515 "/usr/include/netdb.h" 3 4 extern int ruserok_af (const char *__rhost, int __suser, const char *__remuser, const char *__locuser, sa_family_t __af); # 528 "/usr/include/netdb.h" 3 4 extern int iruserok (uint32_t __raddr, int __suser, const char *__remuser, const char *__locuser); # 539 "/usr/include/netdb.h" 3 4 extern int iruserok_af (const void *__raddr, int __suser, const char *__remuser, const char *__locuser, sa_family_t __af); # 551 "/usr/include/netdb.h" 3 4 extern int rresvport (int *__alport); # 560 "/usr/include/netdb.h" 3 4 extern int rresvport_af (int *__alport, sa_family_t __af); struct addrinfo { int ai_flags; int ai_family; int ai_socktype; int ai_protocol; socklen_t ai_addrlen; struct sockaddr *ai_addr; char *ai_canonname; struct addrinfo *ai_next; }; # 662 "/usr/include/netdb.h" 3 4 extern int getaddrinfo (const char *__restrict __name, const char *__restrict __service, const struct addrinfo *__restrict __req, struct addrinfo **__restrict __pai); extern void freeaddrinfo (struct addrinfo *__ai) __attribute__ ((__nothrow__ , __leaf__)); extern const char *gai_strerror (int __ecode) __attribute__ ((__nothrow__ , __leaf__)); extern int getnameinfo (const struct sockaddr *__restrict __sa, socklen_t __salen, char *__restrict __host, socklen_t __hostlen, char *__restrict __serv, socklen_t __servlen, int __flags); # 713 "/usr/include/netdb.h" 3 4 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_NETDB_H" to "1" ================================================================================ TEST check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: search.h Executing: gcc -E -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/usr/include/search.h" 1 3 4 # 22 "/usr/include/search.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 364 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/sys/cdefs.h" 1 3 4 # 415 "/usr/include/i386-linux-gnu/sys/cdefs.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 416 "/usr/include/i386-linux-gnu/sys/cdefs.h" 2 3 4 # 365 "/usr/include/features.h" 2 3 4 # 388 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs.h" 1 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs-32.h" 1 3 4 # 8 "/usr/include/i386-linux-gnu/gnu/stubs.h" 2 3 4 # 389 "/usr/include/features.h" 2 3 4 # 23 "/usr/include/search.h" 2 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 216 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 3 4 # 216 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 3 4 typedef unsigned int size_t; # 26 "/usr/include/search.h" 2 3 4 # 44 "/usr/include/search.h" 3 4 extern void insque (void *__elem, void *__prev) __attribute__ ((__nothrow__ , __leaf__)); extern void remque (void *__elem) __attribute__ ((__nothrow__ , __leaf__)); typedef int (*__compar_fn_t) (const void *, const void *); typedef enum { FIND, ENTER } ACTION; typedef struct entry { char *key; void *data; } ENTRY; struct _ENTRY; # 87 "/usr/include/search.h" 3 4 extern ENTRY *hsearch (ENTRY __item, ACTION __action) __attribute__ ((__nothrow__ , __leaf__)); extern int hcreate (size_t __nel) __attribute__ ((__nothrow__ , __leaf__)); extern void hdestroy (void) __attribute__ ((__nothrow__ , __leaf__)); # 118 "/usr/include/search.h" 3 4 typedef enum { preorder, postorder, endorder, leaf } VISIT; extern void *tsearch (const void *__key, void **__rootp, __compar_fn_t __compar); extern void *tfind (const void *__key, void *const *__rootp, __compar_fn_t __compar); extern void *tdelete (const void *__restrict __key, void **__restrict __rootp, __compar_fn_t __compar); typedef void (*__action_fn_t) (const void *__nodep, VISIT __value, int __level); extern void twalk (const void *__root, __action_fn_t __action); # 164 "/usr/include/search.h" 3 4 extern void *lfind (const void *__key, const void *__base, size_t *__nmemb, size_t __size, __compar_fn_t __compar); extern void *lsearch (const void *__key, void *__base, size_t *__nmemb, size_t __size, __compar_fn_t __compar); # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_SEARCH_H" to "1" ================================================================================ TEST check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: mathimf.h Executing: gcc -E -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 Possible ERROR while running preprocessor: exit code 256 stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2stderr: /tmp/petsc-Ymuwb2/config.headers/conftest.c:3:10: fatal error: mathimf.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess stderr before filtering:/tmp/petsc-Ymuwb2/config.headers/conftest.c:3:10: fatal error: mathimf.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. : Preprocess stderr after filtering:/tmp/petsc-Ymuwb2/config.headers/conftest.c:3:10: fatal error: mathimf.h: No such file or directory #include ^~~~~~~~~~~compilation terminated.: ================================================================================ TEST check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/procfs.h Executing: gcc -E -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/usr/include/i386-linux-gnu/sys/procfs.h" 1 3 4 # 30 "/usr/include/i386-linux-gnu/sys/procfs.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 364 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/sys/cdefs.h" 1 3 4 # 415 "/usr/include/i386-linux-gnu/sys/cdefs.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 416 "/usr/include/i386-linux-gnu/sys/cdefs.h" 2 3 4 # 365 "/usr/include/features.h" 2 3 4 # 388 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs.h" 1 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs-32.h" 1 3 4 # 8 "/usr/include/i386-linux-gnu/gnu/stubs.h" 2 3 4 # 389 "/usr/include/features.h" 2 3 4 # 31 "/usr/include/i386-linux-gnu/sys/procfs.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/sys/time.h" 1 3 4 # 23 "/usr/include/i386-linux-gnu/sys/time.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/types.h" 1 3 4 # 27 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 28 "/usr/include/i386-linux-gnu/bits/types.h" 2 3 4 # 30 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; __extension__ typedef signed long long int __int64_t; __extension__ typedef unsigned long long int __uint64_t; __extension__ typedef long long int __quad_t; __extension__ typedef unsigned long long int __u_quad_t; # 121 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/typesizes.h" 1 3 4 # 122 "/usr/include/i386-linux-gnu/bits/types.h" 2 3 4 __extension__ typedef __u_quad_t __dev_t; __extension__ typedef unsigned int __uid_t; __extension__ typedef unsigned int __gid_t; __extension__ typedef unsigned long int __ino_t; __extension__ typedef __u_quad_t __ino64_t; __extension__ typedef unsigned int __mode_t; __extension__ typedef unsigned int __nlink_t; __extension__ typedef long int __off_t; __extension__ typedef __quad_t __off64_t; __extension__ typedef int __pid_t; __extension__ typedef struct { int __val[2]; } __fsid_t; __extension__ typedef long int __clock_t; __extension__ typedef unsigned long int __rlim_t; __extension__ typedef __u_quad_t __rlim64_t; __extension__ typedef unsigned int __id_t; __extension__ typedef long int __time_t; __extension__ typedef unsigned int __useconds_t; __extension__ typedef long int __suseconds_t; __extension__ typedef int __daddr_t; __extension__ typedef int __key_t; __extension__ typedef int __clockid_t; __extension__ typedef void * __timer_t; __extension__ typedef long int __blksize_t; __extension__ typedef long int __blkcnt_t; __extension__ typedef __quad_t __blkcnt64_t; __extension__ typedef unsigned long int __fsblkcnt_t; __extension__ typedef __u_quad_t __fsblkcnt64_t; __extension__ typedef unsigned long int __fsfilcnt_t; __extension__ typedef __u_quad_t __fsfilcnt64_t; __extension__ typedef int __fsword_t; __extension__ typedef int __ssize_t; __extension__ typedef long int __syscall_slong_t; __extension__ typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; __extension__ typedef int __intptr_t; __extension__ typedef unsigned int __socklen_t; # 24 "/usr/include/i386-linux-gnu/sys/time.h" 2 3 4 # 1 "/usr/include/time.h" 1 3 4 # 73 "/usr/include/time.h" 3 4 typedef __time_t time_t; # 26 "/usr/include/i386-linux-gnu/sys/time.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/time.h" 1 3 4 # 30 "/usr/include/i386-linux-gnu/bits/time.h" 3 4 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 28 "/usr/include/i386-linux-gnu/sys/time.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/sys/select.h" 1 3 4 # 30 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/select.h" 1 3 4 # 22 "/usr/include/i386-linux-gnu/bits/select.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 23 "/usr/include/i386-linux-gnu/bits/select.h" 2 3 4 # 31 "/usr/include/i386-linux-gnu/sys/select.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/sigset.h" 1 3 4 # 22 "/usr/include/i386-linux-gnu/bits/sigset.h" 3 4 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 34 "/usr/include/i386-linux-gnu/sys/select.h" 2 3 4 typedef __sigset_t sigset_t; # 1 "/usr/include/time.h" 1 3 4 # 120 "/usr/include/time.h" 3 4 struct timespec { __time_t tv_sec; __syscall_slong_t tv_nsec; }; # 46 "/usr/include/i386-linux-gnu/sys/select.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/time.h" 1 3 4 # 48 "/usr/include/i386-linux-gnu/sys/select.h" 2 3 4 typedef __suseconds_t suseconds_t; typedef long int __fd_mask; # 66 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 typedef struct { __fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; # 98 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 # 108 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); # 120 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); # 133 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 # 30 "/usr/include/i386-linux-gnu/sys/time.h" 2 3 4 # 55 "/usr/include/i386-linux-gnu/sys/time.h" 3 4 struct timezone { int tz_minuteswest; int tz_dsttime; }; typedef struct timezone *__restrict __timezone_ptr_t; # 71 "/usr/include/i386-linux-gnu/sys/time.h" 3 4 extern int gettimeofday (struct timeval *__restrict __tv, __timezone_ptr_t __tz) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int settimeofday (const struct timeval *__tv, const struct timezone *__tz) __attribute__ ((__nothrow__ , __leaf__)); extern int adjtime (const struct timeval *__delta, struct timeval *__olddelta) __attribute__ ((__nothrow__ , __leaf__)); enum __itimer_which { ITIMER_REAL = 0, ITIMER_VIRTUAL = 1, ITIMER_PROF = 2 }; struct itimerval { struct timeval it_interval; struct timeval it_value; }; typedef int __itimer_which_t; extern int getitimer (__itimer_which_t __which, struct itimerval *__value) __attribute__ ((__nothrow__ , __leaf__)); extern int setitimer (__itimer_which_t __which, const struct itimerval *__restrict __new, struct itimerval *__restrict __old) __attribute__ ((__nothrow__ , __leaf__)); extern int utimes (const char *__file, const struct timeval __tvp[2]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int lutimes (const char *__file, const struct timeval __tvp[2]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int futimes (int __fd, const struct timeval __tvp[2]) __attribute__ ((__nothrow__ , __leaf__)); # 189 "/usr/include/i386-linux-gnu/sys/time.h" 3 4 # 32 "/usr/include/i386-linux-gnu/sys/procfs.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/sys/types.h" 1 3 4 # 27 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino_t ino_t; # 60 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off_t off_t; # 98 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 132 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/include/time.h" 1 3 4 # 57 "/usr/include/time.h" 3 4 typedef __clock_t clock_t; # 91 "/usr/include/time.h" 3 4 typedef __clockid_t clockid_t; # 103 "/usr/include/time.h" 3 4 typedef __timer_t timer_t; # 133 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 # 146 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 216 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 3 4 typedef unsigned int size_t; # 147 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 194 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 typedef int int8_t __attribute__ ((__mode__ (__QI__))); typedef int int16_t __attribute__ ((__mode__ (__HI__))); typedef int int32_t __attribute__ ((__mode__ (__SI__))); typedef int int64_t __attribute__ ((__mode__ (__DI__))); typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 216 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/include/endian.h" 1 3 4 # 36 "/usr/include/endian.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/endian.h" 1 3 4 # 37 "/usr/include/endian.h" 2 3 4 # 60 "/usr/include/endian.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/byteswap.h" 1 3 4 # 28 "/usr/include/i386-linux-gnu/bits/byteswap.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 29 "/usr/include/i386-linux-gnu/bits/byteswap.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/byteswap-16.h" 1 3 4 # 36 "/usr/include/i386-linux-gnu/bits/byteswap.h" 2 3 4 # 44 "/usr/include/i386-linux-gnu/bits/byteswap.h" 3 4 static __inline unsigned int __bswap_32 (unsigned int __bsx) { return __builtin_bswap32 (__bsx); } # 108 "/usr/include/i386-linux-gnu/bits/byteswap.h" 3 4 static __inline __uint64_t __bswap_64 (__uint64_t __bsx) { return __builtin_bswap64 (__bsx); } # 61 "/usr/include/endian.h" 2 3 4 # 217 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/sys/sysmacros.h" 1 3 4 # 24 "/usr/include/i386-linux-gnu/sys/sysmacros.h" 3 4 __extension__ extern unsigned int gnu_dev_major (unsigned long long int __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern unsigned int gnu_dev_minor (unsigned long long int __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); # 58 "/usr/include/i386-linux-gnu/sys/sysmacros.h" 3 4 # 223 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 typedef __blksize_t blksize_t; typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 270 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 1 3 4 # 21 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 22 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 2 3 4 # 60 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 typedef unsigned long int pthread_t; union pthread_attr_t { char __size[36]; long int __align; }; typedef union pthread_attr_t pthread_attr_t; # 81 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 typedef struct __pthread_internal_slist { struct __pthread_internal_slist *__next; } __pthread_slist_t; typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; int __kind; # 111 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 unsigned int __nusers; __extension__ union { struct { short __espins; short __elision; } __elision_data; __pthread_slist_t __list; }; } __data; char __size[24]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { # 202 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; unsigned char __flags; unsigned char __shared; signed char __rwelision; unsigned char __pad2; int __writer; } __data; char __size[32]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[20]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 271 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 # 33 "/usr/include/i386-linux-gnu/sys/procfs.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/sys/user.h" 1 3 4 # 102 "/usr/include/i386-linux-gnu/sys/user.h" 3 4 struct user_fpregs_struct { long int cwd; long int swd; long int twd; long int fip; long int fcs; long int foo; long int fos; long int st_space [20]; }; struct user_fpxregs_struct { unsigned short int cwd; unsigned short int swd; unsigned short int twd; unsigned short int fop; long int fip; long int fcs; long int foo; long int fos; long int mxcsr; long int reserved; long int st_space[32]; long int xmm_space[32]; long int padding[56]; }; struct user_regs_struct { long int ebx; long int ecx; long int edx; long int esi; long int edi; long int ebp; long int eax; long int xds; long int xes; long int xfs; long int xgs; long int orig_eax; long int eip; long int xcs; long int eflags; long int esp; long int xss; }; struct user { struct user_regs_struct regs; int u_fpvalid; struct user_fpregs_struct i387; unsigned long int u_tsize; unsigned long int u_dsize; unsigned long int u_ssize; unsigned long int start_code; unsigned long int start_stack; long int signal; int reserved; struct user_regs_struct* u_ar0; struct user_fpregs_struct* u_fpstate; unsigned long int magic; char u_comm [32]; int u_debugreg [8]; }; # 34 "/usr/include/i386-linux-gnu/sys/procfs.h" 2 3 4 typedef unsigned long elf_greg_t; typedef elf_greg_t elf_gregset_t[(sizeof (struct user_regs_struct) / sizeof(elf_greg_t))]; typedef struct user_fpregs_struct elf_fpregset_t; typedef struct user_fpxregs_struct elf_fpxregset_t; # 67 "/usr/include/i386-linux-gnu/sys/procfs.h" 3 4 struct elf_siginfo { int si_signo; int si_code; int si_errno; }; # 82 "/usr/include/i386-linux-gnu/sys/procfs.h" 3 4 struct elf_prstatus { struct elf_siginfo pr_info; short int pr_cursig; unsigned long int pr_sigpend; unsigned long int pr_sighold; __pid_t pr_pid; __pid_t pr_ppid; __pid_t pr_pgrp; __pid_t pr_sid; struct timeval pr_utime; struct timeval pr_stime; struct timeval pr_cutime; struct timeval pr_cstime; elf_gregset_t pr_reg; int pr_fpvalid; }; struct elf_prpsinfo { char pr_state; char pr_sname; char pr_zomb; char pr_nice; unsigned long int pr_flag; unsigned short int pr_uid; unsigned short int pr_gid; int pr_pid, pr_ppid, pr_pgrp, pr_sid; char pr_fname[16]; char pr_psargs[(80)]; }; typedef void *psaddr_t; typedef elf_gregset_t prgregset_t; typedef elf_fpregset_t prfpregset_t; typedef __pid_t lwpid_t; typedef struct elf_prstatus prstatus_t; typedef struct elf_prpsinfo prpsinfo_t; # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_SYS_PROCFS_H" to "1" ================================================================================ TEST check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/resource.h Executing: gcc -E -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/usr/include/i386-linux-gnu/sys/resource.h" 1 3 4 # 21 "/usr/include/i386-linux-gnu/sys/resource.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 364 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/sys/cdefs.h" 1 3 4 # 415 "/usr/include/i386-linux-gnu/sys/cdefs.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 416 "/usr/include/i386-linux-gnu/sys/cdefs.h" 2 3 4 # 365 "/usr/include/features.h" 2 3 4 # 388 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs.h" 1 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs-32.h" 1 3 4 # 8 "/usr/include/i386-linux-gnu/gnu/stubs.h" 2 3 4 # 389 "/usr/include/features.h" 2 3 4 # 22 "/usr/include/i386-linux-gnu/sys/resource.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/resource.h" 1 3 4 # 23 "/usr/include/i386-linux-gnu/bits/resource.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/types.h" 1 3 4 # 27 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 28 "/usr/include/i386-linux-gnu/bits/types.h" 2 3 4 # 30 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; __extension__ typedef signed long long int __int64_t; __extension__ typedef unsigned long long int __uint64_t; __extension__ typedef long long int __quad_t; __extension__ typedef unsigned long long int __u_quad_t; # 121 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/typesizes.h" 1 3 4 # 122 "/usr/include/i386-linux-gnu/bits/types.h" 2 3 4 __extension__ typedef __u_quad_t __dev_t; __extension__ typedef unsigned int __uid_t; __extension__ typedef unsigned int __gid_t; __extension__ typedef unsigned long int __ino_t; __extension__ typedef __u_quad_t __ino64_t; __extension__ typedef unsigned int __mode_t; __extension__ typedef unsigned int __nlink_t; __extension__ typedef long int __off_t; __extension__ typedef __quad_t __off64_t; __extension__ typedef int __pid_t; __extension__ typedef struct { int __val[2]; } __fsid_t; __extension__ typedef long int __clock_t; __extension__ typedef unsigned long int __rlim_t; __extension__ typedef __u_quad_t __rlim64_t; __extension__ typedef unsigned int __id_t; __extension__ typedef long int __time_t; __extension__ typedef unsigned int __useconds_t; __extension__ typedef long int __suseconds_t; __extension__ typedef int __daddr_t; __extension__ typedef int __key_t; __extension__ typedef int __clockid_t; __extension__ typedef void * __timer_t; __extension__ typedef long int __blksize_t; __extension__ typedef long int __blkcnt_t; __extension__ typedef __quad_t __blkcnt64_t; __extension__ typedef unsigned long int __fsblkcnt_t; __extension__ typedef __u_quad_t __fsblkcnt64_t; __extension__ typedef unsigned long int __fsfilcnt_t; __extension__ typedef __u_quad_t __fsfilcnt64_t; __extension__ typedef int __fsword_t; __extension__ typedef int __ssize_t; __extension__ typedef long int __syscall_slong_t; __extension__ typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; __extension__ typedef int __intptr_t; __extension__ typedef unsigned int __socklen_t; # 24 "/usr/include/i386-linux-gnu/bits/resource.h" 2 3 4 enum __rlimit_resource { RLIMIT_CPU = 0, RLIMIT_FSIZE = 1, RLIMIT_DATA = 2, RLIMIT_STACK = 3, RLIMIT_CORE = 4, __RLIMIT_RSS = 5, RLIMIT_NOFILE = 7, __RLIMIT_OFILE = RLIMIT_NOFILE, RLIMIT_AS = 9, __RLIMIT_NPROC = 6, __RLIMIT_MEMLOCK = 8, __RLIMIT_LOCKS = 10, __RLIMIT_SIGPENDING = 11, __RLIMIT_MSGQUEUE = 12, __RLIMIT_NICE = 13, __RLIMIT_RTPRIO = 14, __RLIMIT_RTTIME = 15, __RLIMIT_NLIMITS = 16, __RLIM_NLIMITS = __RLIMIT_NLIMITS }; # 131 "/usr/include/i386-linux-gnu/bits/resource.h" 3 4 typedef __rlim_t rlim_t; struct rlimit { rlim_t rlim_cur; rlim_t rlim_max; }; # 158 "/usr/include/i386-linux-gnu/bits/resource.h" 3 4 enum __rusage_who { RUSAGE_SELF = 0, RUSAGE_CHILDREN = -1 # 176 "/usr/include/i386-linux-gnu/bits/resource.h" 3 4 }; # 1 "/usr/include/i386-linux-gnu/bits/time.h" 1 3 4 # 30 "/usr/include/i386-linux-gnu/bits/time.h" 3 4 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 180 "/usr/include/i386-linux-gnu/bits/resource.h" 2 3 4 struct rusage { struct timeval ru_utime; struct timeval ru_stime; __extension__ union { long int ru_maxrss; __syscall_slong_t __ru_maxrss_word; }; __extension__ union { long int ru_ixrss; __syscall_slong_t __ru_ixrss_word; }; __extension__ union { long int ru_idrss; __syscall_slong_t __ru_idrss_word; }; __extension__ union { long int ru_isrss; __syscall_slong_t __ru_isrss_word; }; __extension__ union { long int ru_minflt; __syscall_slong_t __ru_minflt_word; }; __extension__ union { long int ru_majflt; __syscall_slong_t __ru_majflt_word; }; __extension__ union { long int ru_nswap; __syscall_slong_t __ru_nswap_word; }; __extension__ union { long int ru_inblock; __syscall_slong_t __ru_inblock_word; }; __extension__ union { long int ru_oublock; __syscall_slong_t __ru_oublock_word; }; __extension__ union { long int ru_msgsnd; __syscall_slong_t __ru_msgsnd_word; }; __extension__ union { long int ru_msgrcv; __syscall_slong_t __ru_msgrcv_word; }; __extension__ union { long int ru_nsignals; __syscall_slong_t __ru_nsignals_word; }; __extension__ union { long int ru_nvcsw; __syscall_slong_t __ru_nvcsw_word; }; __extension__ union { long int ru_nivcsw; __syscall_slong_t __ru_nivcsw_word; }; }; enum __priority_which { PRIO_PROCESS = 0, PRIO_PGRP = 1, PRIO_USER = 2 }; # 328 "/usr/include/i386-linux-gnu/bits/resource.h" 3 4 # 25 "/usr/include/i386-linux-gnu/sys/resource.h" 2 3 4 typedef __id_t id_t; # 42 "/usr/include/i386-linux-gnu/sys/resource.h" 3 4 typedef int __rlimit_resource_t; typedef int __rusage_who_t; typedef int __priority_which_t; extern int getrlimit (__rlimit_resource_t __resource, struct rlimit *__rlimits) __attribute__ ((__nothrow__ , __leaf__)); # 69 "/usr/include/i386-linux-gnu/sys/resource.h" 3 4 extern int setrlimit (__rlimit_resource_t __resource, const struct rlimit *__rlimits) __attribute__ ((__nothrow__ , __leaf__)); # 87 "/usr/include/i386-linux-gnu/sys/resource.h" 3 4 extern int getrusage (__rusage_who_t __who, struct rusage *__usage) __attribute__ ((__nothrow__ , __leaf__)); extern int getpriority (__priority_which_t __which, id_t __who) __attribute__ ((__nothrow__ , __leaf__)); extern int setpriority (__priority_which_t __which, id_t __who, int __prio) __attribute__ ((__nothrow__ , __leaf__)); # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_SYS_RESOURCE_H" to "1" ================================================================================ TEST check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: unistd.h Executing: gcc -E -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/usr/include/unistd.h" 1 3 4 # 25 "/usr/include/unistd.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 364 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/sys/cdefs.h" 1 3 4 # 415 "/usr/include/i386-linux-gnu/sys/cdefs.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 416 "/usr/include/i386-linux-gnu/sys/cdefs.h" 2 3 4 # 365 "/usr/include/features.h" 2 3 4 # 388 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs.h" 1 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs-32.h" 1 3 4 # 8 "/usr/include/i386-linux-gnu/gnu/stubs.h" 2 3 4 # 389 "/usr/include/features.h" 2 3 4 # 26 "/usr/include/unistd.h" 2 3 4 # 205 "/usr/include/unistd.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/posix_opt.h" 1 3 4 # 206 "/usr/include/unistd.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/environments.h" 1 3 4 # 22 "/usr/include/i386-linux-gnu/bits/environments.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 23 "/usr/include/i386-linux-gnu/bits/environments.h" 2 3 4 # 210 "/usr/include/unistd.h" 2 3 4 # 220 "/usr/include/unistd.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/types.h" 1 3 4 # 27 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 28 "/usr/include/i386-linux-gnu/bits/types.h" 2 3 4 # 30 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; __extension__ typedef signed long long int __int64_t; __extension__ typedef unsigned long long int __uint64_t; __extension__ typedef long long int __quad_t; __extension__ typedef unsigned long long int __u_quad_t; # 121 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/typesizes.h" 1 3 4 # 122 "/usr/include/i386-linux-gnu/bits/types.h" 2 3 4 __extension__ typedef __u_quad_t __dev_t; __extension__ typedef unsigned int __uid_t; __extension__ typedef unsigned int __gid_t; __extension__ typedef unsigned long int __ino_t; __extension__ typedef __u_quad_t __ino64_t; __extension__ typedef unsigned int __mode_t; __extension__ typedef unsigned int __nlink_t; __extension__ typedef long int __off_t; __extension__ typedef __quad_t __off64_t; __extension__ typedef int __pid_t; __extension__ typedef struct { int __val[2]; } __fsid_t; __extension__ typedef long int __clock_t; __extension__ typedef unsigned long int __rlim_t; __extension__ typedef __u_quad_t __rlim64_t; __extension__ typedef unsigned int __id_t; __extension__ typedef long int __time_t; __extension__ typedef unsigned int __useconds_t; __extension__ typedef long int __suseconds_t; __extension__ typedef int __daddr_t; __extension__ typedef int __key_t; __extension__ typedef int __clockid_t; __extension__ typedef void * __timer_t; __extension__ typedef long int __blksize_t; __extension__ typedef long int __blkcnt_t; __extension__ typedef __quad_t __blkcnt64_t; __extension__ typedef unsigned long int __fsblkcnt_t; __extension__ typedef __u_quad_t __fsblkcnt64_t; __extension__ typedef unsigned long int __fsfilcnt_t; __extension__ typedef __u_quad_t __fsfilcnt64_t; __extension__ typedef int __fsword_t; __extension__ typedef int __ssize_t; __extension__ typedef long int __syscall_slong_t; __extension__ typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; __extension__ typedef int __intptr_t; __extension__ typedef unsigned int __socklen_t; # 221 "/usr/include/unistd.h" 2 3 4 typedef __ssize_t ssize_t; # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 216 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 3 4 typedef unsigned int size_t; # 230 "/usr/include/unistd.h" 2 3 4 typedef __gid_t gid_t; typedef __uid_t uid_t; typedef __off_t off_t; # 258 "/usr/include/unistd.h" 3 4 typedef __useconds_t useconds_t; typedef __pid_t pid_t; typedef __intptr_t intptr_t; typedef __socklen_t socklen_t; # 290 "/usr/include/unistd.h" 3 4 extern int access (const char *__name, int __type) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 307 "/usr/include/unistd.h" 3 4 extern int faccessat (int __fd, const char *__file, int __type, int __flag) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) ; # 337 "/usr/include/unistd.h" 3 4 extern __off_t lseek (int __fd, __off_t __offset, int __whence) __attribute__ ((__nothrow__ , __leaf__)); # 356 "/usr/include/unistd.h" 3 4 extern int close (int __fd); extern ssize_t read (int __fd, void *__buf, size_t __nbytes) ; extern ssize_t write (int __fd, const void *__buf, size_t __n) ; # 379 "/usr/include/unistd.h" 3 4 extern ssize_t pread (int __fd, void *__buf, size_t __nbytes, __off_t __offset) ; extern ssize_t pwrite (int __fd, const void *__buf, size_t __n, __off_t __offset) ; # 420 "/usr/include/unistd.h" 3 4 extern int pipe (int __pipedes[2]) __attribute__ ((__nothrow__ , __leaf__)) ; # 435 "/usr/include/unistd.h" 3 4 extern unsigned int alarm (unsigned int __seconds) __attribute__ ((__nothrow__ , __leaf__)); # 447 "/usr/include/unistd.h" 3 4 extern unsigned int sleep (unsigned int __seconds); extern __useconds_t ualarm (__useconds_t __value, __useconds_t __interval) __attribute__ ((__nothrow__ , __leaf__)); extern int usleep (__useconds_t __useconds); # 472 "/usr/include/unistd.h" 3 4 extern int pause (void); extern int chown (const char *__file, __uid_t __owner, __gid_t __group) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern int fchown (int __fd, __uid_t __owner, __gid_t __group) __attribute__ ((__nothrow__ , __leaf__)) ; extern int lchown (const char *__file, __uid_t __owner, __gid_t __group) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern int fchownat (int __fd, const char *__file, __uid_t __owner, __gid_t __group, int __flag) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) ; extern int chdir (const char *__path) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern int fchdir (int __fd) __attribute__ ((__nothrow__ , __leaf__)) ; # 514 "/usr/include/unistd.h" 3 4 extern char *getcwd (char *__buf, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) ; # 528 "/usr/include/unistd.h" 3 4 extern char *getwd (char *__buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__)) ; extern int dup (int __fd) __attribute__ ((__nothrow__ , __leaf__)) ; extern int dup2 (int __fd, int __fd2) __attribute__ ((__nothrow__ , __leaf__)); # 546 "/usr/include/unistd.h" 3 4 extern char **__environ; extern int execve (const char *__path, char *const __argv[], char *const __envp[]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int fexecve (int __fd, char *const __argv[], char *const __envp[]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int execv (const char *__path, char *const __argv[]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int execle (const char *__path, const char *__arg, ...) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int execl (const char *__path, const char *__arg, ...) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int execvp (const char *__file, char *const __argv[]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int execlp (const char *__file, const char *__arg, ...) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); # 601 "/usr/include/unistd.h" 3 4 extern int nice (int __inc) __attribute__ ((__nothrow__ , __leaf__)) ; extern void _exit (int __status) __attribute__ ((__noreturn__)); # 1 "/usr/include/i386-linux-gnu/bits/confname.h" 1 3 4 # 24 "/usr/include/i386-linux-gnu/bits/confname.h" 3 4 enum { _PC_LINK_MAX, _PC_MAX_CANON, _PC_MAX_INPUT, _PC_NAME_MAX, _PC_PATH_MAX, _PC_PIPE_BUF, _PC_CHOWN_RESTRICTED, _PC_NO_TRUNC, _PC_VDISABLE, _PC_SYNC_IO, _PC_ASYNC_IO, _PC_PRIO_IO, _PC_SOCK_MAXBUF, _PC_FILESIZEBITS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, _PC_ALLOC_SIZE_MIN, _PC_SYMLINK_MAX, _PC_2_SYMLINKS }; enum { _SC_ARG_MAX, _SC_CHILD_MAX, _SC_CLK_TCK, _SC_NGROUPS_MAX, _SC_OPEN_MAX, _SC_STREAM_MAX, _SC_TZNAME_MAX, _SC_JOB_CONTROL, _SC_SAVED_IDS, _SC_REALTIME_SIGNALS, _SC_PRIORITY_SCHEDULING, _SC_TIMERS, _SC_ASYNCHRONOUS_IO, _SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO, _SC_FSYNC, _SC_MAPPED_FILES, _SC_MEMLOCK, _SC_MEMLOCK_RANGE, _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_SEMAPHORES, _SC_SHARED_MEMORY_OBJECTS, _SC_AIO_LISTIO_MAX, _SC_AIO_MAX, _SC_AIO_PRIO_DELTA_MAX, _SC_DELAYTIMER_MAX, _SC_MQ_OPEN_MAX, _SC_MQ_PRIO_MAX, _SC_VERSION, _SC_PAGESIZE, _SC_RTSIG_MAX, _SC_SEM_NSEMS_MAX, _SC_SEM_VALUE_MAX, _SC_SIGQUEUE_MAX, _SC_TIMER_MAX, _SC_BC_BASE_MAX, _SC_BC_DIM_MAX, _SC_BC_SCALE_MAX, _SC_BC_STRING_MAX, _SC_COLL_WEIGHTS_MAX, _SC_EQUIV_CLASS_MAX, _SC_EXPR_NEST_MAX, _SC_LINE_MAX, _SC_RE_DUP_MAX, _SC_CHARCLASS_NAME_MAX, _SC_2_VERSION, _SC_2_C_BIND, _SC_2_C_DEV, _SC_2_FORT_DEV, _SC_2_FORT_RUN, _SC_2_SW_DEV, _SC_2_LOCALEDEF, _SC_PII, _SC_PII_XTI, _SC_PII_SOCKET, _SC_PII_INTERNET, _SC_PII_OSI, _SC_POLL, _SC_SELECT, _SC_UIO_MAXIOV, _SC_IOV_MAX = _SC_UIO_MAXIOV, _SC_PII_INTERNET_STREAM, _SC_PII_INTERNET_DGRAM, _SC_PII_OSI_COTS, _SC_PII_OSI_CLTS, _SC_PII_OSI_M, _SC_T_IOV_MAX, _SC_THREADS, _SC_THREAD_SAFE_FUNCTIONS, _SC_GETGR_R_SIZE_MAX, _SC_GETPW_R_SIZE_MAX, _SC_LOGIN_NAME_MAX, _SC_TTY_NAME_MAX, _SC_THREAD_DESTRUCTOR_ITERATIONS, _SC_THREAD_KEYS_MAX, _SC_THREAD_STACK_MIN, _SC_THREAD_THREADS_MAX, _SC_THREAD_ATTR_STACKADDR, _SC_THREAD_ATTR_STACKSIZE, _SC_THREAD_PRIORITY_SCHEDULING, _SC_THREAD_PRIO_INHERIT, _SC_THREAD_PRIO_PROTECT, _SC_THREAD_PROCESS_SHARED, _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES, _SC_AVPHYS_PAGES, _SC_ATEXIT_MAX, _SC_PASS_MAX, _SC_XOPEN_VERSION, _SC_XOPEN_XCU_VERSION, _SC_XOPEN_UNIX, _SC_XOPEN_CRYPT, _SC_XOPEN_ENH_I18N, _SC_XOPEN_SHM, _SC_2_CHAR_TERM, _SC_2_C_VERSION, _SC_2_UPE, _SC_XOPEN_XPG2, _SC_XOPEN_XPG3, _SC_XOPEN_XPG4, _SC_CHAR_BIT, _SC_CHAR_MAX, _SC_CHAR_MIN, _SC_INT_MAX, _SC_INT_MIN, _SC_LONG_BIT, _SC_WORD_BIT, _SC_MB_LEN_MAX, _SC_NZERO, _SC_SSIZE_MAX, _SC_SCHAR_MAX, _SC_SCHAR_MIN, _SC_SHRT_MAX, _SC_SHRT_MIN, _SC_UCHAR_MAX, _SC_UINT_MAX, _SC_ULONG_MAX, _SC_USHRT_MAX, _SC_NL_ARGMAX, _SC_NL_LANGMAX, _SC_NL_MSGMAX, _SC_NL_NMAX, _SC_NL_SETMAX, _SC_NL_TEXTMAX, _SC_XBS5_ILP32_OFF32, _SC_XBS5_ILP32_OFFBIG, _SC_XBS5_LP64_OFF64, _SC_XBS5_LPBIG_OFFBIG, _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME, _SC_XOPEN_REALTIME_THREADS, _SC_ADVISORY_INFO, _SC_BARRIERS, _SC_BASE, _SC_C_LANG_SUPPORT, _SC_C_LANG_SUPPORT_R, _SC_CLOCK_SELECTION, _SC_CPUTIME, _SC_THREAD_CPUTIME, _SC_DEVICE_IO, _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO, _SC_PIPE, _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM, _SC_MONOTONIC_CLOCK, _SC_MULTI_PROCESS, _SC_SINGLE_PROCESS, _SC_NETWORKING, _SC_READER_WRITER_LOCKS, _SC_SPIN_LOCKS, _SC_REGEXP, _SC_REGEX_VERSION, _SC_SHELL, _SC_SIGNALS, _SC_SPAWN, _SC_SPORADIC_SERVER, _SC_THREAD_SPORADIC_SERVER, _SC_SYSTEM_DATABASE, _SC_SYSTEM_DATABASE_R, _SC_TIMEOUTS, _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R, _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK, _SC_SYMLOOP_MAX, _SC_STREAMS, _SC_2_PBS_CHECKPOINT, _SC_V6_ILP32_OFF32, _SC_V6_ILP32_OFFBIG, _SC_V6_LP64_OFF64, _SC_V6_LPBIG_OFFBIG, _SC_HOST_NAME_MAX, _SC_TRACE, _SC_TRACE_EVENT_FILTER, _SC_TRACE_INHERIT, _SC_TRACE_LOG, _SC_LEVEL1_ICACHE_SIZE, _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE, _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC, _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE, _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE, _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC, _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE, _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE, _SC_IPV6 = _SC_LEVEL1_ICACHE_SIZE + 50, _SC_RAW_SOCKETS, _SC_V7_ILP32_OFF32, _SC_V7_ILP32_OFFBIG, _SC_V7_LP64_OFF64, _SC_V7_LPBIG_OFFBIG, _SC_SS_REPL_MAX, _SC_TRACE_EVENT_NAME_MAX, _SC_TRACE_NAME_MAX, _SC_TRACE_SYS_MAX, _SC_TRACE_USER_EVENT_MAX, _SC_XOPEN_STREAMS, _SC_THREAD_ROBUST_PRIO_INHERIT, _SC_THREAD_ROBUST_PRIO_PROTECT }; enum { _CS_PATH, _CS_V6_WIDTH_RESTRICTED_ENVS, _CS_GNU_LIBC_VERSION, _CS_GNU_LIBPTHREAD_VERSION, _CS_V5_WIDTH_RESTRICTED_ENVS, _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_LFS_CFLAGS = 1000, _CS_LFS_LDFLAGS, _CS_LFS_LIBS, _CS_LFS_LINTFLAGS, _CS_LFS64_CFLAGS, _CS_LFS64_LDFLAGS, _CS_LFS64_LIBS, _CS_LFS64_LINTFLAGS, _CS_XBS5_ILP32_OFF32_CFLAGS = 1100, _CS_XBS5_ILP32_OFF32_LDFLAGS, _CS_XBS5_ILP32_OFF32_LIBS, _CS_XBS5_ILP32_OFF32_LINTFLAGS, _CS_XBS5_ILP32_OFFBIG_CFLAGS, _CS_XBS5_ILP32_OFFBIG_LDFLAGS, _CS_XBS5_ILP32_OFFBIG_LIBS, _CS_XBS5_ILP32_OFFBIG_LINTFLAGS, _CS_XBS5_LP64_OFF64_CFLAGS, _CS_XBS5_LP64_OFF64_LDFLAGS, _CS_XBS5_LP64_OFF64_LIBS, _CS_XBS5_LP64_OFF64_LINTFLAGS, _CS_XBS5_LPBIG_OFFBIG_CFLAGS, _CS_XBS5_LPBIG_OFFBIG_LDFLAGS, _CS_XBS5_LPBIG_OFFBIG_LIBS, _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS, _CS_POSIX_V6_ILP32_OFF32_CFLAGS, _CS_POSIX_V6_ILP32_OFF32_LDFLAGS, _CS_POSIX_V6_ILP32_OFF32_LIBS, _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS, _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS, _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS, _CS_POSIX_V6_ILP32_OFFBIG_LIBS, _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS, _CS_POSIX_V6_LP64_OFF64_CFLAGS, _CS_POSIX_V6_LP64_OFF64_LDFLAGS, _CS_POSIX_V6_LP64_OFF64_LIBS, _CS_POSIX_V6_LP64_OFF64_LINTFLAGS, _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS, _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS, _CS_POSIX_V6_LPBIG_OFFBIG_LIBS, _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS, _CS_POSIX_V7_ILP32_OFF32_CFLAGS, _CS_POSIX_V7_ILP32_OFF32_LDFLAGS, _CS_POSIX_V7_ILP32_OFF32_LIBS, _CS_POSIX_V7_ILP32_OFF32_LINTFLAGS, _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS, _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS, _CS_POSIX_V7_ILP32_OFFBIG_LIBS, _CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS, _CS_POSIX_V7_LP64_OFF64_CFLAGS, _CS_POSIX_V7_LP64_OFF64_LDFLAGS, _CS_POSIX_V7_LP64_OFF64_LIBS, _CS_POSIX_V7_LP64_OFF64_LINTFLAGS, _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS, _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS, _CS_POSIX_V7_LPBIG_OFFBIG_LIBS, _CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS, _CS_V6_ENV, _CS_V7_ENV }; # 613 "/usr/include/unistd.h" 2 3 4 extern long int pathconf (const char *__path, int __name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern long int fpathconf (int __fd, int __name) __attribute__ ((__nothrow__ , __leaf__)); extern long int sysconf (int __name) __attribute__ ((__nothrow__ , __leaf__)); extern size_t confstr (int __name, char *__buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)); extern __pid_t getpid (void) __attribute__ ((__nothrow__ , __leaf__)); extern __pid_t getppid (void) __attribute__ ((__nothrow__ , __leaf__)); extern __pid_t getpgrp (void) __attribute__ ((__nothrow__ , __leaf__)); extern __pid_t __getpgid (__pid_t __pid) __attribute__ ((__nothrow__ , __leaf__)); extern __pid_t getpgid (__pid_t __pid) __attribute__ ((__nothrow__ , __leaf__)); extern int setpgid (__pid_t __pid, __pid_t __pgid) __attribute__ ((__nothrow__ , __leaf__)); # 663 "/usr/include/unistd.h" 3 4 extern int setpgrp (void) __attribute__ ((__nothrow__ , __leaf__)); extern __pid_t setsid (void) __attribute__ ((__nothrow__ , __leaf__)); extern __pid_t getsid (__pid_t __pid) __attribute__ ((__nothrow__ , __leaf__)); extern __uid_t getuid (void) __attribute__ ((__nothrow__ , __leaf__)); extern __uid_t geteuid (void) __attribute__ ((__nothrow__ , __leaf__)); extern __gid_t getgid (void) __attribute__ ((__nothrow__ , __leaf__)); extern __gid_t getegid (void) __attribute__ ((__nothrow__ , __leaf__)); extern int getgroups (int __size, __gid_t __list[]) __attribute__ ((__nothrow__ , __leaf__)) ; # 703 "/usr/include/unistd.h" 3 4 extern int setuid (__uid_t __uid) __attribute__ ((__nothrow__ , __leaf__)) ; extern int setreuid (__uid_t __ruid, __uid_t __euid) __attribute__ ((__nothrow__ , __leaf__)) ; extern int seteuid (__uid_t __uid) __attribute__ ((__nothrow__ , __leaf__)) ; extern int setgid (__gid_t __gid) __attribute__ ((__nothrow__ , __leaf__)) ; extern int setregid (__gid_t __rgid, __gid_t __egid) __attribute__ ((__nothrow__ , __leaf__)) ; extern int setegid (__gid_t __gid) __attribute__ ((__nothrow__ , __leaf__)) ; # 759 "/usr/include/unistd.h" 3 4 extern __pid_t fork (void) __attribute__ ((__nothrow__)); extern __pid_t vfork (void) __attribute__ ((__nothrow__ , __leaf__)); extern char *ttyname (int __fd) __attribute__ ((__nothrow__ , __leaf__)); extern int ttyname_r (int __fd, char *__buf, size_t __buflen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) ; extern int isatty (int __fd) __attribute__ ((__nothrow__ , __leaf__)); extern int ttyslot (void) __attribute__ ((__nothrow__ , __leaf__)); extern int link (const char *__from, const char *__to) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) ; extern int linkat (int __fromfd, const char *__from, int __tofd, const char *__to, int __flags) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))) ; extern int symlink (const char *__from, const char *__to) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) ; extern ssize_t readlink (const char *__restrict __path, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) ; extern int symlinkat (const char *__from, int __tofd, const char *__to) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3))) ; extern ssize_t readlinkat (int __fd, const char *__restrict __path, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))) ; extern int unlink (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int unlinkat (int __fd, const char *__name, int __flag) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int rmdir (const char *__path) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern __pid_t tcgetpgrp (int __fd) __attribute__ ((__nothrow__ , __leaf__)); extern int tcsetpgrp (int __fd, __pid_t __pgrp_id) __attribute__ ((__nothrow__ , __leaf__)); extern char *getlogin (void); extern int getlogin_r (char *__name, size_t __name_len) __attribute__ ((__nonnull__ (1))); extern int setlogin (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 873 "/usr/include/unistd.h" 3 4 # 1 "/usr/include/getopt.h" 1 3 4 # 57 "/usr/include/getopt.h" 3 4 extern char *optarg; # 71 "/usr/include/getopt.h" 3 4 extern int optind; extern int opterr; extern int optopt; # 150 "/usr/include/getopt.h" 3 4 extern int getopt (int ___argc, char *const *___argv, const char *__shortopts) __attribute__ ((__nothrow__ , __leaf__)); # 874 "/usr/include/unistd.h" 2 3 4 extern int gethostname (char *__name, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int sethostname (const char *__name, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern int sethostid (long int __id) __attribute__ ((__nothrow__ , __leaf__)) ; extern int getdomainname (char *__name, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern int setdomainname (const char *__name, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern int vhangup (void) __attribute__ ((__nothrow__ , __leaf__)); extern int revoke (const char *__file) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern int profil (unsigned short int *__sample_buffer, size_t __size, size_t __offset, unsigned int __scale) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int acct (const char *__name) __attribute__ ((__nothrow__ , __leaf__)); extern char *getusershell (void) __attribute__ ((__nothrow__ , __leaf__)); extern void endusershell (void) __attribute__ ((__nothrow__ , __leaf__)); extern void setusershell (void) __attribute__ ((__nothrow__ , __leaf__)); extern int daemon (int __nochdir, int __noclose) __attribute__ ((__nothrow__ , __leaf__)) ; extern int chroot (const char *__path) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; extern char *getpass (const char *__prompt) __attribute__ ((__nonnull__ (1))); extern int fsync (int __fd); # 971 "/usr/include/unistd.h" 3 4 extern long int gethostid (void); extern void sync (void) __attribute__ ((__nothrow__ , __leaf__)); extern int getpagesize (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int getdtablesize (void) __attribute__ ((__nothrow__ , __leaf__)); # 995 "/usr/include/unistd.h" 3 4 extern int truncate (const char *__file, __off_t __length) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; # 1018 "/usr/include/unistd.h" 3 4 extern int ftruncate (int __fd, __off_t __length) __attribute__ ((__nothrow__ , __leaf__)) ; # 1039 "/usr/include/unistd.h" 3 4 extern int brk (void *__addr) __attribute__ ((__nothrow__ , __leaf__)) ; extern void *sbrk (intptr_t __delta) __attribute__ ((__nothrow__ , __leaf__)); # 1060 "/usr/include/unistd.h" 3 4 extern long int syscall (long int __sysno, ...) __attribute__ ((__nothrow__ , __leaf__)); # 1083 "/usr/include/unistd.h" 3 4 extern int lockf (int __fd, int __cmd, __off_t __len) ; # 1114 "/usr/include/unistd.h" 3 4 extern int fdatasync (int __fildes); # 1166 "/usr/include/unistd.h" 3 4 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_UNISTD_H" to "1" ================================================================================ TEST check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: netinet/in.h Executing: gcc -E -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/usr/include/netinet/in.h" 1 3 4 # 21 "/usr/include/netinet/in.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 364 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/sys/cdefs.h" 1 3 4 # 415 "/usr/include/i386-linux-gnu/sys/cdefs.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 416 "/usr/include/i386-linux-gnu/sys/cdefs.h" 2 3 4 # 365 "/usr/include/features.h" 2 3 4 # 388 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs.h" 1 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs-32.h" 1 3 4 # 8 "/usr/include/i386-linux-gnu/gnu/stubs.h" 2 3 4 # 389 "/usr/include/features.h" 2 3 4 # 22 "/usr/include/netinet/in.h" 2 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stdint.h" 1 3 4 # 9 "/usr/lib/gcc/i686-linux-gnu/7/include/stdint.h" 3 4 # 1 "/usr/include/stdint.h" 1 3 4 # 26 "/usr/include/stdint.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wchar.h" 1 3 4 # 27 "/usr/include/stdint.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 28 "/usr/include/stdint.h" 2 3 4 # 36 "/usr/include/stdint.h" 3 4 # 36 "/usr/include/stdint.h" 3 4 typedef signed char int8_t; typedef short int int16_t; typedef int int32_t; __extension__ typedef long long int int64_t; typedef unsigned char uint8_t; typedef unsigned short int uint16_t; typedef unsigned int uint32_t; __extension__ typedef unsigned long long int uint64_t; typedef signed char int_least8_t; typedef short int int_least16_t; typedef int int_least32_t; __extension__ typedef long long int int_least64_t; typedef unsigned char uint_least8_t; typedef unsigned short int uint_least16_t; typedef unsigned int uint_least32_t; __extension__ typedef unsigned long long int uint_least64_t; typedef signed char int_fast8_t; typedef int int_fast16_t; typedef int int_fast32_t; __extension__ typedef long long int int_fast64_t; typedef unsigned char uint_fast8_t; typedef unsigned int uint_fast16_t; typedef unsigned int uint_fast32_t; __extension__ typedef unsigned long long int uint_fast64_t; # 125 "/usr/include/stdint.h" 3 4 typedef int intptr_t; typedef unsigned int uintptr_t; # 137 "/usr/include/stdint.h" 3 4 __extension__ typedef long long int intmax_t; __extension__ typedef unsigned long long int uintmax_t; # 10 "/usr/lib/gcc/i686-linux-gnu/7/include/stdint.h" 2 3 4 # 23 "/usr/include/netinet/in.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/sys/socket.h" 1 3 4 # 24 "/usr/include/i386-linux-gnu/sys/socket.h" 3 4 # 1 "/usr/include/i386-linux-gnu/sys/uio.h" 1 3 4 # 23 "/usr/include/i386-linux-gnu/sys/uio.h" 3 4 # 1 "/usr/include/i386-linux-gnu/sys/types.h" 1 3 4 # 27 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/types.h" 1 3 4 # 27 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 28 "/usr/include/i386-linux-gnu/bits/types.h" 2 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; __extension__ typedef signed long long int __int64_t; __extension__ typedef unsigned long long int __uint64_t; __extension__ typedef long long int __quad_t; __extension__ typedef unsigned long long int __u_quad_t; # 121 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/typesizes.h" 1 3 4 # 122 "/usr/include/i386-linux-gnu/bits/types.h" 2 3 4 __extension__ typedef __u_quad_t __dev_t; __extension__ typedef unsigned int __uid_t; __extension__ typedef unsigned int __gid_t; __extension__ typedef unsigned long int __ino_t; __extension__ typedef __u_quad_t __ino64_t; __extension__ typedef unsigned int __mode_t; __extension__ typedef unsigned int __nlink_t; __extension__ typedef long int __off_t; __extension__ typedef __quad_t __off64_t; __extension__ typedef int __pid_t; __extension__ typedef struct { int __val[2]; } __fsid_t; __extension__ typedef long int __clock_t; __extension__ typedef unsigned long int __rlim_t; __extension__ typedef __u_quad_t __rlim64_t; __extension__ typedef unsigned int __id_t; __extension__ typedef long int __time_t; __extension__ typedef unsigned int __useconds_t; __extension__ typedef long int __suseconds_t; __extension__ typedef int __daddr_t; __extension__ typedef int __key_t; __extension__ typedef int __clockid_t; __extension__ typedef void * __timer_t; __extension__ typedef long int __blksize_t; __extension__ typedef long int __blkcnt_t; __extension__ typedef __quad_t __blkcnt64_t; __extension__ typedef unsigned long int __fsblkcnt_t; __extension__ typedef __u_quad_t __fsblkcnt64_t; __extension__ typedef unsigned long int __fsfilcnt_t; __extension__ typedef __u_quad_t __fsfilcnt64_t; __extension__ typedef int __fsword_t; __extension__ typedef int __ssize_t; __extension__ typedef long int __syscall_slong_t; __extension__ typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; __extension__ typedef int __intptr_t; __extension__ typedef unsigned int __socklen_t; # 30 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino_t ino_t; # 60 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off_t off_t; # 98 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 132 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/include/time.h" 1 3 4 # 57 "/usr/include/time.h" 3 4 typedef __clock_t clock_t; # 73 "/usr/include/time.h" 3 4 typedef __time_t time_t; # 91 "/usr/include/time.h" 3 4 typedef __clockid_t clockid_t; # 103 "/usr/include/time.h" 3 4 typedef __timer_t timer_t; # 133 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 # 146 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 216 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 3 4 typedef unsigned int size_t; # 147 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 200 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 216 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/include/endian.h" 1 3 4 # 36 "/usr/include/endian.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/endian.h" 1 3 4 # 37 "/usr/include/endian.h" 2 3 4 # 60 "/usr/include/endian.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/byteswap.h" 1 3 4 # 28 "/usr/include/i386-linux-gnu/bits/byteswap.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 29 "/usr/include/i386-linux-gnu/bits/byteswap.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/byteswap-16.h" 1 3 4 # 36 "/usr/include/i386-linux-gnu/bits/byteswap.h" 2 3 4 # 44 "/usr/include/i386-linux-gnu/bits/byteswap.h" 3 4 static __inline unsigned int __bswap_32 (unsigned int __bsx) { return __builtin_bswap32 (__bsx); } # 108 "/usr/include/i386-linux-gnu/bits/byteswap.h" 3 4 static __inline __uint64_t __bswap_64 (__uint64_t __bsx) { return __builtin_bswap64 (__bsx); } # 61 "/usr/include/endian.h" 2 3 4 # 217 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/sys/select.h" 1 3 4 # 30 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/select.h" 1 3 4 # 22 "/usr/include/i386-linux-gnu/bits/select.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 23 "/usr/include/i386-linux-gnu/bits/select.h" 2 3 4 # 31 "/usr/include/i386-linux-gnu/sys/select.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/sigset.h" 1 3 4 # 22 "/usr/include/i386-linux-gnu/bits/sigset.h" 3 4 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 34 "/usr/include/i386-linux-gnu/sys/select.h" 2 3 4 typedef __sigset_t sigset_t; # 1 "/usr/include/time.h" 1 3 4 # 120 "/usr/include/time.h" 3 4 struct timespec { __time_t tv_sec; __syscall_slong_t tv_nsec; }; # 46 "/usr/include/i386-linux-gnu/sys/select.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/time.h" 1 3 4 # 30 "/usr/include/i386-linux-gnu/bits/time.h" 3 4 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 48 "/usr/include/i386-linux-gnu/sys/select.h" 2 3 4 typedef __suseconds_t suseconds_t; typedef long int __fd_mask; # 66 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 typedef struct { __fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; # 98 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 # 108 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); # 120 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); # 133 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 # 220 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/sys/sysmacros.h" 1 3 4 # 24 "/usr/include/i386-linux-gnu/sys/sysmacros.h" 3 4 __extension__ extern unsigned int gnu_dev_major (unsigned long long int __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern unsigned int gnu_dev_minor (unsigned long long int __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); # 58 "/usr/include/i386-linux-gnu/sys/sysmacros.h" 3 4 # 223 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 typedef __blksize_t blksize_t; typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 270 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 1 3 4 # 21 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 22 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 2 3 4 # 60 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 typedef unsigned long int pthread_t; union pthread_attr_t { char __size[36]; long int __align; }; typedef union pthread_attr_t pthread_attr_t; # 81 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 typedef struct __pthread_internal_slist { struct __pthread_internal_slist *__next; } __pthread_slist_t; typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; int __kind; # 111 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 unsigned int __nusers; __extension__ union { struct { short __espins; short __elision; } __elision_data; __pthread_slist_t __list; }; } __data; char __size[24]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { # 202 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; unsigned char __flags; unsigned char __shared; signed char __rwelision; unsigned char __pad2; int __writer; } __data; char __size[32]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[20]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 271 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 # 24 "/usr/include/i386-linux-gnu/sys/uio.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/uio.h" 1 3 4 # 43 "/usr/include/i386-linux-gnu/bits/uio.h" 3 4 struct iovec { void *iov_base; size_t iov_len; }; # 29 "/usr/include/i386-linux-gnu/sys/uio.h" 2 3 4 # 39 "/usr/include/i386-linux-gnu/sys/uio.h" 3 4 extern ssize_t readv (int __fd, const struct iovec *__iovec, int __count) ; # 50 "/usr/include/i386-linux-gnu/sys/uio.h" 3 4 extern ssize_t writev (int __fd, const struct iovec *__iovec, int __count) ; # 65 "/usr/include/i386-linux-gnu/sys/uio.h" 3 4 extern ssize_t preadv (int __fd, const struct iovec *__iovec, int __count, __off_t __offset) ; # 77 "/usr/include/i386-linux-gnu/sys/uio.h" 3 4 extern ssize_t pwritev (int __fd, const struct iovec *__iovec, int __count, __off_t __offset) ; # 120 "/usr/include/i386-linux-gnu/sys/uio.h" 3 4 # 27 "/usr/include/i386-linux-gnu/sys/socket.h" 2 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 29 "/usr/include/i386-linux-gnu/sys/socket.h" 2 3 4 # 38 "/usr/include/i386-linux-gnu/sys/socket.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/socket.h" 1 3 4 # 27 "/usr/include/i386-linux-gnu/bits/socket.h" 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 28 "/usr/include/i386-linux-gnu/bits/socket.h" 2 3 4 typedef __socklen_t socklen_t; # 1 "/usr/include/i386-linux-gnu/bits/socket_type.h" 1 3 4 # 24 "/usr/include/i386-linux-gnu/bits/socket_type.h" 3 4 enum __socket_type { SOCK_STREAM = 1, SOCK_DGRAM = 2, SOCK_RAW = 3, SOCK_RDM = 4, SOCK_SEQPACKET = 5, SOCK_DCCP = 6, SOCK_PACKET = 10, SOCK_CLOEXEC = 02000000, SOCK_NONBLOCK = 00004000 }; # 39 "/usr/include/i386-linux-gnu/bits/socket.h" 2 3 4 # 167 "/usr/include/i386-linux-gnu/bits/socket.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/sockaddr.h" 1 3 4 # 28 "/usr/include/i386-linux-gnu/bits/sockaddr.h" 3 4 typedef unsigned short int sa_family_t; # 168 "/usr/include/i386-linux-gnu/bits/socket.h" 2 3 4 struct sockaddr { sa_family_t sa_family; char sa_data[14]; }; # 183 "/usr/include/i386-linux-gnu/bits/socket.h" 3 4 struct sockaddr_storage { sa_family_t ss_family; char __ss_padding[(128 - (sizeof (unsigned short int)) - sizeof (unsigned long int))]; unsigned long int __ss_align; }; enum { MSG_OOB = 0x01, MSG_PEEK = 0x02, MSG_DONTROUTE = 0x04, MSG_CTRUNC = 0x08, MSG_PROXY = 0x10, MSG_TRUNC = 0x20, MSG_DONTWAIT = 0x40, MSG_EOR = 0x80, MSG_WAITALL = 0x100, MSG_FIN = 0x200, MSG_SYN = 0x400, MSG_CONFIRM = 0x800, MSG_RST = 0x1000, MSG_ERRQUEUE = 0x2000, MSG_NOSIGNAL = 0x4000, MSG_MORE = 0x8000, MSG_WAITFORONE = 0x10000, MSG_BATCH = 0x40000, MSG_FASTOPEN = 0x20000000, MSG_CMSG_CLOEXEC = 0x40000000 }; struct msghdr { void *msg_name; socklen_t msg_namelen; struct iovec *msg_iov; size_t msg_iovlen; void *msg_control; size_t msg_controllen; int msg_flags; }; struct cmsghdr { size_t cmsg_len; int cmsg_level; int cmsg_type; __extension__ unsigned char __cmsg_data []; }; # 295 "/usr/include/i386-linux-gnu/bits/socket.h" 3 4 extern struct cmsghdr *__cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg) __attribute__ ((__nothrow__ , __leaf__)); # 322 "/usr/include/i386-linux-gnu/bits/socket.h" 3 4 enum { SCM_RIGHTS = 0x01 }; # 368 "/usr/include/i386-linux-gnu/bits/socket.h" 3 4 # 1 "/usr/include/i386-linux-gnu/asm/socket.h" 1 3 4 # 1 "/usr/include/asm-generic/socket.h" 1 3 4 # 1 "/usr/include/i386-linux-gnu/asm/sockios.h" 1 3 4 # 1 "/usr/include/asm-generic/sockios.h" 1 3 4 # 1 "/usr/include/i386-linux-gnu/asm/sockios.h" 2 3 4 # 5 "/usr/include/asm-generic/socket.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/asm/socket.h" 2 3 4 # 369 "/usr/include/i386-linux-gnu/bits/socket.h" 2 3 4 # 402 "/usr/include/i386-linux-gnu/bits/socket.h" 3 4 struct linger { int l_onoff; int l_linger; }; # 39 "/usr/include/i386-linux-gnu/sys/socket.h" 2 3 4 struct osockaddr { unsigned short int sa_family; unsigned char sa_data[14]; }; enum { SHUT_RD = 0, SHUT_WR, SHUT_RDWR }; # 113 "/usr/include/i386-linux-gnu/sys/socket.h" 3 4 extern int socket (int __domain, int __type, int __protocol) __attribute__ ((__nothrow__ , __leaf__)); extern int socketpair (int __domain, int __type, int __protocol, int __fds[2]) __attribute__ ((__nothrow__ , __leaf__)); extern int bind (int __fd, const struct sockaddr * __addr, socklen_t __len) __attribute__ ((__nothrow__ , __leaf__)); extern int getsockname (int __fd, struct sockaddr *__restrict __addr, socklen_t *__restrict __len) __attribute__ ((__nothrow__ , __leaf__)); # 137 "/usr/include/i386-linux-gnu/sys/socket.h" 3 4 extern int connect (int __fd, const struct sockaddr * __addr, socklen_t __len); extern int getpeername (int __fd, struct sockaddr *__restrict __addr, socklen_t *__restrict __len) __attribute__ ((__nothrow__ , __leaf__)); extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); extern ssize_t sendto (int __fd, const void *__buf, size_t __n, int __flags, const struct sockaddr * __addr, socklen_t __addr_len); # 174 "/usr/include/i386-linux-gnu/sys/socket.h" 3 4 extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, struct sockaddr *__restrict __addr, socklen_t *__restrict __addr_len); extern ssize_t sendmsg (int __fd, const struct msghdr *__message, int __flags); # 202 "/usr/include/i386-linux-gnu/sys/socket.h" 3 4 extern ssize_t recvmsg (int __fd, struct msghdr *__message, int __flags); # 219 "/usr/include/i386-linux-gnu/sys/socket.h" 3 4 extern int getsockopt (int __fd, int __level, int __optname, void *__restrict __optval, socklen_t *__restrict __optlen) __attribute__ ((__nothrow__ , __leaf__)); extern int setsockopt (int __fd, int __level, int __optname, const void *__optval, socklen_t __optlen) __attribute__ ((__nothrow__ , __leaf__)); extern int listen (int __fd, int __n) __attribute__ ((__nothrow__ , __leaf__)); # 243 "/usr/include/i386-linux-gnu/sys/socket.h" 3 4 extern int accept (int __fd, struct sockaddr *__restrict __addr, socklen_t *__restrict __addr_len); # 261 "/usr/include/i386-linux-gnu/sys/socket.h" 3 4 extern int shutdown (int __fd, int __how) __attribute__ ((__nothrow__ , __leaf__)); extern int sockatmark (int __fd) __attribute__ ((__nothrow__ , __leaf__)); extern int isfdtype (int __fd, int __fdtype) __attribute__ ((__nothrow__ , __leaf__)); # 283 "/usr/include/i386-linux-gnu/sys/socket.h" 3 4 # 24 "/usr/include/netinet/in.h" 2 3 4 typedef uint32_t in_addr_t; struct in_addr { in_addr_t s_addr; }; # 1 "/usr/include/i386-linux-gnu/bits/in.h" 1 3 4 # 141 "/usr/include/i386-linux-gnu/bits/in.h" 3 4 struct ip_opts { struct in_addr ip_dst; char ip_opts[40]; }; struct ip_mreqn { struct in_addr imr_multiaddr; struct in_addr imr_address; int imr_ifindex; }; struct in_pktinfo { int ipi_ifindex; struct in_addr ipi_spec_dst; struct in_addr ipi_addr; }; # 38 "/usr/include/netinet/in.h" 2 3 4 enum { IPPROTO_IP = 0, IPPROTO_ICMP = 1, IPPROTO_IGMP = 2, IPPROTO_IPIP = 4, IPPROTO_TCP = 6, IPPROTO_EGP = 8, IPPROTO_PUP = 12, IPPROTO_UDP = 17, IPPROTO_IDP = 22, IPPROTO_TP = 29, IPPROTO_DCCP = 33, IPPROTO_IPV6 = 41, IPPROTO_RSVP = 46, IPPROTO_GRE = 47, IPPROTO_ESP = 50, IPPROTO_AH = 51, IPPROTO_MTP = 92, IPPROTO_BEETPH = 94, IPPROTO_ENCAP = 98, IPPROTO_PIM = 103, IPPROTO_COMP = 108, IPPROTO_SCTP = 132, IPPROTO_UDPLITE = 136, IPPROTO_MPLS = 137, IPPROTO_RAW = 255, IPPROTO_MAX }; enum { IPPROTO_HOPOPTS = 0, IPPROTO_ROUTING = 43, IPPROTO_FRAGMENT = 44, IPPROTO_ICMPV6 = 58, IPPROTO_NONE = 59, IPPROTO_DSTOPTS = 60, IPPROTO_MH = 135 }; typedef uint16_t in_port_t; enum { IPPORT_ECHO = 7, IPPORT_DISCARD = 9, IPPORT_SYSTAT = 11, IPPORT_DAYTIME = 13, IPPORT_NETSTAT = 15, IPPORT_FTP = 21, IPPORT_TELNET = 23, IPPORT_SMTP = 25, IPPORT_TIMESERVER = 37, IPPORT_NAMESERVER = 42, IPPORT_WHOIS = 43, IPPORT_MTP = 57, IPPORT_TFTP = 69, IPPORT_RJE = 77, IPPORT_FINGER = 79, IPPORT_TTYLINK = 87, IPPORT_SUPDUP = 95, IPPORT_EXECSERVER = 512, IPPORT_LOGINSERVER = 513, IPPORT_CMDSERVER = 514, IPPORT_EFSSERVER = 520, IPPORT_BIFFUDP = 512, IPPORT_WHOSERVER = 513, IPPORT_ROUTESERVER = 520, IPPORT_RESERVED = 1024, IPPORT_USERRESERVED = 5000 }; # 211 "/usr/include/netinet/in.h" 3 4 struct in6_addr { union { uint8_t __u6_addr8[16]; uint16_t __u6_addr16[8]; uint32_t __u6_addr32[4]; } __in6_u; }; extern const struct in6_addr in6addr_any; extern const struct in6_addr in6addr_loopback; # 239 "/usr/include/netinet/in.h" 3 4 struct sockaddr_in { sa_family_t sin_family; in_port_t sin_port; struct in_addr sin_addr; unsigned char sin_zero[sizeof (struct sockaddr) - (sizeof (unsigned short int)) - sizeof (in_port_t) - sizeof (struct in_addr)]; }; struct sockaddr_in6 { sa_family_t sin6_family; in_port_t sin6_port; uint32_t sin6_flowinfo; struct in6_addr sin6_addr; uint32_t sin6_scope_id; }; struct ip_mreq { struct in_addr imr_multiaddr; struct in_addr imr_interface; }; struct ip_mreq_source { struct in_addr imr_multiaddr; struct in_addr imr_interface; struct in_addr imr_sourceaddr; }; struct ipv6_mreq { struct in6_addr ipv6mr_multiaddr; unsigned int ipv6mr_interface; }; struct group_req { uint32_t gr_interface; struct sockaddr_storage gr_group; }; struct group_source_req { uint32_t gsr_interface; struct sockaddr_storage gsr_group; struct sockaddr_storage gsr_source; }; struct ip_msfilter { struct in_addr imsf_multiaddr; struct in_addr imsf_interface; uint32_t imsf_fmode; uint32_t imsf_numsrc; struct in_addr imsf_slist[1]; }; struct group_filter { uint32_t gf_interface; struct sockaddr_storage gf_group; uint32_t gf_fmode; uint32_t gf_numsrc; struct sockaddr_storage gf_slist[1]; }; # 376 "/usr/include/netinet/in.h" 3 4 extern uint32_t ntohl (uint32_t __netlong) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern uint16_t ntohs (uint16_t __netshort) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern uint32_t htonl (uint32_t __hostlong) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern uint16_t htons (uint16_t __hostshort) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); # 1 "/usr/include/i386-linux-gnu/bits/byteswap.h" 1 3 4 # 388 "/usr/include/netinet/in.h" 2 3 4 # 503 "/usr/include/netinet/in.h" 3 4 extern int bindresvport (int __sockfd, struct sockaddr_in *__sock_in) __attribute__ ((__nothrow__ , __leaf__)); extern int bindresvport6 (int __sockfd, struct sockaddr_in6 *__sock_in) __attribute__ ((__nothrow__ , __leaf__)); # 631 "/usr/include/netinet/in.h" 3 4 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_NETINET_IN_H" to "1" ================================================================================ TEST checkRecursiveMacros from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:218) TESTING: checkRecursiveMacros from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:218) Checks that the preprocessor allows recursive macros, and if not defines HAVE_BROKEN_RECURSIVE_MACRO Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.headers/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" void a(int i, int j) {} #define a(b) a(b,__LINE__) int main() { a(0); ; return 0; } ================================================================================ TEST configureCacheDetails from config.utilities.cacheDetails(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/utilities/cacheDetails.py:78) TESTING: configureCacheDetails from config.utilities.cacheDetails(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/utilities/cacheDetails.py:78) Try to determine the size and associativity of the cache. Pushing language C All intermediate test results are stored in /tmp/petsc-Ymuwb2/config.utilities.cacheDetails Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.utilities.cacheDetails/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.utilities.cacheDetails/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include long getconf_LEVEL1_DCACHE_SIZE() { long val = sysconf(_SC_LEVEL1_DCACHE_SIZE); return (16 <= val && val <= 2147483647) ? val : 32768; } int main() { ; return 0; } Popping language C Pushing language C Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.utilities.cacheDetails/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.utilities.cacheDetails/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include long getconf_LEVEL1_DCACHE_SIZE() { long val = sysconf(_SC_LEVEL1_DCACHE_SIZE); return (16 <= val && val <= 2147483647) ? val : 32768; } int main() { FILE *output = fopen("conftestval","w"); if (!output) return 1; fprintf(output,"%ld",getconf_LEVEL1_DCACHE_SIZE()); fclose(output);; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.utilities.cacheDetails/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.utilities.cacheDetails/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Testing executable /tmp/petsc-Ymuwb2/config.utilities.cacheDetails/conftest to see if it can be run Executing: /tmp/petsc-Ymuwb2/config.utilities.cacheDetails/conftest Executing: /tmp/petsc-Ymuwb2/config.utilities.cacheDetails/conftest Popping language C Defined "LEVEL1_DCACHE_SIZE" to "32768" Pushing language C Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.utilities.cacheDetails/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.utilities.cacheDetails/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include long getconf_LEVEL1_DCACHE_LINESIZE() { long val = sysconf(_SC_LEVEL1_DCACHE_LINESIZE); return (16 <= val && val <= 2147483647) ? val : 32; } int main() { FILE *output = fopen("conftestval","w"); if (!output) return 1; fprintf(output,"%ld",getconf_LEVEL1_DCACHE_LINESIZE()); fclose(output);; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.utilities.cacheDetails/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.utilities.cacheDetails/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Testing executable /tmp/petsc-Ymuwb2/config.utilities.cacheDetails/conftest to see if it can be run Executing: /tmp/petsc-Ymuwb2/config.utilities.cacheDetails/conftest Executing: /tmp/petsc-Ymuwb2/config.utilities.cacheDetails/conftest Popping language C Defined "LEVEL1_DCACHE_LINESIZE" to "64" Pushing language C Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.utilities.cacheDetails/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.utilities.cacheDetails/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include long getconf_LEVEL1_DCACHE_ASSOC() { long val = sysconf(_SC_LEVEL1_DCACHE_ASSOC); return (0 <= val && val <= 2147483647) ? val : 2; } int main() { FILE *output = fopen("conftestval","w"); if (!output) return 1; fprintf(output,"%ld",getconf_LEVEL1_DCACHE_ASSOC()); fclose(output);; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.utilities.cacheDetails/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.utilities.cacheDetails/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Testing executable /tmp/petsc-Ymuwb2/config.utilities.cacheDetails/conftest to see if it can be run Executing: /tmp/petsc-Ymuwb2/config.utilities.cacheDetails/conftest Executing: /tmp/petsc-Ymuwb2/config.utilities.cacheDetails/conftest Popping language C Defined "LEVEL1_DCACHE_ASSOC" to "8" ================================================================================ TEST check_siginfo_t from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:46) TESTING: check_siginfo_t from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:46) Checks if siginfo_t exists in signal.h. This check is for windows, and C89 check. Checking for type: siginfo_t All intermediate test results are stored in /tmp/petsc-Ymuwb2/config.types Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.types/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif int main() { siginfo_t a;; return 0; } siginfo_t found Defined "HAVE_SIGINFO_T" to "1" ================================================================================ TEST check__int64 from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:52) TESTING: check__int64 from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:52) Checks if __int64 exists. This is primarily for windows. Checking for type: __int64 Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.types/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.types/conftest.c Possible ERROR while running compiler: exit code 256 stderr: /tmp/petsc-Ymuwb2/config.types/conftest.c: In function ‘main’: /tmp/petsc-Ymuwb2/config.types/conftest.c:13:1: error: unknown type name ‘__int64’; did you mean ‘__int64_t’? __int64 a;; ^~~~~~~ __int64_t Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #endif int main() { __int64 a;; return 0; } __int64 found ================================================================================ TEST checkSizeTypes from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:58) TESTING: checkSizeTypes from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:58) Checks for types associated with sizes, such as size_t. Checking for type: size_t Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.types/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #endif int main() { size_t a;; return 0; } size_t found ================================================================================ TEST checkFileTypes from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:68) TESTING: checkFileTypes from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:68) Checks for types associated with files, such as mode_t, off_t, etc. Checking for type: mode_t Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.types/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #endif int main() { mode_t a;; return 0; } mode_t found Checking for type: off_t Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.types/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #endif int main() { off_t a;; return 0; } off_t found ================================================================================ TEST checkIntegerTypes from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:63) TESTING: checkIntegerTypes from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:63) Checks for types associated with integers, such as int32_t. Checking for type: int32_t Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.types/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #endif int main() { int32_t a;; return 0; } int32_t found ================================================================================ TEST checkPID from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:74) TESTING: checkPID from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:74) Checks for pid_t, and defines it if necessary Checking for type: pid_t Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.types/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #endif int main() { pid_t a;; return 0; } pid_t found ================================================================================ TEST checkUID from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:78) TESTING: checkUID from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:78) Checks for uid_t and gid_t, and defines them if necessary Source: #include "confdefs.h" #include "conffix.h" #include Executing: gcc -E -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.headers -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.types/conftest.c stdout: # 1 "/tmp/petsc-Ymuwb2/config.types/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.types/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.types/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.types/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.types/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.types/conftest.c" 2 # 1 "/usr/include/i386-linux-gnu/sys/types.h" 1 3 4 # 25 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 364 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/sys/cdefs.h" 1 3 4 # 415 "/usr/include/i386-linux-gnu/sys/cdefs.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 416 "/usr/include/i386-linux-gnu/sys/cdefs.h" 2 3 4 # 365 "/usr/include/features.h" 2 3 4 # 388 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs.h" 1 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs-32.h" 1 3 4 # 8 "/usr/include/i386-linux-gnu/gnu/stubs.h" 2 3 4 # 389 "/usr/include/features.h" 2 3 4 # 26 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/types.h" 1 3 4 # 27 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 28 "/usr/include/i386-linux-gnu/bits/types.h" 2 3 4 # 30 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; __extension__ typedef signed long long int __int64_t; __extension__ typedef unsigned long long int __uint64_t; __extension__ typedef long long int __quad_t; __extension__ typedef unsigned long long int __u_quad_t; # 121 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/typesizes.h" 1 3 4 # 122 "/usr/include/i386-linux-gnu/bits/types.h" 2 3 4 __extension__ typedef __u_quad_t __dev_t; __extension__ typedef unsigned int __uid_t; __extension__ typedef unsigned int __gid_t; __extension__ typedef unsigned long int __ino_t; __extension__ typedef __u_quad_t __ino64_t; __extension__ typedef unsigned int __mode_t; __extension__ typedef unsigned int __nlink_t; __extension__ typedef long int __off_t; __extension__ typedef __quad_t __off64_t; __extension__ typedef int __pid_t; __extension__ typedef struct { int __val[2]; } __fsid_t; __extension__ typedef long int __clock_t; __extension__ typedef unsigned long int __rlim_t; __extension__ typedef __u_quad_t __rlim64_t; __extension__ typedef unsigned int __id_t; __extension__ typedef long int __time_t; __extension__ typedef unsigned int __useconds_t; __extension__ typedef long int __suseconds_t; __extension__ typedef int __daddr_t; __extension__ typedef int __key_t; __extension__ typedef int __clockid_t; __extension__ typedef void * __timer_t; __extension__ typedef long int __blksize_t; __extension__ typedef long int __blkcnt_t; __extension__ typedef __quad_t __blkcnt64_t; __extension__ typedef unsigned long int __fsblkcnt_t; __extension__ typedef __u_quad_t __fsblkcnt64_t; __extension__ typedef unsigned long int __fsfilcnt_t; __extension__ typedef __u_quad_t __fsfilcnt64_t; __extension__ typedef int __fsword_t; __extension__ typedef int __ssize_t; __extension__ typedef long int __syscall_slong_t; __extension__ typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; __extension__ typedef int __intptr_t; __extension__ typedef unsigned int __socklen_t; # 30 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino_t ino_t; # 60 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off_t off_t; # 98 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 132 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/include/time.h" 1 3 4 # 57 "/usr/include/time.h" 3 4 typedef __clock_t clock_t; # 73 "/usr/include/time.h" 3 4 typedef __time_t time_t; # 91 "/usr/include/time.h" 3 4 typedef __clockid_t clockid_t; # 103 "/usr/include/time.h" 3 4 typedef __timer_t timer_t; # 133 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 # 146 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 216 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 3 4 typedef unsigned int size_t; # 147 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 194 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 typedef int int8_t __attribute__ ((__mode__ (__QI__))); typedef int int16_t __attribute__ ((__mode__ (__HI__))); typedef int int32_t __attribute__ ((__mode__ (__SI__))); typedef int int64_t __attribute__ ((__mode__ (__DI__))); typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 216 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/include/endian.h" 1 3 4 # 36 "/usr/include/endian.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/endian.h" 1 3 4 # 37 "/usr/include/endian.h" 2 3 4 # 60 "/usr/include/endian.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/byteswap.h" 1 3 4 # 28 "/usr/include/i386-linux-gnu/bits/byteswap.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 29 "/usr/include/i386-linux-gnu/bits/byteswap.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/byteswap-16.h" 1 3 4 # 36 "/usr/include/i386-linux-gnu/bits/byteswap.h" 2 3 4 # 44 "/usr/include/i386-linux-gnu/bits/byteswap.h" 3 4 static __inline unsigned int __bswap_32 (unsigned int __bsx) { return __builtin_bswap32 (__bsx); } # 108 "/usr/include/i386-linux-gnu/bits/byteswap.h" 3 4 static __inline __uint64_t __bswap_64 (__uint64_t __bsx) { return __builtin_bswap64 (__bsx); } # 61 "/usr/include/endian.h" 2 3 4 # 217 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/sys/select.h" 1 3 4 # 30 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/select.h" 1 3 4 # 22 "/usr/include/i386-linux-gnu/bits/select.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 23 "/usr/include/i386-linux-gnu/bits/select.h" 2 3 4 # 31 "/usr/include/i386-linux-gnu/sys/select.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/sigset.h" 1 3 4 # 22 "/usr/include/i386-linux-gnu/bits/sigset.h" 3 4 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 34 "/usr/include/i386-linux-gnu/sys/select.h" 2 3 4 typedef __sigset_t sigset_t; # 1 "/usr/include/time.h" 1 3 4 # 120 "/usr/include/time.h" 3 4 struct timespec { __time_t tv_sec; __syscall_slong_t tv_nsec; }; # 46 "/usr/include/i386-linux-gnu/sys/select.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/time.h" 1 3 4 # 30 "/usr/include/i386-linux-gnu/bits/time.h" 3 4 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 48 "/usr/include/i386-linux-gnu/sys/select.h" 2 3 4 typedef __suseconds_t suseconds_t; typedef long int __fd_mask; # 66 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 typedef struct { __fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; # 98 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 # 108 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); # 120 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); # 133 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 # 220 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/sys/sysmacros.h" 1 3 4 # 24 "/usr/include/i386-linux-gnu/sys/sysmacros.h" 3 4 __extension__ extern unsigned int gnu_dev_major (unsigned long long int __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern unsigned int gnu_dev_minor (unsigned long long int __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); # 58 "/usr/include/i386-linux-gnu/sys/sysmacros.h" 3 4 # 223 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 typedef __blksize_t blksize_t; typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 270 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 1 3 4 # 21 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 22 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 2 3 4 # 60 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 typedef unsigned long int pthread_t; union pthread_attr_t { char __size[36]; long int __align; }; typedef union pthread_attr_t pthread_attr_t; # 81 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 typedef struct __pthread_internal_slist { struct __pthread_internal_slist *__next; } __pthread_slist_t; typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; int __kind; # 111 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 unsigned int __nusers; __extension__ union { struct { short __espins; short __elision; } __elision_data; __pthread_slist_t __list; }; } __data; char __size[24]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { # 202 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; unsigned char __flags; unsigned char __shared; signed char __rwelision; unsigned char __pad2; int __writer; } __data; char __size[32]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[20]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 271 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 # 3 "/tmp/petsc-Ymuwb2/config.types/conftest.c" 2 ================================================================================ TEST checkSignal from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:85) TESTING: checkSignal from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:85) Checks the return type of signal() and defines RETSIGTYPE to that type name Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.types/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #ifdef signal #undef signal #endif #ifdef __cplusplus extern "C" void (*signal (int, void(*)(int)))(int); #else void (*signal())(); #endif int main() { ; return 0; } Defined "RETSIGTYPE" to "void" ================================================================================ TEST checkC99Complex from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:106) TESTING: checkC99Complex from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:106) Check for complex numbers in in C99 std Note that since PETSc source code uses _Complex we test specifically for that, not complex Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.types/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { double _Complex x; x = I; ; return 0; } Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.types/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { double _Complex x; x = I; ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.types/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.types/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Defined "HAVE_C99_COMPLEX" to "1" ================================================================================ TEST checkCxxComplex from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:117) TESTING: checkCxxComplex from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:117) Check for complex numbers in namespace std Pushing language Cxx Executing: g++ -c -o /tmp/petsc-Ymuwb2/config.types/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.types/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { std::complex x; ; return 0; } Pushing language CXX Popping language CXX Executing: g++ -o /tmp/petsc-Ymuwb2/config.types/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -Wl,--no-as-needed -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.types/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Defined "HAVE_CXX_COMPLEX" to "1" Popping language Cxx ================================================================================ TEST checkFortranKind from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:138) TESTING: checkFortranKind from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:138) Checks whether selected_int_kind etc work USE_FORTRANKIND Pushing language FC Executing: gfortran -c -o /tmp/petsc-Ymuwb2/config.types/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.setCompilers -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.types/conftest.F90 Successful compile: Source: program main integer(kind=selected_int_kind(10)) i real(kind=selected_real_kind(10)) d end Defined "USE_FORTRANKIND" to "1" Popping language FC ================================================================================ TEST checkConst from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:150) TESTING: checkConst from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:150) Checks for working const, and if not found defines it to empty string Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.types/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { /* Ultrix mips cc rejects this. */ typedef int charset[2]; const charset x; /* SunOS 4.1.1 cc rejects this. */ char const *const *ccp; char **p; /* NEC SVR4.0.2 mips cc rejects this. */ struct point {int x, y;}; static struct point const zero = {0,0}; /* AIX XL C 1.02.0.0 rejects this. It does not let you subtract one const X* pointer from another in an arm of an if-expression whose if-part is not a constant expression */ const char *g = "string"; ccp = &g + (g ? g-g : 0); /* HPUX 7.0 cc rejects these. */ ++ccp; p = (char**) ccp; ccp = (char const *const *) p; /* This section avoids unused variable warnings */ if (zero.x); if (x[0]); { /* SCO 3.2v4 cc rejects this. */ char *t; char const *s = 0 ? (char *) 0 : (char const *) 0; *t++ = 0; if (*s); } { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ int x[] = {25, 17}; const int *foo = &x[0]; ++foo; } { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ typedef const int *iptr; iptr p = 0; ++p; } { /* AIX XL C 1.02.0.0 rejects this saying "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ struct s { int j; const int *ap[3]; }; struct s *b; b->j = 5; } { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ const int foo = 10; /* Get rid of unused variable warning */ if (foo); } ; return 0; } ================================================================================ TEST checkEndian from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:206) TESTING: checkEndian from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:206) If the machine is big endian, defines WORDS_BIGENDIAN Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.types/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #ifdef HAVE_SYS_PARAM_H #include #endif int main() { #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN bogus endian macros #endif ; return 0; } Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.types/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.types/conftest.c Possible ERROR while running compiler: exit code 256 stderr: /tmp/petsc-Ymuwb2/config.types/conftest.c: In function ‘main’: /tmp/petsc-Ymuwb2/config.types/conftest.c:11:3: error: unknown type name ‘not’; did you mean ‘ino_t’? not big endian ^~~ ino_t /tmp/petsc-Ymuwb2/config.types/conftest.c:11:11: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘endian’ not big endian ^~~~~~ Source: #include "confdefs.h" #include "conffix.h" #include #ifdef HAVE_SYS_PARAM_H #include #endif int main() { #if BYTE_ORDER != BIG_ENDIAN not big endian #endif ; return 0; } ================================================================================ TEST checkSizeof from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:259) TESTING: checkSizeof from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:259) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: char Pushing language C Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.types/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif int main() { FILE *f = fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%lu\n", (unsigned long)sizeof(char)); ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.types/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.types/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Testing executable /tmp/petsc-Ymuwb2/config.types/conftest to see if it can be run Executing: /tmp/petsc-Ymuwb2/config.types/conftest Executing: /tmp/petsc-Ymuwb2/config.types/conftest Popping language C Defined "SIZEOF_CHAR" to "1" ================================================================================ TEST checkSizeof from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:259) TESTING: checkSizeof from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:259) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: void * Pushing language C Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.types/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif int main() { FILE *f = fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%lu\n", (unsigned long)sizeof(void *)); ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.types/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.types/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Testing executable /tmp/petsc-Ymuwb2/config.types/conftest to see if it can be run Executing: /tmp/petsc-Ymuwb2/config.types/conftest Executing: /tmp/petsc-Ymuwb2/config.types/conftest Popping language C Defined "SIZEOF_VOID_P" to "4" ================================================================================ TEST checkSizeof from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:259) TESTING: checkSizeof from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:259) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: short Pushing language C Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.types/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif int main() { FILE *f = fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%lu\n", (unsigned long)sizeof(short)); ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.types/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.types/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Testing executable /tmp/petsc-Ymuwb2/config.types/conftest to see if it can be run Executing: /tmp/petsc-Ymuwb2/config.types/conftest Executing: /tmp/petsc-Ymuwb2/config.types/conftest Popping language C Defined "SIZEOF_SHORT" to "2" ================================================================================ TEST checkSizeof from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:259) TESTING: checkSizeof from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:259) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: int Pushing language C Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.types/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif int main() { FILE *f = fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%lu\n", (unsigned long)sizeof(int)); ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.types/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.types/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Testing executable /tmp/petsc-Ymuwb2/config.types/conftest to see if it can be run Executing: /tmp/petsc-Ymuwb2/config.types/conftest Executing: /tmp/petsc-Ymuwb2/config.types/conftest Popping language C Defined "SIZEOF_INT" to "4" ================================================================================ TEST checkSizeof from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:259) TESTING: checkSizeof from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:259) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: long Pushing language C Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.types/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif int main() { FILE *f = fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%lu\n", (unsigned long)sizeof(long)); ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.types/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.types/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Testing executable /tmp/petsc-Ymuwb2/config.types/conftest to see if it can be run Executing: /tmp/petsc-Ymuwb2/config.types/conftest Executing: /tmp/petsc-Ymuwb2/config.types/conftest Popping language C Defined "SIZEOF_LONG" to "4" ================================================================================ TEST checkSizeof from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:259) TESTING: checkSizeof from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:259) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: long long Pushing language C Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.types/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif int main() { FILE *f = fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%lu\n", (unsigned long)sizeof(long long)); ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.types/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.types/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Testing executable /tmp/petsc-Ymuwb2/config.types/conftest to see if it can be run Executing: /tmp/petsc-Ymuwb2/config.types/conftest Executing: /tmp/petsc-Ymuwb2/config.types/conftest Popping language C Defined "SIZEOF_LONG_LONG" to "8" ================================================================================ TEST checkSizeof from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:259) TESTING: checkSizeof from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:259) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: float Pushing language C Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.types/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif int main() { FILE *f = fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%lu\n", (unsigned long)sizeof(float)); ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.types/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.types/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Testing executable /tmp/petsc-Ymuwb2/config.types/conftest to see if it can be run Executing: /tmp/petsc-Ymuwb2/config.types/conftest Executing: /tmp/petsc-Ymuwb2/config.types/conftest Popping language C Defined "SIZEOF_FLOAT" to "4" ================================================================================ TEST checkSizeof from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:259) TESTING: checkSizeof from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:259) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: double Pushing language C Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.types/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif int main() { FILE *f = fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%lu\n", (unsigned long)sizeof(double)); ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.types/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.types/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Testing executable /tmp/petsc-Ymuwb2/config.types/conftest to see if it can be run Executing: /tmp/petsc-Ymuwb2/config.types/conftest Executing: /tmp/petsc-Ymuwb2/config.types/conftest Popping language C Defined "SIZEOF_DOUBLE" to "8" ================================================================================ TEST checkSizeof from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:259) TESTING: checkSizeof from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:259) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: size_t Pushing language C Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.types/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif int main() { FILE *f = fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%lu\n", (unsigned long)sizeof(size_t)); ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.types/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.types/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Testing executable /tmp/petsc-Ymuwb2/config.types/conftest to see if it can be run Executing: /tmp/petsc-Ymuwb2/config.types/conftest Executing: /tmp/petsc-Ymuwb2/config.types/conftest Popping language C Defined "SIZEOF_SIZE_T" to "4" ================================================================================ TEST checkBitsPerByte from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:310) TESTING: checkBitsPerByte from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:310) Determine the nubmer of bits per byte and define BITS_PER_BYTE Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.types/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #if STDC_HEADERS #include #include #endif int main() { FILE *f = fopen("conftestval", "w"); char val[2]; int i = 0; if (!f) exit(1); val[0]='\1'; val[1]='\0'; while(val[0]) {val[0] <<= 1; i++;} fprintf(f, "%d\n", i); ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.types/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.types/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Testing executable /tmp/petsc-Ymuwb2/config.types/conftest to see if it can be run Executing: /tmp/petsc-Ymuwb2/config.types/conftest Executing: /tmp/petsc-Ymuwb2/config.types/conftest Defined "BITS_PER_BYTE" to "8" ================================================================================ TEST checkVisibility from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:356) TESTING: checkVisibility from config.types(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/types.py:356) Pushing language C Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.types/conftest.o -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { __attribute__((visibility ("default"))) int foo(void);; return 0; } Defined "USE_VISIBILITY_C" to "1" Popping language C Pushing language Cxx Executing: g++ -c -o /tmp/petsc-Ymuwb2/config.types/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.types -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.types/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { __attribute__((visibility ("default"))) int foo(void);; return 0; } Defined "USE_VISIBILITY_CXX" to "1" Popping language Cxx ================================================================================ TEST configureMemAlign from PETSc.options.memAlign(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/memAlign.py:30) TESTING: configureMemAlign from PETSc.options.memAlign(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/memAlign.py:30) Choose alignment Defined "MEMALIGN" to "16" Memory alignment is 16 ================================================================================ TEST check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [socket] in library ['socket', 'nsl'] [] Pushing language C Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.libraries/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.types -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char socket(); static void _check_socket() { socket(); } int main() { _check_socket();; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.libraries/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.libraries/conftest.o -lsocket -lnsl -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Possible ERROR while running linker: exit code 256 stderr: /usr/bin/ld: cannot find -lsocket collect2: error: ld returned 1 exit status Popping language C ================================================================================ TEST check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [handle_sigfpes] in library ['fpe'] [] Pushing language C Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.libraries/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.types -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char handle_sigfpes(); static void _check_handle_sigfpes() { handle_sigfpes(); } int main() { _check_handle_sigfpes();; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.libraries/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.libraries/conftest.o -lfpe -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Possible ERROR while running linker: exit code 256 stderr: /usr/bin/ld: cannot find -lfpe collect2: error: ld returned 1 exit status Popping language C ================================================================================ TEST check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [socket] in library ['socket', 'nsl'] [] Pushing language C Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.libraries/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.types -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char socket(); static void _check_socket() { socket(); } int main() { _check_socket();; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.libraries/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.libraries/conftest.o -lsocket -lnsl -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Possible ERROR while running linker: exit code 256 stderr: /usr/bin/ld: cannot find -lsocket collect2: error: ld returned 1 exit status Popping language C ================================================================================ TEST check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [handle_sigfpes] in library ['fpe'] [] Pushing language C Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.libraries/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.types -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char handle_sigfpes(); static void _check_handle_sigfpes() { handle_sigfpes(); } int main() { _check_handle_sigfpes();; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.libraries/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.libraries/conftest.o -lfpe -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Possible ERROR while running linker: exit code 256 stderr: /usr/bin/ld: cannot find -lfpe collect2: error: ld returned 1 exit status Popping language C ================================================================================ TEST checkMath from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:264) TESTING: checkMath from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:264) Check for sin() in libm, the math library Checking for functions [sin floor log10 pow] in library [''] [] Pushing language C Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.libraries/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.types -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.libraries/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-Ymuwb2/config.libraries/conftest.c: In function ‘_check_sin’: /tmp/petsc-Ymuwb2/config.libraries/conftest.c:6:40: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] static void _check_sin() { double x,y; scanf("%lf",&x); y = sin(x); printf("%f",y); ^~~~~~~~~~~~~~~ /tmp/petsc-Ymuwb2/config.libraries/conftest.c: In function ‘_check_floor’: /tmp/petsc-Ymuwb2/config.libraries/conftest.c:10:42: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] static void _check_floor() { double x,y; scanf("%lf",&x); y = floor(x); printf("%f",y); ^~~~~~~~~~~~~~~ /tmp/petsc-Ymuwb2/config.libraries/conftest.c: In function ‘_check_log10’: /tmp/petsc-Ymuwb2/config.libraries/conftest.c:14:42: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] static void _check_log10() { double x,y; scanf("%lf",&x); y = log10(x); printf("%f",y); ^~~~~~~~~~~~~~~ /tmp/petsc-Ymuwb2/config.libraries/conftest.c: In function ‘_check_pow’: /tmp/petsc-Ymuwb2/config.libraries/conftest.c:18:40: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] static void _check_pow() { double x,y; scanf("%lf",&x); y = pow(x,x); printf("%f",y); ^~~~~~~~~~~~~~~ Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include double sin(double); static void _check_sin() { double x,y; scanf("%lf",&x); y = sin(x); printf("%f",y); ; } #include double floor(double); static void _check_floor() { double x,y; scanf("%lf",&x); y = floor(x); printf("%f",y); ; } #include double log10(double); static void _check_log10() { double x,y; scanf("%lf",&x); y = log10(x); printf("%f",y); ; } #include double pow(double, double); static void _check_pow() { double x,y; scanf("%lf",&x); y = pow(x,x); printf("%f",y); ; } int main() { _check_sin(); _check_floor(); _check_log10(); _check_pow();; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.libraries/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.libraries/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-Ymuwb2/config.libraries/conftest.o: In function `_check_sin': /tmp/petsc-Ymuwb2/config.libraries/conftest.c:6: undefined reference to `sin' /tmp/petsc-Ymuwb2/config.libraries/conftest.o: In function `_check_log10': /tmp/petsc-Ymuwb2/config.libraries/conftest.c:14: undefined reference to `log10' /tmp/petsc-Ymuwb2/config.libraries/conftest.o: In function `_check_pow': /tmp/petsc-Ymuwb2/config.libraries/conftest.c:18: undefined reference to `pow' collect2: error: ld returned 1 exit status Popping language C Checking for functions [sin floor log10 pow] in library ['m'] [] Pushing language C Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.libraries/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.types -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.libraries/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-Ymuwb2/config.libraries/conftest.c: In function ‘_check_sin’: /tmp/petsc-Ymuwb2/config.libraries/conftest.c:6:40: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] static void _check_sin() { double x,y; scanf("%lf",&x); y = sin(x); printf("%f",y); ^~~~~~~~~~~~~~~ /tmp/petsc-Ymuwb2/config.libraries/conftest.c: In function ‘_check_floor’: /tmp/petsc-Ymuwb2/config.libraries/conftest.c:10:42: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] static void _check_floor() { double x,y; scanf("%lf",&x); y = floor(x); printf("%f",y); ^~~~~~~~~~~~~~~ /tmp/petsc-Ymuwb2/config.libraries/conftest.c: In function ‘_check_log10’: /tmp/petsc-Ymuwb2/config.libraries/conftest.c:14:42: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] static void _check_log10() { double x,y; scanf("%lf",&x); y = log10(x); printf("%f",y); ^~~~~~~~~~~~~~~ /tmp/petsc-Ymuwb2/config.libraries/conftest.c: In function ‘_check_pow’: /tmp/petsc-Ymuwb2/config.libraries/conftest.c:18:40: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] static void _check_pow() { double x,y; scanf("%lf",&x); y = pow(x,x); printf("%f",y); ^~~~~~~~~~~~~~~ Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include double sin(double); static void _check_sin() { double x,y; scanf("%lf",&x); y = sin(x); printf("%f",y); ; } #include double floor(double); static void _check_floor() { double x,y; scanf("%lf",&x); y = floor(x); printf("%f",y); ; } #include double log10(double); static void _check_log10() { double x,y; scanf("%lf",&x); y = log10(x); printf("%f",y); ; } #include double pow(double, double); static void _check_pow() { double x,y; scanf("%lf",&x); y = pow(x,x); printf("%f",y); ; } int main() { _check_sin(); _check_floor(); _check_log10(); _check_pow();; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.libraries/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.libraries/conftest.o -lm -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Defined "HAVE_LIBM" to "1" Popping language C CheckMath: using math library ['libm.a'] ================================================================================ TEST checkMathErf from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:283) TESTING: checkMathErf from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:283) Check for erf() in libm, the math library Checking for functions [erf] in library ['libm.a'] [] Pushing language C Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.libraries/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.types -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_erf() { double (*checkErf)(double) = erf;double x = 0,y; y = (*checkErf)(x); } int main() { _check_erf();; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.libraries/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.libraries/conftest.o -lm -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Defined "HAVE_LIBM" to "1" Popping language C erf() found Defined "HAVE_ERF" to "1" ================================================================================ TEST checkMathTgamma from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:292) TESTING: checkMathTgamma from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:292) Check for tgamma() in libm, the math library Checking for functions [tgamma] in library ['libm.a'] [] Pushing language C Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.libraries/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.types -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_tgamma() { double (*checkTgamma)(double) = tgamma;double x = 0,y; y = (*checkTgamma)(x); } int main() { _check_tgamma();; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.libraries/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.libraries/conftest.o -lm -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Defined "HAVE_LIBM" to "1" Popping language C tgamma() found Defined "HAVE_TGAMMA" to "1" ================================================================================ TEST checkMathFenv from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:301) TESTING: checkMathFenv from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:301) Checks if can be used with FE_DFL_ENV Checking for functions [fesetenv] in library ['libm.a'] [] Pushing language C Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.libraries/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.types -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_fesetenv() { fesetenv(FE_DFL_ENV);; } int main() { _check_fesetenv();; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.libraries/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.libraries/conftest.o -lm -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Defined "HAVE_LIBM" to "1" Popping language C Defined "HAVE_FENV_H" to "1" ================================================================================ TEST checkMathLog2 from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:309) TESTING: checkMathLog2 from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:309) Check for log2() in libm, the math library Checking for functions [log2] in library ['libm.a'] [] Pushing language C Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.libraries/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.types -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_log2() { double (*checkLog2)(double) = log2; double x = 2.5, y = (*checkLog2)(x); } int main() { _check_log2();; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.libraries/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.libraries/conftest.o -lm -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Defined "HAVE_LIBM" to "1" Popping language C log2() found Defined "HAVE_LOG2" to "1" ================================================================================ TEST checkRealtime from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:318) TESTING: checkRealtime from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:318) Check for presence of clock_gettime() in realtime library (POSIX Realtime extensions) Checking for functions [clock_gettime] in library [''] [] Pushing language C Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.libraries/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.types -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_clock_gettime() { struct timespec tp; clock_gettime(CLOCK_REALTIME,&tp);; } int main() { _check_clock_gettime();; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.libraries/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.libraries/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Popping language C realtime functions are linked in by default ================================================================================ TEST checkDynamic from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:334) TESTING: checkDynamic from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:334) Check for the header and libraries necessary for dynamic library manipulation Checking for functions [dlopen] in library ['dl'] [] Pushing language C Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.libraries/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.types -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char dlopen(); static void _check_dlopen() { dlopen(); } int main() { _check_dlopen();; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.libraries/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.libraries/conftest.o -ldl -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Defined "HAVE_LIBDL" to "1" Popping language C Checking for header: dlfcn.h Executing: gcc -E -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.headers -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/usr/include/dlfcn.h" 1 3 4 # 22 "/usr/include/dlfcn.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 364 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/sys/cdefs.h" 1 3 4 # 415 "/usr/include/i386-linux-gnu/sys/cdefs.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 416 "/usr/include/i386-linux-gnu/sys/cdefs.h" 2 3 4 # 365 "/usr/include/features.h" 2 3 4 # 388 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs.h" 1 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs-32.h" 1 3 4 # 8 "/usr/include/i386-linux-gnu/gnu/stubs.h" 2 3 4 # 389 "/usr/include/features.h" 2 3 4 # 23 "/usr/include/dlfcn.h" 2 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 216 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 3 4 # 216 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 3 4 typedef unsigned int size_t; # 25 "/usr/include/dlfcn.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/dlfcn.h" 1 3 4 # 28 "/usr/include/dlfcn.h" 2 3 4 # 52 "/usr/include/dlfcn.h" 3 4 extern void *dlopen (const char *__file, int __mode) __attribute__ ((__nothrow__)); extern int dlclose (void *__handle) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern void *dlsym (void *__restrict __handle, const char *__restrict __name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); # 82 "/usr/include/dlfcn.h" 3 4 extern char *dlerror (void) __attribute__ ((__nothrow__ , __leaf__)); # 188 "/usr/include/dlfcn.h" 3 4 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_DLFCN_H" to "1" ================================================================================ TEST configureLibraryOptions from PETSc.options.libraryOptions(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/libraryOptions.py:37) TESTING: configureLibraryOptions from PETSc.options.libraryOptions(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/libraryOptions.py:37) Sets PETSC_USE_DEBUG, PETSC_USE_INFO, PETSC_USE_LOG, PETSC_USE_CTABLE and PETSC_USE_FORTRAN_KERNELS Defined "USE_LOG" to "1" Defined "USE_DEBUG" to "1" Defined "USE_INFO" to "1" Defined "USE_CTABLE" to "1" Defined "USE_BACKWARD_LOOP" to "1" **********Checking if running on BGL/IBM detected Checking for functions [bgl_perfctr_void] in library [''] [] Pushing language C Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.libraries/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.types -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char bgl_perfctr_void(); static void _check_bgl_perfctr_void() { bgl_perfctr_void(); } int main() { _check_bgl_perfctr_void();; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.libraries/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.libraries/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-Ymuwb2/config.libraries/conftest.o: In function `_check_bgl_perfctr_void': /tmp/petsc-Ymuwb2/config.libraries/conftest.c:5: undefined reference to `bgl_perfctr_void' collect2: error: ld returned 1 exit status Popping language C Checking for functions [ADIOI_BGL_Open] in library [''] [] Pushing language C Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.libraries/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.types -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char ADIOI_BGL_Open(); static void _check_ADIOI_BGL_Open() { ADIOI_BGL_Open(); } int main() { _check_ADIOI_BGL_Open();; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.libraries/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.libraries/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-Ymuwb2/config.libraries/conftest.o: In function `_check_ADIOI_BGL_Open': /tmp/petsc-Ymuwb2/config.libraries/conftest.c:5: undefined reference to `ADIOI_BGL_Open' collect2: error: ld returned 1 exit status Popping language C *********BGL/IBM test failure Defined "Alignx(a,b)" to " " ================================================================================ TEST configureISColorValueType from PETSc.options.libraryOptions(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/libraryOptions.py:91) TESTING: configureISColorValueType from PETSc.options.libraryOptions(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/libraryOptions.py:91) Sets PETSC_IS_COLOR_VALUE_TYPE, MPIU_COLORING_VALUE, IS_COLORING_MAX required by ISColor Defined "MPIU_COLORING_VALUE" to "MPI_UNSIGNED_SHORT" Defined "IS_COLORING_MAX" to "65535" Defined "IS_COLOR_VALUE_TYPE" to "short" Defined "IS_COLOR_VALUE_TYPE_F" to "integer2" ================================================================================ TEST configureCPURelax from config.atomics(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/atomics.py:17) TESTING: configureCPURelax from config.atomics(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/atomics.py:17) Definitions for cpu relax assembly instructions All intermediate test results are stored in /tmp/petsc-Ymuwb2/config.atomics Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.atomics/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.types -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.atomics/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { asm volatile("rep; nop" ::: "memory");; return 0; } Defined "CPU_RELAX()" to "asm volatile("rep; nop" ::: "memory")" ================================================================================ TEST configureMemoryBarriers from config.atomics(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/atomics.py:36) TESTING: configureMemoryBarriers from config.atomics(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/atomics.py:36) Definitions for memory barrier instructions Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.atomics/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.atomics/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { asm volatile("mfence":::"memory"); return 0; } Defined "MEMORY_BARRIER()" to "asm volatile("mfence":::"memory")" Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.atomics/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.atomics/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { asm volatile("lfence":::"memory"); return 0; } Defined "READ_MEMORY_BARRIER()" to "asm volatile("lfence":::"memory")" Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.atomics/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.atomics/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { asm volatile("sfence":::"memory"); return 0; } Defined "WRITE_MEMORY_BARRIER()" to "asm volatile("sfence":::"memory")" ================================================================================ TEST checkMemcmp from config.functions(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/functions.py:110) TESTING: checkMemcmp from config.functions(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/functions.py:110) Check for 8-bit clean memcmp Making executable to test memcmp() All intermediate test results are stored in /tmp/petsc-Ymuwb2/config.functions Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.functions/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.atomics -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include void exit(int); int main() { char c0 = 0x40; char c1 = (char) 0x80; char c2 = (char) 0x81; exit(memcmp(&c0, &c2, 1) < 0 && memcmp(&c1, &c2, 1) < 0 ? 0 : 1); ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.functions/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.functions/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Testing executable /tmp/petsc-Ymuwb2/config.functions/conftest to see if it can be run Executing: /tmp/petsc-Ymuwb2/config.functions/conftest Executing: /tmp/petsc-Ymuwb2/config.functions/conftest ================================================================================ TEST checkSysinfo from config.functions(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/functions.py:135) TESTING: checkSysinfo from config.functions(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/functions.py:135) Check whether sysinfo takes three arguments, and if it does define HAVE_SYSINFO_3ARG Checking for functions [sysinfo] Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.functions/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char sysinfo(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_sysinfo) || defined (__stub___sysinfo) sysinfo_will_always_fail_with_ENOSYS(); #else sysinfo(); #endif ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.functions/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.functions/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Defined "HAVE_SYSINFO" to "1" Checking for header: linux/kernel.h Executing: gcc -E -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.headers -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/usr/include/linux/kernel.h" 1 3 4 # 1 "/usr/include/linux/sysinfo.h" 1 3 4 # 1 "/usr/include/linux/types.h" 1 3 4 # 1 "/usr/include/i386-linux-gnu/asm/types.h" 1 3 4 # 1 "/usr/include/asm-generic/types.h" 1 3 4 # 1 "/usr/include/asm-generic/int-ll64.h" 1 3 4 # 11 "/usr/include/asm-generic/int-ll64.h" 3 4 # 1 "/usr/include/i386-linux-gnu/asm/bitsperlong.h" 1 3 4 # 10 "/usr/include/i386-linux-gnu/asm/bitsperlong.h" 3 4 # 1 "/usr/include/asm-generic/bitsperlong.h" 1 3 4 # 11 "/usr/include/i386-linux-gnu/asm/bitsperlong.h" 2 3 4 # 12 "/usr/include/asm-generic/int-ll64.h" 2 3 4 # 19 "/usr/include/asm-generic/int-ll64.h" 3 4 typedef __signed__ char __s8; typedef unsigned char __u8; typedef __signed__ short __s16; typedef unsigned short __u16; typedef __signed__ int __s32; typedef unsigned int __u32; __extension__ typedef __signed__ long long __s64; __extension__ typedef unsigned long long __u64; # 7 "/usr/include/asm-generic/types.h" 2 3 4 # 5 "/usr/include/i386-linux-gnu/asm/types.h" 2 3 4 # 5 "/usr/include/linux/types.h" 2 3 4 # 1 "/usr/include/linux/posix_types.h" 1 3 4 # 1 "/usr/include/linux/stddef.h" 1 3 4 # 5 "/usr/include/linux/posix_types.h" 2 3 4 # 24 "/usr/include/linux/posix_types.h" 3 4 typedef struct { unsigned long fds_bits[1024 / (8 * sizeof(long))]; } __kernel_fd_set; typedef void (*__kernel_sighandler_t)(int); typedef int __kernel_key_t; typedef int __kernel_mqd_t; # 1 "/usr/include/i386-linux-gnu/asm/posix_types.h" 1 3 4 # 1 "/usr/include/i386-linux-gnu/asm/posix_types_32.h" 1 3 4 # 10 "/usr/include/i386-linux-gnu/asm/posix_types_32.h" 3 4 typedef unsigned short __kernel_mode_t; typedef unsigned short __kernel_ipc_pid_t; typedef unsigned short __kernel_uid_t; typedef unsigned short __kernel_gid_t; typedef unsigned short __kernel_old_dev_t; # 1 "/usr/include/asm-generic/posix_types.h" 1 3 4 # 14 "/usr/include/asm-generic/posix_types.h" 3 4 typedef long __kernel_long_t; typedef unsigned long __kernel_ulong_t; typedef __kernel_ulong_t __kernel_ino_t; typedef int __kernel_pid_t; # 40 "/usr/include/asm-generic/posix_types.h" 3 4 typedef __kernel_long_t __kernel_suseconds_t; typedef int __kernel_daddr_t; typedef unsigned int __kernel_uid32_t; typedef unsigned int __kernel_gid32_t; typedef __kernel_uid_t __kernel_old_uid_t; typedef __kernel_gid_t __kernel_old_gid_t; # 67 "/usr/include/asm-generic/posix_types.h" 3 4 typedef unsigned int __kernel_size_t; typedef int __kernel_ssize_t; typedef int __kernel_ptrdiff_t; # 78 "/usr/include/asm-generic/posix_types.h" 3 4 typedef struct { int val[2]; } __kernel_fsid_t; typedef __kernel_long_t __kernel_off_t; typedef long long __kernel_loff_t; typedef __kernel_long_t __kernel_time_t; typedef __kernel_long_t __kernel_clock_t; typedef int __kernel_timer_t; typedef int __kernel_clockid_t; typedef char * __kernel_caddr_t; typedef unsigned short __kernel_uid16_t; typedef unsigned short __kernel_gid16_t; # 24 "/usr/include/i386-linux-gnu/asm/posix_types_32.h" 2 3 4 # 3 "/usr/include/i386-linux-gnu/asm/posix_types.h" 2 3 4 # 36 "/usr/include/linux/posix_types.h" 2 3 4 # 9 "/usr/include/linux/types.h" 2 3 4 # 23 "/usr/include/linux/types.h" 3 4 typedef __u16 __le16; typedef __u16 __be16; typedef __u32 __le32; typedef __u32 __be32; typedef __u64 __le64; typedef __u64 __be64; typedef __u16 __sum16; typedef __u32 __wsum; # 5 "/usr/include/linux/sysinfo.h" 2 3 4 struct sysinfo { __kernel_long_t uptime; __kernel_ulong_t loads[3]; __kernel_ulong_t totalram; __kernel_ulong_t freeram; __kernel_ulong_t sharedram; __kernel_ulong_t bufferram; __kernel_ulong_t totalswap; __kernel_ulong_t freeswap; __u16 procs; __u16 pad; __kernel_ulong_t totalhigh; __kernel_ulong_t freehigh; __u32 mem_unit; char _f[20-2*sizeof(__kernel_ulong_t)-sizeof(__u32)]; }; # 5 "/usr/include/linux/kernel.h" 2 3 4 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_LINUX_KERNEL_H" to "1" Checking for header: sys/sysinfo.h Executing: gcc -E -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.headers -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/usr/include/i386-linux-gnu/sys/sysinfo.h" 1 3 4 # 21 "/usr/include/i386-linux-gnu/sys/sysinfo.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 364 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/sys/cdefs.h" 1 3 4 # 415 "/usr/include/i386-linux-gnu/sys/cdefs.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 416 "/usr/include/i386-linux-gnu/sys/cdefs.h" 2 3 4 # 365 "/usr/include/features.h" 2 3 4 # 388 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs.h" 1 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs-32.h" 1 3 4 # 8 "/usr/include/i386-linux-gnu/gnu/stubs.h" 2 3 4 # 389 "/usr/include/features.h" 2 3 4 # 22 "/usr/include/i386-linux-gnu/sys/sysinfo.h" 2 3 4 # 1 "/usr/include/linux/kernel.h" 1 3 4 # 1 "/usr/include/linux/sysinfo.h" 1 3 4 # 1 "/usr/include/linux/types.h" 1 3 4 # 1 "/usr/include/i386-linux-gnu/asm/types.h" 1 3 4 # 1 "/usr/include/asm-generic/types.h" 1 3 4 # 1 "/usr/include/asm-generic/int-ll64.h" 1 3 4 # 11 "/usr/include/asm-generic/int-ll64.h" 3 4 # 1 "/usr/include/i386-linux-gnu/asm/bitsperlong.h" 1 3 4 # 10 "/usr/include/i386-linux-gnu/asm/bitsperlong.h" 3 4 # 1 "/usr/include/asm-generic/bitsperlong.h" 1 3 4 # 11 "/usr/include/i386-linux-gnu/asm/bitsperlong.h" 2 3 4 # 12 "/usr/include/asm-generic/int-ll64.h" 2 3 4 # 19 "/usr/include/asm-generic/int-ll64.h" 3 4 typedef __signed__ char __s8; typedef unsigned char __u8; typedef __signed__ short __s16; typedef unsigned short __u16; typedef __signed__ int __s32; typedef unsigned int __u32; __extension__ typedef __signed__ long long __s64; __extension__ typedef unsigned long long __u64; # 7 "/usr/include/asm-generic/types.h" 2 3 4 # 5 "/usr/include/i386-linux-gnu/asm/types.h" 2 3 4 # 5 "/usr/include/linux/types.h" 2 3 4 # 1 "/usr/include/linux/posix_types.h" 1 3 4 # 1 "/usr/include/linux/stddef.h" 1 3 4 # 5 "/usr/include/linux/posix_types.h" 2 3 4 # 24 "/usr/include/linux/posix_types.h" 3 4 typedef struct { unsigned long fds_bits[1024 / (8 * sizeof(long))]; } __kernel_fd_set; typedef void (*__kernel_sighandler_t)(int); typedef int __kernel_key_t; typedef int __kernel_mqd_t; # 1 "/usr/include/i386-linux-gnu/asm/posix_types.h" 1 3 4 # 1 "/usr/include/i386-linux-gnu/asm/posix_types_32.h" 1 3 4 # 10 "/usr/include/i386-linux-gnu/asm/posix_types_32.h" 3 4 typedef unsigned short __kernel_mode_t; typedef unsigned short __kernel_ipc_pid_t; typedef unsigned short __kernel_uid_t; typedef unsigned short __kernel_gid_t; typedef unsigned short __kernel_old_dev_t; # 1 "/usr/include/asm-generic/posix_types.h" 1 3 4 # 14 "/usr/include/asm-generic/posix_types.h" 3 4 typedef long __kernel_long_t; typedef unsigned long __kernel_ulong_t; typedef __kernel_ulong_t __kernel_ino_t; typedef int __kernel_pid_t; # 40 "/usr/include/asm-generic/posix_types.h" 3 4 typedef __kernel_long_t __kernel_suseconds_t; typedef int __kernel_daddr_t; typedef unsigned int __kernel_uid32_t; typedef unsigned int __kernel_gid32_t; typedef __kernel_uid_t __kernel_old_uid_t; typedef __kernel_gid_t __kernel_old_gid_t; # 67 "/usr/include/asm-generic/posix_types.h" 3 4 typedef unsigned int __kernel_size_t; typedef int __kernel_ssize_t; typedef int __kernel_ptrdiff_t; # 78 "/usr/include/asm-generic/posix_types.h" 3 4 typedef struct { int val[2]; } __kernel_fsid_t; typedef __kernel_long_t __kernel_off_t; typedef long long __kernel_loff_t; typedef __kernel_long_t __kernel_time_t; typedef __kernel_long_t __kernel_clock_t; typedef int __kernel_timer_t; typedef int __kernel_clockid_t; typedef char * __kernel_caddr_t; typedef unsigned short __kernel_uid16_t; typedef unsigned short __kernel_gid16_t; # 24 "/usr/include/i386-linux-gnu/asm/posix_types_32.h" 2 3 4 # 3 "/usr/include/i386-linux-gnu/asm/posix_types.h" 2 3 4 # 36 "/usr/include/linux/posix_types.h" 2 3 4 # 9 "/usr/include/linux/types.h" 2 3 4 # 23 "/usr/include/linux/types.h" 3 4 typedef __u16 __le16; typedef __u16 __be16; typedef __u32 __le32; typedef __u32 __be32; typedef __u64 __le64; typedef __u64 __be64; typedef __u16 __sum16; typedef __u32 __wsum; # 5 "/usr/include/linux/sysinfo.h" 2 3 4 struct sysinfo { __kernel_long_t uptime; __kernel_ulong_t loads[3]; __kernel_ulong_t totalram; __kernel_ulong_t freeram; __kernel_ulong_t sharedram; __kernel_ulong_t bufferram; __kernel_ulong_t totalswap; __kernel_ulong_t freeswap; __u16 procs; __u16 pad; __kernel_ulong_t totalhigh; __kernel_ulong_t freehigh; __u32 mem_unit; char _f[20-2*sizeof(__kernel_ulong_t)-sizeof(__u32)]; }; # 5 "/usr/include/linux/kernel.h" 2 3 4 # 25 "/usr/include/i386-linux-gnu/sys/sysinfo.h" 2 3 4 extern int sysinfo (struct sysinfo *__info) __attribute__ ((__nothrow__ , __leaf__)); extern int get_nprocs_conf (void) __attribute__ ((__nothrow__ , __leaf__)); extern int get_nprocs (void) __attribute__ ((__nothrow__ , __leaf__)); extern long int get_phys_pages (void) __attribute__ ((__nothrow__ , __leaf__)); extern long int get_avphys_pages (void) __attribute__ ((__nothrow__ , __leaf__)); # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Defined "HAVE_SYS_SYSINFO_H" to "1" Checking for header: sys/systeminfo.h Executing: gcc -E -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.headers -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 Possible ERROR while running preprocessor: exit code 256 stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2stderr: /tmp/petsc-Ymuwb2/config.headers/conftest.c:3:10: fatal error: sys/systeminfo.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess stderr before filtering:/tmp/petsc-Ymuwb2/config.headers/conftest.c:3:10: fatal error: sys/systeminfo.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. : Preprocess stderr after filtering:/tmp/petsc-Ymuwb2/config.headers/conftest.c:3:10: fatal error: sys/systeminfo.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~compilation terminated.: Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.functions/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.functions/conftest.c Possible ERROR while running compiler: exit code 256 stderr: /tmp/petsc-Ymuwb2/config.functions/conftest.c:13:4: error: #error "Cannot check sysinfo without special headers" # error "Cannot check sysinfo without special headers" ^~~~~ /tmp/petsc-Ymuwb2/config.functions/conftest.c: In function ‘main’: /tmp/petsc-Ymuwb2/config.functions/conftest.c:17:30: warning: implicit declaration of function ‘sysinfo’ [-Wimplicit-function-declaration] char buf[10]; long count=10; sysinfo(1, buf, count); ^~~~~~~ Source: #include "confdefs.h" #include "conffix.h" #ifdef HAVE_LINUX_KERNEL_H # include # include # ifdef HAVE_SYS_SYSINFO_H # include # endif #elif defined(HAVE_SYS_SYSTEMINFO_H) # include #else # error "Cannot check sysinfo without special headers" #endif int main() { char buf[10]; long count=10; sysinfo(1, buf, count); ; return 0; } Compile failed inside link ================================================================================ TEST checkVPrintf from config.functions(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/functions.py:158) TESTING: checkVPrintf from config.functions(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/functions.py:158) Checks whether vprintf requires a char * last argument, and if it does defines HAVE_VPRINTF_CHAR Checking for functions [vprintf] Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.functions/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.functions/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-Ymuwb2/config.functions/conftest.c:13:6: warning: conflicting types for built-in function ‘vprintf’ [-Wbuiltin-declaration-mismatch] char vprintf(); ^~~~~~~ Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char vprintf(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_vprintf) || defined (__stub___vprintf) vprintf_will_always_fail_with_ENOSYS(); #else vprintf(); #endif ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.functions/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.functions/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Defined "HAVE_VPRINTF" to "1" Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.functions/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include int main() { va_list Argp; vprintf( "%d", Argp ); ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.functions/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.functions/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl ================================================================================ TEST checkVFPrintf from config.functions(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/functions.py:165) TESTING: checkVFPrintf from config.functions(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/functions.py:165) Checks whether vfprintf requires a char * last argument, and if it does defines HAVE_VFPRINTF_CHAR Checking for functions [vfprintf] Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.functions/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.functions/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-Ymuwb2/config.functions/conftest.c:13:6: warning: conflicting types for built-in function ‘vfprintf’ [-Wbuiltin-declaration-mismatch] char vfprintf(); ^~~~~~~~ Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char vfprintf(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_vfprintf) || defined (__stub___vfprintf) vfprintf_will_always_fail_with_ENOSYS(); #else vfprintf(); #endif ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.functions/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.functions/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Defined "HAVE_VFPRINTF" to "1" Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.functions/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include int main() { va_list Argp; vfprintf(stdout, "%d", Argp ); ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.functions/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.functions/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl ================================================================================ TEST checkVSNPrintf from config.functions(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/functions.py:172) TESTING: checkVSNPrintf from config.functions(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/functions.py:172) Checks whether vsnprintf requires a char * last argument, and if it does defines HAVE_VSNPRINTF_CHAR Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.functions/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.functions/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-Ymuwb2/config.functions/conftest.c: In function ‘main’: /tmp/petsc-Ymuwb2/config.functions/conftest.c:6:1: warning: implicit declaration of function ‘_vsnprintf’; did you mean ‘vsnprintf’? [-Wimplicit-function-declaration] _vsnprintf(0,0,0,0); ^~~~~~~~~~ vsnprintf Source: #include "confdefs.h" #include "conffix.h" #include int main() { _vsnprintf(0,0,0,0); ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.functions/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.functions/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-Ymuwb2/config.functions/conftest.o: In function `main': /tmp/petsc-Ymuwb2/config.functions/conftest.c:6: undefined reference to `_vsnprintf' collect2: error: ld returned 1 exit status Checking for functions [vsnprintf] Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.functions/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.functions/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-Ymuwb2/config.functions/conftest.c:13:6: warning: conflicting types for built-in function ‘vsnprintf’ [-Wbuiltin-declaration-mismatch] char vsnprintf(); ^~~~~~~~~ Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char vsnprintf(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_vsnprintf) || defined (__stub___vsnprintf) vsnprintf_will_always_fail_with_ENOSYS(); #else vsnprintf(); #endif ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.functions/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.functions/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Defined "HAVE_VSNPRINTF" to "1" Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.functions/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include int main() { va_list Argp;char str[6]; vsnprintf(str,5, "%d", Argp ); ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.functions/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.functions/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl ================================================================================ TEST checkNanosleep from config.functions(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/functions.py:206) TESTING: checkNanosleep from config.functions(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/functions.py:206) Check for functional nanosleep() - as time.h behaves differently for different compiler flags - like -std=c89 Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.functions/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { struct timespec tp; tp.tv_sec = 0; tp.tv_nsec = (long)(1e9); nanosleep(&tp,0); ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.functions/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.functions/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Defined "HAVE_NANOSLEEP" to "1" ================================================================================ TEST checkSignalHandlerType from config.functions(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/functions.py:182) TESTING: checkSignalHandlerType from config.functions(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/functions.py:182) Checks the type of C++ signals handlers, and defines SIGNAL_CAST to the correct value Pushing language Cxx Executing: g++ -c -o /tmp/petsc-Ymuwb2/config.functions/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.functions -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.functions/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include static void myhandler(int sig) {} int main() { signal(SIGFPE,myhandler); ; return 0; } Pushing language CXX Popping language CXX Executing: g++ -o /tmp/petsc-Ymuwb2/config.functions/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -Wl,--no-as-needed -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.functions/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Defined "SIGNAL_CAST" to " " Popping language Cxx ================================================================================ TEST checkFreeReturnType from config.functions(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/functions.py:192) TESTING: checkFreeReturnType from config.functions(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/functions.py:192) Checks whether free returns void or int, and defines HAVE_FREE_RETURN_INT Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.functions/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.functions/conftest.c Possible ERROR while running compiler: exit code 256 stderr: /tmp/petsc-Ymuwb2/config.functions/conftest.c: In function ‘main’: /tmp/petsc-Ymuwb2/config.functions/conftest.c:6:25: error: void value not ignored as it ought to be int ierr; void *p; ierr = free(p); return 0; ^ Source: #include "confdefs.h" #include "conffix.h" #include int main() { int ierr; void *p; ierr = free(p); return 0; ; return 0; } Compile failed inside link ================================================================================ TEST checkVariableArgumentLists from config.functions(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/functions.py:198) TESTING: checkVariableArgumentLists from config.functions(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/functions.py:198) Checks whether the variable argument list functionality is working Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.functions/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { va_list l1, l2; va_copy(l1, l2); return 0; ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.functions/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.functions/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Defined "HAVE_VA_COPY" to "1" ================================================================================ TEST checkClassify from config.functions(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/functions.py:89) TESTING: checkClassify from config.functions(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/functions.py:89) Recursive decompose to rapidly classify functions as found or missing To confirm that a function is missing, we require a compile/link failure with only that function in a compilation unit. In contrast, we can confirm that many functions are present by compiling them all together in a large compilation unit. We optimistically compile everything together, then trim all functions that were named in the error message and bisect the result. The trimming is only an optimization to increase the likelihood of a big-batch compile succeeding; we do not rely on the compiler naming missing functions. Checking for functions [rand getdomainname _sleep snprintf realpath dlsym bzero _getcwd getwd uname _lseek sleep _access lseek usleep dlclose gethostname clock get_nprocs access _snprintf dlerror mkstemp fork getpagesize sbreak memalign sigset getcwd gethostbyname gettimeofday readlink _set_output_format PXFGETARG sigaction strcasecmp dlopen drand48 socket memmove signal popen getrusage times _mkdir time sysctlbyname stricmp] Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.functions/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.functions/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-Ymuwb2/config.functions/conftest.c:16:6: warning: conflicting types for built-in function ‘snprintf’ [-Wbuiltin-declaration-mismatch] char snprintf(); ^~~~~~~~ /tmp/petsc-Ymuwb2/config.functions/conftest.c:19:6: warning: conflicting types for built-in function ‘bzero’ [-Wbuiltin-declaration-mismatch] char bzero(); ^~~~~ /tmp/petsc-Ymuwb2/config.functions/conftest.c:36:6: warning: conflicting types for built-in function ‘fork’ [-Wbuiltin-declaration-mismatch] char fork(); ^~~~ /tmp/petsc-Ymuwb2/config.functions/conftest.c:48:6: warning: conflicting types for built-in function ‘strcasecmp’ [-Wbuiltin-declaration-mismatch] char strcasecmp(); ^~~~~~~~~~ /tmp/petsc-Ymuwb2/config.functions/conftest.c:52:6: warning: conflicting types for built-in function ‘memmove’ [-Wbuiltin-declaration-mismatch] char memmove(); ^~~~~~~ Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char rand(); char getdomainname(); char _sleep(); char snprintf(); char realpath(); char dlsym(); char bzero(); char _getcwd(); char getwd(); char uname(); char _lseek(); char sleep(); char _access(); char lseek(); char usleep(); char dlclose(); char gethostname(); char clock(); char get_nprocs(); char access(); char _snprintf(); char dlerror(); char mkstemp(); char fork(); char getpagesize(); char sbreak(); char memalign(); char sigset(); char getcwd(); char gethostbyname(); char gettimeofday(); char readlink(); char _set_output_format(); char PXFGETARG(); char sigaction(); char strcasecmp(); char dlopen(); char drand48(); char socket(); char memmove(); char signal(); char popen(); char getrusage(); char times(); char _mkdir(); char time(); char sysctlbyname(); char stricmp(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_rand) || defined (__stub___rand) rand_will_always_fail_with_ENOSYS(); #else rand(); #endif #if defined (__stub_getdomainname) || defined (__stub___getdomainname) getdomainname_will_always_fail_with_ENOSYS(); #else getdomainname(); #endif #if defined (__stub__sleep) || defined (__stub____sleep) _sleep_will_always_fail_with_ENOSYS(); #else _sleep(); #endif #if defined (__stub_snprintf) || defined (__stub___snprintf) snprintf_will_always_fail_with_ENOSYS(); #else snprintf(); #endif #if defined (__stub_realpath) || defined (__stub___realpath) realpath_will_always_fail_with_ENOSYS(); #else realpath(); #endif #if defined (__stub_dlsym) || defined (__stub___dlsym) dlsym_will_always_fail_with_ENOSYS(); #else dlsym(); #endif #if defined (__stub_bzero) || defined (__stub___bzero) bzero_will_always_fail_with_ENOSYS(); #else bzero(); #endif #if defined (__stub__getcwd) || defined (__stub____getcwd) _getcwd_will_always_fail_with_ENOSYS(); #else _getcwd(); #endif #if defined (__stub_getwd) || defined (__stub___getwd) getwd_will_always_fail_with_ENOSYS(); #else getwd(); #endif #if defined (__stub_uname) || defined (__stub___uname) uname_will_always_fail_with_ENOSYS(); #else uname(); #endif #if defined (__stub__lseek) || defined (__stub____lseek) _lseek_will_always_fail_with_ENOSYS(); #else _lseek(); #endif #if defined (__stub_sleep) || defined (__stub___sleep) sleep_will_always_fail_with_ENOSYS(); #else sleep(); #endif #if defined (__stub__access) || defined (__stub____access) _access_will_always_fail_with_ENOSYS(); #else _access(); #endif #if defined (__stub_lseek) || defined (__stub___lseek) lseek_will_always_fail_with_ENOSYS(); #else lseek(); #endif #if defined (__stub_usleep) || defined (__stub___usleep) usleep_will_always_fail_with_ENOSYS(); #else usleep(); #endif #if defined (__stub_dlclose) || defined (__stub___dlclose) dlclose_will_always_fail_with_ENOSYS(); #else dlclose(); #endif #if defined (__stub_gethostname) || defined (__stub___gethostname) gethostname_will_always_fail_with_ENOSYS(); #else gethostname(); #endif #if defined (__stub_clock) || defined (__stub___clock) clock_will_always_fail_with_ENOSYS(); #else clock(); #endif #if defined (__stub_get_nprocs) || defined (__stub___get_nprocs) get_nprocs_will_always_fail_with_ENOSYS(); #else get_nprocs(); #endif #if defined (__stub_access) || defined (__stub___access) access_will_always_fail_with_ENOSYS(); #else access(); #endif #if defined (__stub__snprintf) || defined (__stub____snprintf) _snprintf_will_always_fail_with_ENOSYS(); #else _snprintf(); #endif #if defined (__stub_dlerror) || defined (__stub___dlerror) dlerror_will_always_fail_with_ENOSYS(); #else dlerror(); #endif #if defined (__stub_mkstemp) || defined (__stub___mkstemp) mkstemp_will_always_fail_with_ENOSYS(); #else mkstemp(); #endif #if defined (__stub_fork) || defined (__stub___fork) fork_will_always_fail_with_ENOSYS(); #else fork(); #endif #if defined (__stub_getpagesize) || defined (__stub___getpagesize) getpagesize_will_always_fail_with_ENOSYS(); #else getpagesize(); #endif #if defined (__stub_sbreak) || defined (__stub___sbreak) sbreak_will_always_fail_with_ENOSYS(); #else sbreak(); #endif #if defined (__stub_memalign) || defined (__stub___memalign) memalign_will_always_fail_with_ENOSYS(); #else memalign(); #endif #if defined (__stub_sigset) || defined (__stub___sigset) sigset_will_always_fail_with_ENOSYS(); #else sigset(); #endif #if defined (__stub_getcwd) || defined (__stub___getcwd) getcwd_will_always_fail_with_ENOSYS(); #else getcwd(); #endif #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) gethostbyname_will_always_fail_with_ENOSYS(); #else gethostbyname(); #endif #if defined (__stub_gettimeofday) || defined (__stub___gettimeofday) gettimeofday_will_always_fail_with_ENOSYS(); #else gettimeofday(); #endif #if defined (__stub_readlink) || defined (__stub___readlink) readlink_will_always_fail_with_ENOSYS(); #else readlink(); #endif #if defined (__stub__set_output_format) || defined (__stub____set_output_format) _set_output_format_will_always_fail_with_ENOSYS(); #else _set_output_format(); #endif #if defined (__stub_PXFGETARG) || defined (__stub___PXFGETARG) PXFGETARG_will_always_fail_with_ENOSYS(); #else PXFGETARG(); #endif #if defined (__stub_sigaction) || defined (__stub___sigaction) sigaction_will_always_fail_with_ENOSYS(); #else sigaction(); #endif #if defined (__stub_strcasecmp) || defined (__stub___strcasecmp) strcasecmp_will_always_fail_with_ENOSYS(); #else strcasecmp(); #endif #if defined (__stub_dlopen) || defined (__stub___dlopen) dlopen_will_always_fail_with_ENOSYS(); #else dlopen(); #endif #if defined (__stub_drand48) || defined (__stub___drand48) drand48_will_always_fail_with_ENOSYS(); #else drand48(); #endif #if defined (__stub_socket) || defined (__stub___socket) socket_will_always_fail_with_ENOSYS(); #else socket(); #endif #if defined (__stub_memmove) || defined (__stub___memmove) memmove_will_always_fail_with_ENOSYS(); #else memmove(); #endif #if defined (__stub_signal) || defined (__stub___signal) signal_will_always_fail_with_ENOSYS(); #else signal(); #endif #if defined (__stub_popen) || defined (__stub___popen) popen_will_always_fail_with_ENOSYS(); #else popen(); #endif #if defined (__stub_getrusage) || defined (__stub___getrusage) getrusage_will_always_fail_with_ENOSYS(); #else getrusage(); #endif #if defined (__stub_times) || defined (__stub___times) times_will_always_fail_with_ENOSYS(); #else times(); #endif #if defined (__stub__mkdir) || defined (__stub____mkdir) _mkdir_will_always_fail_with_ENOSYS(); #else _mkdir(); #endif #if defined (__stub_time) || defined (__stub___time) time_will_always_fail_with_ENOSYS(); #else time(); #endif #if defined (__stub_sysctlbyname) || defined (__stub___sysctlbyname) sysctlbyname_will_always_fail_with_ENOSYS(); #else sysctlbyname(); #endif #if defined (__stub_stricmp) || defined (__stub___stricmp) stricmp_will_always_fail_with_ENOSYS(); #else stricmp(); #endif ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.functions/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.functions/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-Ymuwb2/config.functions/conftest.o: In function `main': /tmp/petsc-Ymuwb2/config.functions/conftest.c:119: warning: the `getwd' function is dangerous and should not be used. /tmp/petsc-Ymuwb2/config.functions/conftest.c:83: undefined reference to `_sleep' /tmp/petsc-Ymuwb2/config.functions/conftest.c:113: undefined reference to `_getcwd' /tmp/petsc-Ymuwb2/config.functions/conftest.c:131: undefined reference to `_lseek' /tmp/petsc-Ymuwb2/config.functions/conftest.c:143: undefined reference to `_access' /tmp/petsc-Ymuwb2/config.functions/conftest.c:191: undefined reference to `_snprintf' /tmp/petsc-Ymuwb2/config.functions/conftest.c:221: undefined reference to `sbreak' /tmp/petsc-Ymuwb2/config.functions/conftest.c:263: undefined reference to `_set_output_format' /tmp/petsc-Ymuwb2/config.functions/conftest.c:269: undefined reference to `PXFGETARG' /tmp/petsc-Ymuwb2/config.functions/conftest.c:335: undefined reference to `_mkdir' /tmp/petsc-Ymuwb2/config.functions/conftest.c:347: undefined reference to `sysctlbyname' /tmp/petsc-Ymuwb2/config.functions/conftest.c:353: undefined reference to `stricmp' collect2: error: ld returned 1 exit status Checking for functions [rand getdomainname realpath dlsym bzero uname usleep dlclose gethostname clock get_nprocs dlerror mkstemp fork getpagesize] Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.functions/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.functions/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-Ymuwb2/config.functions/conftest.c:17:6: warning: conflicting types for built-in function ‘bzero’ [-Wbuiltin-declaration-mismatch] char bzero(); ^~~~~ /tmp/petsc-Ymuwb2/config.functions/conftest.c:26:6: warning: conflicting types for built-in function ‘fork’ [-Wbuiltin-declaration-mismatch] char fork(); ^~~~ Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char rand(); char getdomainname(); char realpath(); char dlsym(); char bzero(); char uname(); char usleep(); char dlclose(); char gethostname(); char clock(); char get_nprocs(); char dlerror(); char mkstemp(); char fork(); char getpagesize(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_rand) || defined (__stub___rand) rand_will_always_fail_with_ENOSYS(); #else rand(); #endif #if defined (__stub_getdomainname) || defined (__stub___getdomainname) getdomainname_will_always_fail_with_ENOSYS(); #else getdomainname(); #endif #if defined (__stub_realpath) || defined (__stub___realpath) realpath_will_always_fail_with_ENOSYS(); #else realpath(); #endif #if defined (__stub_dlsym) || defined (__stub___dlsym) dlsym_will_always_fail_with_ENOSYS(); #else dlsym(); #endif #if defined (__stub_bzero) || defined (__stub___bzero) bzero_will_always_fail_with_ENOSYS(); #else bzero(); #endif #if defined (__stub_uname) || defined (__stub___uname) uname_will_always_fail_with_ENOSYS(); #else uname(); #endif #if defined (__stub_usleep) || defined (__stub___usleep) usleep_will_always_fail_with_ENOSYS(); #else usleep(); #endif #if defined (__stub_dlclose) || defined (__stub___dlclose) dlclose_will_always_fail_with_ENOSYS(); #else dlclose(); #endif #if defined (__stub_gethostname) || defined (__stub___gethostname) gethostname_will_always_fail_with_ENOSYS(); #else gethostname(); #endif #if defined (__stub_clock) || defined (__stub___clock) clock_will_always_fail_with_ENOSYS(); #else clock(); #endif #if defined (__stub_get_nprocs) || defined (__stub___get_nprocs) get_nprocs_will_always_fail_with_ENOSYS(); #else get_nprocs(); #endif #if defined (__stub_dlerror) || defined (__stub___dlerror) dlerror_will_always_fail_with_ENOSYS(); #else dlerror(); #endif #if defined (__stub_mkstemp) || defined (__stub___mkstemp) mkstemp_will_always_fail_with_ENOSYS(); #else mkstemp(); #endif #if defined (__stub_fork) || defined (__stub___fork) fork_will_always_fail_with_ENOSYS(); #else fork(); #endif #if defined (__stub_getpagesize) || defined (__stub___getpagesize) getpagesize_will_always_fail_with_ENOSYS(); #else getpagesize(); #endif ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.functions/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.functions/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Defined "HAVE_RAND" to "1" Defined "HAVE_GETDOMAINNAME" to "1" Defined "HAVE_REALPATH" to "1" Defined "HAVE_DLSYM" to "1" Defined "HAVE_BZERO" to "1" Defined "HAVE_UNAME" to "1" Defined "HAVE_USLEEP" to "1" Defined "HAVE_DLCLOSE" to "1" Defined "HAVE_GETHOSTNAME" to "1" Defined "HAVE_CLOCK" to "1" Defined "HAVE_GET_NPROCS" to "1" Defined "HAVE_DLERROR" to "1" Defined "HAVE_MKSTEMP" to "1" Defined "HAVE_FORK" to "1" Defined "HAVE_GETPAGESIZE" to "1" Checking for functions [memalign sigset gethostbyname gettimeofday readlink sigaction strcasecmp dlopen drand48 socket memmove signal popen getrusage times time] Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.functions/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.functions/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-Ymuwb2/config.functions/conftest.c:19:6: warning: conflicting types for built-in function ‘strcasecmp’ [-Wbuiltin-declaration-mismatch] char strcasecmp(); ^~~~~~~~~~ /tmp/petsc-Ymuwb2/config.functions/conftest.c:23:6: warning: conflicting types for built-in function ‘memmove’ [-Wbuiltin-declaration-mismatch] char memmove(); ^~~~~~~ Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char memalign(); char sigset(); char gethostbyname(); char gettimeofday(); char readlink(); char sigaction(); char strcasecmp(); char dlopen(); char drand48(); char socket(); char memmove(); char signal(); char popen(); char getrusage(); char times(); char time(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_memalign) || defined (__stub___memalign) memalign_will_always_fail_with_ENOSYS(); #else memalign(); #endif #if defined (__stub_sigset) || defined (__stub___sigset) sigset_will_always_fail_with_ENOSYS(); #else sigset(); #endif #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) gethostbyname_will_always_fail_with_ENOSYS(); #else gethostbyname(); #endif #if defined (__stub_gettimeofday) || defined (__stub___gettimeofday) gettimeofday_will_always_fail_with_ENOSYS(); #else gettimeofday(); #endif #if defined (__stub_readlink) || defined (__stub___readlink) readlink_will_always_fail_with_ENOSYS(); #else readlink(); #endif #if defined (__stub_sigaction) || defined (__stub___sigaction) sigaction_will_always_fail_with_ENOSYS(); #else sigaction(); #endif #if defined (__stub_strcasecmp) || defined (__stub___strcasecmp) strcasecmp_will_always_fail_with_ENOSYS(); #else strcasecmp(); #endif #if defined (__stub_dlopen) || defined (__stub___dlopen) dlopen_will_always_fail_with_ENOSYS(); #else dlopen(); #endif #if defined (__stub_drand48) || defined (__stub___drand48) drand48_will_always_fail_with_ENOSYS(); #else drand48(); #endif #if defined (__stub_socket) || defined (__stub___socket) socket_will_always_fail_with_ENOSYS(); #else socket(); #endif #if defined (__stub_memmove) || defined (__stub___memmove) memmove_will_always_fail_with_ENOSYS(); #else memmove(); #endif #if defined (__stub_signal) || defined (__stub___signal) signal_will_always_fail_with_ENOSYS(); #else signal(); #endif #if defined (__stub_popen) || defined (__stub___popen) popen_will_always_fail_with_ENOSYS(); #else popen(); #endif #if defined (__stub_getrusage) || defined (__stub___getrusage) getrusage_will_always_fail_with_ENOSYS(); #else getrusage(); #endif #if defined (__stub_times) || defined (__stub___times) times_will_always_fail_with_ENOSYS(); #else times(); #endif #if defined (__stub_time) || defined (__stub___time) time_will_always_fail_with_ENOSYS(); #else time(); #endif ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.functions/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.functions/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Defined "HAVE_MEMALIGN" to "1" Defined "HAVE_SIGSET" to "1" Defined "HAVE_GETHOSTBYNAME" to "1" Defined "HAVE_GETTIMEOFDAY" to "1" Defined "HAVE_READLINK" to "1" Defined "HAVE_SIGACTION" to "1" Defined "HAVE_STRCASECMP" to "1" Defined "HAVE_DLOPEN" to "1" Defined "HAVE_DRAND48" to "1" Defined "HAVE_SOCKET" to "1" Defined "HAVE_MEMMOVE" to "1" Defined "HAVE_SIGNAL" to "1" Defined "HAVE_POPEN" to "1" Defined "HAVE_GETRUSAGE" to "1" Defined "HAVE_TIMES" to "1" Defined "HAVE_TIME" to "1" Checking for functions [_sleep] Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.functions/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _sleep(); #ifdef __cplusplus } #endif int main() { #if defined (__stub__sleep) || defined (__stub____sleep) _sleep_will_always_fail_with_ENOSYS(); #else _sleep(); #endif ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.functions/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.functions/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-Ymuwb2/config.functions/conftest.o: In function `main': /tmp/petsc-Ymuwb2/config.functions/conftest.c:24: undefined reference to `_sleep' collect2: error: ld returned 1 exit status Checking for functions [snprintf] Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.functions/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.functions/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-Ymuwb2/config.functions/conftest.c:13:6: warning: conflicting types for built-in function ‘snprintf’ [-Wbuiltin-declaration-mismatch] char snprintf(); ^~~~~~~~ Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char snprintf(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_snprintf) || defined (__stub___snprintf) snprintf_will_always_fail_with_ENOSYS(); #else snprintf(); #endif ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.functions/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.functions/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Defined "HAVE_SNPRINTF" to "1" Checking for functions [_getcwd] Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.functions/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _getcwd(); #ifdef __cplusplus } #endif int main() { #if defined (__stub__getcwd) || defined (__stub____getcwd) _getcwd_will_always_fail_with_ENOSYS(); #else _getcwd(); #endif ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.functions/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.functions/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-Ymuwb2/config.functions/conftest.o: In function `main': /tmp/petsc-Ymuwb2/config.functions/conftest.c:24: undefined reference to `_getcwd' collect2: error: ld returned 1 exit status Checking for functions [getwd] Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.functions/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char getwd(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_getwd) || defined (__stub___getwd) getwd_will_always_fail_with_ENOSYS(); #else getwd(); #endif ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.functions/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.functions/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Possible ERROR while running linker: stderr: /tmp/petsc-Ymuwb2/config.functions/conftest.o: In function `main': /tmp/petsc-Ymuwb2/config.functions/conftest.c:24: warning: the `getwd' function is dangerous and should not be used. Defined "HAVE_GETWD" to "1" Checking for functions [_lseek] Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.functions/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _lseek(); #ifdef __cplusplus } #endif int main() { #if defined (__stub__lseek) || defined (__stub____lseek) _lseek_will_always_fail_with_ENOSYS(); #else _lseek(); #endif ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.functions/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.functions/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-Ymuwb2/config.functions/conftest.o: In function `main': /tmp/petsc-Ymuwb2/config.functions/conftest.c:24: undefined reference to `_lseek' collect2: error: ld returned 1 exit status Checking for functions [sleep] Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.functions/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char sleep(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_sleep) || defined (__stub___sleep) sleep_will_always_fail_with_ENOSYS(); #else sleep(); #endif ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.functions/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.functions/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Defined "HAVE_SLEEP" to "1" Checking for functions [_access] Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.functions/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _access(); #ifdef __cplusplus } #endif int main() { #if defined (__stub__access) || defined (__stub____access) _access_will_always_fail_with_ENOSYS(); #else _access(); #endif ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.functions/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.functions/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-Ymuwb2/config.functions/conftest.o: In function `main': /tmp/petsc-Ymuwb2/config.functions/conftest.c:24: undefined reference to `_access' collect2: error: ld returned 1 exit status Checking for functions [lseek] Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.functions/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char lseek(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_lseek) || defined (__stub___lseek) lseek_will_always_fail_with_ENOSYS(); #else lseek(); #endif ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.functions/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.functions/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Defined "HAVE_LSEEK" to "1" Checking for functions [access] Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.functions/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char access(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_access) || defined (__stub___access) access_will_always_fail_with_ENOSYS(); #else access(); #endif ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.functions/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.functions/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Defined "HAVE_ACCESS" to "1" Checking for functions [_snprintf] Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.functions/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _snprintf(); #ifdef __cplusplus } #endif int main() { #if defined (__stub__snprintf) || defined (__stub____snprintf) _snprintf_will_always_fail_with_ENOSYS(); #else _snprintf(); #endif ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.functions/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.functions/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-Ymuwb2/config.functions/conftest.o: In function `main': /tmp/petsc-Ymuwb2/config.functions/conftest.c:24: undefined reference to `_snprintf' collect2: error: ld returned 1 exit status Checking for functions [sbreak] Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.functions/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char sbreak(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_sbreak) || defined (__stub___sbreak) sbreak_will_always_fail_with_ENOSYS(); #else sbreak(); #endif ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.functions/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.functions/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-Ymuwb2/config.functions/conftest.o: In function `main': /tmp/petsc-Ymuwb2/config.functions/conftest.c:24: undefined reference to `sbreak' collect2: error: ld returned 1 exit status Checking for functions [getcwd] Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.functions/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char getcwd(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_getcwd) || defined (__stub___getcwd) getcwd_will_always_fail_with_ENOSYS(); #else getcwd(); #endif ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.functions/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.functions/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Defined "HAVE_GETCWD" to "1" Checking for functions [_set_output_format] Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.functions/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _set_output_format(); #ifdef __cplusplus } #endif int main() { #if defined (__stub__set_output_format) || defined (__stub____set_output_format) _set_output_format_will_always_fail_with_ENOSYS(); #else _set_output_format(); #endif ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.functions/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.functions/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-Ymuwb2/config.functions/conftest.o: In function `main': /tmp/petsc-Ymuwb2/config.functions/conftest.c:24: undefined reference to `_set_output_format' collect2: error: ld returned 1 exit status Checking for functions [PXFGETARG] Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.functions/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char PXFGETARG(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_PXFGETARG) || defined (__stub___PXFGETARG) PXFGETARG_will_always_fail_with_ENOSYS(); #else PXFGETARG(); #endif ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.functions/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.functions/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-Ymuwb2/config.functions/conftest.o: In function `main': /tmp/petsc-Ymuwb2/config.functions/conftest.c:24: undefined reference to `PXFGETARG' collect2: error: ld returned 1 exit status Checking for functions [_mkdir] Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.functions/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _mkdir(); #ifdef __cplusplus } #endif int main() { #if defined (__stub__mkdir) || defined (__stub____mkdir) _mkdir_will_always_fail_with_ENOSYS(); #else _mkdir(); #endif ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.functions/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.functions/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-Ymuwb2/config.functions/conftest.o: In function `main': /tmp/petsc-Ymuwb2/config.functions/conftest.c:24: undefined reference to `_mkdir' collect2: error: ld returned 1 exit status Checking for functions [sysctlbyname] Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.functions/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char sysctlbyname(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_sysctlbyname) || defined (__stub___sysctlbyname) sysctlbyname_will_always_fail_with_ENOSYS(); #else sysctlbyname(); #endif ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.functions/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.functions/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-Ymuwb2/config.functions/conftest.o: In function `main': /tmp/petsc-Ymuwb2/config.functions/conftest.c:24: undefined reference to `sysctlbyname' collect2: error: ld returned 1 exit status Checking for functions [stricmp] Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.functions/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char stricmp(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_stricmp) || defined (__stub___stricmp) stricmp_will_always_fail_with_ENOSYS(); #else stricmp(); #endif ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.functions/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.functions/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-Ymuwb2/config.functions/conftest.o: In function `main': /tmp/petsc-Ymuwb2/config.functions/conftest.c:24: undefined reference to `stricmp' collect2: error: ld returned 1 exit status ================================================================================ TEST configureFPTrap from config.utilities.FPTrap(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/utilities/FPTrap.py:27) TESTING: configureFPTrap from config.utilities.FPTrap(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/utilities/FPTrap.py:27) Checking the handling of floating point traps Checking for header: sigfpe.h Executing: gcc -E -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.headers -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 Possible ERROR while running preprocessor: exit code 256 stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2stderr: /tmp/petsc-Ymuwb2/config.headers/conftest.c:3:10: fatal error: sigfpe.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess stderr before filtering:/tmp/petsc-Ymuwb2/config.headers/conftest.c:3:10: fatal error: sigfpe.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. : Preprocess stderr after filtering:/tmp/petsc-Ymuwb2/config.headers/conftest.c:3:10: fatal error: sigfpe.h: No such file or directory #include ^~~~~~~~~~compilation terminated.: Checking for header: fpxcp.h Executing: gcc -E -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.headers -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 Possible ERROR while running preprocessor: exit code 256 stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2stderr: /tmp/petsc-Ymuwb2/config.headers/conftest.c:3:10: fatal error: fpxcp.h: No such file or directory #include ^~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess stderr before filtering:/tmp/petsc-Ymuwb2/config.headers/conftest.c:3:10: fatal error: fpxcp.h: No such file or directory #include ^~~~~~~~~ compilation terminated. : Preprocess stderr after filtering:/tmp/petsc-Ymuwb2/config.headers/conftest.c:3:10: fatal error: fpxcp.h: No such file or directory #include ^~~~~~~~~compilation terminated.: Checking for header: floatingpoint.h Executing: gcc -E -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.headers -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.headers/conftest.c stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 Possible ERROR while running preprocessor: exit code 256 stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.c" 2stderr: /tmp/petsc-Ymuwb2/config.headers/conftest.c:3:10: fatal error: floatingpoint.h: No such file or directory #include ^~~~~~~~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess stderr before filtering:/tmp/petsc-Ymuwb2/config.headers/conftest.c:3:10: fatal error: floatingpoint.h: No such file or directory #include ^~~~~~~~~~~~~~~~~ compilation terminated. : Preprocess stderr after filtering:/tmp/petsc-Ymuwb2/config.headers/conftest.c:3:10: fatal error: floatingpoint.h: No such file or directory #include ^~~~~~~~~~~~~~~~~compilation terminated.: ================================================================================ TEST configureMemorySize from config.utilities.getResidentSetSize(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/utilities/getResidentSetSize.py:31) TESTING: configureMemorySize from config.utilities.getResidentSetSize(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/utilities/getResidentSetSize.py:31) Try to determine how to measure the memory usage Defined "USE_PROC_FOR_SIZE" to "1" Using /proc for PetscMemoryGetCurrentUsage() ================================================================================ TEST configureFortranCommandLine from config.utilities.fortranCommandLine(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/utilities/fortranCommandLine.py:27) TESTING: configureFortranCommandLine from config.utilities.fortranCommandLine(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/utilities/fortranCommandLine.py:27) Check for the mechanism to retrieve command line arguments in Fortran Defined "HAVE_FORTRAN_GET_COMMAND_ARGUMENT" to "1" Pushing language FC Checking for functions [] in library [''] [] Pushing language FC Executing: gfortran -c -o /tmp/petsc-Ymuwb2/config.libraries/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.libraries -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.libraries/conftest.F90 Successful compile: Source: program main integer i character*(80) arg i = command_argument_count() call get_command_argument(i,arg) end Pushing language FC Popping language FC Executing: gfortran -o /tmp/petsc-Ymuwb2/config.libraries/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC /tmp/petsc-Ymuwb2/config.libraries/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Popping language FC Popping language FC Pushing language C Defined "HAVE_GFORTRAN_IARGC" to "1" Popping language C Checking for functions [get_command_argument_] in library [''] ['-L/usr/lib/gcc/i686-linux-gnu/7', '-L/usr/lib/i386-linux-gnu', '-L/lib/i386-linux-gnu', '-lgfortran', '-lm', '-lgfortran', '-lm', '-lquadmath'] Pushing language C Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.libraries/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.libraries -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char get_command_argument_(); static void _check_get_command_argument_() { get_command_argument_(); } int main() { _check_get_command_argument_();; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.libraries/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.libraries/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -lgfortran -lm -lgfortran -lm -lquadmath -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-Ymuwb2/config.libraries/conftest.o: In function `_check_get_command_argument_': /tmp/petsc-Ymuwb2/config.libraries/conftest.c:5: undefined reference to `get_command_argument_' collect2: error: ld returned 1 exit status Popping language C Checking for functions [getarg_] in library [''] ['-L/usr/lib/gcc/i686-linux-gnu/7', '-L/usr/lib/i386-linux-gnu', '-L/lib/i386-linux-gnu', '-lgfortran', '-lm', '-lgfortran', '-lm', '-lquadmath'] Pushing language C Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.libraries/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.libraries -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char getarg_(); static void _check_getarg_() { getarg_(); } int main() { _check_getarg_();; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.libraries/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.libraries/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -lgfortran -lm -lgfortran -lm -lquadmath -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-Ymuwb2/config.libraries/conftest.o: In function `_check_getarg_': /tmp/petsc-Ymuwb2/config.libraries/conftest.c:5: undefined reference to `getarg_' collect2: error: ld returned 1 exit status Popping language C Pushing language C Popping language C Pushing language C Popping language C Pushing language C Popping language C Pushing language C Popping language C Pushing language C Popping language C Checking for functions [ipxfargc_] Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.functions/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.libraries -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char ipxfargc_(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_ipxfargc_) || defined (__stub___ipxfargc_) ipxfargc__will_always_fail_with_ENOSYS(); #else ipxfargc_(); #endif ; return 0; } Executing: gcc -o /tmp/petsc-Ymuwb2/config.functions/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.functions/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -lgfortran -lm -lgfortran -lm -lquadmath Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-Ymuwb2/config.functions/conftest.o: In function `main': /tmp/petsc-Ymuwb2/config.functions/conftest.c:24: undefined reference to `ipxfargc_' collect2: error: ld returned 1 exit status Checking for functions [f90_unix_MP_iargc] Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.functions/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.libraries -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char f90_unix_MP_iargc(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_f90_unix_MP_iargc) || defined (__stub___f90_unix_MP_iargc) f90_unix_MP_iargc_will_always_fail_with_ENOSYS(); #else f90_unix_MP_iargc(); #endif ; return 0; } Executing: gcc -o /tmp/petsc-Ymuwb2/config.functions/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.functions/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -lgfortran -lm -lgfortran -lm -lquadmath Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-Ymuwb2/config.functions/conftest.o: In function `main': /tmp/petsc-Ymuwb2/config.functions/conftest.c:24: undefined reference to `f90_unix_MP_iargc' collect2: error: ld returned 1 exit status Checking for functions [PXFGETARG] Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.functions/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.libraries -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char PXFGETARG(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_PXFGETARG) || defined (__stub___PXFGETARG) PXFGETARG_will_always_fail_with_ENOSYS(); #else PXFGETARG(); #endif ; return 0; } Executing: gcc -o /tmp/petsc-Ymuwb2/config.functions/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.functions/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -lgfortran -lm -lgfortran -lm -lquadmath Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-Ymuwb2/config.functions/conftest.o: In function `main': /tmp/petsc-Ymuwb2/config.functions/conftest.c:24: undefined reference to `PXFGETARG' collect2: error: ld returned 1 exit status Checking for functions [iargc_] Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.functions/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.libraries -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char iargc_(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_iargc_) || defined (__stub___iargc_) iargc__will_always_fail_with_ENOSYS(); #else iargc_(); #endif ; return 0; } Executing: gcc -o /tmp/petsc-Ymuwb2/config.functions/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.functions/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -lgfortran -lm -lgfortran -lm -lquadmath Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-Ymuwb2/config.functions/conftest.o: In function `main': /tmp/petsc-Ymuwb2/config.functions/conftest.c:24: undefined reference to `iargc_' collect2: error: ld returned 1 exit status Checking for functions [GETARG@16] Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.functions/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.libraries -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.functions/conftest.c Possible ERROR while running compiler: exit code 256 stderr: /tmp/petsc-Ymuwb2/config.functions/conftest.c:13:12: error: stray ‘@’ in program char GETARG@16(); ^ /tmp/petsc-Ymuwb2/config.functions/conftest.c:13:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before numeric constant char GETARG@16(); ^~ /tmp/petsc-Ymuwb2/config.functions/conftest.c: In function ‘main’: /tmp/petsc-Ymuwb2/config.functions/conftest.c:21:27: error: missing ')' after "defined" #if defined (__stub_GETARG@16) || defined (__stub___GETARG@16) ^ /tmp/petsc-Ymuwb2/config.functions/conftest.c:21:28: error: missing binary operator before token "16" #if defined (__stub_GETARG@16) || defined (__stub___GETARG@16) ^~ /tmp/petsc-Ymuwb2/config.functions/conftest.c:24:7: error: stray ‘@’ in program GETARG@16(); ^ /tmp/petsc-Ymuwb2/config.functions/conftest.c:24:1: error: ‘GETARG’ undeclared (first use in this function) GETARG@16(); ^~~~~~ /tmp/petsc-Ymuwb2/config.functions/conftest.c:24:1: note: each undeclared identifier is reported only once for each function it appears in /tmp/petsc-Ymuwb2/config.functions/conftest.c:24:8: error: expected ‘;’ before numeric constant GETARG@16(); ^~ Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char GETARG@16(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_GETARG@16) || defined (__stub___GETARG@16) GETARG@16_will_always_fail_with_ENOSYS(); #else GETARG@16(); #endif ; return 0; } Compile failed inside link Checking for functions [_gfortran_iargc] Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.functions/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.libraries -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _gfortran_iargc(); #ifdef __cplusplus } #endif int main() { #if defined (__stub__gfortran_iargc) || defined (__stub____gfortran_iargc) _gfortran_iargc_will_always_fail_with_ENOSYS(); #else _gfortran_iargc(); #endif ; return 0; } Executing: gcc -o /tmp/petsc-Ymuwb2/config.functions/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.functions/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -lgfortran -lm -lgfortran -lm -lquadmath Defined "HAVE__GFORTRAN_IARGC" to "1" ================================================================================ TEST configureFeatureTestMacros from config.utilities.featureTestMacros(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/utilities/featureTestMacros.py:13) TESTING: configureFeatureTestMacros from config.utilities.featureTestMacros(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/utilities/featureTestMacros.py:13) Checks if certain feature test macros are support All intermediate test results are stored in /tmp/petsc-Ymuwb2/config.utilities.featureTestMacros Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.utilities.featureTestMacros/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.featureTestMacros -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.utilities.featureTestMacros/conftest.c Possible ERROR while running compiler: exit code 256 stderr: /tmp/petsc-Ymuwb2/config.utilities.featureTestMacros/conftest.c:4:10: fatal error: sysctl.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #define _POSIX_C_SOURCE 200112L #include int main() { ; return 0; } Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.utilities.featureTestMacros/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.featureTestMacros -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.utilities.featureTestMacros/conftest.c Possible ERROR while running compiler: stderr: In file included from /usr/include/stdlib.h:24:0, from /tmp/petsc-Ymuwb2/config.utilities.featureTestMacros/conftest.c:4: /usr/include/features.h:148: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" ^~~~~~~ Source: #include "confdefs.h" #include "conffix.h" #define _BSD_SOURCE #include int main() { ; return 0; } Defined "_BSD_SOURCE" to "1" Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.utilities.featureTestMacros/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.featureTestMacros -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.utilities.featureTestMacros/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #define _DEFAULT_SOURCE #include int main() { ; return 0; } Defined "_DEFAULT_SOURCE" to "1" Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.utilities.featureTestMacros/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.featureTestMacros -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.utilities.featureTestMacros/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #define _GNU_SOURCE #include int main() { cpu_set_t mset; CPU_ZERO(&mset);; return 0; } Defined "_GNU_SOURCE" to "1" ================================================================================ TEST configureMissingDefines from config.utilities.missing(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/utilities/missing.py:57) TESTING: configureMissingDefines from config.utilities.missing(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/utilities/missing.py:57) Checks for limits All intermediate test results are stored in /tmp/petsc-Ymuwb2/config.utilities.missing Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.featureTestMacros -I/tmp/petsc-Ymuwb2/config.utilities.missing -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #ifdef PETSC_HAVE_LIMITS_H #include #endif int main() { int i=INT_MAX; if (i); ; return 0; } Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.featureTestMacros -I/tmp/petsc-Ymuwb2/config.utilities.missing -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #ifdef PETSC_HAVE_FLOAT_H #include #endif int main() { double d=DBL_MAX; if (d); ; return 0; } ================================================================================ TEST configureMissingUtypeTypedefs from config.utilities.missing(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/utilities/missing.py:67) TESTING: configureMissingUtypeTypedefs from config.utilities.missing(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/utilities/missing.py:67) Checks if u_short is undefined Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.featureTestMacros -I/tmp/petsc-Ymuwb2/config.utilities.missing -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { u_short foo; ; return 0; } ================================================================================ TEST configureMissingFunctions from config.utilities.missing(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/utilities/missing.py:73) TESTING: configureMissingFunctions from config.utilities.missing(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/utilities/missing.py:73) Checks for SOCKETS ================================================================================ TEST configureMissingSignals from config.utilities.missing(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/utilities/missing.py:93) TESTING: configureMissingSignals from config.utilities.missing(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/utilities/missing.py:93) Check for missing signals, and define MISSING_ if necessary Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.featureTestMacros -I/tmp/petsc-Ymuwb2/config.utilities.missing -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGABRT; if (i); ; return 0; } Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.featureTestMacros -I/tmp/petsc-Ymuwb2/config.utilities.missing -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGALRM; if (i); ; return 0; } Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.featureTestMacros -I/tmp/petsc-Ymuwb2/config.utilities.missing -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGBUS; if (i); ; return 0; } Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.featureTestMacros -I/tmp/petsc-Ymuwb2/config.utilities.missing -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGCHLD; if (i); ; return 0; } Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.featureTestMacros -I/tmp/petsc-Ymuwb2/config.utilities.missing -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGCONT; if (i); ; return 0; } Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.featureTestMacros -I/tmp/petsc-Ymuwb2/config.utilities.missing -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGFPE; if (i); ; return 0; } Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.featureTestMacros -I/tmp/petsc-Ymuwb2/config.utilities.missing -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGHUP; if (i); ; return 0; } Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.featureTestMacros -I/tmp/petsc-Ymuwb2/config.utilities.missing -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGILL; if (i); ; return 0; } Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.featureTestMacros -I/tmp/petsc-Ymuwb2/config.utilities.missing -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGINT; if (i); ; return 0; } Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.featureTestMacros -I/tmp/petsc-Ymuwb2/config.utilities.missing -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGKILL; if (i); ; return 0; } Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.featureTestMacros -I/tmp/petsc-Ymuwb2/config.utilities.missing -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGPIPE; if (i); ; return 0; } Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.featureTestMacros -I/tmp/petsc-Ymuwb2/config.utilities.missing -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGQUIT; if (i); ; return 0; } Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.featureTestMacros -I/tmp/petsc-Ymuwb2/config.utilities.missing -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGSEGV; if (i); ; return 0; } Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.featureTestMacros -I/tmp/petsc-Ymuwb2/config.utilities.missing -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGSTOP; if (i); ; return 0; } Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.featureTestMacros -I/tmp/petsc-Ymuwb2/config.utilities.missing -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGSYS; if (i); ; return 0; } Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.featureTestMacros -I/tmp/petsc-Ymuwb2/config.utilities.missing -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGTERM; if (i); ; return 0; } Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.featureTestMacros -I/tmp/petsc-Ymuwb2/config.utilities.missing -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGTRAP; if (i); ; return 0; } Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.featureTestMacros -I/tmp/petsc-Ymuwb2/config.utilities.missing -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGTSTP; if (i); ; return 0; } Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.featureTestMacros -I/tmp/petsc-Ymuwb2/config.utilities.missing -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGURG; if (i); ; return 0; } Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.featureTestMacros -I/tmp/petsc-Ymuwb2/config.utilities.missing -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGUSR1; if (i); ; return 0; } Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.featureTestMacros -I/tmp/petsc-Ymuwb2/config.utilities.missing -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGUSR2; if (i); ; return 0; } ================================================================================ TEST configureMissingGetdomainnamePrototype from config.utilities.missing(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/utilities/missing.py:110) TESTING: configureMissingGetdomainnamePrototype from config.utilities.missing(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/utilities/missing.py:110) Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.featureTestMacros -I/tmp/petsc-Ymuwb2/config.utilities.missing -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #if !defined(_BSD_SOURCE) #define _BSD_SOURCE #endif #if !defined(_DEFAULT_SOURCE) #define _DEFAULT_SOURCE #endif #if !defined(_GNU_SOURCE) #define _GNU_SOURCE #endif #ifdef PETSC_HAVE_UNISTD_H #include #endif #ifdef PETSC_HAVE_NETDB_H #include #endif int main() { int (*getdomainname_ptr)(char*,size_t) = getdomainname; char test[10]; if (getdomainname_ptr(test,10)) return 1; ; return 0; } Pushing language Cxx Executing: g++ -c -o /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.utilities.missing -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #if !defined(_BSD_SOURCE) #define _BSD_SOURCE #endif #if !defined(_DEFAULT_SOURCE) #define _DEFAULT_SOURCE #endif #if !defined(_GNU_SOURCE) #define _GNU_SOURCE #endif #ifdef PETSC_HAVE_UNISTD_H #include #endif #ifdef PETSC_HAVE_NETDB_H #include #endif int main() { int (*getdomainname_ptr)(char*,size_t) = getdomainname; char test[10]; if (getdomainname_ptr(test,10)) return 1; ; return 0; } Pushing language CXX Popping language CXX Executing: g++ -o /tmp/petsc-Ymuwb2/config.utilities.missing/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -Wl,--no-as-needed -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Popping language Cxx ================================================================================ TEST configureMissingSrandPrototype from config.utilities.missing(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/utilities/missing.py:135) TESTING: configureMissingSrandPrototype from config.utilities.missing(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/utilities/missing.py:135) Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.featureTestMacros -I/tmp/petsc-Ymuwb2/config.utilities.missing -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #if !defined(_BSD_SOURCE) #define _BSD_SOURCE #endif #if !defined(_DEFAULT_SOURCE) #define _DEFAULT_SOURCE #endif #if !defined(_GNU_SOURCE) #define _GNU_SOURCE #endif #ifdef PETSC_HAVE_STDLIB_H #include #endif int main() { double (*drand48_ptr)(void) = drand48; void (*srand48_ptr)(long int) = srand48; long int seed=10; srand48_ptr(seed); if (drand48_ptr() > 0.5) return 1; ; return 0; } Pushing language Cxx Executing: g++ -c -o /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.utilities.missing -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #if !defined(_BSD_SOURCE) #define _BSD_SOURCE #endif #if !defined(_DEFAULT_SOURCE) #define _DEFAULT_SOURCE #endif #if !defined(_GNU_SOURCE) #define _GNU_SOURCE #endif #ifdef PETSC_HAVE_STDLIB_H #include #endif int main() { double (*drand48_ptr)(void) = drand48; void (*srand48_ptr)(long int) = srand48; long int seed=10; srand48_ptr(seed); if (drand48_ptr() > 0.5) return 1; ; return 0; } Pushing language CXX Popping language CXX Executing: g++ -o /tmp/petsc-Ymuwb2/config.utilities.missing/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -Wl,--no-as-needed -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.utilities.missing/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Popping language Cxx ================================================================================ TEST configureScalarType from PETSc.options.scalarTypes(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/scalarTypes.py:37) TESTING: configureScalarType from PETSc.options.scalarTypes(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/scalarTypes.py:37) Choose between real and complex numbers Defined "USE_SCALAR_REAL" to "1" Scalar type is real Pushing language Cxx All intermediate test results are stored in /tmp/petsc-Ymuwb2/PETSc.options.scalarTypes Executing: g++ -c -o /tmp/petsc-Ymuwb2/PETSc.options.scalarTypes/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.utilities.missing -I/tmp/petsc-Ymuwb2/PETSc.options.scalarTypes -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/PETSc.options.scalarTypes/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { double b = 2.0; int a = isnormal(b); ; return 0; } Pushing language CXX Popping language CXX Executing: g++ -o /tmp/petsc-Ymuwb2/PETSc.options.scalarTypes/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -Wl,--no-as-needed -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/PETSc.options.scalarTypes/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Defined "HAVE_ISNORMAL" to "1" Executing: g++ -c -o /tmp/petsc-Ymuwb2/PETSc.options.scalarTypes/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.utilities.missing -I/tmp/petsc-Ymuwb2/PETSc.options.scalarTypes -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/PETSc.options.scalarTypes/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { double b = 2.0; int a = isnan(b); ; return 0; } Pushing language CXX Popping language CXX Executing: g++ -o /tmp/petsc-Ymuwb2/PETSc.options.scalarTypes/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -Wl,--no-as-needed -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/PETSc.options.scalarTypes/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Defined "HAVE_ISNAN" to "1" Executing: g++ -c -o /tmp/petsc-Ymuwb2/PETSc.options.scalarTypes/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.utilities.missing -I/tmp/petsc-Ymuwb2/PETSc.options.scalarTypes -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/PETSc.options.scalarTypes/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { double b = 2.0; int a = isinf(b); ; return 0; } Pushing language CXX Popping language CXX Executing: g++ -o /tmp/petsc-Ymuwb2/PETSc.options.scalarTypes/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -Wl,--no-as-needed -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/PETSc.options.scalarTypes/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Defined "HAVE_ISINF" to "1" Executing: g++ -c -o /tmp/petsc-Ymuwb2/PETSc.options.scalarTypes/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.utilities.missing -I/tmp/petsc-Ymuwb2/PETSc.options.scalarTypes -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/PETSc.options.scalarTypes/conftest.cc Possible ERROR while running compiler: exit code 256 stderr: /tmp/petsc-Ymuwb2/PETSc.options.scalarTypes/conftest.cc: In function ‘int main()’: /tmp/petsc-Ymuwb2/PETSc.options.scalarTypes/conftest.cc:6:24: error: ‘_isnan’ was not declared in this scope double b = 2.0;int a = _isnan(b); ^~~~~~ Source: #include "confdefs.h" #include "conffix.h" #include int main() { double b = 2.0;int a = _isnan(b); ; return 0; } Compile failed inside link Executing: g++ -c -o /tmp/petsc-Ymuwb2/PETSc.options.scalarTypes/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.utilities.missing -I/tmp/petsc-Ymuwb2/PETSc.options.scalarTypes -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/PETSc.options.scalarTypes/conftest.cc Possible ERROR while running compiler: exit code 256 stderr: /tmp/petsc-Ymuwb2/PETSc.options.scalarTypes/conftest.cc: In function ‘int main()’: /tmp/petsc-Ymuwb2/PETSc.options.scalarTypes/conftest.cc:6:24: error: ‘_finite’ was not declared in this scope double b = 2.0;int a = _finite(b); ^~~~~~~ Source: #include "confdefs.h" #include "conffix.h" #include int main() { double b = 2.0;int a = _finite(b); ; return 0; } Compile failed inside link Popping language Cxx ================================================================================ TEST configurePrecision from PETSc.options.scalarTypes(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/scalarTypes.py:77) TESTING: configurePrecision from PETSc.options.scalarTypes(/<>/petsc-3.7.6+git201709181029-0957343e/config/PETSc/options/scalarTypes.py:77) Set the default real number precision for PETSc objects Defined "USE_REAL_DOUBLE" to "1" Defined make macro "PETSC_SCALAR_SIZE" to "64" Precision is double ================================================================================ TEST configureMkdir from config.programs(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/programs.py:23) TESTING: configureMkdir from config.programs(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/programs.py:23) Make sure we can have mkdir automatically make intermediate directories Checking for program /usr/local/sbin/mkdir...not found Checking for program /usr/local/bin/mkdir...not found Checking for program /usr/sbin/mkdir...not found Checking for program /usr/bin/mkdir...not found Checking for program /sbin/mkdir...not found Checking for program /bin/mkdir...found Executing: /bin/mkdir -p .conftest/tmp Adding -p flag to /bin/mkdir -p to automatically create directories Defined make macro "MKDIR" to "/bin/mkdir -p" ================================================================================ TEST configureAutoreconf from config.programs(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/programs.py:45) TESTING: configureAutoreconf from config.programs(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/programs.py:45) Check for autoreconf Checking for program /usr/local/sbin/autoreconf...not found Checking for program /usr/local/bin/autoreconf...not found Checking for program /usr/sbin/autoreconf...not found Checking for program /usr/bin/autoreconf...found All intermediate test results are stored in /tmp/petsc-Ymuwb2/config.programs Executing: cd /tmp/petsc-Ymuwb2/config.programs/autoconfdir&&/usr/bin/autoreconf autoreconf test successful! Checking for program /usr/local/sbin/libtoolize...not found Checking for program /usr/local/bin/libtoolize...not found Checking for program /usr/sbin/libtoolize...not found Checking for program /usr/bin/libtoolize...found ================================================================================ TEST configurePrograms from config.programs(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/programs.py:72) TESTING: configurePrograms from config.programs(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/programs.py:72) Check for the programs needed to build and run PETSc Checking for program /usr/local/sbin/sh...not found Checking for program /usr/local/bin/sh...not found Checking for program /usr/sbin/sh...not found Checking for program /usr/bin/sh...not found Checking for program /sbin/sh...not found Checking for program /bin/sh...found Defined make macro "SHELL" to "/bin/sh" Checking for program /usr/local/sbin/sed...not found Checking for program /usr/local/bin/sed...not found Checking for program /usr/sbin/sed...not found Checking for program /usr/bin/sed...not found Checking for program /sbin/sed...not found Checking for program /bin/sed...found Defined make macro "SED" to "/bin/sed" Executing: /bin/sed -i s/sed/sd/g "/tmp/petsc-Ymuwb2/config.programs/sed1" Adding SEDINPLACE cmd: /bin/sed -i Defined make macro "SEDINPLACE" to "/bin/sed -i" Checking for program /usr/local/sbin/mv...not found Checking for program /usr/local/bin/mv...not found Checking for program /usr/sbin/mv...not found Checking for program /usr/bin/mv...not found Checking for program /sbin/mv...not found Checking for program /bin/mv...found Defined make macro "MV" to "/bin/mv" Checking for program /usr/local/sbin/cp...not found Checking for program /usr/local/bin/cp...not found Checking for program /usr/sbin/cp...not found Checking for program /usr/bin/cp...not found Checking for program /sbin/cp...not found Checking for program /bin/cp...found Defined make macro "CP" to "/bin/cp" Checking for program /usr/local/sbin/grep...not found Checking for program /usr/local/bin/grep...not found Checking for program /usr/sbin/grep...not found Checking for program /usr/bin/grep...not found Checking for program /sbin/grep...not found Checking for program /bin/grep...found Defined make macro "GREP" to "/bin/grep" Checking for program /usr/local/sbin/rm...not found Checking for program /usr/local/bin/rm...not found Checking for program /usr/sbin/rm...not found Checking for program /usr/bin/rm...not found Checking for program /sbin/rm...not found Checking for program /bin/rm...found Defined make macro "RM" to "/bin/rm -f" Checking for program /usr/local/sbin/diff...not found Checking for program /usr/local/bin/diff...not found Checking for program /usr/sbin/diff...not found Checking for program /usr/bin/diff...found Executing: "/usr/bin/diff" -w "/tmp/petsc-Ymuwb2/config.programs/diff1" "/tmp/petsc-Ymuwb2/config.programs/diff2" Defined make macro "DIFF" to "/usr/bin/diff -w" Checking for program /usr/ucb/ps...not found Checking for program /usr/usb/ps...not found Checking for program /<>/petsc-3.7.6+git201709181029-0957343e/bin/win32fe/ps...not found Checking for program /usr/local/sbin/gzip...not found Checking for program /usr/local/bin/gzip...not found Checking for program /usr/sbin/gzip...not found Checking for program /usr/bin/gzip...not found Checking for program /sbin/gzip...not found Checking for program /bin/gzip...found Defined make macro "GZIP" to "/bin/gzip" Defined "HAVE_GZIP" to "1" Defined make macro "PYTHON" to "/usr/bin/python" Checking for program /usr/local/sbin/m4...not found Checking for program /usr/local/bin/m4...not found Checking for program /usr/sbin/m4...not found Checking for program /usr/bin/m4...found Defined make macro "M4" to "/usr/bin/m4" ================================================================================ TEST configureMake from config.packages.make(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/packages/make.py:82) TESTING: configureMake from config.packages.make(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/packages/make.py:82) Check for user specified make - or gmake, make Checking for program /usr/local/sbin/gmake...not found Checking for program /usr/local/bin/gmake...not found Checking for program /usr/sbin/gmake...not found Checking for program /usr/bin/gmake...not found Checking for program /sbin/gmake...not found Checking for program /bin/gmake...not found Checking for program /usr/games/gmake...not found Checking for program /<>/petsc-3.7.6+git201709181029-0957343e/bin/win32fe/gmake...not found Checking for program /usr/local/sbin/make...not found Checking for program /usr/local/bin/make...not found Checking for program /usr/sbin/make...not found Checking for program /usr/bin/make...found Defined make macro "MAKE" to "/usr/bin/make" Executing: /usr/bin/make --version stdout: GNU Make 4.1 Built for i686-pc-linux-gnu Copyright (C) 1988-2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. ================================================================================ TEST configureCheckGNUMake from config.packages.make(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/packages/make.py:119) TESTING: configureCheckGNUMake from config.packages.make(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/packages/make.py:119) Setup other GNU make stuff Executing: /usr/bin/make --version stdout: GNU Make 4.1 Built for i686-pc-linux-gnu Copyright (C) 1988-2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Executing: uname -s stdout: Linux Executing: uname -s stdout: Linux Defined make macro "MAKE_IS_GNUMAKE" to "1" Defined make rule "libc" with dependencies "${LIBNAME}(${OBJSC})" and code [] Defined make rule "libcxx" with dependencies "${LIBNAME}(${OBJSCXX})" and code [] Defined make rule "libcu" with dependencies "${LIBNAME}(${OBJSCU})" and code [] Defined make rule "libf" with dependencies "${OBJSF}" and code -${AR} ${AR_FLAGS} ${LIBNAME} ${OBJSF} ================================================================================ TEST configureMakeNP from config.packages.make(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/packages/make.py:157) TESTING: configureMakeNP from config.packages.make(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/packages/make.py:157) check no of cores on the build machine [perhaps to do make '-j ncores'] module multiprocessing found 4 cores: using make_np = 4 Defined make macro "MAKE_NP" to "4" Defined make macro "NPMAX" to "4" Defined make macro "OMAKE_PRINTDIR " to "/usr/bin/make --print-directory" Defined make macro "OMAKE" to "/usr/bin/make --no-print-directory" Defined make macro "MAKE_PAR_OUT_FLG" to "--output-sync=recurse" ================================================================================ TEST alternateConfigureLibrary from config.packages.OpenMPI(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/package.py:796) TESTING: alternateConfigureLibrary from config.packages.OpenMPI(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/package.py:796) Called if --with-packagename=0; does nothing by default Executing: uname -s stdout: Linux Executing: uname -s stdout: Linux Executing: gcc -V ================================================================================ TEST alternateConfigureLibrary from config.packages.MPICH(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/package.py:796) TESTING: alternateConfigureLibrary from config.packages.MPICH(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/package.py:796) Called if --with-packagename=0; does nothing by default Pushing language Cxx ================================================================================ TEST checkDependencies from config.packages.MPI(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/package.py:719) TESTING: checkDependencies from config.packages.MPI(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/package.py:719) ================================================================================ TEST configureLibrary from config.packages.MPI(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/packages/MPI.py:490) TESTING: configureLibrary from config.packages.MPI(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/packages/MPI.py:490) Calls the regular package configureLibrary and then does an additional test needed by MPI ================================================================================== Checking for a functional MPI Checking for library in User specified root directory MPI: ['/usr/lib/i386-linux-gnu/openmpi/lib/fmpich2.lib', '/usr/lib/i386-linux-gnu/openmpi/lib/fmpich2g.lib', '/usr/lib/i386-linux-gnu/openmpi/lib/fmpich2s.lib', '/usr/lib/i386-linux-gnu/openmpi/lib/mpi.lib'] Contents: ['include', 'lib'] ================================================================================ TEST check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [MPI_Init MPI_Comm_create] in library ['/usr/lib/i386-linux-gnu/openmpi/lib/fmpich2.lib', '/usr/lib/i386-linux-gnu/openmpi/lib/fmpich2g.lib', '/usr/lib/i386-linux-gnu/openmpi/lib/fmpich2s.lib', '/usr/lib/i386-linux-gnu/openmpi/lib/mpi.lib'] [] Pushing language Cxx Executing: g++ -c -o /tmp/petsc-Ymuwb2/config.libraries/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.utilities.missing -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/PETSc.options.scalarTypes -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.libraries/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif char MPI_Init(); static void _check_MPI_Init() { MPI_Init(); } char MPI_Comm_create(); static void _check_MPI_Comm_create() { MPI_Comm_create(); } #ifdef __cplusplus } #endif int main() { _check_MPI_Init(); _check_MPI_Comm_create();; return 0; } Pushing language CXX Popping language CXX Executing: g++ -o /tmp/petsc-Ymuwb2/config.libraries/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -Wl,--no-as-needed -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.libraries/conftest.o /usr/lib/i386-linux-gnu/openmpi/lib/fmpich2.lib /usr/lib/i386-linux-gnu/openmpi/lib/fmpich2g.lib /usr/lib/i386-linux-gnu/openmpi/lib/fmpich2s.lib /usr/lib/i386-linux-gnu/openmpi/lib/mpi.lib -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Possible ERROR while running linker: exit code 256 stderr: g++: error: /usr/lib/i386-linux-gnu/openmpi/lib/fmpich2.lib: No such file or directory g++: error: /usr/lib/i386-linux-gnu/openmpi/lib/fmpich2g.lib: No such file or directory g++: error: /usr/lib/i386-linux-gnu/openmpi/lib/fmpich2s.lib: No such file or directory g++: error: /usr/lib/i386-linux-gnu/openmpi/lib/mpi.lib: No such file or directory Popping language Cxx Checking for library in User specified root directory MPI: ['/usr/lib/i386-linux-gnu/openmpi/lib/fmpich2.lib', '/usr/lib/i386-linux-gnu/openmpi/lib/fmpich2g.lib', '/usr/lib/i386-linux-gnu/openmpi/lib/mpi.lib'] Contents: ['include', 'lib'] ================================================================================ TEST check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [MPI_Init MPI_Comm_create] in library ['/usr/lib/i386-linux-gnu/openmpi/lib/fmpich2.lib', '/usr/lib/i386-linux-gnu/openmpi/lib/fmpich2g.lib', '/usr/lib/i386-linux-gnu/openmpi/lib/mpi.lib'] [] Pushing language Cxx Executing: g++ -c -o /tmp/petsc-Ymuwb2/config.libraries/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.utilities.missing -I/tmp/petsc-Ymuwb2/PETSc.options.scalarTypes -I/tmp/petsc-Ymuwb2/config.libraries -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.libraries/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif char MPI_Init(); static void _check_MPI_Init() { MPI_Init(); } char MPI_Comm_create(); static void _check_MPI_Comm_create() { MPI_Comm_create(); } #ifdef __cplusplus } #endif int main() { _check_MPI_Init(); _check_MPI_Comm_create();; return 0; } Pushing language CXX Popping language CXX Executing: g++ -o /tmp/petsc-Ymuwb2/config.libraries/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -Wl,--no-as-needed -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.libraries/conftest.o /usr/lib/i386-linux-gnu/openmpi/lib/fmpich2.lib /usr/lib/i386-linux-gnu/openmpi/lib/fmpich2g.lib /usr/lib/i386-linux-gnu/openmpi/lib/mpi.lib -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Possible ERROR while running linker: exit code 256 stderr: g++: error: /usr/lib/i386-linux-gnu/openmpi/lib/fmpich2.lib: No such file or directory g++: error: /usr/lib/i386-linux-gnu/openmpi/lib/fmpich2g.lib: No such file or directory g++: error: /usr/lib/i386-linux-gnu/openmpi/lib/mpi.lib: No such file or directory Popping language Cxx Checking for library in User specified root directory MPI: ['/usr/lib/i386-linux-gnu/openmpi/lib/fmpich2.lib', '/usr/lib/i386-linux-gnu/openmpi/lib/mpich2.lib'] Contents: ['include', 'lib'] ================================================================================ TEST check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [MPI_Init MPI_Comm_create] in library ['/usr/lib/i386-linux-gnu/openmpi/lib/fmpich2.lib', '/usr/lib/i386-linux-gnu/openmpi/lib/mpich2.lib'] [] Pushing language Cxx Executing: g++ -c -o /tmp/petsc-Ymuwb2/config.libraries/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.utilities.missing -I/tmp/petsc-Ymuwb2/PETSc.options.scalarTypes -I/tmp/petsc-Ymuwb2/config.libraries -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.libraries/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif char MPI_Init(); static void _check_MPI_Init() { MPI_Init(); } char MPI_Comm_create(); static void _check_MPI_Comm_create() { MPI_Comm_create(); } #ifdef __cplusplus } #endif int main() { _check_MPI_Init(); _check_MPI_Comm_create();; return 0; } Pushing language CXX Popping language CXX Executing: g++ -o /tmp/petsc-Ymuwb2/config.libraries/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -Wl,--no-as-needed -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.libraries/conftest.o /usr/lib/i386-linux-gnu/openmpi/lib/fmpich2.lib /usr/lib/i386-linux-gnu/openmpi/lib/mpich2.lib -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Possible ERROR while running linker: exit code 256 stderr: g++: error: /usr/lib/i386-linux-gnu/openmpi/lib/fmpich2.lib: No such file or directory g++: error: /usr/lib/i386-linux-gnu/openmpi/lib/mpich2.lib: No such file or directory Popping language Cxx Checking for library in User specified root directory MPI: ['/usr/lib/i386-linux-gnu/openmpi/lib/libfmpich2g.a', 'libmpi.a'] Contents: ['include', 'lib'] ================================================================================ TEST check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [MPI_Init MPI_Comm_create] in library ['/usr/lib/i386-linux-gnu/openmpi/lib/libfmpich2g.a', 'libmpi.a'] [] Pushing language Cxx Executing: g++ -c -o /tmp/petsc-Ymuwb2/config.libraries/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.utilities.missing -I/tmp/petsc-Ymuwb2/PETSc.options.scalarTypes -I/tmp/petsc-Ymuwb2/config.libraries -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.libraries/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif char MPI_Init(); static void _check_MPI_Init() { MPI_Init(); } char MPI_Comm_create(); static void _check_MPI_Comm_create() { MPI_Comm_create(); } #ifdef __cplusplus } #endif int main() { _check_MPI_Init(); _check_MPI_Comm_create();; return 0; } Pushing language CXX Popping language CXX Executing: g++ -o /tmp/petsc-Ymuwb2/config.libraries/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -Wl,--no-as-needed -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.libraries/conftest.o -L/usr/lib/i386-linux-gnu/openmpi/lib -L/usr/lib/i386-linux-gnu/openmpi/lib -lfmpich2g -lmpi -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Possible ERROR while running linker: exit code 256 stderr: /usr/bin/ld: cannot find -lfmpich2g collect2: error: ld returned 1 exit status Popping language Cxx Checking for library in User specified root directory MPI: ['/usr/lib/i386-linux-gnu/openmpi/lib/libfmpich.a', 'libmpich.a', 'libpmpich.a'] Contents: ['include', 'lib'] ================================================================================ TEST check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [MPI_Init MPI_Comm_create] in library ['/usr/lib/i386-linux-gnu/openmpi/lib/libfmpich.a', 'libmpich.a', 'libpmpich.a'] [] Pushing language Cxx Executing: g++ -c -o /tmp/petsc-Ymuwb2/config.libraries/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.utilities.missing -I/tmp/petsc-Ymuwb2/PETSc.options.scalarTypes -I/tmp/petsc-Ymuwb2/config.libraries -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.libraries/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif char MPI_Init(); static void _check_MPI_Init() { MPI_Init(); } char MPI_Comm_create(); static void _check_MPI_Comm_create() { MPI_Comm_create(); } #ifdef __cplusplus } #endif int main() { _check_MPI_Init(); _check_MPI_Comm_create();; return 0; } Pushing language CXX Popping language CXX Executing: g++ -o /tmp/petsc-Ymuwb2/config.libraries/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -Wl,--no-as-needed -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.libraries/conftest.o -L/usr/lib/i386-linux-gnu/openmpi/lib -L/usr/lib/i386-linux-gnu/openmpi/lib -lfmpich -lmpich -lpmpich -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Possible ERROR while running linker: exit code 256 stderr: /usr/bin/ld: cannot find -lfmpich /usr/bin/ld: cannot find -lmpich /usr/bin/ld: cannot find -lpmpich collect2: error: ld returned 1 exit status Popping language Cxx Checking for library in User specified root directory MPI: ['/usr/lib/i386-linux-gnu/openmpi/lib/libmpich.a', 'libpmpich.a'] Contents: ['include', 'lib'] ================================================================================ TEST check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [MPI_Init MPI_Comm_create] in library ['/usr/lib/i386-linux-gnu/openmpi/lib/libmpich.a', 'libpmpich.a'] [] Pushing language Cxx Executing: g++ -c -o /tmp/petsc-Ymuwb2/config.libraries/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.utilities.missing -I/tmp/petsc-Ymuwb2/PETSc.options.scalarTypes -I/tmp/petsc-Ymuwb2/config.libraries -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.libraries/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif char MPI_Init(); static void _check_MPI_Init() { MPI_Init(); } char MPI_Comm_create(); static void _check_MPI_Comm_create() { MPI_Comm_create(); } #ifdef __cplusplus } #endif int main() { _check_MPI_Init(); _check_MPI_Comm_create();; return 0; } Pushing language CXX Popping language CXX Executing: g++ -o /tmp/petsc-Ymuwb2/config.libraries/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -Wl,--no-as-needed -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.libraries/conftest.o -L/usr/lib/i386-linux-gnu/openmpi/lib -L/usr/lib/i386-linux-gnu/openmpi/lib -lmpich -lpmpich -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Possible ERROR while running linker: exit code 256 stderr: /usr/bin/ld: cannot find -lmpich /usr/bin/ld: cannot find -lpmpich collect2: error: ld returned 1 exit status Popping language Cxx Checking for library in User specified root directory MPI: ['/usr/lib/i386-linux-gnu/openmpi/lib/libfmpich.a', 'libmpich.a', 'libpmpich.a', 'libmpich.a', 'libpmpich.a', 'libpmpich.a'] Contents: ['include', 'lib'] ================================================================================ TEST check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [MPI_Init MPI_Comm_create] in library ['/usr/lib/i386-linux-gnu/openmpi/lib/libfmpich.a', 'libmpich.a', 'libpmpich.a', 'libmpich.a', 'libpmpich.a', 'libpmpich.a'] [] Pushing language Cxx Executing: g++ -c -o /tmp/petsc-Ymuwb2/config.libraries/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.utilities.missing -I/tmp/petsc-Ymuwb2/PETSc.options.scalarTypes -I/tmp/petsc-Ymuwb2/config.libraries -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.libraries/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif char MPI_Init(); static void _check_MPI_Init() { MPI_Init(); } char MPI_Comm_create(); static void _check_MPI_Comm_create() { MPI_Comm_create(); } #ifdef __cplusplus } #endif int main() { _check_MPI_Init(); _check_MPI_Comm_create();; return 0; } Pushing language CXX Popping language CXX Executing: g++ -o /tmp/petsc-Ymuwb2/config.libraries/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -Wl,--no-as-needed -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.libraries/conftest.o -L/usr/lib/i386-linux-gnu/openmpi/lib -L/usr/lib/i386-linux-gnu/openmpi/lib -lfmpich -lmpich -lpmpich -lmpich -lpmpich -lpmpich -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Possible ERROR while running linker: exit code 256 stderr: /usr/bin/ld: cannot find -lfmpich /usr/bin/ld: cannot find -lmpich /usr/bin/ld: cannot find -lpmpich /usr/bin/ld: cannot find -lmpich /usr/bin/ld: cannot find -lpmpich /usr/bin/ld: cannot find -lpmpich collect2: error: ld returned 1 exit status Popping language Cxx Checking for library in User specified root directory MPI: ['/usr/lib/i386-linux-gnu/openmpi/lib/libmpich.a', 'libpmpich.a', 'libmpich.a', 'libpmpich.a', 'libpmpich.a'] Contents: ['include', 'lib'] ================================================================================ TEST check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [MPI_Init MPI_Comm_create] in library ['/usr/lib/i386-linux-gnu/openmpi/lib/libmpich.a', 'libpmpich.a', 'libmpich.a', 'libpmpich.a', 'libpmpich.a'] [] Pushing language Cxx Executing: g++ -c -o /tmp/petsc-Ymuwb2/config.libraries/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.utilities.missing -I/tmp/petsc-Ymuwb2/PETSc.options.scalarTypes -I/tmp/petsc-Ymuwb2/config.libraries -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.libraries/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif char MPI_Init(); static void _check_MPI_Init() { MPI_Init(); } char MPI_Comm_create(); static void _check_MPI_Comm_create() { MPI_Comm_create(); } #ifdef __cplusplus } #endif int main() { _check_MPI_Init(); _check_MPI_Comm_create();; return 0; } Pushing language CXX Popping language CXX Executing: g++ -o /tmp/petsc-Ymuwb2/config.libraries/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -Wl,--no-as-needed -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.libraries/conftest.o -L/usr/lib/i386-linux-gnu/openmpi/lib -L/usr/lib/i386-linux-gnu/openmpi/lib -lmpich -lpmpich -lmpich -lpmpich -lpmpich -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Possible ERROR while running linker: exit code 256 stderr: /usr/bin/ld: cannot find -lmpich /usr/bin/ld: cannot find -lpmpich /usr/bin/ld: cannot find -lmpich /usr/bin/ld: cannot find -lpmpich /usr/bin/ld: cannot find -lpmpich collect2: error: ld returned 1 exit status Popping language Cxx Checking for library in User specified root directory MPI: ['/usr/lib/i386-linux-gnu/openmpi/lib/libmpich.a', 'librt.a', 'libaio.a', 'libsnl.a', 'libpthread.a'] Contents: ['include', 'lib'] ================================================================================ TEST check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [MPI_Init MPI_Comm_create] in library ['/usr/lib/i386-linux-gnu/openmpi/lib/libmpich.a', 'librt.a', 'libaio.a', 'libsnl.a', 'libpthread.a'] [] Pushing language Cxx Executing: g++ -c -o /tmp/petsc-Ymuwb2/config.libraries/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.utilities.missing -I/tmp/petsc-Ymuwb2/PETSc.options.scalarTypes -I/tmp/petsc-Ymuwb2/config.libraries -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.libraries/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif char MPI_Init(); static void _check_MPI_Init() { MPI_Init(); } char MPI_Comm_create(); static void _check_MPI_Comm_create() { MPI_Comm_create(); } #ifdef __cplusplus } #endif int main() { _check_MPI_Init(); _check_MPI_Comm_create();; return 0; } Pushing language CXX Popping language CXX Executing: g++ -o /tmp/petsc-Ymuwb2/config.libraries/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -Wl,--no-as-needed -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.libraries/conftest.o -L/usr/lib/i386-linux-gnu/openmpi/lib -L/usr/lib/i386-linux-gnu/openmpi/lib -lmpich -lrt -laio -lsnl -lpthread -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Possible ERROR while running linker: exit code 256 stderr: /usr/bin/ld: cannot find -lmpich /usr/bin/ld: cannot find -laio /usr/bin/ld: cannot find -lsnl collect2: error: ld returned 1 exit status Popping language Cxx Checking for library in User specified root directory MPI: ['/usr/lib/i386-linux-gnu/openmpi/lib/libmpich.a', 'libssl.a', 'libuuid.a', 'libpthread.a', 'librt.a', 'libdl.a'] Contents: ['include', 'lib'] ================================================================================ TEST check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [MPI_Init MPI_Comm_create] in library ['/usr/lib/i386-linux-gnu/openmpi/lib/libmpich.a', 'libssl.a', 'libuuid.a', 'libpthread.a', 'librt.a', 'libdl.a'] [] Pushing language Cxx Executing: g++ -c -o /tmp/petsc-Ymuwb2/config.libraries/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.utilities.missing -I/tmp/petsc-Ymuwb2/PETSc.options.scalarTypes -I/tmp/petsc-Ymuwb2/config.libraries -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.libraries/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif char MPI_Init(); static void _check_MPI_Init() { MPI_Init(); } char MPI_Comm_create(); static void _check_MPI_Comm_create() { MPI_Comm_create(); } #ifdef __cplusplus } #endif int main() { _check_MPI_Init(); _check_MPI_Comm_create();; return 0; } Pushing language CXX Popping language CXX Executing: g++ -o /tmp/petsc-Ymuwb2/config.libraries/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -Wl,--no-as-needed -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.libraries/conftest.o -L/usr/lib/i386-linux-gnu/openmpi/lib -L/usr/lib/i386-linux-gnu/openmpi/lib -lmpich -lssl -luuid -lpthread -lrt -ldl -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Possible ERROR while running linker: exit code 256 stderr: /usr/bin/ld: cannot find -lmpich /usr/bin/ld: cannot find -luuid collect2: error: ld returned 1 exit status Popping language Cxx Checking for library in User specified root directory MPI: ['/usr/lib/i386-linux-gnu/openmpi/lib/libmpich.a', 'libnsl.a', 'libsocket.a', 'librt.a', 'libnsl.a', 'libsocket.a'] Contents: ['include', 'lib'] ================================================================================ TEST check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [MPI_Init MPI_Comm_create] in library ['/usr/lib/i386-linux-gnu/openmpi/lib/libmpich.a', 'libnsl.a', 'libsocket.a', 'librt.a', 'libnsl.a', 'libsocket.a'] [] Pushing language Cxx Executing: g++ -c -o /tmp/petsc-Ymuwb2/config.libraries/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.utilities.missing -I/tmp/petsc-Ymuwb2/PETSc.options.scalarTypes -I/tmp/petsc-Ymuwb2/config.libraries -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.libraries/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif char MPI_Init(); static void _check_MPI_Init() { MPI_Init(); } char MPI_Comm_create(); static void _check_MPI_Comm_create() { MPI_Comm_create(); } #ifdef __cplusplus } #endif int main() { _check_MPI_Init(); _check_MPI_Comm_create();; return 0; } Pushing language CXX Popping language CXX Executing: g++ -o /tmp/petsc-Ymuwb2/config.libraries/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -Wl,--no-as-needed -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.libraries/conftest.o -L/usr/lib/i386-linux-gnu/openmpi/lib -L/usr/lib/i386-linux-gnu/openmpi/lib -lmpich -lnsl -lsocket -lrt -lnsl -lsocket -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Possible ERROR while running linker: exit code 256 stderr: /usr/bin/ld: cannot find -lmpich /usr/bin/ld: cannot find -lsocket /usr/bin/ld: cannot find -lsocket collect2: error: ld returned 1 exit status Popping language Cxx Checking for library in User specified root directory MPI: ['/usr/lib/i386-linux-gnu/openmpi/lib/libmpich.a', 'libgm.a', 'libpthread.a'] Contents: ['include', 'lib'] ================================================================================ TEST check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [MPI_Init MPI_Comm_create] in library ['/usr/lib/i386-linux-gnu/openmpi/lib/libmpich.a', 'libgm.a', 'libpthread.a'] [] Pushing language Cxx Executing: g++ -c -o /tmp/petsc-Ymuwb2/config.libraries/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.utilities.missing -I/tmp/petsc-Ymuwb2/PETSc.options.scalarTypes -I/tmp/petsc-Ymuwb2/config.libraries -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.libraries/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif char MPI_Init(); static void _check_MPI_Init() { MPI_Init(); } char MPI_Comm_create(); static void _check_MPI_Comm_create() { MPI_Comm_create(); } #ifdef __cplusplus } #endif int main() { _check_MPI_Init(); _check_MPI_Comm_create();; return 0; } Pushing language CXX Popping language CXX Executing: g++ -o /tmp/petsc-Ymuwb2/config.libraries/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -Wl,--no-as-needed -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.libraries/conftest.o -L/usr/lib/i386-linux-gnu/openmpi/lib -L/usr/lib/i386-linux-gnu/openmpi/lib -lmpich -lgm -lpthread -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Possible ERROR while running linker: exit code 256 stderr: /usr/bin/ld: cannot find -lmpich /usr/bin/ld: cannot find -lgm collect2: error: ld returned 1 exit status Popping language Cxx Checking for library in User specified root directory MPI: ['/usr/lib/i386-linux-gnu/openmpi/lib/liblamf77mpi.a', 'libmpi++.a', 'libmpi.a', 'liblam.a'] Contents: ['include', 'lib'] ================================================================================ TEST check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [MPI_Init MPI_Comm_create] in library ['/usr/lib/i386-linux-gnu/openmpi/lib/liblamf77mpi.a', 'libmpi++.a', 'libmpi.a', 'liblam.a'] [] Pushing language Cxx Executing: g++ -c -o /tmp/petsc-Ymuwb2/config.libraries/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.utilities.missing -I/tmp/petsc-Ymuwb2/PETSc.options.scalarTypes -I/tmp/petsc-Ymuwb2/config.libraries -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.libraries/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif char MPI_Init(); static void _check_MPI_Init() { MPI_Init(); } char MPI_Comm_create(); static void _check_MPI_Comm_create() { MPI_Comm_create(); } #ifdef __cplusplus } #endif int main() { _check_MPI_Init(); _check_MPI_Comm_create();; return 0; } Pushing language CXX Popping language CXX Executing: g++ -o /tmp/petsc-Ymuwb2/config.libraries/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -Wl,--no-as-needed -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.libraries/conftest.o -L/usr/lib/i386-linux-gnu/openmpi/lib -L/usr/lib/i386-linux-gnu/openmpi/lib -llamf77mpi -lmpi++ -lmpi -llam -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Possible ERROR while running linker: exit code 256 stderr: /usr/bin/ld: cannot find -llamf77mpi /usr/bin/ld: cannot find -llam collect2: error: ld returned 1 exit status Popping language Cxx Checking for library in User specified root directory MPI: ['/usr/lib/i386-linux-gnu/openmpi/lib/liblammpi++.a', 'libmpi.a', 'liblam.a'] Contents: ['include', 'lib'] ================================================================================ TEST check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [MPI_Init MPI_Comm_create] in library ['/usr/lib/i386-linux-gnu/openmpi/lib/liblammpi++.a', 'libmpi.a', 'liblam.a'] [] Pushing language Cxx Executing: g++ -c -o /tmp/petsc-Ymuwb2/config.libraries/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.utilities.missing -I/tmp/petsc-Ymuwb2/PETSc.options.scalarTypes -I/tmp/petsc-Ymuwb2/config.libraries -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.libraries/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif char MPI_Init(); static void _check_MPI_Init() { MPI_Init(); } char MPI_Comm_create(); static void _check_MPI_Comm_create() { MPI_Comm_create(); } #ifdef __cplusplus } #endif int main() { _check_MPI_Init(); _check_MPI_Comm_create();; return 0; } Pushing language CXX Popping language CXX Executing: g++ -o /tmp/petsc-Ymuwb2/config.libraries/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -Wl,--no-as-needed -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.libraries/conftest.o -L/usr/lib/i386-linux-gnu/openmpi/lib -L/usr/lib/i386-linux-gnu/openmpi/lib -llammpi++ -lmpi -llam -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Possible ERROR while running linker: exit code 256 stderr: /usr/bin/ld: cannot find -llammpi++ /usr/bin/ld: cannot find -llam collect2: error: ld returned 1 exit status Popping language Cxx Checking for library in User specified root directory MPI: ['/usr/lib/i386-linux-gnu/openmpi/lib/liblammpio.a', 'libpmpi.a', 'liblamf77mpi.a', 'libmpi.a', 'liblam.a'] Contents: ['include', 'lib'] ================================================================================ TEST check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [MPI_Init MPI_Comm_create] in library ['/usr/lib/i386-linux-gnu/openmpi/lib/liblammpio.a', 'libpmpi.a', 'liblamf77mpi.a', 'libmpi.a', 'liblam.a'] [] Pushing language Cxx Executing: g++ -c -o /tmp/petsc-Ymuwb2/config.libraries/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.utilities.missing -I/tmp/petsc-Ymuwb2/PETSc.options.scalarTypes -I/tmp/petsc-Ymuwb2/config.libraries -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.libraries/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif char MPI_Init(); static void _check_MPI_Init() { MPI_Init(); } char MPI_Comm_create(); static void _check_MPI_Comm_create() { MPI_Comm_create(); } #ifdef __cplusplus } #endif int main() { _check_MPI_Init(); _check_MPI_Comm_create();; return 0; } Pushing language CXX Popping language CXX Executing: g++ -o /tmp/petsc-Ymuwb2/config.libraries/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -Wl,--no-as-needed -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.libraries/conftest.o -L/usr/lib/i386-linux-gnu/openmpi/lib -L/usr/lib/i386-linux-gnu/openmpi/lib -llammpio -lpmpi -llamf77mpi -lmpi -llam -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Possible ERROR while running linker: exit code 256 stderr: /usr/bin/ld: cannot find -llammpio /usr/bin/ld: cannot find -lpmpi /usr/bin/ld: cannot find -llamf77mpi /usr/bin/ld: cannot find -llam collect2: error: ld returned 1 exit status Popping language Cxx Checking for library in User specified root directory MPI: ['/usr/lib/i386-linux-gnu/openmpi/lib/liblammpio.a', 'libpmpi.a', 'liblamf90mpi.a', 'libmpi.a', 'liblam.a'] Contents: ['include', 'lib'] ================================================================================ TEST check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [MPI_Init MPI_Comm_create] in library ['/usr/lib/i386-linux-gnu/openmpi/lib/liblammpio.a', 'libpmpi.a', 'liblamf90mpi.a', 'libmpi.a', 'liblam.a'] [] Pushing language Cxx Executing: g++ -c -o /tmp/petsc-Ymuwb2/config.libraries/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.utilities.missing -I/tmp/petsc-Ymuwb2/PETSc.options.scalarTypes -I/tmp/petsc-Ymuwb2/config.libraries -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.libraries/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif char MPI_Init(); static void _check_MPI_Init() { MPI_Init(); } char MPI_Comm_create(); static void _check_MPI_Comm_create() { MPI_Comm_create(); } #ifdef __cplusplus } #endif int main() { _check_MPI_Init(); _check_MPI_Comm_create();; return 0; } Pushing language CXX Popping language CXX Executing: g++ -o /tmp/petsc-Ymuwb2/config.libraries/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -Wl,--no-as-needed -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.libraries/conftest.o -L/usr/lib/i386-linux-gnu/openmpi/lib -L/usr/lib/i386-linux-gnu/openmpi/lib -llammpio -lpmpi -llamf90mpi -lmpi -llam -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Possible ERROR while running linker: exit code 256 stderr: /usr/bin/ld: cannot find -llammpio /usr/bin/ld: cannot find -lpmpi /usr/bin/ld: cannot find -llamf90mpi /usr/bin/ld: cannot find -llam collect2: error: ld returned 1 exit status Popping language Cxx Checking for library in User specified root directory MPI: ['/usr/lib/i386-linux-gnu/openmpi/lib/liblammpio.a', 'libpmpi.a', 'libmpi.a', 'liblam.a'] Contents: ['include', 'lib'] ================================================================================ TEST check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [MPI_Init MPI_Comm_create] in library ['/usr/lib/i386-linux-gnu/openmpi/lib/liblammpio.a', 'libpmpi.a', 'libmpi.a', 'liblam.a'] [] Pushing language Cxx Executing: g++ -c -o /tmp/petsc-Ymuwb2/config.libraries/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.utilities.missing -I/tmp/petsc-Ymuwb2/PETSc.options.scalarTypes -I/tmp/petsc-Ymuwb2/config.libraries -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.libraries/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif char MPI_Init(); static void _check_MPI_Init() { MPI_Init(); } char MPI_Comm_create(); static void _check_MPI_Comm_create() { MPI_Comm_create(); } #ifdef __cplusplus } #endif int main() { _check_MPI_Init(); _check_MPI_Comm_create();; return 0; } Pushing language CXX Popping language CXX Executing: g++ -o /tmp/petsc-Ymuwb2/config.libraries/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -Wl,--no-as-needed -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.libraries/conftest.o -L/usr/lib/i386-linux-gnu/openmpi/lib -L/usr/lib/i386-linux-gnu/openmpi/lib -llammpio -lpmpi -lmpi -llam -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Possible ERROR while running linker: exit code 256 stderr: /usr/bin/ld: cannot find -llammpio /usr/bin/ld: cannot find -lpmpi /usr/bin/ld: cannot find -llam collect2: error: ld returned 1 exit status Popping language Cxx Checking for library in User specified root directory MPI: ['/usr/lib/i386-linux-gnu/openmpi/lib/liblammpi++.a', 'libmpi.a', 'liblam.a'] Contents: ['include', 'lib'] ================================================================================ TEST check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [MPI_Init MPI_Comm_create] in library ['/usr/lib/i386-linux-gnu/openmpi/lib/liblammpi++.a', 'libmpi.a', 'liblam.a'] [] Pushing language Cxx Executing: g++ -c -o /tmp/petsc-Ymuwb2/config.libraries/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.utilities.missing -I/tmp/petsc-Ymuwb2/PETSc.options.scalarTypes -I/tmp/petsc-Ymuwb2/config.libraries -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.libraries/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif char MPI_Init(); static void _check_MPI_Init() { MPI_Init(); } char MPI_Comm_create(); static void _check_MPI_Comm_create() { MPI_Comm_create(); } #ifdef __cplusplus } #endif int main() { _check_MPI_Init(); _check_MPI_Comm_create();; return 0; } Pushing language CXX Popping language CXX Executing: g++ -o /tmp/petsc-Ymuwb2/config.libraries/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -Wl,--no-as-needed -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.libraries/conftest.o -L/usr/lib/i386-linux-gnu/openmpi/lib -L/usr/lib/i386-linux-gnu/openmpi/lib -llammpi++ -lmpi -llam -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Possible ERROR while running linker: exit code 256 stderr: /usr/bin/ld: cannot find -llammpi++ /usr/bin/ld: cannot find -llam collect2: error: ld returned 1 exit status Popping language Cxx Checking for library in User specified root directory MPI: ['/usr/lib/i386-linux-gnu/openmpi/lib/libmpi.a', 'liblam.a'] Contents: ['include', 'lib'] ================================================================================ TEST check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [MPI_Init MPI_Comm_create] in library ['/usr/lib/i386-linux-gnu/openmpi/lib/libmpi.a', 'liblam.a'] [] Pushing language Cxx Executing: g++ -c -o /tmp/petsc-Ymuwb2/config.libraries/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.utilities.missing -I/tmp/petsc-Ymuwb2/PETSc.options.scalarTypes -I/tmp/petsc-Ymuwb2/config.libraries -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.libraries/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif char MPI_Init(); static void _check_MPI_Init() { MPI_Init(); } char MPI_Comm_create(); static void _check_MPI_Comm_create() { MPI_Comm_create(); } #ifdef __cplusplus } #endif int main() { _check_MPI_Init(); _check_MPI_Comm_create();; return 0; } Pushing language CXX Popping language CXX Executing: g++ -o /tmp/petsc-Ymuwb2/config.libraries/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -Wl,--no-as-needed -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.libraries/conftest.o -L/usr/lib/i386-linux-gnu/openmpi/lib -L/usr/lib/i386-linux-gnu/openmpi/lib -lmpi -llam -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Possible ERROR while running linker: exit code 256 stderr: /usr/bin/ld: cannot find -llam collect2: error: ld returned 1 exit status Popping language Cxx Checking for library in User specified root directory MPI: ['/usr/lib/i386-linux-gnu/openmpi/lib/amd64/msmpifec.lib', '/usr/lib/i386-linux-gnu/openmpi/lib/amd64/msmpi.lib'] Contents: ['include', 'lib'] ================================================================================ TEST check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [MPI_Init MPI_Comm_create] in library ['/usr/lib/i386-linux-gnu/openmpi/lib/amd64/msmpifec.lib', '/usr/lib/i386-linux-gnu/openmpi/lib/amd64/msmpi.lib'] [] Pushing language Cxx Executing: g++ -c -o /tmp/petsc-Ymuwb2/config.libraries/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.utilities.missing -I/tmp/petsc-Ymuwb2/PETSc.options.scalarTypes -I/tmp/petsc-Ymuwb2/config.libraries -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.libraries/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif char MPI_Init(); static void _check_MPI_Init() { MPI_Init(); } char MPI_Comm_create(); static void _check_MPI_Comm_create() { MPI_Comm_create(); } #ifdef __cplusplus } #endif int main() { _check_MPI_Init(); _check_MPI_Comm_create();; return 0; } Pushing language CXX Popping language CXX Executing: g++ -o /tmp/petsc-Ymuwb2/config.libraries/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -Wl,--no-as-needed -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.libraries/conftest.o /usr/lib/i386-linux-gnu/openmpi/lib/amd64/msmpifec.lib /usr/lib/i386-linux-gnu/openmpi/lib/amd64/msmpi.lib -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Possible ERROR while running linker: exit code 256 stderr: g++: error: /usr/lib/i386-linux-gnu/openmpi/lib/amd64/msmpifec.lib: No such file or directory g++: error: /usr/lib/i386-linux-gnu/openmpi/lib/amd64/msmpi.lib: No such file or directory Popping language Cxx Checking for library in User specified root directory MPI: ['/usr/lib/i386-linux-gnu/openmpi/lib/i386/msmpifec.lib', '/usr/lib/i386-linux-gnu/openmpi/lib/i386/msmpi.lib'] Contents: ['include', 'lib'] ================================================================================ TEST check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [MPI_Init MPI_Comm_create] in library ['/usr/lib/i386-linux-gnu/openmpi/lib/i386/msmpifec.lib', '/usr/lib/i386-linux-gnu/openmpi/lib/i386/msmpi.lib'] [] Pushing language Cxx Executing: g++ -c -o /tmp/petsc-Ymuwb2/config.libraries/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.utilities.missing -I/tmp/petsc-Ymuwb2/PETSc.options.scalarTypes -I/tmp/petsc-Ymuwb2/config.libraries -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.libraries/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif char MPI_Init(); static void _check_MPI_Init() { MPI_Init(); } char MPI_Comm_create(); static void _check_MPI_Comm_create() { MPI_Comm_create(); } #ifdef __cplusplus } #endif int main() { _check_MPI_Init(); _check_MPI_Comm_create();; return 0; } Pushing language CXX Popping language CXX Executing: g++ -o /tmp/petsc-Ymuwb2/config.libraries/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -Wl,--no-as-needed -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.libraries/conftest.o /usr/lib/i386-linux-gnu/openmpi/lib/i386/msmpifec.lib /usr/lib/i386-linux-gnu/openmpi/lib/i386/msmpi.lib -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Possible ERROR while running linker: exit code 256 stderr: g++: error: /usr/lib/i386-linux-gnu/openmpi/lib/i386/msmpifec.lib: No such file or directory g++: error: /usr/lib/i386-linux-gnu/openmpi/lib/i386/msmpi.lib: No such file or directory Popping language Cxx Checking for library in User specified root directory MPI: ['/usr/lib/i386-linux-gnu/openmpi/lib/libmpich.a', 'libpthread.a'] Contents: ['include', 'lib'] ================================================================================ TEST check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [MPI_Init MPI_Comm_create] in library ['/usr/lib/i386-linux-gnu/openmpi/lib/libmpich.a', 'libpthread.a'] [] Pushing language Cxx Executing: g++ -c -o /tmp/petsc-Ymuwb2/config.libraries/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.utilities.missing -I/tmp/petsc-Ymuwb2/PETSc.options.scalarTypes -I/tmp/petsc-Ymuwb2/config.libraries -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.libraries/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif char MPI_Init(); static void _check_MPI_Init() { MPI_Init(); } char MPI_Comm_create(); static void _check_MPI_Comm_create() { MPI_Comm_create(); } #ifdef __cplusplus } #endif int main() { _check_MPI_Init(); _check_MPI_Comm_create();; return 0; } Pushing language CXX Popping language CXX Executing: g++ -o /tmp/petsc-Ymuwb2/config.libraries/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -Wl,--no-as-needed -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.libraries/conftest.o -L/usr/lib/i386-linux-gnu/openmpi/lib -L/usr/lib/i386-linux-gnu/openmpi/lib -lmpich -lpthread -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Possible ERROR while running linker: exit code 256 stderr: /usr/bin/ld: cannot find -lmpich collect2: error: ld returned 1 exit status Popping language Cxx Checking for library in User specified root directory MPI: ['/usr/lib/i386-linux-gnu/openmpi/lib/libmpi++.a', 'libmpi.a'] Contents: ['include', 'lib'] ================================================================================ TEST check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) TESTING: check from config.libraries(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/libraries.py:159) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [MPI_Init MPI_Comm_create] in library ['/usr/lib/i386-linux-gnu/openmpi/lib/libmpi++.a', 'libmpi.a'] [] Pushing language Cxx Executing: g++ -c -o /tmp/petsc-Ymuwb2/config.libraries/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.utilities.missing -I/tmp/petsc-Ymuwb2/PETSc.options.scalarTypes -I/tmp/petsc-Ymuwb2/config.libraries -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.libraries/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif char MPI_Init(); static void _check_MPI_Init() { MPI_Init(); } char MPI_Comm_create(); static void _check_MPI_Comm_create() { MPI_Comm_create(); } #ifdef __cplusplus } #endif int main() { _check_MPI_Init(); _check_MPI_Comm_create();; return 0; } Pushing language CXX Popping language CXX Executing: g++ -o /tmp/petsc-Ymuwb2/config.libraries/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -Wl,--no-as-needed -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.libraries/conftest.o -L/usr/lib/i386-linux-gnu/openmpi/lib -L/usr/lib/i386-linux-gnu/openmpi/lib -lmpi++ -lmpi -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Defined "HAVE_LIBMPI__" to "1" Defined "HAVE_LIBMPI" to "1" Popping language Cxx Checking for headers User specified root directory MPI: ['/usr/lib/i386-linux-gnu/openmpi/include'] Pushing language Cxx ================================================================================ TEST checkInclude from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:86) TESTING: checkInclude from config.headers(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files ['mpi.h'] in ['/usr/lib/i386-linux-gnu/openmpi/include'] Checking include with compiler flags var CPPFLAGS ['/usr/lib/i386-linux-gnu/openmpi/include'] Executing: g++ -E -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/i386-linux-gnu/openmpi/include /tmp/petsc-Ymuwb2/config.headers/conftest.cc stdout: # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.cc" # 1 "" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conftest.cc" # 1 "/tmp/petsc-Ymuwb2/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-Ymuwb2/config.headers/conftest.cc" 2 # 1 "/tmp/petsc-Ymuwb2/config.headers/conffix.h" 1 extern "C" { } # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.cc" 2 # 1 "/usr/lib/i386-linux-gnu/openmpi/include/mpi.h" 1 # 229 "/usr/lib/i386-linux-gnu/openmpi/include/mpi.h" # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 149 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 3 4 # 149 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 3 4 typedef int ptrdiff_t; # 216 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 3 4 typedef unsigned int size_t; # 426 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 3 4 typedef struct { long long __max_align_ll __attribute__((__aligned__(__alignof__(long long)))); long double __max_align_ld __attribute__((__aligned__(__alignof__(long double)))); __float128 __max_align_f128 __attribute__((__aligned__(__alignof(__float128)))); } max_align_t; typedef decltype(nullptr) nullptr_t; # 230 "/usr/lib/i386-linux-gnu/openmpi/include/mpi.h" 2 # 262 "/usr/lib/i386-linux-gnu/openmpi/include/mpi.h" # 1 "/usr/lib/i386-linux-gnu/openmpi/include/mpi_portable_platform.h" 1 # 263 "/usr/lib/i386-linux-gnu/openmpi/include/mpi.h" 2 # 320 "/usr/lib/i386-linux-gnu/openmpi/include/mpi.h" # 320 "/usr/lib/i386-linux-gnu/openmpi/include/mpi.h" extern "C" { typedef ptrdiff_t MPI_Aint; typedef long MPI_Offset; typedef long MPI_Count; typedef struct ompi_communicator_t *MPI_Comm; typedef struct ompi_datatype_t *MPI_Datatype; typedef struct ompi_errhandler_t *MPI_Errhandler; typedef struct ompi_file_t *MPI_File; typedef struct ompi_group_t *MPI_Group; typedef struct ompi_info_t *MPI_Info; typedef struct ompi_op_t *MPI_Op; typedef struct ompi_request_t *MPI_Request; typedef struct ompi_message_t *MPI_Message; typedef struct ompi_status_public_t MPI_Status; typedef struct ompi_win_t *MPI_Win; typedef struct mca_base_var_enum_t *MPI_T_enum; typedef struct ompi_mpit_cvar_handle_t *MPI_T_cvar_handle; typedef struct mca_base_pvar_handle_t *MPI_T_pvar_handle; typedef struct mca_base_pvar_session_t *MPI_T_pvar_session; struct ompi_status_public_t { int MPI_SOURCE; int MPI_TAG; int MPI_ERROR; int _cancelled; size_t _ucount; }; typedef struct ompi_status_public_t ompi_status_public_t; # 374 "/usr/lib/i386-linux-gnu/openmpi/include/mpi.h" typedef int (MPI_Copy_function)(MPI_Comm, int, void *, void *, void *, int *); typedef int (MPI_Delete_function)(MPI_Comm, int, void *, void *); typedef int (MPI_Datarep_extent_function)(MPI_Datatype, MPI_Aint *, void *); typedef int (MPI_Datarep_conversion_function)(void *, MPI_Datatype, int, void *, MPI_Offset, void *); typedef void (MPI_Comm_errhandler_function)(MPI_Comm *, int *, ...); typedef MPI_Comm_errhandler_function MPI_Comm_errhandler_fn ; typedef void (ompi_file_errhandler_fn)(MPI_File *, int *, ...); typedef ompi_file_errhandler_fn MPI_File_errhandler_fn ; typedef ompi_file_errhandler_fn MPI_File_errhandler_function; typedef void (MPI_Win_errhandler_function)(MPI_Win *, int *, ...); typedef MPI_Win_errhandler_function MPI_Win_errhandler_fn ; typedef void (MPI_Handler_function)(MPI_Comm *, int *, ...); typedef void (MPI_User_function)(void *, void *, int *, MPI_Datatype *); typedef int (MPI_Comm_copy_attr_function)(MPI_Comm, int, void *, void *, void *, int *); typedef int (MPI_Comm_delete_attr_function)(MPI_Comm, int, void *, void *); typedef int (MPI_Type_copy_attr_function)(MPI_Datatype, int, void *, void *, void *, int *); typedef int (MPI_Type_delete_attr_function)(MPI_Datatype, int, void *, void *); typedef int (MPI_Win_copy_attr_function)(MPI_Win, int, void *, void *, void *, int *); typedef int (MPI_Win_delete_attr_function)(MPI_Win, int, void *, void *); typedef int (MPI_Grequest_query_function)(void *, MPI_Status *); typedef int (MPI_Grequest_free_function)(void *); typedef int (MPI_Grequest_cancel_function)(void *, int); # 510 "/usr/lib/i386-linux-gnu/openmpi/include/mpi.h" enum { MPI_TAG_UB, MPI_HOST, MPI_IO, MPI_WTIME_IS_GLOBAL, MPI_APPNUM, MPI_LASTUSEDCODE, MPI_UNIVERSE_SIZE, MPI_WIN_BASE, MPI_WIN_SIZE, MPI_WIN_DISP_UNIT, MPI_WIN_CREATE_FLAVOR, MPI_WIN_MODEL, IMPI_CLIENT_SIZE, IMPI_CLIENT_COLOR, IMPI_HOST_SIZE, IMPI_HOST_COLOR }; # 624 "/usr/lib/i386-linux-gnu/openmpi/include/mpi.h" enum { MPI_IDENT, MPI_CONGRUENT, MPI_SIMILAR, MPI_UNEQUAL }; enum { MPI_THREAD_SINGLE, MPI_THREAD_FUNNELED, MPI_THREAD_SERIALIZED, MPI_THREAD_MULTIPLE }; enum { MPI_COMBINER_NAMED, MPI_COMBINER_DUP, MPI_COMBINER_CONTIGUOUS, MPI_COMBINER_VECTOR, MPI_COMBINER_HVECTOR_INTEGER, MPI_COMBINER_HVECTOR, MPI_COMBINER_INDEXED, MPI_COMBINER_HINDEXED_INTEGER, MPI_COMBINER_HINDEXED, MPI_COMBINER_INDEXED_BLOCK, MPI_COMBINER_STRUCT_INTEGER, MPI_COMBINER_STRUCT, MPI_COMBINER_SUBARRAY, MPI_COMBINER_DARRAY, MPI_COMBINER_F90_REAL, MPI_COMBINER_F90_COMPLEX, MPI_COMBINER_F90_INTEGER, MPI_COMBINER_RESIZED, MPI_COMBINER_HINDEXED_BLOCK }; enum { MPI_COMM_TYPE_SHARED, OMPI_COMM_TYPE_HWTHREAD, OMPI_COMM_TYPE_CORE, OMPI_COMM_TYPE_L1CACHE, OMPI_COMM_TYPE_L2CACHE, OMPI_COMM_TYPE_L3CACHE, OMPI_COMM_TYPE_SOCKET, OMPI_COMM_TYPE_NUMA, OMPI_COMM_TYPE_BOARD, OMPI_COMM_TYPE_HOST, OMPI_COMM_TYPE_CU, OMPI_COMM_TYPE_CLUSTER }; enum { MPI_T_VERBOSITY_USER_BASIC, MPI_T_VERBOSITY_USER_DETAIL, MPI_T_VERBOSITY_USER_ALL, MPI_T_VERBOSITY_TUNER_BASIC, MPI_T_VERBOSITY_TUNER_DETAIL, MPI_T_VERBOSITY_TUNER_ALL, MPI_T_VERBOSITY_MPIDEV_BASIC, MPI_T_VERBOSITY_MPIDEV_DETAIL, MPI_T_VERBOSITY_MPIDEV_ALL }; enum { MPI_T_SCOPE_CONSTANT, MPI_T_SCOPE_READONLY, MPI_T_SCOPE_LOCAL, MPI_T_SCOPE_GROUP, MPI_T_SCOPE_GROUP_EQ, MPI_T_SCOPE_ALL, MPI_T_SCOPE_ALL_EQ }; enum { MPI_T_BIND_NO_OBJECT, MPI_T_BIND_MPI_COMM, MPI_T_BIND_MPI_DATATYPE, MPI_T_BIND_MPI_ERRHANDLER, MPI_T_BIND_MPI_FILE, MPI_T_BIND_MPI_GROUP, MPI_T_BIND_MPI_OP, MPI_T_BIND_MPI_REQUEST, MPI_T_BIND_MPI_WIN, MPI_T_BIND_MPI_MESSAGE, MPI_T_BIND_MPI_INFO }; enum { MPI_T_PVAR_CLASS_STATE, MPI_T_PVAR_CLASS_LEVEL, MPI_T_PVAR_CLASS_SIZE, MPI_T_PVAR_CLASS_PERCENTAGE, MPI_T_PVAR_CLASS_HIGHWATERMARK, MPI_T_PVAR_CLASS_LOWWATERMARK, MPI_T_PVAR_CLASS_COUNTER, MPI_T_PVAR_CLASS_AGGREGATE, MPI_T_PVAR_CLASS_TIMER, MPI_T_PVAR_CLASS_GENERIC }; # 826 "/usr/lib/i386-linux-gnu/openmpi/include/mpi.h" __attribute__((visibility("default"))) int OMPI_C_MPI_TYPE_NULL_DELETE_FN( MPI_Datatype datatype, int type_keyval, void* attribute_val_out, void* extra_state ); __attribute__((visibility("default"))) int OMPI_C_MPI_TYPE_NULL_COPY_FN( MPI_Datatype datatype, int type_keyval, void* extra_state, void* attribute_val_in, void* attribute_val_out, int* flag ); __attribute__((visibility("default"))) int OMPI_C_MPI_TYPE_DUP_FN( MPI_Datatype datatype, int type_keyval, void* extra_state, void* attribute_val_in, void* attribute_val_out, int* flag ); __attribute__((visibility("default"))) int OMPI_C_MPI_COMM_NULL_DELETE_FN( MPI_Comm comm, int comm_keyval, void* attribute_val_out, void* extra_state ); __attribute__((visibility("default"))) int OMPI_C_MPI_COMM_NULL_COPY_FN( MPI_Comm comm, int comm_keyval, void* extra_state, void* attribute_val_in, void* attribute_val_out, int* flag ); __attribute__((visibility("default"))) int OMPI_C_MPI_COMM_DUP_FN( MPI_Comm comm, int comm_keyval, void* extra_state, void* attribute_val_in, void* attribute_val_out, int* flag ); __attribute__((visibility("default"))) int OMPI_C_MPI_NULL_DELETE_FN( MPI_Comm comm, int comm_keyval, void* attribute_val_out, void* extra_state ) ; __attribute__((visibility("default"))) int OMPI_C_MPI_NULL_COPY_FN( MPI_Comm comm, int comm_keyval, void* extra_state, void* attribute_val_in, void* attribute_val_out, int* flag ) ; __attribute__((visibility("default"))) int OMPI_C_MPI_DUP_FN( MPI_Comm comm, int comm_keyval, void* extra_state, void* attribute_val_in, void* attribute_val_out, int* flag ) ; __attribute__((visibility("default"))) int OMPI_C_MPI_WIN_NULL_DELETE_FN( MPI_Win window, int win_keyval, void* attribute_val_out, void* extra_state ); __attribute__((visibility("default"))) int OMPI_C_MPI_WIN_NULL_COPY_FN( MPI_Win window, int win_keyval, void* extra_state, void* attribute_val_in, void* attribute_val_out, int* flag ); __attribute__((visibility("default"))) int OMPI_C_MPI_WIN_DUP_FN( MPI_Win window, int win_keyval, void* extra_state, void* attribute_val_in, void* attribute_val_out, int* flag ); # 896 "/usr/lib/i386-linux-gnu/openmpi/include/mpi.h" __attribute__((visibility("default"))) extern struct ompi_predefined_communicator_t ompi_mpi_comm_world; __attribute__((visibility("default"))) extern struct ompi_predefined_communicator_t ompi_mpi_comm_self; __attribute__((visibility("default"))) extern struct ompi_predefined_communicator_t ompi_mpi_comm_null; __attribute__((visibility("default"))) extern struct ompi_predefined_group_t ompi_mpi_group_empty; __attribute__((visibility("default"))) extern struct ompi_predefined_group_t ompi_mpi_group_null; __attribute__((visibility("default"))) extern struct ompi_predefined_request_t ompi_request_null; __attribute__((visibility("default"))) extern struct ompi_predefined_message_t ompi_message_null; __attribute__((visibility("default"))) extern struct ompi_predefined_message_t ompi_message_no_proc; __attribute__((visibility("default"))) extern struct ompi_predefined_op_t ompi_mpi_op_null; __attribute__((visibility("default"))) extern struct ompi_predefined_op_t ompi_mpi_op_min; __attribute__((visibility("default"))) extern struct ompi_predefined_op_t ompi_mpi_op_max; __attribute__((visibility("default"))) extern struct ompi_predefined_op_t ompi_mpi_op_sum; __attribute__((visibility("default"))) extern struct ompi_predefined_op_t ompi_mpi_op_prod; __attribute__((visibility("default"))) extern struct ompi_predefined_op_t ompi_mpi_op_land; __attribute__((visibility("default"))) extern struct ompi_predefined_op_t ompi_mpi_op_band; __attribute__((visibility("default"))) extern struct ompi_predefined_op_t ompi_mpi_op_lor; __attribute__((visibility("default"))) extern struct ompi_predefined_op_t ompi_mpi_op_bor; __attribute__((visibility("default"))) extern struct ompi_predefined_op_t ompi_mpi_op_lxor; __attribute__((visibility("default"))) extern struct ompi_predefined_op_t ompi_mpi_op_bxor; __attribute__((visibility("default"))) extern struct ompi_predefined_op_t ompi_mpi_op_maxloc; __attribute__((visibility("default"))) extern struct ompi_predefined_op_t ompi_mpi_op_minloc; __attribute__((visibility("default"))) extern struct ompi_predefined_op_t ompi_mpi_op_replace; __attribute__((visibility("default"))) extern struct ompi_predefined_op_t ompi_mpi_op_no_op; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_datatype_null; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_lb ; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_ub ; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_char; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_signed_char; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_unsigned_char; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_byte; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_short; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_unsigned_short; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_int; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_unsigned; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_long; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_unsigned_long; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_long_long_int; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_unsigned_long_long; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_float; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_double; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_long_double; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_wchar; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_packed; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_cxx_bool; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_cxx_cplex; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_cxx_dblcplex; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_cxx_ldblcplex; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_logical; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_character; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_integer; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_real; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_dblprec; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_cplex; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_dblcplex; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_ldblcplex; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_2int; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_2integer; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_2real; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_2dblprec; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_2cplex; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_2dblcplex; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_float_int; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_double_int; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_longdbl_int; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_short_int; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_long_int; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_logical1; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_logical2; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_logical4; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_logical8; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_integer1; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_integer2; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_integer4; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_integer8; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_integer16; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_real2; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_real4; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_real8; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_real16; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_complex8; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_complex16; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_complex32; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_int8_t; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_uint8_t; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_int16_t; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_uint16_t; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_int32_t; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_uint32_t; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_int64_t; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_uint64_t; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_aint; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_offset; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_count; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_c_bool; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_c_complex; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_c_float_complex; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_c_double_complex; __attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_c_long_double_complex; __attribute__((visibility("default"))) extern struct ompi_predefined_errhandler_t ompi_mpi_errhandler_null; __attribute__((visibility("default"))) extern struct ompi_predefined_errhandler_t ompi_mpi_errors_are_fatal; __attribute__((visibility("default"))) extern struct ompi_predefined_errhandler_t ompi_mpi_errors_return; __attribute__((visibility("default"))) extern struct ompi_predefined_win_t ompi_mpi_win_null; __attribute__((visibility("default"))) extern struct ompi_predefined_file_t ompi_mpi_file_null; __attribute__((visibility("default"))) extern struct ompi_predefined_info_t ompi_mpi_info_null; __attribute__((visibility("default"))) extern struct ompi_predefined_info_t ompi_mpi_info_env; __attribute__((visibility("default"))) extern int *MPI_F_STATUS_IGNORE; __attribute__((visibility("default"))) extern int *MPI_F_STATUSES_IGNORE; # 1195 "/usr/lib/i386-linux-gnu/openmpi/include/mpi.h" __attribute__((visibility("default"))) int MPI_Abort(MPI_Comm comm, int errorcode); __attribute__((visibility("default"))) int MPI_Accumulate(const void *origin_addr, int origin_count, MPI_Datatype origin_datatype, int target_rank, MPI_Aint target_disp, int target_count, MPI_Datatype target_datatype, MPI_Op op, MPI_Win win); __attribute__((visibility("default"))) int MPI_Add_error_class(int *errorclass); __attribute__((visibility("default"))) int MPI_Add_error_code(int errorclass, int *errorcode); __attribute__((visibility("default"))) int MPI_Add_error_string(int errorcode, const char *string); __attribute__((visibility("default"))) int MPI_Address(void *location, MPI_Aint *address) ; __attribute__((visibility("default"))) int MPI_Allgather(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm); __attribute__((visibility("default"))) int MPI_Iallgather(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int MPI_Allgatherv(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, const int recvcounts[], const int displs[], MPI_Datatype recvtype, MPI_Comm comm); __attribute__((visibility("default"))) int MPI_Iallgatherv(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, const int recvcounts[], const int displs[], MPI_Datatype recvtype, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int MPI_Alloc_mem(MPI_Aint size, MPI_Info info, void *baseptr); __attribute__((visibility("default"))) int MPI_Allreduce(const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm); __attribute__((visibility("default"))) int MPI_Iallreduce(const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int MPI_Alltoall(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm); __attribute__((visibility("default"))) int MPI_Ialltoall(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int MPI_Alltoallv(const void *sendbuf, const int sendcounts[], const int sdispls[], MPI_Datatype sendtype, void *recvbuf, const int recvcounts[], const int rdispls[], MPI_Datatype recvtype, MPI_Comm comm); __attribute__((visibility("default"))) int MPI_Ialltoallv(const void *sendbuf, const int sendcounts[], const int sdispls[], MPI_Datatype sendtype, void *recvbuf, const int recvcounts[], const int rdispls[], MPI_Datatype recvtype, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int MPI_Alltoallw(const void *sendbuf, const int sendcounts[], const int sdispls[], const MPI_Datatype sendtypes[], void *recvbuf, const int recvcounts[], const int rdispls[], const MPI_Datatype recvtypes[], MPI_Comm comm); __attribute__((visibility("default"))) int MPI_Ialltoallw(const void *sendbuf, const int sendcounts[], const int sdispls[], const MPI_Datatype sendtypes[], void *recvbuf, const int recvcounts[], const int rdispls[], const MPI_Datatype recvtypes[], MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int MPI_Attr_delete(MPI_Comm comm, int keyval) ; __attribute__((visibility("default"))) int MPI_Attr_get(MPI_Comm comm, int keyval, void *attribute_val, int *flag) ; __attribute__((visibility("default"))) int MPI_Attr_put(MPI_Comm comm, int keyval, void *attribute_val) ; __attribute__((visibility("default"))) int MPI_Barrier(MPI_Comm comm); __attribute__((visibility("default"))) int MPI_Ibarrier(MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int MPI_Bcast(void *buffer, int count, MPI_Datatype datatype, int root, MPI_Comm comm); __attribute__((visibility("default"))) int MPI_Bsend(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm); __attribute__((visibility("default"))) int MPI_Ibcast(void *buffer, int count, MPI_Datatype datatype, int root, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int MPI_Bsend_init(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int MPI_Buffer_attach(void *buffer, int size); __attribute__((visibility("default"))) int MPI_Buffer_detach(void *buffer, int *size); __attribute__((visibility("default"))) int MPI_Cancel(MPI_Request *request); __attribute__((visibility("default"))) int MPI_Cart_coords(MPI_Comm comm, int rank, int maxdims, int coords[]); __attribute__((visibility("default"))) int MPI_Cart_create(MPI_Comm old_comm, int ndims, const int dims[], const int periods[], int reorder, MPI_Comm *comm_cart); __attribute__((visibility("default"))) int MPI_Cart_get(MPI_Comm comm, int maxdims, int dims[], int periods[], int coords[]); __attribute__((visibility("default"))) int MPI_Cart_map(MPI_Comm comm, int ndims, const int dims[], const int periods[], int *newrank); __attribute__((visibility("default"))) int MPI_Cart_rank(MPI_Comm comm, const int coords[], int *rank); __attribute__((visibility("default"))) int MPI_Cart_shift(MPI_Comm comm, int direction, int disp, int *rank_source, int *rank_dest); __attribute__((visibility("default"))) int MPI_Cart_sub(MPI_Comm comm, const int remain_dims[], MPI_Comm *new_comm); __attribute__((visibility("default"))) int MPI_Cartdim_get(MPI_Comm comm, int *ndims); __attribute__((visibility("default"))) int MPI_Close_port(const char *port_name); __attribute__((visibility("default"))) int MPI_Comm_accept(const char *port_name, MPI_Info info, int root, MPI_Comm comm, MPI_Comm *newcomm); __attribute__((visibility("default"))) int MPI_Comm_c2f(MPI_Comm comm); __attribute__((visibility("default"))) int MPI_Comm_call_errhandler(MPI_Comm comm, int errorcode); __attribute__((visibility("default"))) int MPI_Comm_compare(MPI_Comm comm1, MPI_Comm comm2, int *result); __attribute__((visibility("default"))) int MPI_Comm_connect(const char *port_name, MPI_Info info, int root, MPI_Comm comm, MPI_Comm *newcomm); __attribute__((visibility("default"))) int MPI_Comm_create_errhandler(MPI_Comm_errhandler_function *function, MPI_Errhandler *errhandler); __attribute__((visibility("default"))) int MPI_Comm_create_keyval(MPI_Comm_copy_attr_function *comm_copy_attr_fn, MPI_Comm_delete_attr_function *comm_delete_attr_fn, int *comm_keyval, void *extra_state); __attribute__((visibility("default"))) int MPI_Comm_create_group(MPI_Comm comm, MPI_Group group, int tag, MPI_Comm *newcomm); __attribute__((visibility("default"))) int MPI_Comm_create(MPI_Comm comm, MPI_Group group, MPI_Comm *newcomm); __attribute__((visibility("default"))) int MPI_Comm_delete_attr(MPI_Comm comm, int comm_keyval); __attribute__((visibility("default"))) int MPI_Comm_disconnect(MPI_Comm *comm); __attribute__((visibility("default"))) int MPI_Comm_dup(MPI_Comm comm, MPI_Comm *newcomm); __attribute__((visibility("default"))) int MPI_Comm_idup(MPI_Comm comm, MPI_Comm *newcomm, MPI_Request *request); __attribute__((visibility("default"))) int MPI_Comm_dup_with_info(MPI_Comm comm, MPI_Info info, MPI_Comm *newcomm); __attribute__((visibility("default"))) MPI_Comm MPI_Comm_f2c(int comm); __attribute__((visibility("default"))) int MPI_Comm_free_keyval(int *comm_keyval); __attribute__((visibility("default"))) int MPI_Comm_free(MPI_Comm *comm); __attribute__((visibility("default"))) int MPI_Comm_get_attr(MPI_Comm comm, int comm_keyval, void *attribute_val, int *flag); __attribute__((visibility("default"))) int MPI_Dist_graph_create(MPI_Comm comm_old, int n, const int nodes[], const int degrees[], const int targets[], const int weights[], MPI_Info info, int reorder, MPI_Comm * newcomm); __attribute__((visibility("default"))) int MPI_Dist_graph_create_adjacent(MPI_Comm comm_old, int indegree, const int sources[], const int sourceweights[], int outdegree, const int destinations[], const int destweights[], MPI_Info info, int reorder, MPI_Comm *comm_dist_graph); __attribute__((visibility("default"))) int MPI_Dist_graph_neighbors(MPI_Comm comm, int maxindegree, int sources[], int sourceweights[], int maxoutdegree, int destinations[], int destweights[]); __attribute__((visibility("default"))) int MPI_Dist_graph_neighbors_count(MPI_Comm comm, int *inneighbors, int *outneighbors, int *weighted); __attribute__((visibility("default"))) int MPI_Comm_get_errhandler(MPI_Comm comm, MPI_Errhandler *erhandler); __attribute__((visibility("default"))) int MPI_Comm_get_info(MPI_Comm comm, MPI_Info *info_used); __attribute__((visibility("default"))) int MPI_Comm_get_name(MPI_Comm comm, char *comm_name, int *resultlen); __attribute__((visibility("default"))) int MPI_Comm_get_parent(MPI_Comm *parent); __attribute__((visibility("default"))) int MPI_Comm_group(MPI_Comm comm, MPI_Group *group); __attribute__((visibility("default"))) int MPI_Comm_join(int fd, MPI_Comm *intercomm); __attribute__((visibility("default"))) int MPI_Comm_rank(MPI_Comm comm, int *rank); __attribute__((visibility("default"))) int MPI_Comm_remote_group(MPI_Comm comm, MPI_Group *group); __attribute__((visibility("default"))) int MPI_Comm_remote_size(MPI_Comm comm, int *size); __attribute__((visibility("default"))) int MPI_Comm_set_attr(MPI_Comm comm, int comm_keyval, void *attribute_val); __attribute__((visibility("default"))) int MPI_Comm_set_errhandler(MPI_Comm comm, MPI_Errhandler errhandler); __attribute__((visibility("default"))) int MPI_Comm_set_info(MPI_Comm comm, MPI_Info info); __attribute__((visibility("default"))) int MPI_Comm_set_name(MPI_Comm comm, const char *comm_name); __attribute__((visibility("default"))) int MPI_Comm_size(MPI_Comm comm, int *size); __attribute__((visibility("default"))) int MPI_Comm_spawn(const char *command, char *argv[], int maxprocs, MPI_Info info, int root, MPI_Comm comm, MPI_Comm *intercomm, int array_of_errcodes[]); __attribute__((visibility("default"))) int MPI_Comm_spawn_multiple(int count, char *array_of_commands[], char **array_of_argv[], const int array_of_maxprocs[], const MPI_Info array_of_info[], int root, MPI_Comm comm, MPI_Comm *intercomm, int array_of_errcodes[]); __attribute__((visibility("default"))) int MPI_Comm_split(MPI_Comm comm, int color, int key, MPI_Comm *newcomm); __attribute__((visibility("default"))) int MPI_Comm_split_type(MPI_Comm comm, int split_type, int key, MPI_Info info, MPI_Comm *newcomm); __attribute__((visibility("default"))) int MPI_Comm_test_inter(MPI_Comm comm, int *flag); __attribute__((visibility("default"))) int MPI_Compare_and_swap(const void *origin_addr, const void *compare_addr, void *result_addr, MPI_Datatype datatype, int target_rank, MPI_Aint target_disp, MPI_Win win); __attribute__((visibility("default"))) int MPI_Dims_create(int nnodes, int ndims, int dims[]); __attribute__((visibility("default"))) int MPI_Errhandler_c2f(MPI_Errhandler errhandler); __attribute__((visibility("default"))) int MPI_Errhandler_create(MPI_Handler_function *function, MPI_Errhandler *errhandler) ; __attribute__((visibility("default"))) MPI_Errhandler MPI_Errhandler_f2c(int errhandler); __attribute__((visibility("default"))) int MPI_Errhandler_free(MPI_Errhandler *errhandler); __attribute__((visibility("default"))) int MPI_Errhandler_get(MPI_Comm comm, MPI_Errhandler *errhandler) ; __attribute__((visibility("default"))) int MPI_Errhandler_set(MPI_Comm comm, MPI_Errhandler errhandler) ; __attribute__((visibility("default"))) int MPI_Error_class(int errorcode, int *errorclass); __attribute__((visibility("default"))) int MPI_Error_string(int errorcode, char *string, int *resultlen); __attribute__((visibility("default"))) int MPI_Exscan(const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm); __attribute__((visibility("default"))) int MPI_Fetch_and_op(const void *origin_addr, void *result_addr, MPI_Datatype datatype, int target_rank, MPI_Aint target_disp, MPI_Op op, MPI_Win win); __attribute__((visibility("default"))) int MPI_Iexscan(const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int MPI_File_c2f(MPI_File file); __attribute__((visibility("default"))) MPI_File MPI_File_f2c(int file); __attribute__((visibility("default"))) int MPI_File_call_errhandler(MPI_File fh, int errorcode); __attribute__((visibility("default"))) int MPI_File_create_errhandler(MPI_File_errhandler_function *function, MPI_Errhandler *errhandler); __attribute__((visibility("default"))) int MPI_File_set_errhandler( MPI_File file, MPI_Errhandler errhandler); __attribute__((visibility("default"))) int MPI_File_get_errhandler( MPI_File file, MPI_Errhandler *errhandler); __attribute__((visibility("default"))) int MPI_File_open(MPI_Comm comm, const char *filename, int amode, MPI_Info info, MPI_File *fh); __attribute__((visibility("default"))) int MPI_File_close(MPI_File *fh); __attribute__((visibility("default"))) int MPI_File_delete(const char *filename, MPI_Info info); __attribute__((visibility("default"))) int MPI_File_set_size(MPI_File fh, MPI_Offset size); __attribute__((visibility("default"))) int MPI_File_preallocate(MPI_File fh, MPI_Offset size); __attribute__((visibility("default"))) int MPI_File_get_size(MPI_File fh, MPI_Offset *size); __attribute__((visibility("default"))) int MPI_File_get_group(MPI_File fh, MPI_Group *group); __attribute__((visibility("default"))) int MPI_File_get_amode(MPI_File fh, int *amode); __attribute__((visibility("default"))) int MPI_File_set_info(MPI_File fh, MPI_Info info); __attribute__((visibility("default"))) int MPI_File_get_info(MPI_File fh, MPI_Info *info_used); __attribute__((visibility("default"))) int MPI_File_set_view(MPI_File fh, MPI_Offset disp, MPI_Datatype etype, MPI_Datatype filetype, const char *datarep, MPI_Info info); __attribute__((visibility("default"))) int MPI_File_get_view(MPI_File fh, MPI_Offset *disp, MPI_Datatype *etype, MPI_Datatype *filetype, char *datarep); __attribute__((visibility("default"))) int MPI_File_read_at(MPI_File fh, MPI_Offset offset, void *buf, int count, MPI_Datatype datatype, MPI_Status *status); __attribute__((visibility("default"))) int MPI_File_read_at_all(MPI_File fh, MPI_Offset offset, void *buf, int count, MPI_Datatype datatype, MPI_Status *status); __attribute__((visibility("default"))) int MPI_File_write_at(MPI_File fh, MPI_Offset offset, const void *buf, int count, MPI_Datatype datatype, MPI_Status *status); __attribute__((visibility("default"))) int MPI_File_write_at_all(MPI_File fh, MPI_Offset offset, const void *buf, int count, MPI_Datatype datatype, MPI_Status *status); __attribute__((visibility("default"))) int MPI_File_iread_at(MPI_File fh, MPI_Offset offset, void *buf, int count, MPI_Datatype datatype, MPI_Request *request); __attribute__((visibility("default"))) int MPI_File_iwrite_at(MPI_File fh, MPI_Offset offset, const void *buf, int count, MPI_Datatype datatype, MPI_Request *request); __attribute__((visibility("default"))) int MPI_File_iread_at_all(MPI_File fh, MPI_Offset offset, void *buf, int count, MPI_Datatype datatype, MPI_Request *request); __attribute__((visibility("default"))) int MPI_File_iwrite_at_all(MPI_File fh, MPI_Offset offset, const void *buf, int count, MPI_Datatype datatype, MPI_Request *request); __attribute__((visibility("default"))) int MPI_File_read(MPI_File fh, void *buf, int count, MPI_Datatype datatype, MPI_Status *status); __attribute__((visibility("default"))) int MPI_File_read_all(MPI_File fh, void *buf, int count, MPI_Datatype datatype, MPI_Status *status); __attribute__((visibility("default"))) int MPI_File_write(MPI_File fh, const void *buf, int count, MPI_Datatype datatype, MPI_Status *status); __attribute__((visibility("default"))) int MPI_File_write_all(MPI_File fh, const void *buf, int count, MPI_Datatype datatype, MPI_Status *status); __attribute__((visibility("default"))) int MPI_File_iread(MPI_File fh, void *buf, int count, MPI_Datatype datatype, MPI_Request *request); __attribute__((visibility("default"))) int MPI_File_iwrite(MPI_File fh, const void *buf, int count, MPI_Datatype datatype, MPI_Request *request); __attribute__((visibility("default"))) int MPI_File_iread_all(MPI_File fh, void *buf, int count, MPI_Datatype datatype, MPI_Request *request); __attribute__((visibility("default"))) int MPI_File_iwrite_all(MPI_File fh, const void *buf, int count, MPI_Datatype datatype, MPI_Request *request); __attribute__((visibility("default"))) int MPI_File_seek(MPI_File fh, MPI_Offset offset, int whence); __attribute__((visibility("default"))) int MPI_File_get_position(MPI_File fh, MPI_Offset *offset); __attribute__((visibility("default"))) int MPI_File_get_byte_offset(MPI_File fh, MPI_Offset offset, MPI_Offset *disp); __attribute__((visibility("default"))) int MPI_File_read_shared(MPI_File fh, void *buf, int count, MPI_Datatype datatype, MPI_Status *status); __attribute__((visibility("default"))) int MPI_File_write_shared(MPI_File fh, const void *buf, int count, MPI_Datatype datatype, MPI_Status *status); __attribute__((visibility("default"))) int MPI_File_iread_shared(MPI_File fh, void *buf, int count, MPI_Datatype datatype, MPI_Request *request); __attribute__((visibility("default"))) int MPI_File_iwrite_shared(MPI_File fh, const void *buf, int count, MPI_Datatype datatype, MPI_Request *request); __attribute__((visibility("default"))) int MPI_File_read_ordered(MPI_File fh, void *buf, int count, MPI_Datatype datatype, MPI_Status *status); __attribute__((visibility("default"))) int MPI_File_write_ordered(MPI_File fh, const void *buf, int count, MPI_Datatype datatype, MPI_Status *status); __attribute__((visibility("default"))) int MPI_File_seek_shared(MPI_File fh, MPI_Offset offset, int whence); __attribute__((visibility("default"))) int MPI_File_get_position_shared(MPI_File fh, MPI_Offset *offset); __attribute__((visibility("default"))) int MPI_File_read_at_all_begin(MPI_File fh, MPI_Offset offset, void *buf, int count, MPI_Datatype datatype); __attribute__((visibility("default"))) int MPI_File_read_at_all_end(MPI_File fh, void *buf, MPI_Status *status); __attribute__((visibility("default"))) int MPI_File_write_at_all_begin(MPI_File fh, MPI_Offset offset, const void *buf, int count, MPI_Datatype datatype); __attribute__((visibility("default"))) int MPI_File_write_at_all_end(MPI_File fh, const void *buf, MPI_Status *status); __attribute__((visibility("default"))) int MPI_File_read_all_begin(MPI_File fh, void *buf, int count, MPI_Datatype datatype); __attribute__((visibility("default"))) int MPI_File_read_all_end(MPI_File fh, void *buf, MPI_Status *status); __attribute__((visibility("default"))) int MPI_File_write_all_begin(MPI_File fh, const void *buf, int count, MPI_Datatype datatype); __attribute__((visibility("default"))) int MPI_File_write_all_end(MPI_File fh, const void *buf, MPI_Status *status); __attribute__((visibility("default"))) int MPI_File_read_ordered_begin(MPI_File fh, void *buf, int count, MPI_Datatype datatype); __attribute__((visibility("default"))) int MPI_File_read_ordered_end(MPI_File fh, void *buf, MPI_Status *status); __attribute__((visibility("default"))) int MPI_File_write_ordered_begin(MPI_File fh, const void *buf, int count, MPI_Datatype datatype); __attribute__((visibility("default"))) int MPI_File_write_ordered_end(MPI_File fh, const void *buf, MPI_Status *status); __attribute__((visibility("default"))) int MPI_File_get_type_extent(MPI_File fh, MPI_Datatype datatype, MPI_Aint *extent); __attribute__((visibility("default"))) int MPI_File_set_atomicity(MPI_File fh, int flag); __attribute__((visibility("default"))) int MPI_File_get_atomicity(MPI_File fh, int *flag); __attribute__((visibility("default"))) int MPI_File_sync(MPI_File fh); __attribute__((visibility("default"))) int MPI_Finalize(void); __attribute__((visibility("default"))) int MPI_Finalized(int *flag); __attribute__((visibility("default"))) int MPI_Free_mem(void *base); __attribute__((visibility("default"))) int MPI_Gather(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm); __attribute__((visibility("default"))) int MPI_Igather(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int MPI_Gatherv(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, const int recvcounts[], const int displs[], MPI_Datatype recvtype, int root, MPI_Comm comm); __attribute__((visibility("default"))) int MPI_Igatherv(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, const int recvcounts[], const int displs[], MPI_Datatype recvtype, int root, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int MPI_Get_address(const void *location, MPI_Aint *address); __attribute__((visibility("default"))) int MPI_Get_count(const MPI_Status *status, MPI_Datatype datatype, int *count); __attribute__((visibility("default"))) int MPI_Get_elements(const MPI_Status *status, MPI_Datatype datatype, int *count); __attribute__((visibility("default"))) int MPI_Get_elements_x(const MPI_Status *status, MPI_Datatype datatype, MPI_Count *count); __attribute__((visibility("default"))) int MPI_Get(void *origin_addr, int origin_count, MPI_Datatype origin_datatype, int target_rank, MPI_Aint target_disp, int target_count, MPI_Datatype target_datatype, MPI_Win win); __attribute__((visibility("default"))) int MPI_Get_accumulate(const void *origin_addr, int origin_count, MPI_Datatype origin_datatype, void *result_addr, int result_count, MPI_Datatype result_datatype, int target_rank, MPI_Aint target_disp, int target_count, MPI_Datatype target_datatype, MPI_Op op, MPI_Win win); __attribute__((visibility("default"))) int MPI_Get_library_version(char *version, int *resultlen); __attribute__((visibility("default"))) int MPI_Get_processor_name(char *name, int *resultlen); __attribute__((visibility("default"))) int MPI_Get_version(int *version, int *subversion); __attribute__((visibility("default"))) int MPI_Graph_create(MPI_Comm comm_old, int nnodes, const int index[], const int edges[], int reorder, MPI_Comm *comm_graph); __attribute__((visibility("default"))) int MPI_Graph_get(MPI_Comm comm, int maxindex, int maxedges, int index[], int edges[]); __attribute__((visibility("default"))) int MPI_Graph_map(MPI_Comm comm, int nnodes, const int index[], const int edges[], int *newrank); __attribute__((visibility("default"))) int MPI_Graph_neighbors_count(MPI_Comm comm, int rank, int *nneighbors); __attribute__((visibility("default"))) int MPI_Graph_neighbors(MPI_Comm comm, int rank, int maxneighbors, int neighbors[]); __attribute__((visibility("default"))) int MPI_Graphdims_get(MPI_Comm comm, int *nnodes, int *nedges); __attribute__((visibility("default"))) int MPI_Grequest_complete(MPI_Request request); __attribute__((visibility("default"))) int MPI_Grequest_start(MPI_Grequest_query_function *query_fn, MPI_Grequest_free_function *free_fn, MPI_Grequest_cancel_function *cancel_fn, void *extra_state, MPI_Request *request); __attribute__((visibility("default"))) int MPI_Group_c2f(MPI_Group group); __attribute__((visibility("default"))) int MPI_Group_compare(MPI_Group group1, MPI_Group group2, int *result); __attribute__((visibility("default"))) int MPI_Group_difference(MPI_Group group1, MPI_Group group2, MPI_Group *newgroup); __attribute__((visibility("default"))) int MPI_Group_excl(MPI_Group group, int n, const int ranks[], MPI_Group *newgroup); __attribute__((visibility("default"))) MPI_Group MPI_Group_f2c(int group); __attribute__((visibility("default"))) int MPI_Group_free(MPI_Group *group); __attribute__((visibility("default"))) int MPI_Group_incl(MPI_Group group, int n, const int ranks[], MPI_Group *newgroup); __attribute__((visibility("default"))) int MPI_Group_intersection(MPI_Group group1, MPI_Group group2, MPI_Group *newgroup); __attribute__((visibility("default"))) int MPI_Group_range_excl(MPI_Group group, int n, int ranges[][3], MPI_Group *newgroup); __attribute__((visibility("default"))) int MPI_Group_range_incl(MPI_Group group, int n, int ranges[][3], MPI_Group *newgroup); __attribute__((visibility("default"))) int MPI_Group_rank(MPI_Group group, int *rank); __attribute__((visibility("default"))) int MPI_Group_size(MPI_Group group, int *size); __attribute__((visibility("default"))) int MPI_Group_translate_ranks(MPI_Group group1, int n, const int ranks1[], MPI_Group group2, int ranks2[]); __attribute__((visibility("default"))) int MPI_Group_union(MPI_Group group1, MPI_Group group2, MPI_Group *newgroup); __attribute__((visibility("default"))) int MPI_Ibsend(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int MPI_Improbe(int source, int tag, MPI_Comm comm, int *flag, MPI_Message *message, MPI_Status *status); __attribute__((visibility("default"))) int MPI_Imrecv(void *buf, int count, MPI_Datatype type, MPI_Message *message, MPI_Request *request); __attribute__((visibility("default"))) int MPI_Info_c2f(MPI_Info info); __attribute__((visibility("default"))) int MPI_Info_create(MPI_Info *info); __attribute__((visibility("default"))) int MPI_Info_delete(MPI_Info info, const char *key); __attribute__((visibility("default"))) int MPI_Info_dup(MPI_Info info, MPI_Info *newinfo); __attribute__((visibility("default"))) MPI_Info MPI_Info_f2c(int info); __attribute__((visibility("default"))) int MPI_Info_free(MPI_Info *info); __attribute__((visibility("default"))) int MPI_Info_get(MPI_Info info, const char *key, int valuelen, char *value, int *flag); __attribute__((visibility("default"))) int MPI_Info_get_nkeys(MPI_Info info, int *nkeys); __attribute__((visibility("default"))) int MPI_Info_get_nthkey(MPI_Info info, int n, char *key); __attribute__((visibility("default"))) int MPI_Info_get_valuelen(MPI_Info info, const char *key, int *valuelen, int *flag); __attribute__((visibility("default"))) int MPI_Info_set(MPI_Info info, const char *key, const char *value); __attribute__((visibility("default"))) int MPI_Init(int *argc, char ***argv); __attribute__((visibility("default"))) int MPI_Initialized(int *flag); __attribute__((visibility("default"))) int MPI_Init_thread(int *argc, char ***argv, int required, int *provided); __attribute__((visibility("default"))) int MPI_Intercomm_create(MPI_Comm local_comm, int local_leader, MPI_Comm bridge_comm, int remote_leader, int tag, MPI_Comm *newintercomm); __attribute__((visibility("default"))) int MPI_Intercomm_merge(MPI_Comm intercomm, int high, MPI_Comm *newintercomm); __attribute__((visibility("default"))) int MPI_Iprobe(int source, int tag, MPI_Comm comm, int *flag, MPI_Status *status); __attribute__((visibility("default"))) int MPI_Irecv(void *buf, int count, MPI_Datatype datatype, int source, int tag, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int MPI_Irsend(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int MPI_Isend(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int MPI_Issend(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int MPI_Is_thread_main(int *flag); __attribute__((visibility("default"))) int MPI_Keyval_create(MPI_Copy_function *copy_fn, MPI_Delete_function *delete_fn, int *keyval, void *extra_state) ; __attribute__((visibility("default"))) int MPI_Keyval_free(int *keyval) ; __attribute__((visibility("default"))) int MPI_Lookup_name(const char *service_name, MPI_Info info, char *port_name); __attribute__((visibility("default"))) int MPI_Message_c2f(MPI_Message message); __attribute__((visibility("default"))) MPI_Message MPI_Message_f2c(int message); __attribute__((visibility("default"))) int MPI_Mprobe(int source, int tag, MPI_Comm comm, MPI_Message *message, MPI_Status *status); __attribute__((visibility("default"))) int MPI_Mrecv(void *buf, int count, MPI_Datatype type, MPI_Message *message, MPI_Status *status); __attribute__((visibility("default"))) int MPI_Neighbor_allgather(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm); __attribute__((visibility("default"))) int MPI_Ineighbor_allgather(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int MPI_Neighbor_allgatherv(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, const int recvcounts[], const int displs[], MPI_Datatype recvtype, MPI_Comm comm); __attribute__((visibility("default"))) int MPI_Ineighbor_allgatherv(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, const int recvcounts[], const int displs[], MPI_Datatype recvtype, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int MPI_Neighbor_alltoall(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm); __attribute__((visibility("default"))) int MPI_Ineighbor_alltoall(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int MPI_Neighbor_alltoallv(const void *sendbuf, const int sendcounts[], const int sdispls[], MPI_Datatype sendtype, void *recvbuf, const int recvcounts[], const int rdispls[], MPI_Datatype recvtype, MPI_Comm comm); __attribute__((visibility("default"))) int MPI_Ineighbor_alltoallv(const void *sendbuf, const int sendcounts[], const int sdispls[], MPI_Datatype sendtype, void *recvbuf, const int recvcounts[], const int rdispls[], MPI_Datatype recvtype, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int MPI_Neighbor_alltoallw(const void *sendbuf, const int sendcounts[], const MPI_Aint sdispls[], const MPI_Datatype sendtypes[], void *recvbuf, const int recvcounts[], const MPI_Aint rdispls[], const MPI_Datatype recvtypes[], MPI_Comm comm); __attribute__((visibility("default"))) int MPI_Ineighbor_alltoallw(const void *sendbuf, const int sendcounts[], const MPI_Aint sdispls[], const MPI_Datatype sendtypes[], void *recvbuf, const int recvcounts[], const MPI_Aint rdispls[], const MPI_Datatype recvtypes[], MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int MPI_Op_c2f(MPI_Op op); __attribute__((visibility("default"))) int MPI_Op_commutative(MPI_Op op, int *commute); __attribute__((visibility("default"))) int MPI_Op_create(MPI_User_function *function, int commute, MPI_Op *op); __attribute__((visibility("default"))) int MPI_Open_port(MPI_Info info, char *port_name); __attribute__((visibility("default"))) MPI_Op MPI_Op_f2c(int op); __attribute__((visibility("default"))) int MPI_Op_free(MPI_Op *op); __attribute__((visibility("default"))) int MPI_Pack_external(const char datarep[], const void *inbuf, int incount, MPI_Datatype datatype, void *outbuf, MPI_Aint outsize, MPI_Aint *position); __attribute__((visibility("default"))) int MPI_Pack_external_size(const char datarep[], int incount, MPI_Datatype datatype, MPI_Aint *size); __attribute__((visibility("default"))) int MPI_Pack(const void *inbuf, int incount, MPI_Datatype datatype, void *outbuf, int outsize, int *position, MPI_Comm comm); __attribute__((visibility("default"))) int MPI_Pack_size(int incount, MPI_Datatype datatype, MPI_Comm comm, int *size); __attribute__((visibility("default"))) int MPI_Pcontrol(const int level, ...); __attribute__((visibility("default"))) int MPI_Probe(int source, int tag, MPI_Comm comm, MPI_Status *status); __attribute__((visibility("default"))) int MPI_Publish_name(const char *service_name, MPI_Info info, const char *port_name); __attribute__((visibility("default"))) int MPI_Put(const void *origin_addr, int origin_count, MPI_Datatype origin_datatype, int target_rank, MPI_Aint target_disp, int target_count, MPI_Datatype target_datatype, MPI_Win win); __attribute__((visibility("default"))) int MPI_Query_thread(int *provided); __attribute__((visibility("default"))) int MPI_Raccumulate(const void *origin_addr, int origin_count, MPI_Datatype origin_datatype, int target_rank, MPI_Aint target_disp, int target_count, MPI_Datatype target_datatype, MPI_Op op, MPI_Win win, MPI_Request *request); __attribute__((visibility("default"))) int MPI_Recv_init(void *buf, int count, MPI_Datatype datatype, int source, int tag, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int MPI_Recv(void *buf, int count, MPI_Datatype datatype, int source, int tag, MPI_Comm comm, MPI_Status *status); __attribute__((visibility("default"))) int MPI_Reduce(const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, int root, MPI_Comm comm); __attribute__((visibility("default"))) int MPI_Ireduce(const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, int root, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int MPI_Reduce_local(const void *inbuf, void *inoutbuf, int count, MPI_Datatype datatype, MPI_Op op); __attribute__((visibility("default"))) int MPI_Reduce_scatter(const void *sendbuf, void *recvbuf, const int recvcounts[], MPI_Datatype datatype, MPI_Op op, MPI_Comm comm); __attribute__((visibility("default"))) int MPI_Ireduce_scatter(const void *sendbuf, void *recvbuf, const int recvcounts[], MPI_Datatype datatype, MPI_Op op, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int MPI_Reduce_scatter_block(const void *sendbuf, void *recvbuf, int recvcount, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm); __attribute__((visibility("default"))) int MPI_Ireduce_scatter_block(const void *sendbuf, void *recvbuf, int recvcount, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int MPI_Register_datarep(const char *datarep, MPI_Datarep_conversion_function *read_conversion_fn, MPI_Datarep_conversion_function *write_conversion_fn, MPI_Datarep_extent_function *dtype_file_extent_fn, void *extra_state); __attribute__((visibility("default"))) int MPI_Request_c2f(MPI_Request request); __attribute__((visibility("default"))) MPI_Request MPI_Request_f2c(int request); __attribute__((visibility("default"))) int MPI_Request_free(MPI_Request *request); __attribute__((visibility("default"))) int MPI_Request_get_status(MPI_Request request, int *flag, MPI_Status *status); __attribute__((visibility("default"))) int MPI_Rget(void *origin_addr, int origin_count, MPI_Datatype origin_datatype, int target_rank, MPI_Aint target_disp, int target_count, MPI_Datatype target_datatype, MPI_Win win, MPI_Request *request); __attribute__((visibility("default"))) int MPI_Rget_accumulate(const void *origin_addr, int origin_count, MPI_Datatype origin_datatype, void *result_addr, int result_count, MPI_Datatype result_datatype, int target_rank, MPI_Aint target_disp, int target_count, MPI_Datatype target_datatype, MPI_Op op, MPI_Win win, MPI_Request *request); __attribute__((visibility("default"))) int MPI_Rput(const void *origin_addr, int origin_count, MPI_Datatype origin_datatype, int target_rank, MPI_Aint target_disp, int target_cout, MPI_Datatype target_datatype, MPI_Win win, MPI_Request *request); __attribute__((visibility("default"))) int MPI_Rsend(const void *ibuf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm); __attribute__((visibility("default"))) int MPI_Rsend_init(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int MPI_Scan(const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm); __attribute__((visibility("default"))) int MPI_Iscan(const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int MPI_Scatter(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm); __attribute__((visibility("default"))) int MPI_Iscatter(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int MPI_Scatterv(const void *sendbuf, const int sendcounts[], const int displs[], MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm); __attribute__((visibility("default"))) int MPI_Iscatterv(const void *sendbuf, const int sendcounts[], const int displs[], MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int MPI_Send_init(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int MPI_Send(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm); __attribute__((visibility("default"))) int MPI_Sendrecv(const void *sendbuf, int sendcount, MPI_Datatype sendtype, int dest, int sendtag, void *recvbuf, int recvcount, MPI_Datatype recvtype, int source, int recvtag, MPI_Comm comm, MPI_Status *status); __attribute__((visibility("default"))) int MPI_Sendrecv_replace(void * buf, int count, MPI_Datatype datatype, int dest, int sendtag, int source, int recvtag, MPI_Comm comm, MPI_Status *status); __attribute__((visibility("default"))) int MPI_Ssend_init(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int MPI_Ssend(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm); __attribute__((visibility("default"))) int MPI_Start(MPI_Request *request); __attribute__((visibility("default"))) int MPI_Startall(int count, MPI_Request array_of_requests[]); __attribute__((visibility("default"))) int MPI_Status_c2f(const MPI_Status *c_status, int *f_status); __attribute__((visibility("default"))) int MPI_Status_f2c(const int *f_status, MPI_Status *c_status); __attribute__((visibility("default"))) int MPI_Status_set_cancelled(MPI_Status *status, int flag); __attribute__((visibility("default"))) int MPI_Status_set_elements(MPI_Status *status, MPI_Datatype datatype, int count); __attribute__((visibility("default"))) int MPI_Status_set_elements_x(MPI_Status *status, MPI_Datatype datatype, MPI_Count count); __attribute__((visibility("default"))) int MPI_Testall(int count, MPI_Request array_of_requests[], int *flag, MPI_Status array_of_statuses[]); __attribute__((visibility("default"))) int MPI_Testany(int count, MPI_Request array_of_requests[], int *index, int *flag, MPI_Status *status); __attribute__((visibility("default"))) int MPI_Test(MPI_Request *request, int *flag, MPI_Status *status); __attribute__((visibility("default"))) int MPI_Test_cancelled(const MPI_Status *status, int *flag); __attribute__((visibility("default"))) int MPI_Testsome(int incount, MPI_Request array_of_requests[], int *outcount, int array_of_indices[], MPI_Status array_of_statuses[]); __attribute__((visibility("default"))) int MPI_Topo_test(MPI_Comm comm, int *status); __attribute__((visibility("default"))) int MPI_Type_c2f(MPI_Datatype datatype); __attribute__((visibility("default"))) int MPI_Type_commit(MPI_Datatype *type); __attribute__((visibility("default"))) int MPI_Type_contiguous(int count, MPI_Datatype oldtype, MPI_Datatype *newtype); __attribute__((visibility("default"))) int MPI_Type_create_darray(int size, int rank, int ndims, const int gsize_array[], const int distrib_array[], const int darg_array[], const int psize_array[], int order, MPI_Datatype oldtype, MPI_Datatype *newtype); __attribute__((visibility("default"))) int MPI_Type_create_f90_complex(int p, int r, MPI_Datatype *newtype); __attribute__((visibility("default"))) int MPI_Type_create_f90_integer(int r, MPI_Datatype *newtype); __attribute__((visibility("default"))) int MPI_Type_create_f90_real(int p, int r, MPI_Datatype *newtype); __attribute__((visibility("default"))) int MPI_Type_create_hindexed_block(int count, int blocklength, const MPI_Aint array_of_displacements[], MPI_Datatype oldtype, MPI_Datatype *newtype); __attribute__((visibility("default"))) int MPI_Type_create_hindexed(int count, const int array_of_blocklengths[], const MPI_Aint array_of_displacements[], MPI_Datatype oldtype, MPI_Datatype *newtype); __attribute__((visibility("default"))) int MPI_Type_create_hvector(int count, int blocklength, MPI_Aint stride, MPI_Datatype oldtype, MPI_Datatype *newtype); __attribute__((visibility("default"))) int MPI_Type_create_keyval(MPI_Type_copy_attr_function *type_copy_attr_fn, MPI_Type_delete_attr_function *type_delete_attr_fn, int *type_keyval, void *extra_state); __attribute__((visibility("default"))) int MPI_Type_create_indexed_block(int count, int blocklength, const int array_of_displacements[], MPI_Datatype oldtype, MPI_Datatype *newtype); __attribute__((visibility("default"))) int MPI_Type_create_struct(int count, const int array_of_block_lengths[], const MPI_Aint array_of_displacements[], const MPI_Datatype array_of_types[], MPI_Datatype *newtype); __attribute__((visibility("default"))) int MPI_Type_create_subarray(int ndims, const int size_array[], const int subsize_array[], const int start_array[], int order, MPI_Datatype oldtype, MPI_Datatype *newtype); __attribute__((visibility("default"))) int MPI_Type_create_resized(MPI_Datatype oldtype, MPI_Aint lb, MPI_Aint extent, MPI_Datatype *newtype); __attribute__((visibility("default"))) int MPI_Type_delete_attr(MPI_Datatype type, int type_keyval); __attribute__((visibility("default"))) int MPI_Type_dup(MPI_Datatype type, MPI_Datatype *newtype); __attribute__((visibility("default"))) int MPI_Type_extent(MPI_Datatype type, MPI_Aint *extent) ; __attribute__((visibility("default"))) int MPI_Type_free(MPI_Datatype *type); __attribute__((visibility("default"))) int MPI_Type_free_keyval(int *type_keyval); __attribute__((visibility("default"))) MPI_Datatype MPI_Type_f2c(int datatype); __attribute__((visibility("default"))) int MPI_Type_get_attr(MPI_Datatype type, int type_keyval, void *attribute_val, int *flag); __attribute__((visibility("default"))) int MPI_Type_get_contents(MPI_Datatype mtype, int max_integers, int max_addresses, int max_datatypes, int array_of_integers[], MPI_Aint array_of_addresses[], MPI_Datatype array_of_datatypes[]); __attribute__((visibility("default"))) int MPI_Type_get_envelope(MPI_Datatype type, int *num_integers, int *num_addresses, int *num_datatypes, int *combiner); __attribute__((visibility("default"))) int MPI_Type_get_extent(MPI_Datatype type, MPI_Aint *lb, MPI_Aint *extent); __attribute__((visibility("default"))) int MPI_Type_get_extent_x(MPI_Datatype type, MPI_Count *lb, MPI_Count *extent); __attribute__((visibility("default"))) int MPI_Type_get_name(MPI_Datatype type, char *type_name, int *resultlen); __attribute__((visibility("default"))) int MPI_Type_get_true_extent(MPI_Datatype datatype, MPI_Aint *true_lb, MPI_Aint *true_extent); __attribute__((visibility("default"))) int MPI_Type_get_true_extent_x(MPI_Datatype datatype, MPI_Count *true_lb, MPI_Count *true_extent); __attribute__((visibility("default"))) int MPI_Type_hindexed(int count, int array_of_blocklengths[], MPI_Aint array_of_displacements[], MPI_Datatype oldtype, MPI_Datatype *newtype) ; __attribute__((visibility("default"))) int MPI_Type_hvector(int count, int blocklength, MPI_Aint stride, MPI_Datatype oldtype, MPI_Datatype *newtype) ; __attribute__((visibility("default"))) int MPI_Type_indexed(int count, const int array_of_blocklengths[], const int array_of_displacements[], MPI_Datatype oldtype, MPI_Datatype *newtype); __attribute__((visibility("default"))) int MPI_Type_lb(MPI_Datatype type, MPI_Aint *lb) ; __attribute__((visibility("default"))) int MPI_Type_match_size(int typeclass, int size, MPI_Datatype *type); __attribute__((visibility("default"))) int MPI_Type_set_attr(MPI_Datatype type, int type_keyval, void *attr_val); __attribute__((visibility("default"))) int MPI_Type_set_name(MPI_Datatype type, const char *type_name); __attribute__((visibility("default"))) int MPI_Type_size(MPI_Datatype type, int *size); __attribute__((visibility("default"))) int MPI_Type_size_x(MPI_Datatype type, MPI_Count *size); __attribute__((visibility("default"))) int MPI_Type_struct(int count, int array_of_blocklengths[], MPI_Aint array_of_displacements[], MPI_Datatype array_of_types[], MPI_Datatype *newtype) ; __attribute__((visibility("default"))) int MPI_Type_ub(MPI_Datatype mtype, MPI_Aint *ub) ; __attribute__((visibility("default"))) int MPI_Type_vector(int count, int blocklength, int stride, MPI_Datatype oldtype, MPI_Datatype *newtype); __attribute__((visibility("default"))) int MPI_Unpack(const void *inbuf, int insize, int *position, void *outbuf, int outcount, MPI_Datatype datatype, MPI_Comm comm); __attribute__((visibility("default"))) int MPI_Unpublish_name(const char *service_name, MPI_Info info, const char *port_name); __attribute__((visibility("default"))) int MPI_Unpack_external (const char datarep[], const void *inbuf, MPI_Aint insize, MPI_Aint *position, void *outbuf, int outcount, MPI_Datatype datatype); __attribute__((visibility("default"))) int MPI_Waitall(int count, MPI_Request array_of_requests[], MPI_Status *array_of_statuses); __attribute__((visibility("default"))) int MPI_Waitany(int count, MPI_Request array_of_requests[], int *index, MPI_Status *status); __attribute__((visibility("default"))) int MPI_Wait(MPI_Request *request, MPI_Status *status); __attribute__((visibility("default"))) int MPI_Waitsome(int incount, MPI_Request array_of_requests[], int *outcount, int array_of_indices[], MPI_Status array_of_statuses[]); __attribute__((visibility("default"))) int MPI_Win_allocate(MPI_Aint size, int disp_unit, MPI_Info info, MPI_Comm comm, void *baseptr, MPI_Win *win); __attribute__((visibility("default"))) int MPI_Win_allocate_shared(MPI_Aint size, int disp_unit, MPI_Info info, MPI_Comm comm, void *baseptr, MPI_Win *win); __attribute__((visibility("default"))) int MPI_Win_attach(MPI_Win win, void *base, MPI_Aint size); __attribute__((visibility("default"))) int MPI_Win_c2f(MPI_Win win); __attribute__((visibility("default"))) int MPI_Win_call_errhandler(MPI_Win win, int errorcode); __attribute__((visibility("default"))) int MPI_Win_complete(MPI_Win win); __attribute__((visibility("default"))) int MPI_Win_create(void *base, MPI_Aint size, int disp_unit, MPI_Info info, MPI_Comm comm, MPI_Win *win); __attribute__((visibility("default"))) int MPI_Win_create_dynamic(MPI_Info info, MPI_Comm comm, MPI_Win *win); __attribute__((visibility("default"))) int MPI_Win_create_errhandler(MPI_Win_errhandler_function *function, MPI_Errhandler *errhandler); __attribute__((visibility("default"))) int MPI_Win_create_keyval(MPI_Win_copy_attr_function *win_copy_attr_fn, MPI_Win_delete_attr_function *win_delete_attr_fn, int *win_keyval, void *extra_state); __attribute__((visibility("default"))) int MPI_Win_delete_attr(MPI_Win win, int win_keyval); __attribute__((visibility("default"))) int MPI_Win_detach(MPI_Win win, const void *base); __attribute__((visibility("default"))) MPI_Win MPI_Win_f2c(int win); __attribute__((visibility("default"))) int MPI_Win_fence(int assert, MPI_Win win); __attribute__((visibility("default"))) int MPI_Win_flush(int rank, MPI_Win win); __attribute__((visibility("default"))) int MPI_Win_flush_all(MPI_Win win); __attribute__((visibility("default"))) int MPI_Win_flush_local(int rank, MPI_Win win); __attribute__((visibility("default"))) int MPI_Win_flush_local_all(MPI_Win win); __attribute__((visibility("default"))) int MPI_Win_free(MPI_Win *win); __attribute__((visibility("default"))) int MPI_Win_free_keyval(int *win_keyval); __attribute__((visibility("default"))) int MPI_Win_get_attr(MPI_Win win, int win_keyval, void *attribute_val, int *flag); __attribute__((visibility("default"))) int MPI_Win_get_errhandler(MPI_Win win, MPI_Errhandler *errhandler); __attribute__((visibility("default"))) int MPI_Win_get_group(MPI_Win win, MPI_Group *group); __attribute__((visibility("default"))) int MPI_Win_get_info(MPI_Win win, MPI_Info *info_used); __attribute__((visibility("default"))) int MPI_Win_get_name(MPI_Win win, char *win_name, int *resultlen); __attribute__((visibility("default"))) int MPI_Win_lock(int lock_type, int rank, int assert, MPI_Win win); __attribute__((visibility("default"))) int MPI_Win_lock_all(int assert, MPI_Win win); __attribute__((visibility("default"))) int MPI_Win_post(MPI_Group group, int assert, MPI_Win win); __attribute__((visibility("default"))) int MPI_Win_set_attr(MPI_Win win, int win_keyval, void *attribute_val); __attribute__((visibility("default"))) int MPI_Win_set_errhandler(MPI_Win win, MPI_Errhandler errhandler); __attribute__((visibility("default"))) int MPI_Win_set_info(MPI_Win win, MPI_Info info); __attribute__((visibility("default"))) int MPI_Win_set_name(MPI_Win win, const char *win_name); __attribute__((visibility("default"))) int MPI_Win_shared_query(MPI_Win win, int rank, MPI_Aint *size, int *disp_unit, void *baseptr); __attribute__((visibility("default"))) int MPI_Win_start(MPI_Group group, int assert, MPI_Win win); __attribute__((visibility("default"))) int MPI_Win_sync(MPI_Win win); __attribute__((visibility("default"))) int MPI_Win_test(MPI_Win win, int *flag); __attribute__((visibility("default"))) int MPI_Win_unlock(int rank, MPI_Win win); __attribute__((visibility("default"))) int MPI_Win_unlock_all(MPI_Win win); __attribute__((visibility("default"))) int MPI_Win_wait(MPI_Win win); __attribute__((visibility("default"))) double MPI_Wtick(void); __attribute__((visibility("default"))) double MPI_Wtime(void); __attribute__((visibility("default"))) int PMPI_Abort(MPI_Comm comm, int errorcode); __attribute__((visibility("default"))) int PMPI_Accumulate(const void *origin_addr, int origin_count, MPI_Datatype origin_datatype, int target_rank, MPI_Aint target_disp, int target_count, MPI_Datatype target_datatype, MPI_Op op, MPI_Win win); __attribute__((visibility("default"))) int PMPI_Add_error_class(int *errorclass); __attribute__((visibility("default"))) int PMPI_Add_error_code(int errorclass, int *errorcode); __attribute__((visibility("default"))) int PMPI_Add_error_string(int errorcode, const char *string); __attribute__((visibility("default"))) int PMPI_Address(void *location, MPI_Aint *address) ; __attribute__((visibility("default"))) int PMPI_Allgather(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm); __attribute__((visibility("default"))) int PMPI_Iallgather(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int PMPI_Allgatherv(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, const int recvcounts[], const int displs[], MPI_Datatype recvtype, MPI_Comm comm); __attribute__((visibility("default"))) int PMPI_Iallgatherv(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, const int recvcounts[], const int displs[], MPI_Datatype recvtype, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int PMPI_Alloc_mem(MPI_Aint size, MPI_Info info, void *baseptr); __attribute__((visibility("default"))) int PMPI_Allreduce(const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm); __attribute__((visibility("default"))) int PMPI_Iallreduce(const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int PMPI_Alltoall(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm); __attribute__((visibility("default"))) int PMPI_Ialltoall(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int PMPI_Alltoallv(const void *sendbuf, const int sendcounts[], const int sdispls[], MPI_Datatype sendtype, void *recvbuf, const int recvcounts[], const int rdispls[], MPI_Datatype recvtype, MPI_Comm comm); __attribute__((visibility("default"))) int PMPI_Ialltoallv(const void *sendbuf, const int sendcounts[], const int sdispls[], MPI_Datatype sendtype, void *recvbuf, const int recvcounts[], const int rdispls[], MPI_Datatype recvtype, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int PMPI_Alltoallw(const void *sendbuf, const int sendcounts[], const int sdispls[], const MPI_Datatype sendtypes[], void *recvbuf, const int recvcounts[], const int rdispls[], const MPI_Datatype recvtypes[], MPI_Comm comm); __attribute__((visibility("default"))) int PMPI_Ialltoallw(const void *sendbuf, const int sendcounts[], const int sdispls[], const MPI_Datatype sendtypes[], void *recvbuf, const int recvcounts[], const int rdispls[], const MPI_Datatype recvtypes[], MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int PMPI_Attr_delete(MPI_Comm comm, int keyval) ; __attribute__((visibility("default"))) int PMPI_Attr_get(MPI_Comm comm, int keyval, void *attribute_val, int *flag) ; __attribute__((visibility("default"))) int PMPI_Dist_graph_create(MPI_Comm comm_old, int n, const int nodes[], const int degrees[], const int targets[], const int weights[], MPI_Info info, int reorder, MPI_Comm * newcomm); __attribute__((visibility("default"))) int PMPI_Dist_graph_create_adjacent(MPI_Comm comm_old, int indegree, const int sources[], const int sourceweights[], int outdegree, const int destinations[], const int destweights[], MPI_Info info, int reorder, MPI_Comm *comm_dist_graph); __attribute__((visibility("default"))) int PMPI_Dist_graph_neighbors(MPI_Comm comm, int maxindegree, int sources[], int sourceweights[], int maxoutdegree, int destinations[], int destweights[]); __attribute__((visibility("default"))) int PMPI_Dist_graph_neighbors_count(MPI_Comm comm, int *inneighbors, int *outneighbors, int *weighted); __attribute__((visibility("default"))) int PMPI_Attr_put(MPI_Comm comm, int keyval, void *attribute_val) ; __attribute__((visibility("default"))) int PMPI_Barrier(MPI_Comm comm); __attribute__((visibility("default"))) int PMPI_Ibarrier(MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int PMPI_Bcast(void *buffer, int count, MPI_Datatype datatype, int root, MPI_Comm comm); __attribute__((visibility("default"))) int PMPI_Ibcast(void *buffer, int count, MPI_Datatype datatype, int root, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int PMPI_Bsend(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm); __attribute__((visibility("default"))) int PMPI_Bsend_init(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int PMPI_Buffer_attach(void *buffer, int size); __attribute__((visibility("default"))) int PMPI_Buffer_detach(void *buffer, int *size); __attribute__((visibility("default"))) int PMPI_Cancel(MPI_Request *request); __attribute__((visibility("default"))) int PMPI_Cart_coords(MPI_Comm comm, int rank, int maxdims, int coords[]); __attribute__((visibility("default"))) int PMPI_Cart_create(MPI_Comm old_comm, int ndims, const int dims[], const int periods[], int reorder, MPI_Comm *comm_cart); __attribute__((visibility("default"))) int PMPI_Cart_get(MPI_Comm comm, int maxdims, int dims[], int periods[], int coords[]); __attribute__((visibility("default"))) int PMPI_Cart_map(MPI_Comm comm, int ndims, const int dims[], const int periods[], int *newrank); __attribute__((visibility("default"))) int PMPI_Cart_rank(MPI_Comm comm, const int coords[], int *rank); __attribute__((visibility("default"))) int PMPI_Cart_shift(MPI_Comm comm, int direction, int disp, int *rank_source, int *rank_dest); __attribute__((visibility("default"))) int PMPI_Cart_sub(MPI_Comm comm, const int remain_dims[], MPI_Comm *new_comm); __attribute__((visibility("default"))) int PMPI_Cartdim_get(MPI_Comm comm, int *ndims); __attribute__((visibility("default"))) int PMPI_Close_port(const char *port_name); __attribute__((visibility("default"))) int PMPI_Comm_accept(const char *port_name, MPI_Info info, int root, MPI_Comm comm, MPI_Comm *newcomm); __attribute__((visibility("default"))) int PMPI_Comm_c2f(MPI_Comm comm); __attribute__((visibility("default"))) int PMPI_Comm_call_errhandler(MPI_Comm comm, int errorcode); __attribute__((visibility("default"))) int PMPI_Comm_compare(MPI_Comm comm1, MPI_Comm comm2, int *result); __attribute__((visibility("default"))) int PMPI_Comm_connect(const char *port_name, MPI_Info info, int root, MPI_Comm comm, MPI_Comm *newcomm); __attribute__((visibility("default"))) int PMPI_Comm_create_errhandler(MPI_Comm_errhandler_function *function, MPI_Errhandler *errhandler); __attribute__((visibility("default"))) int PMPI_Comm_create_keyval(MPI_Comm_copy_attr_function *comm_copy_attr_fn, MPI_Comm_delete_attr_function *comm_delete_attr_fn, int *comm_keyval, void *extra_state); __attribute__((visibility("default"))) int PMPI_Comm_create_group(MPI_Comm comm, MPI_Group group, int tag, MPI_Comm *newcomm); __attribute__((visibility("default"))) int PMPI_Comm_create(MPI_Comm comm, MPI_Group group, MPI_Comm *newcomm); __attribute__((visibility("default"))) int PMPI_Comm_delete_attr(MPI_Comm comm, int comm_keyval); __attribute__((visibility("default"))) int PMPI_Comm_disconnect(MPI_Comm *comm); __attribute__((visibility("default"))) int PMPI_Comm_dup(MPI_Comm comm, MPI_Comm *newcomm); __attribute__((visibility("default"))) int PMPI_Comm_idup(MPI_Comm comm, MPI_Comm *newcomm, MPI_Request *request); __attribute__((visibility("default"))) int PMPI_Comm_dup_with_info(MPI_Comm comm, MPI_Info info, MPI_Comm *newcomm); __attribute__((visibility("default"))) MPI_Comm PMPI_Comm_f2c(int comm); __attribute__((visibility("default"))) int PMPI_Comm_free_keyval(int *comm_keyval); __attribute__((visibility("default"))) int PMPI_Comm_free(MPI_Comm *comm); __attribute__((visibility("default"))) int PMPI_Comm_get_attr(MPI_Comm comm, int comm_keyval, void *attribute_val, int *flag); __attribute__((visibility("default"))) int PMPI_Comm_get_errhandler(MPI_Comm comm, MPI_Errhandler *erhandler); __attribute__((visibility("default"))) int PMPI_Comm_get_info(MPI_Comm comm, MPI_Info *info_used); __attribute__((visibility("default"))) int PMPI_Comm_get_name(MPI_Comm comm, char *comm_name, int *resultlen); __attribute__((visibility("default"))) int PMPI_Comm_get_parent(MPI_Comm *parent); __attribute__((visibility("default"))) int PMPI_Comm_group(MPI_Comm comm, MPI_Group *group); __attribute__((visibility("default"))) int PMPI_Comm_join(int fd, MPI_Comm *intercomm); __attribute__((visibility("default"))) int PMPI_Comm_rank(MPI_Comm comm, int *rank); __attribute__((visibility("default"))) int PMPI_Comm_remote_group(MPI_Comm comm, MPI_Group *group); __attribute__((visibility("default"))) int PMPI_Comm_remote_size(MPI_Comm comm, int *size); __attribute__((visibility("default"))) int PMPI_Comm_set_attr(MPI_Comm comm, int comm_keyval, void *attribute_val); __attribute__((visibility("default"))) int PMPI_Comm_set_errhandler(MPI_Comm comm, MPI_Errhandler errhandler); __attribute__((visibility("default"))) int PMPI_Comm_set_info(MPI_Comm comm, MPI_Info info); __attribute__((visibility("default"))) int PMPI_Comm_set_name(MPI_Comm comm, const char *comm_name); __attribute__((visibility("default"))) int PMPI_Comm_size(MPI_Comm comm, int *size); __attribute__((visibility("default"))) int PMPI_Comm_spawn(const char *command, char *argv[], int maxprocs, MPI_Info info, int root, MPI_Comm comm, MPI_Comm *intercomm, int array_of_errcodes[]); __attribute__((visibility("default"))) int PMPI_Comm_spawn_multiple(int count, char *array_of_commands[], char **array_of_argv[], const int array_of_maxprocs[], const MPI_Info array_of_info[], int root, MPI_Comm comm, MPI_Comm *intercomm, int array_of_errcodes[]); __attribute__((visibility("default"))) int PMPI_Comm_split(MPI_Comm comm, int color, int key, MPI_Comm *newcomm); __attribute__((visibility("default"))) int PMPI_Comm_split_type(MPI_Comm comm, int split_type, int key, MPI_Info info, MPI_Comm *newcomm); __attribute__((visibility("default"))) int PMPI_Comm_test_inter(MPI_Comm comm, int *flag); __attribute__((visibility("default"))) int PMPI_Compare_and_swap(const void *origin_addr, const void *compare_addr, void *result_addr, MPI_Datatype datatype, int target_rank, MPI_Aint target_disp, MPI_Win win); __attribute__((visibility("default"))) int PMPI_Dims_create(int nnodes, int ndims, int dims[]); __attribute__((visibility("default"))) int PMPI_Errhandler_c2f(MPI_Errhandler errhandler); __attribute__((visibility("default"))) int PMPI_Errhandler_create(MPI_Handler_function *function, MPI_Errhandler *errhandler) ; __attribute__((visibility("default"))) MPI_Errhandler PMPI_Errhandler_f2c(int errhandler); __attribute__((visibility("default"))) int PMPI_Errhandler_free(MPI_Errhandler *errhandler); __attribute__((visibility("default"))) int PMPI_Errhandler_get(MPI_Comm comm, MPI_Errhandler *errhandler) ; __attribute__((visibility("default"))) int PMPI_Errhandler_set(MPI_Comm comm, MPI_Errhandler errhandler) ; __attribute__((visibility("default"))) int PMPI_Error_class(int errorcode, int *errorclass); __attribute__((visibility("default"))) int PMPI_Error_string(int errorcode, char *string, int *resultlen); __attribute__((visibility("default"))) int PMPI_Exscan(const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm); __attribute__((visibility("default"))) int PMPI_Fetch_and_op(const void *origin_addr, void *result_addr, MPI_Datatype datatype, int target_rank, MPI_Aint target_disp, MPI_Op op, MPI_Win win); __attribute__((visibility("default"))) int PMPI_Iexscan(const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int PMPI_File_c2f(MPI_File file); __attribute__((visibility("default"))) MPI_File PMPI_File_f2c(int file); __attribute__((visibility("default"))) int PMPI_File_call_errhandler(MPI_File fh, int errorcode); __attribute__((visibility("default"))) int PMPI_File_create_errhandler(MPI_File_errhandler_function *function, MPI_Errhandler *errhandler); __attribute__((visibility("default"))) int PMPI_File_set_errhandler( MPI_File file, MPI_Errhandler errhandler); __attribute__((visibility("default"))) int PMPI_File_get_errhandler( MPI_File file, MPI_Errhandler *errhandler); __attribute__((visibility("default"))) int PMPI_File_open(MPI_Comm comm, const char *filename, int amode, MPI_Info info, MPI_File *fh); __attribute__((visibility("default"))) int PMPI_File_close(MPI_File *fh); __attribute__((visibility("default"))) int PMPI_File_delete(const char *filename, MPI_Info info); __attribute__((visibility("default"))) int PMPI_File_set_size(MPI_File fh, MPI_Offset size); __attribute__((visibility("default"))) int PMPI_File_preallocate(MPI_File fh, MPI_Offset size); __attribute__((visibility("default"))) int PMPI_File_get_size(MPI_File fh, MPI_Offset *size); __attribute__((visibility("default"))) int PMPI_File_get_group(MPI_File fh, MPI_Group *group); __attribute__((visibility("default"))) int PMPI_File_get_amode(MPI_File fh, int *amode); __attribute__((visibility("default"))) int PMPI_File_set_info(MPI_File fh, MPI_Info info); __attribute__((visibility("default"))) int PMPI_File_get_info(MPI_File fh, MPI_Info *info_used); __attribute__((visibility("default"))) int PMPI_File_set_view(MPI_File fh, MPI_Offset disp, MPI_Datatype etype, MPI_Datatype filetype, const char *datarep, MPI_Info info); __attribute__((visibility("default"))) int PMPI_File_get_view(MPI_File fh, MPI_Offset *disp, MPI_Datatype *etype, MPI_Datatype *filetype, char *datarep); __attribute__((visibility("default"))) int PMPI_File_read_at(MPI_File fh, MPI_Offset offset, void *buf, int count, MPI_Datatype datatype, MPI_Status *status); __attribute__((visibility("default"))) int PMPI_File_read_at_all(MPI_File fh, MPI_Offset offset, void *buf, int count, MPI_Datatype datatype, MPI_Status *status); __attribute__((visibility("default"))) int PMPI_File_write_at(MPI_File fh, MPI_Offset offset, const void *buf, int count, MPI_Datatype datatype, MPI_Status *status); __attribute__((visibility("default"))) int PMPI_File_write_at_all(MPI_File fh, MPI_Offset offset, const void *buf, int count, MPI_Datatype datatype, MPI_Status *status); __attribute__((visibility("default"))) int PMPI_File_iread_at(MPI_File fh, MPI_Offset offset, void *buf, int count, MPI_Datatype datatype, MPI_Request *request); __attribute__((visibility("default"))) int PMPI_File_iwrite_at(MPI_File fh, MPI_Offset offset, const void *buf, int count, MPI_Datatype datatype, MPI_Request *request); __attribute__((visibility("default"))) int PMPI_File_iread_at_all(MPI_File fh, MPI_Offset offset, void *buf, int count, MPI_Datatype datatype, MPI_Request *request); __attribute__((visibility("default"))) int PMPI_File_iwrite_at_all(MPI_File fh, MPI_Offset offset, const void *buf, int count, MPI_Datatype datatype, MPI_Request *request); __attribute__((visibility("default"))) int PMPI_File_read(MPI_File fh, void *buf, int count, MPI_Datatype datatype, MPI_Status *status); __attribute__((visibility("default"))) int PMPI_File_read_all(MPI_File fh, void *buf, int count, MPI_Datatype datatype, MPI_Status *status); __attribute__((visibility("default"))) int PMPI_File_write(MPI_File fh, const void *buf, int count, MPI_Datatype datatype, MPI_Status *status); __attribute__((visibility("default"))) int PMPI_File_write_all(MPI_File fh, const void *buf, int count, MPI_Datatype datatype, MPI_Status *status); __attribute__((visibility("default"))) int PMPI_File_iread(MPI_File fh, void *buf, int count, MPI_Datatype datatype, MPI_Request *request); __attribute__((visibility("default"))) int PMPI_File_iwrite(MPI_File fh, const void *buf, int count, MPI_Datatype datatype, MPI_Request *request); __attribute__((visibility("default"))) int PMPI_File_iread_all(MPI_File fh, void *buf, int count, MPI_Datatype datatype, MPI_Request *request); __attribute__((visibility("default"))) int PMPI_File_iwrite_all(MPI_File fh, const void *buf, int count, MPI_Datatype datatype, MPI_Request *request); __attribute__((visibility("default"))) int PMPI_File_seek(MPI_File fh, MPI_Offset offset, int whence); __attribute__((visibility("default"))) int PMPI_File_get_position(MPI_File fh, MPI_Offset *offset); __attribute__((visibility("default"))) int PMPI_File_get_byte_offset(MPI_File fh, MPI_Offset offset, MPI_Offset *disp); __attribute__((visibility("default"))) int PMPI_File_read_shared(MPI_File fh, void *buf, int count, MPI_Datatype datatype, MPI_Status *status); __attribute__((visibility("default"))) int PMPI_File_write_shared(MPI_File fh, const void *buf, int count, MPI_Datatype datatype, MPI_Status *status); __attribute__((visibility("default"))) int PMPI_File_iread_shared(MPI_File fh, void *buf, int count, MPI_Datatype datatype, MPI_Request *request); __attribute__((visibility("default"))) int PMPI_File_iwrite_shared(MPI_File fh, const void *buf, int count, MPI_Datatype datatype, MPI_Request *request); __attribute__((visibility("default"))) int PMPI_File_read_ordered(MPI_File fh, void *buf, int count, MPI_Datatype datatype, MPI_Status *status); __attribute__((visibility("default"))) int PMPI_File_write_ordered(MPI_File fh, const void *buf, int count, MPI_Datatype datatype, MPI_Status *status); __attribute__((visibility("default"))) int PMPI_File_seek_shared(MPI_File fh, MPI_Offset offset, int whence); __attribute__((visibility("default"))) int PMPI_File_get_position_shared(MPI_File fh, MPI_Offset *offset); __attribute__((visibility("default"))) int PMPI_File_read_at_all_begin(MPI_File fh, MPI_Offset offset, void *buf, int count, MPI_Datatype datatype); __attribute__((visibility("default"))) int PMPI_File_read_at_all_end(MPI_File fh, void *buf, MPI_Status *status); __attribute__((visibility("default"))) int PMPI_File_write_at_all_begin(MPI_File fh, MPI_Offset offset, const void *buf, int count, MPI_Datatype datatype); __attribute__((visibility("default"))) int PMPI_File_write_at_all_end(MPI_File fh, const void *buf, MPI_Status *status); __attribute__((visibility("default"))) int PMPI_File_read_all_begin(MPI_File fh, void *buf, int count, MPI_Datatype datatype); __attribute__((visibility("default"))) int PMPI_File_read_all_end(MPI_File fh, void *buf, MPI_Status *status); __attribute__((visibility("default"))) int PMPI_File_write_all_begin(MPI_File fh, const void *buf, int count, MPI_Datatype datatype); __attribute__((visibility("default"))) int PMPI_File_write_all_end(MPI_File fh, const void *buf, MPI_Status *status); __attribute__((visibility("default"))) int PMPI_File_read_ordered_begin(MPI_File fh, void *buf, int count, MPI_Datatype datatype); __attribute__((visibility("default"))) int PMPI_File_read_ordered_end(MPI_File fh, void *buf, MPI_Status *status); __attribute__((visibility("default"))) int PMPI_File_write_ordered_begin(MPI_File fh, const void *buf, int count, MPI_Datatype datatype); __attribute__((visibility("default"))) int PMPI_File_write_ordered_end(MPI_File fh, const void *buf, MPI_Status *status); __attribute__((visibility("default"))) int PMPI_File_get_type_extent(MPI_File fh, MPI_Datatype datatype, MPI_Aint *extent); __attribute__((visibility("default"))) int PMPI_File_set_atomicity(MPI_File fh, int flag); __attribute__((visibility("default"))) int PMPI_File_get_atomicity(MPI_File fh, int *flag); __attribute__((visibility("default"))) int PMPI_File_sync(MPI_File fh); __attribute__((visibility("default"))) int PMPI_Finalize(void); __attribute__((visibility("default"))) int PMPI_Finalized(int *flag); __attribute__((visibility("default"))) int PMPI_Free_mem(void *base); __attribute__((visibility("default"))) int PMPI_Gather(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm); __attribute__((visibility("default"))) int PMPI_Igather(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int PMPI_Gatherv(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, const int recvcounts[], const int displs[], MPI_Datatype recvtype, int root, MPI_Comm comm); __attribute__((visibility("default"))) int PMPI_Igatherv(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, const int recvcounts[], const int displs[], MPI_Datatype recvtype, int root, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int PMPI_Get_address(const void *location, MPI_Aint *address); __attribute__((visibility("default"))) int PMPI_Get_count(const MPI_Status *status, MPI_Datatype datatype, int *count); __attribute__((visibility("default"))) int PMPI_Get_elements(const MPI_Status *status, MPI_Datatype datatype, int *count); __attribute__((visibility("default"))) int PMPI_Get_elements_x(const MPI_Status *status, MPI_Datatype datatype, MPI_Count *count); __attribute__((visibility("default"))) int PMPI_Get(void *origin_addr, int origin_count, MPI_Datatype origin_datatype, int target_rank, MPI_Aint target_disp, int target_count, MPI_Datatype target_datatype, MPI_Win win); __attribute__((visibility("default"))) int PMPI_Get_accumulate(const void *origin_addr, int origin_count, MPI_Datatype origin_datatype, void *result_addr, int result_count, MPI_Datatype result_datatype, int target_rank, MPI_Aint target_disp, int target_count, MPI_Datatype target_datatype, MPI_Op op, MPI_Win win); __attribute__((visibility("default"))) int PMPI_Get_library_version(char *version, int *resultlen); __attribute__((visibility("default"))) int PMPI_Get_processor_name(char *name, int *resultlen); __attribute__((visibility("default"))) int PMPI_Get_version(int *version, int *subversion); __attribute__((visibility("default"))) int PMPI_Graph_create(MPI_Comm comm_old, int nnodes, const int index[], const int edges[], int reorder, MPI_Comm *comm_graph); __attribute__((visibility("default"))) int PMPI_Graph_get(MPI_Comm comm, int maxindex, int maxedges, int index[], int edges[]); __attribute__((visibility("default"))) int PMPI_Graph_map(MPI_Comm comm, int nnodes, const int index[], const int edges[], int *newrank); __attribute__((visibility("default"))) int PMPI_Graph_neighbors_count(MPI_Comm comm, int rank, int *nneighbors); __attribute__((visibility("default"))) int PMPI_Graph_neighbors(MPI_Comm comm, int rank, int maxneighbors, int neighbors[]); __attribute__((visibility("default"))) int PMPI_Graphdims_get(MPI_Comm comm, int *nnodes, int *nedges); __attribute__((visibility("default"))) int PMPI_Grequest_complete(MPI_Request request); __attribute__((visibility("default"))) int PMPI_Grequest_start(MPI_Grequest_query_function *query_fn, MPI_Grequest_free_function *free_fn, MPI_Grequest_cancel_function *cancel_fn, void *extra_state, MPI_Request *request); __attribute__((visibility("default"))) int PMPI_Group_c2f(MPI_Group group); __attribute__((visibility("default"))) int PMPI_Group_compare(MPI_Group group1, MPI_Group group2, int *result); __attribute__((visibility("default"))) int PMPI_Group_difference(MPI_Group group1, MPI_Group group2, MPI_Group *newgroup); __attribute__((visibility("default"))) int PMPI_Group_excl(MPI_Group group, int n, const int ranks[], MPI_Group *newgroup); __attribute__((visibility("default"))) MPI_Group PMPI_Group_f2c(int group); __attribute__((visibility("default"))) int PMPI_Group_free(MPI_Group *group); __attribute__((visibility("default"))) int PMPI_Group_incl(MPI_Group group, int n, const int ranks[], MPI_Group *newgroup); __attribute__((visibility("default"))) int PMPI_Group_intersection(MPI_Group group1, MPI_Group group2, MPI_Group *newgroup); __attribute__((visibility("default"))) int PMPI_Group_range_excl(MPI_Group group, int n, int ranges[][3], MPI_Group *newgroup); __attribute__((visibility("default"))) int PMPI_Group_range_incl(MPI_Group group, int n, int ranges[][3], MPI_Group *newgroup); __attribute__((visibility("default"))) int PMPI_Group_rank(MPI_Group group, int *rank); __attribute__((visibility("default"))) int PMPI_Group_size(MPI_Group group, int *size); __attribute__((visibility("default"))) int PMPI_Group_translate_ranks(MPI_Group group1, int n, const int ranks1[], MPI_Group group2, int ranks2[]); __attribute__((visibility("default"))) int PMPI_Group_union(MPI_Group group1, MPI_Group group2, MPI_Group *newgroup); __attribute__((visibility("default"))) int PMPI_Ibsend(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int PMPI_Improbe(int source, int tag, MPI_Comm comm, int *flag, MPI_Message *message, MPI_Status *status); __attribute__((visibility("default"))) int PMPI_Imrecv(void *buf, int count, MPI_Datatype type, MPI_Message *message, MPI_Request *request); __attribute__((visibility("default"))) int PMPI_Info_c2f(MPI_Info info); __attribute__((visibility("default"))) int PMPI_Info_create(MPI_Info *info); __attribute__((visibility("default"))) int PMPI_Info_delete(MPI_Info info, const char *key); __attribute__((visibility("default"))) int PMPI_Info_dup(MPI_Info info, MPI_Info *newinfo); __attribute__((visibility("default"))) MPI_Info PMPI_Info_f2c(int info); __attribute__((visibility("default"))) int PMPI_Info_free(MPI_Info *info); __attribute__((visibility("default"))) int PMPI_Info_get(MPI_Info info, const char *key, int valuelen, char *value, int *flag); __attribute__((visibility("default"))) int PMPI_Info_get_nkeys(MPI_Info info, int *nkeys); __attribute__((visibility("default"))) int PMPI_Info_get_nthkey(MPI_Info info, int n, char *key); __attribute__((visibility("default"))) int PMPI_Info_get_valuelen(MPI_Info info, const char *key, int *valuelen, int *flag); __attribute__((visibility("default"))) int PMPI_Info_set(MPI_Info info, const char *key, const char *value); __attribute__((visibility("default"))) int PMPI_Init(int *argc, char ***argv); __attribute__((visibility("default"))) int PMPI_Initialized(int *flag); __attribute__((visibility("default"))) int PMPI_Init_thread(int *argc, char ***argv, int required, int *provided); __attribute__((visibility("default"))) int PMPI_Intercomm_create(MPI_Comm local_comm, int local_leader, MPI_Comm bridge_comm, int remote_leader, int tag, MPI_Comm *newintercomm); __attribute__((visibility("default"))) int PMPI_Intercomm_merge(MPI_Comm intercomm, int high, MPI_Comm *newintercomm); __attribute__((visibility("default"))) int PMPI_Iprobe(int source, int tag, MPI_Comm comm, int *flag, MPI_Status *status); __attribute__((visibility("default"))) int PMPI_Irecv(void *buf, int count, MPI_Datatype datatype, int source, int tag, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int PMPI_Irsend(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int PMPI_Isend(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int PMPI_Issend(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int PMPI_Is_thread_main(int *flag); __attribute__((visibility("default"))) int PMPI_Keyval_create(MPI_Copy_function *copy_fn, MPI_Delete_function *delete_fn, int *keyval, void *extra_state) ; __attribute__((visibility("default"))) int PMPI_Keyval_free(int *keyval) ; __attribute__((visibility("default"))) int PMPI_Lookup_name(const char *service_name, MPI_Info info, char *port_name); __attribute__((visibility("default"))) int PMPI_Message_c2f(MPI_Message message); __attribute__((visibility("default"))) MPI_Message PMPI_Message_f2c(int message); __attribute__((visibility("default"))) int PMPI_Mprobe(int source, int tag, MPI_Comm comm, MPI_Message *message, MPI_Status *status); __attribute__((visibility("default"))) int PMPI_Mrecv(void *buf, int count, MPI_Datatype type, MPI_Message *message, MPI_Status *status); __attribute__((visibility("default"))) int PMPI_Neighbor_allgather(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm); __attribute__((visibility("default"))) int PMPI_Ineighbor_allgather(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int PMPI_Neighbor_allgatherv(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, const int recvcounts[], const int displs[], MPI_Datatype recvtype, MPI_Comm comm); __attribute__((visibility("default"))) int PMPI_Ineighbor_allgatherv(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, const int recvcounts[], const int displs[], MPI_Datatype recvtype, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int PMPI_Neighbor_alltoall(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm); __attribute__((visibility("default"))) int PMPI_Ineighbor_alltoall(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int PMPI_Neighbor_alltoallv(const void *sendbuf, const int sendcounts[], const int sdispls[], MPI_Datatype sendtype, void *recvbuf, const int recvcounts[], const int rdispls[], MPI_Datatype recvtype, MPI_Comm comm); __attribute__((visibility("default"))) int PMPI_Ineighbor_alltoallv(const void *sendbuf, const int sendcounts[], const int sdispls[], MPI_Datatype sendtype, void *recvbuf, const int recvcounts[], const int rdispls[], MPI_Datatype recvtype, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int PMPI_Neighbor_alltoallw(const void *sendbuf, const int sendcounts[], const MPI_Aint sdispls[], const MPI_Datatype sendtypes[], void *recvbuf, const int recvcounts[], const MPI_Aint rdispls[], const MPI_Datatype recvtypes[], MPI_Comm comm); __attribute__((visibility("default"))) int PMPI_Ineighbor_alltoallw(const void *sendbuf, const int sendcounts[], const MPI_Aint sdispls[], const MPI_Datatype sendtypes[], void *recvbuf, const int recvcounts[], const MPI_Aint rdispls[], const MPI_Datatype recvtypes[], MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int PMPI_Op_c2f(MPI_Op op); __attribute__((visibility("default"))) int PMPI_Op_commutative(MPI_Op op, int *commute); __attribute__((visibility("default"))) int PMPI_Op_create(MPI_User_function *function, int commute, MPI_Op *op); __attribute__((visibility("default"))) int PMPI_Open_port(MPI_Info info, char *port_name); __attribute__((visibility("default"))) MPI_Op PMPI_Op_f2c(int op); __attribute__((visibility("default"))) int PMPI_Op_free(MPI_Op *op); __attribute__((visibility("default"))) int PMPI_Pack_external(const char datarep[], const void *inbuf, int incount, MPI_Datatype datatype, void *outbuf, MPI_Aint outsize, MPI_Aint *position); __attribute__((visibility("default"))) int PMPI_Pack_external_size(const char datarep[], int incount, MPI_Datatype datatype, MPI_Aint *size); __attribute__((visibility("default"))) int PMPI_Pack(const void *inbuf, int incount, MPI_Datatype datatype, void *outbuf, int outsize, int *position, MPI_Comm comm); __attribute__((visibility("default"))) int PMPI_Pack_size(int incount, MPI_Datatype datatype, MPI_Comm comm, int *size); __attribute__((visibility("default"))) int PMPI_Pcontrol(const int level, ...); __attribute__((visibility("default"))) int PMPI_Probe(int source, int tag, MPI_Comm comm, MPI_Status *status); __attribute__((visibility("default"))) int PMPI_Publish_name(const char *service_name, MPI_Info info, const char *port_name); __attribute__((visibility("default"))) int PMPI_Put(const void *origin_addr, int origin_count, MPI_Datatype origin_datatype, int target_rank, MPI_Aint target_disp, int target_count, MPI_Datatype target_datatype, MPI_Win win); __attribute__((visibility("default"))) int PMPI_Query_thread(int *provided); __attribute__((visibility("default"))) int PMPI_Raccumulate(const void *origin_addr, int origin_count, MPI_Datatype origin_datatype, int target_rank, MPI_Aint target_disp, int target_count, MPI_Datatype target_datatype, MPI_Op op, MPI_Win win, MPI_Request *request); __attribute__((visibility("default"))) int PMPI_Recv_init(void *buf, int count, MPI_Datatype datatype, int source, int tag, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int PMPI_Recv(void *buf, int count, MPI_Datatype datatype, int source, int tag, MPI_Comm comm, MPI_Status *status); __attribute__((visibility("default"))) int PMPI_Reduce(const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, int root, MPI_Comm comm); __attribute__((visibility("default"))) int PMPI_Ireduce(const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, int root, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int PMPI_Reduce_local(const void *inbuf, void *inoutbuf, int count, MPI_Datatype datatype, MPI_Op); __attribute__((visibility("default"))) int PMPI_Reduce_scatter(const void *sendbuf, void *recvbuf, const int recvcounts[], MPI_Datatype datatype, MPI_Op op, MPI_Comm comm); __attribute__((visibility("default"))) int PMPI_Ireduce_scatter(const void *sendbuf, void *recvbuf, const int recvcounts[], MPI_Datatype datatype, MPI_Op op, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int PMPI_Reduce_scatter_block(const void *sendbuf, void *recvbuf, int recvcount, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm); __attribute__((visibility("default"))) int PMPI_Ireduce_scatter_block(const void *sendbuf, void *recvbuf, int recvcount, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int PMPI_Register_datarep(const char *datarep, MPI_Datarep_conversion_function *read_conversion_fn, MPI_Datarep_conversion_function *write_conversion_fn, MPI_Datarep_extent_function *dtype_file_extent_fn, void *extra_state); __attribute__((visibility("default"))) int PMPI_Request_c2f(MPI_Request request); __attribute__((visibility("default"))) MPI_Request PMPI_Request_f2c(int request); __attribute__((visibility("default"))) int PMPI_Request_free(MPI_Request *request); __attribute__((visibility("default"))) int PMPI_Request_get_status(MPI_Request request, int *flag, MPI_Status *status); __attribute__((visibility("default"))) int PMPI_Rget(void *origin_addr, int origin_count, MPI_Datatype origin_datatype, int target_rank, MPI_Aint target_disp, int target_count, MPI_Datatype target_datatype, MPI_Win win, MPI_Request *request); __attribute__((visibility("default"))) int PMPI_Rget_accumulate(const void *origin_addr, int origin_count, MPI_Datatype origin_datatype, void *result_addr, int result_count, MPI_Datatype result_datatype, int target_rank, MPI_Aint target_disp, int target_count, MPI_Datatype target_datatype, MPI_Op op, MPI_Win win, MPI_Request *request); __attribute__((visibility("default"))) int PMPI_Rput(const void *origin_addr, int origin_count, MPI_Datatype origin_datatype, int target_rank, MPI_Aint target_disp, int target_cout, MPI_Datatype target_datatype, MPI_Win win, MPI_Request *request); __attribute__((visibility("default"))) int PMPI_Rsend(const void *ibuf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm); __attribute__((visibility("default"))) int PMPI_Rsend_init(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int PMPI_Scan(const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm); __attribute__((visibility("default"))) int PMPI_Iscan(const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int PMPI_Scatter(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm); __attribute__((visibility("default"))) int PMPI_Iscatter(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int PMPI_Scatterv(const void *sendbuf, const int sendcounts[], const int displs[], MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm); __attribute__((visibility("default"))) int PMPI_Iscatterv(const void *sendbuf, const int sendcounts[], const int displs[], MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int PMPI_Send_init(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int PMPI_Send(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm); __attribute__((visibility("default"))) int PMPI_Sendrecv(const void *sendbuf, int sendcount, MPI_Datatype sendtype, int dest, int sendtag, void *recvbuf, int recvcount, MPI_Datatype recvtype, int source, int recvtag, MPI_Comm comm, MPI_Status *status); __attribute__((visibility("default"))) int PMPI_Sendrecv_replace(void * buf, int count, MPI_Datatype datatype, int dest, int sendtag, int source, int recvtag, MPI_Comm comm, MPI_Status *status); __attribute__((visibility("default"))) int PMPI_Ssend_init(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request); __attribute__((visibility("default"))) int PMPI_Ssend(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm); __attribute__((visibility("default"))) int PMPI_Start(MPI_Request *request); __attribute__((visibility("default"))) int PMPI_Startall(int count, MPI_Request array_of_requests[]); __attribute__((visibility("default"))) int PMPI_Status_c2f(const MPI_Status *c_status, int *f_status); __attribute__((visibility("default"))) int PMPI_Status_f2c(const int *f_status, MPI_Status *c_status); __attribute__((visibility("default"))) int PMPI_Status_set_cancelled(MPI_Status *status, int flag); __attribute__((visibility("default"))) int PMPI_Status_set_elements(MPI_Status *status, MPI_Datatype datatype, int count); __attribute__((visibility("default"))) int PMPI_Status_set_elements_x(MPI_Status *status, MPI_Datatype datatype, MPI_Count count); __attribute__((visibility("default"))) int PMPI_Testall(int count, MPI_Request array_of_requests[], int *flag, MPI_Status array_of_statuses[]); __attribute__((visibility("default"))) int PMPI_Testany(int count, MPI_Request array_of_requests[], int *index, int *flag, MPI_Status *status); __attribute__((visibility("default"))) int PMPI_Test(MPI_Request *request, int *flag, MPI_Status *status); __attribute__((visibility("default"))) int PMPI_Test_cancelled(const MPI_Status *status, int *flag); __attribute__((visibility("default"))) int PMPI_Testsome(int incount, MPI_Request array_of_requests[], int *outcount, int array_of_indices[], MPI_Status array_of_statuses[]); __attribute__((visibility("default"))) int PMPI_Topo_test(MPI_Comm comm, int *status); __attribute__((visibility("default"))) int PMPI_Type_c2f(MPI_Datatype datatype); __attribute__((visibility("default"))) int PMPI_Type_commit(MPI_Datatype *type); __attribute__((visibility("default"))) int PMPI_Type_contiguous(int count, MPI_Datatype oldtype, MPI_Datatype *newtype); __attribute__((visibility("default"))) int PMPI_Type_create_darray(int size, int rank, int ndims, const int gsize_array[], const int distrib_array[], const int darg_array[], const int psize_array[], int order, MPI_Datatype oldtype, MPI_Datatype *newtype); __attribute__((visibility("default"))) int PMPI_Type_create_f90_complex(int p, int r, MPI_Datatype *newtype); __attribute__((visibility("default"))) int PMPI_Type_create_f90_integer(int r, MPI_Datatype *newtype); __attribute__((visibility("default"))) int PMPI_Type_create_f90_real(int p, int r, MPI_Datatype *newtype); __attribute__((visibility("default"))) int PMPI_Type_create_hindexed(int count, const int array_of_blocklengths[], const MPI_Aint array_of_displacements[], MPI_Datatype oldtype, MPI_Datatype *newtype); __attribute__((visibility("default"))) int PMPI_Type_create_hvector(int count, int blocklength, MPI_Aint stride, MPI_Datatype oldtype, MPI_Datatype *newtype); __attribute__((visibility("default"))) int PMPI_Type_create_keyval(MPI_Type_copy_attr_function *type_copy_attr_fn, MPI_Type_delete_attr_function *type_delete_attr_fn, int *type_keyval, void *extra_state); __attribute__((visibility("default"))) int PMPI_Type_create_hindexed_block(int count, int blocklength, const MPI_Aint array_of_displacements[], MPI_Datatype oldtype, MPI_Datatype *newtype); __attribute__((visibility("default"))) int PMPI_Type_create_indexed_block(int count, int blocklength, const int array_of_displacements[], MPI_Datatype oldtype, MPI_Datatype *newtype); __attribute__((visibility("default"))) int PMPI_Type_create_struct(int count, const int array_of_block_lengths[], const MPI_Aint array_of_displacements[], const MPI_Datatype array_of_types[], MPI_Datatype *newtype); __attribute__((visibility("default"))) int PMPI_Type_create_subarray(int ndims, const int size_array[], const int subsize_array[], const int start_array[], int order, MPI_Datatype oldtype, MPI_Datatype *newtype); __attribute__((visibility("default"))) int PMPI_Type_create_resized(MPI_Datatype oldtype, MPI_Aint lb, MPI_Aint extent, MPI_Datatype *newtype); __attribute__((visibility("default"))) int PMPI_Type_delete_attr(MPI_Datatype type, int type_keyval); __attribute__((visibility("default"))) int PMPI_Type_dup(MPI_Datatype type, MPI_Datatype *newtype); __attribute__((visibility("default"))) int PMPI_Type_extent(MPI_Datatype type, MPI_Aint *extent) ; __attribute__((visibility("default"))) int PMPI_Type_free(MPI_Datatype *type); __attribute__((visibility("default"))) int PMPI_Type_free_keyval(int *type_keyval); __attribute__((visibility("default"))) MPI_Datatype PMPI_Type_f2c(int datatype); __attribute__((visibility("default"))) int PMPI_Type_get_attr(MPI_Datatype type, int type_keyval, void *attribute_val, int *flag); __attribute__((visibility("default"))) int PMPI_Type_get_contents(MPI_Datatype mtype, int max_integers, int max_addresses, int max_datatypes, int array_of_integers[], MPI_Aint array_of_addresses[], MPI_Datatype array_of_datatypes[]); __attribute__((visibility("default"))) int PMPI_Type_get_envelope(MPI_Datatype type, int *num_integers, int *num_addresses, int *num_datatypes, int *combiner); __attribute__((visibility("default"))) int PMPI_Type_get_extent(MPI_Datatype type, MPI_Aint *lb, MPI_Aint *extent); __attribute__((visibility("default"))) int PMPI_Type_get_extent_x(MPI_Datatype type, MPI_Count *lb, MPI_Count *extent); __attribute__((visibility("default"))) int PMPI_Type_get_name(MPI_Datatype type, char *type_name, int *resultlen); __attribute__((visibility("default"))) int PMPI_Type_get_true_extent(MPI_Datatype datatype, MPI_Aint *true_lb, MPI_Aint *true_extent); __attribute__((visibility("default"))) int PMPI_Type_get_true_extent_x(MPI_Datatype datatype, MPI_Count *true_lb, MPI_Count *true_extent); __attribute__((visibility("default"))) int PMPI_Type_hindexed(int count, int array_of_blocklengths[], MPI_Aint array_of_displacements[], MPI_Datatype oldtype, MPI_Datatype *newtype) ; __attribute__((visibility("default"))) int PMPI_Type_hvector(int count, int blocklength, MPI_Aint stride, MPI_Datatype oldtype, MPI_Datatype *newtype) ; __attribute__((visibility("default"))) int PMPI_Type_indexed(int count, const int array_of_blocklengths[], const int array_of_displacements[], MPI_Datatype oldtype, MPI_Datatype *newtype); __attribute__((visibility("default"))) int PMPI_Type_lb(MPI_Datatype type, MPI_Aint *lb) ; __attribute__((visibility("default"))) int PMPI_Type_match_size(int typeclass, int size, MPI_Datatype *type); __attribute__((visibility("default"))) int PMPI_Type_set_attr(MPI_Datatype type, int type_keyval, void *attr_val); __attribute__((visibility("default"))) int PMPI_Type_set_name(MPI_Datatype type, const char *type_name); __attribute__((visibility("default"))) int PMPI_Type_size(MPI_Datatype type, int *size); __attribute__((visibility("default"))) int PMPI_Type_size_x(MPI_Datatype type, MPI_Count *size); __attribute__((visibility("default"))) int PMPI_Type_struct(int count, int array_of_blocklengths[], MPI_Aint array_of_displacements[], MPI_Datatype array_of_types[], MPI_Datatype *newtype) ; __attribute__((visibility("default"))) int PMPI_Type_ub(MPI_Datatype mtype, MPI_Aint *ub) ; __attribute__((visibility("default"))) int PMPI_Type_vector(int count, int blocklength, int stride, MPI_Datatype oldtype, MPI_Datatype *newtype); __attribute__((visibility("default"))) int PMPI_Unpack(const void *inbuf, int insize, int *position, void *outbuf, int outcount, MPI_Datatype datatype, MPI_Comm comm); __attribute__((visibility("default"))) int PMPI_Unpublish_name(const char *service_name, MPI_Info info, const char *port_name); __attribute__((visibility("default"))) int PMPI_Unpack_external (const char datarep[], const void *inbuf, MPI_Aint insize, MPI_Aint *position, void *outbuf, int outcount, MPI_Datatype datatype); __attribute__((visibility("default"))) int PMPI_Waitall(int count, MPI_Request array_of_requests[], MPI_Status array_of_statuses[]); __attribute__((visibility("default"))) int PMPI_Waitany(int count, MPI_Request array_of_requests[], int *index, MPI_Status *status); __attribute__((visibility("default"))) int PMPI_Wait(MPI_Request *request, MPI_Status *status); __attribute__((visibility("default"))) int PMPI_Waitsome(int incount, MPI_Request array_of_requests[], int *outcount, int array_of_indices[], MPI_Status array_of_statuses[]); __attribute__((visibility("default"))) int PMPI_Win_allocate(MPI_Aint size, int disp_unit, MPI_Info info, MPI_Comm comm, void *baseptr, MPI_Win *win); __attribute__((visibility("default"))) int PMPI_Win_allocate_shared(MPI_Aint size, int disp_unit, MPI_Info info, MPI_Comm comm, void *baseptr, MPI_Win *win); __attribute__((visibility("default"))) int PMPI_Win_attach(MPI_Win win, void *base, MPI_Aint size); __attribute__((visibility("default"))) int PMPI_Win_c2f(MPI_Win win); __attribute__((visibility("default"))) int PMPI_Win_call_errhandler(MPI_Win win, int errorcode); __attribute__((visibility("default"))) int PMPI_Win_complete(MPI_Win win); __attribute__((visibility("default"))) int PMPI_Win_create(void *base, MPI_Aint size, int disp_unit, MPI_Info info, MPI_Comm comm, MPI_Win *win); __attribute__((visibility("default"))) int PMPI_Win_create_dynamic(MPI_Info info, MPI_Comm comm, MPI_Win *win); __attribute__((visibility("default"))) int PMPI_Win_create_errhandler(MPI_Win_errhandler_function *function, MPI_Errhandler *errhandler); __attribute__((visibility("default"))) int PMPI_Win_create_keyval(MPI_Win_copy_attr_function *win_copy_attr_fn, MPI_Win_delete_attr_function *win_delete_attr_fn, int *win_keyval, void *extra_state); __attribute__((visibility("default"))) int PMPI_Win_delete_attr(MPI_Win win, int win_keyval); __attribute__((visibility("default"))) int PMPI_Win_detach(MPI_Win win, const void *base); __attribute__((visibility("default"))) MPI_Win PMPI_Win_f2c(int win); __attribute__((visibility("default"))) int PMPI_Win_fence(int assert, MPI_Win win); __attribute__((visibility("default"))) int PMPI_Win_flush(int rank, MPI_Win win); __attribute__((visibility("default"))) int PMPI_Win_flush_all(MPI_Win win); __attribute__((visibility("default"))) int PMPI_Win_flush_local(int rank, MPI_Win win); __attribute__((visibility("default"))) int PMPI_Win_flush_local_all(MPI_Win win); __attribute__((visibility("default"))) int PMPI_Win_free(MPI_Win *win); __attribute__((visibility("default"))) int PMPI_Win_free_keyval(int *win_keyval); __attribute__((visibility("default"))) int PMPI_Win_get_attr(MPI_Win win, int win_keyval, void *attribute_val, int *flag); __attribute__((visibility("default"))) int PMPI_Win_get_errhandler(MPI_Win win, MPI_Errhandler *errhandler); __attribute__((visibility("default"))) int PMPI_Win_get_group(MPI_Win win, MPI_Group *group); __attribute__((visibility("default"))) int PMPI_Win_get_info(MPI_Win win, MPI_Info *info_used); __attribute__((visibility("default"))) int PMPI_Win_get_name(MPI_Win win, char *win_name, int *resultlen); __attribute__((visibility("default"))) int PMPI_Win_lock(int lock_type, int rank, int assert, MPI_Win win); __attribute__((visibility("default"))) int PMPI_Win_lock_all(int assert, MPI_Win win); __attribute__((visibility("default"))) int PMPI_Win_post(MPI_Group group, int assert, MPI_Win win); __attribute__((visibility("default"))) int PMPI_Win_set_attr(MPI_Win win, int win_keyval, void *attribute_val); __attribute__((visibility("default"))) int PMPI_Win_set_errhandler(MPI_Win win, MPI_Errhandler errhandler); __attribute__((visibility("default"))) int PMPI_Win_set_info(MPI_Win win, MPI_Info info); __attribute__((visibility("default"))) int PMPI_Win_set_name(MPI_Win win, const char *win_name); __attribute__((visibility("default"))) int PMPI_Win_shared_query(MPI_Win win, int rank, MPI_Aint *size, int *disp_unit, void *baseptr); __attribute__((visibility("default"))) int PMPI_Win_start(MPI_Group group, int assert, MPI_Win win); __attribute__((visibility("default"))) int PMPI_Win_sync(MPI_Win win); __attribute__((visibility("default"))) int PMPI_Win_test(MPI_Win win, int *flag); __attribute__((visibility("default"))) int PMPI_Win_unlock(int rank, MPI_Win win); __attribute__((visibility("default"))) int PMPI_Win_unlock_all(MPI_Win win); __attribute__((visibility("default"))) int PMPI_Win_wait(MPI_Win win); __attribute__((visibility("default"))) double PMPI_Wtick(void); __attribute__((visibility("default"))) double PMPI_Wtime(void); __attribute__((visibility("default"))) int PMPI_T_init_thread (int required, int *provided); __attribute__((visibility("default"))) int PMPI_T_finalize (void); __attribute__((visibility("default"))) int PMPI_T_cvar_get_num (int *num_cvar); __attribute__((visibility("default"))) int PMPI_T_cvar_get_info (int cvar_index, char *name, int *name_len, int *verbosity, MPI_Datatype *datatype, MPI_T_enum *enumtype, char *desc, int *desc_len, int *bind, int *scope); __attribute__((visibility("default"))) int PMPI_T_cvar_get_index (const char *name, int *cvar_index); __attribute__((visibility("default"))) int PMPI_T_cvar_handle_alloc (int cvar_index, void *obj_handle, MPI_T_cvar_handle *handle, int *count); __attribute__((visibility("default"))) int PMPI_T_cvar_handle_free (MPI_T_cvar_handle *handle); __attribute__((visibility("default"))) int PMPI_T_cvar_read (MPI_T_cvar_handle handle, void *buf); __attribute__((visibility("default"))) int PMPI_T_cvar_write (MPI_T_cvar_handle handle, const void *buf); __attribute__((visibility("default"))) int PMPI_T_category_get_num(int *num_cat); __attribute__((visibility("default"))) int PMPI_T_category_get_info(int cat_index, char *name, int *name_len, char *desc, int *desc_len, int *num_cvars, int *num_pvars, int *num_categories); __attribute__((visibility("default"))) int PMPI_T_category_get_index (const char *name, int *category_index); __attribute__((visibility("default"))) int PMPI_T_category_get_cvars(int cat_index, int len, int indices[]); __attribute__((visibility("default"))) int PMPI_T_category_get_pvars(int cat_index, int len, int indices[]); __attribute__((visibility("default"))) int PMPI_T_category_get_categories(int cat_index, int len, int indices[]); __attribute__((visibility("default"))) int PMPI_T_category_changed(int *stamp); __attribute__((visibility("default"))) int PMPI_T_pvar_get_num(int *num_pvar); __attribute__((visibility("default"))) int PMPI_T_pvar_get_info(int pvar_index, char *name, int *name_len, int *verbosity, int *var_class, MPI_Datatype *datatype, MPI_T_enum *enumtype, char *desc, int *desc_len, int *bind, int *readonly, int *continuous, int *atomic); __attribute__((visibility("default"))) int PMPI_T_pvar_get_index (const char *name, int var_class, int *pvar_index); __attribute__((visibility("default"))) int PMPI_T_pvar_session_create(MPI_T_pvar_session *session); __attribute__((visibility("default"))) int PMPI_T_pvar_session_free(MPI_T_pvar_session *session); __attribute__((visibility("default"))) int PMPI_T_pvar_handle_alloc(MPI_T_pvar_session session, int pvar_index, void *obj_handle, MPI_T_pvar_handle *handle, int *count); __attribute__((visibility("default"))) int PMPI_T_pvar_handle_free(MPI_T_pvar_session session, MPI_T_pvar_handle *handle); __attribute__((visibility("default"))) int PMPI_T_pvar_start(MPI_T_pvar_session session, MPI_T_pvar_handle handle); __attribute__((visibility("default"))) int PMPI_T_pvar_stop(MPI_T_pvar_session session, MPI_T_pvar_handle handle); __attribute__((visibility("default"))) int PMPI_T_pvar_read(MPI_T_pvar_session session, MPI_T_pvar_handle handle, void *buf); __attribute__((visibility("default"))) int PMPI_T_pvar_write(MPI_T_pvar_session session, MPI_T_pvar_handle handle, const void *buf); __attribute__((visibility("default"))) int PMPI_T_pvar_reset(MPI_T_pvar_session session, MPI_T_pvar_handle handle); __attribute__((visibility("default"))) int PMPI_T_pvar_readreset(MPI_T_pvar_session session, MPI_T_pvar_handle handle, void *buf); __attribute__((visibility("default"))) int PMPI_T_enum_get_info(MPI_T_enum enumtype, int *num, char *name, int *name_len); __attribute__((visibility("default"))) int PMPI_T_enum_get_item(MPI_T_enum enumtype, int index, int *value, char *name, int *name_len); __attribute__((visibility("default"))) int MPI_T_init_thread (int required, int *provided); __attribute__((visibility("default"))) int MPI_T_finalize (void); __attribute__((visibility("default"))) int MPI_T_cvar_get_num (int *num_cvar); __attribute__((visibility("default"))) int MPI_T_cvar_get_info (int cvar_index, char *name, int *name_len, int *verbosity, MPI_Datatype *datatype, MPI_T_enum *enumtype, char *desc, int *desc_len, int *bind, int *scope); __attribute__((visibility("default"))) int MPI_T_cvar_get_index (const char *name, int *cvar_index); __attribute__((visibility("default"))) int MPI_T_cvar_handle_alloc (int cvar_index, void *obj_handle, MPI_T_cvar_handle *handle, int *count); __attribute__((visibility("default"))) int MPI_T_cvar_handle_free (MPI_T_cvar_handle *handle); __attribute__((visibility("default"))) int MPI_T_cvar_read (MPI_T_cvar_handle handle, void *buf); __attribute__((visibility("default"))) int MPI_T_cvar_write (MPI_T_cvar_handle handle, const void *buf); __attribute__((visibility("default"))) int MPI_T_category_get_num(int *num_cat); __attribute__((visibility("default"))) int MPI_T_category_get_info(int cat_index, char *name, int *name_len, char *desc, int *desc_len, int *num_cvars, int *num_pvars, int *num_categories); __attribute__((visibility("default"))) int MPI_T_category_get_index (const char *name, int *category_index); __attribute__((visibility("default"))) int MPI_T_category_get_cvars(int cat_index, int len, int indices[]); __attribute__((visibility("default"))) int MPI_T_category_get_pvars(int cat_index, int len, int indices[]); __attribute__((visibility("default"))) int MPI_T_category_get_categories(int cat_index, int len, int indices[]); __attribute__((visibility("default"))) int MPI_T_category_changed(int *stamp); __attribute__((visibility("default"))) int MPI_T_pvar_get_num(int *num_pvar); __attribute__((visibility("default"))) int MPI_T_pvar_get_info(int pvar_index, char *name, int *name_len, int *verbosity, int *var_class, MPI_Datatype *datatype, MPI_T_enum *enumtype, char *desc, int *desc_len, int *bind, int *readonly, int *continuous, int *atomic); __attribute__((visibility("default"))) int MPI_T_pvar_get_index (const char *name, int var_class, int *pvar_index); __attribute__((visibility("default"))) int MPI_T_pvar_session_create(MPI_T_pvar_session *session); __attribute__((visibility("default"))) int MPI_T_pvar_session_free(MPI_T_pvar_session *session); __attribute__((visibility("default"))) int MPI_T_pvar_handle_alloc(MPI_T_pvar_session session, int pvar_index, void *obj_handle, MPI_T_pvar_handle *handle, int *count); __attribute__((visibility("default"))) int MPI_T_pvar_handle_free(MPI_T_pvar_session session, MPI_T_pvar_handle *handle); __attribute__((visibility("default"))) int MPI_T_pvar_start(MPI_T_pvar_session session, MPI_T_pvar_handle handle); __attribute__((visibility("default"))) int MPI_T_pvar_stop(MPI_T_pvar_session session, MPI_T_pvar_handle handle); __attribute__((visibility("default"))) int MPI_T_pvar_read(MPI_T_pvar_session session, MPI_T_pvar_handle handle, void *buf); __attribute__((visibility("default"))) int MPI_T_pvar_write(MPI_T_pvar_session session, MPI_T_pvar_handle handle, const void *buf); __attribute__((visibility("default"))) int MPI_T_pvar_reset(MPI_T_pvar_session session, MPI_T_pvar_handle handle); __attribute__((visibility("default"))) int MPI_T_pvar_readreset(MPI_T_pvar_session session, MPI_T_pvar_handle handle, void *buf); __attribute__((visibility("default"))) int MPI_T_enum_get_info(MPI_T_enum enumtype, int *num, char *name, int *name_len); __attribute__((visibility("default"))) int MPI_T_enum_get_item(MPI_T_enum enumtype, int index, int *value, char *name, int *name_len); } # 2704 "/usr/lib/i386-linux-gnu/openmpi/include/mpi.h" # 1 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h" 1 # 37 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h" # 1 "/usr/lib/i386-linux-gnu/openmpi/include/mpi.h" 1 # 38 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h" 2 # 1 "/usr/include/c++/7/map" 1 3 # 58 "/usr/include/c++/7/map" 3 # 59 "/usr/include/c++/7/map" 3 # 1 "/usr/include/c++/7/bits/stl_tree.h" 1 3 # 61 "/usr/include/c++/7/bits/stl_tree.h" 3 # 62 "/usr/include/c++/7/bits/stl_tree.h" 3 # 1 "/usr/include/c++/7/bits/stl_algobase.h" 1 3 # 59 "/usr/include/c++/7/bits/stl_algobase.h" 3 # 1 "/usr/include/i386-linux-gnu/c++/7/bits/c++config.h" 1 3 # 229 "/usr/include/i386-linux-gnu/c++/7/bits/c++config.h" 3 # 229 "/usr/include/i386-linux-gnu/c++/7/bits/c++config.h" 3 namespace std { typedef unsigned int size_t; typedef int ptrdiff_t; typedef decltype(nullptr) nullptr_t; } # 251 "/usr/include/i386-linux-gnu/c++/7/bits/c++config.h" 3 namespace std { inline namespace __cxx11 __attribute__((__abi_tag__ ("cxx11"))) { } } namespace __gnu_cxx { inline namespace __cxx11 __attribute__((__abi_tag__ ("cxx11"))) { } } # 533 "/usr/include/i386-linux-gnu/c++/7/bits/c++config.h" 3 # 1 "/usr/include/i386-linux-gnu/c++/7/bits/os_defines.h" 1 3 # 39 "/usr/include/i386-linux-gnu/c++/7/bits/os_defines.h" 3 # 1 "/usr/include/features.h" 1 3 4 # 364 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/sys/cdefs.h" 1 3 4 # 415 "/usr/include/i386-linux-gnu/sys/cdefs.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 416 "/usr/include/i386-linux-gnu/sys/cdefs.h" 2 3 4 # 365 "/usr/include/features.h" 2 3 4 # 388 "/usr/include/features.h" 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs.h" 1 3 4 # 1 "/usr/include/i386-linux-gnu/gnu/stubs-32.h" 1 3 4 # 8 "/usr/include/i386-linux-gnu/gnu/stubs.h" 2 3 4 # 389 "/usr/include/features.h" 2 3 4 # 40 "/usr/include/i386-linux-gnu/c++/7/bits/os_defines.h" 2 3 # 534 "/usr/include/i386-linux-gnu/c++/7/bits/c++config.h" 2 3 # 1 "/usr/include/i386-linux-gnu/c++/7/bits/cpu_defines.h" 1 3 # 537 "/usr/include/i386-linux-gnu/c++/7/bits/c++config.h" 2 3 # 60 "/usr/include/c++/7/bits/stl_algobase.h" 2 3 # 1 "/usr/include/c++/7/bits/functexcept.h" 1 3 # 40 "/usr/include/c++/7/bits/functexcept.h" 3 # 1 "/usr/include/c++/7/bits/exception_defines.h" 1 3 # 41 "/usr/include/c++/7/bits/functexcept.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { void __throw_bad_exception(void) __attribute__((__noreturn__)); void __throw_bad_alloc(void) __attribute__((__noreturn__)); void __throw_bad_cast(void) __attribute__((__noreturn__)); void __throw_bad_typeid(void) __attribute__((__noreturn__)); void __throw_logic_error(const char*) __attribute__((__noreturn__)); void __throw_domain_error(const char*) __attribute__((__noreturn__)); void __throw_invalid_argument(const char*) __attribute__((__noreturn__)); void __throw_length_error(const char*) __attribute__((__noreturn__)); void __throw_out_of_range(const char*) __attribute__((__noreturn__)); void __throw_out_of_range_fmt(const char*, ...) __attribute__((__noreturn__)) __attribute__((__format__(__gnu_printf__, 1, 2))); void __throw_runtime_error(const char*) __attribute__((__noreturn__)); void __throw_range_error(const char*) __attribute__((__noreturn__)); void __throw_overflow_error(const char*) __attribute__((__noreturn__)); void __throw_underflow_error(const char*) __attribute__((__noreturn__)); void __throw_ios_failure(const char*) __attribute__((__noreturn__)); void __throw_system_error(int) __attribute__((__noreturn__)); void __throw_future_error(int) __attribute__((__noreturn__)); void __throw_bad_function_call() __attribute__((__noreturn__)); } # 61 "/usr/include/c++/7/bits/stl_algobase.h" 2 3 # 1 "/usr/include/c++/7/bits/cpp_type_traits.h" 1 3 # 35 "/usr/include/c++/7/bits/cpp_type_traits.h" 3 # 36 "/usr/include/c++/7/bits/cpp_type_traits.h" 3 # 67 "/usr/include/c++/7/bits/cpp_type_traits.h" 3 extern "C++" { namespace std __attribute__ ((__visibility__ ("default"))) { struct __true_type { }; struct __false_type { }; template struct __truth_type { typedef __false_type __type; }; template<> struct __truth_type { typedef __true_type __type; }; template struct __traitor { enum { __value = bool(_Sp::__value) || bool(_Tp::__value) }; typedef typename __truth_type<__value>::__type __type; }; template struct __are_same { enum { __value = 0 }; typedef __false_type __type; }; template struct __are_same<_Tp, _Tp> { enum { __value = 1 }; typedef __true_type __type; }; template struct __is_void { enum { __value = 0 }; typedef __false_type __type; }; template<> struct __is_void { enum { __value = 1 }; typedef __true_type __type; }; template struct __is_integer { enum { __value = 0 }; typedef __false_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_integer { enum { __value = 1 }; typedef __true_type __type; }; # 278 "/usr/include/c++/7/bits/cpp_type_traits.h" 3 template struct __is_floating { enum { __value = 0 }; typedef __false_type __type; }; template<> struct __is_floating { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_floating { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_floating { enum { __value = 1 }; typedef __true_type __type; }; template struct __is_pointer { enum { __value = 0 }; typedef __false_type __type; }; template struct __is_pointer<_Tp*> { enum { __value = 1 }; typedef __true_type __type; }; template struct __is_arithmetic : public __traitor<__is_integer<_Tp>, __is_floating<_Tp> > { }; template struct __is_scalar : public __traitor<__is_arithmetic<_Tp>, __is_pointer<_Tp> > { }; template struct __is_char { enum { __value = 0 }; typedef __false_type __type; }; template<> struct __is_char { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_char { enum { __value = 1 }; typedef __true_type __type; }; template struct __is_byte { enum { __value = 0 }; typedef __false_type __type; }; template<> struct __is_byte { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_byte { enum { __value = 1 }; typedef __true_type __type; }; template<> struct __is_byte { enum { __value = 1 }; typedef __true_type __type; }; template struct __is_move_iterator { enum { __value = 0 }; typedef __false_type __type; }; template inline _Iterator __miter_base(_Iterator __it) { return __it; } } } # 62 "/usr/include/c++/7/bits/stl_algobase.h" 2 3 # 1 "/usr/include/c++/7/ext/type_traits.h" 1 3 # 32 "/usr/include/c++/7/ext/type_traits.h" 3 # 33 "/usr/include/c++/7/ext/type_traits.h" 3 extern "C++" { namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) { template struct __enable_if { }; template struct __enable_if { typedef _Tp __type; }; template struct __conditional_type { typedef _Iftrue __type; }; template struct __conditional_type { typedef _Iffalse __type; }; template struct __add_unsigned { private: typedef __enable_if::__value, _Tp> __if_type; public: typedef typename __if_type::__type __type; }; template<> struct __add_unsigned { typedef unsigned char __type; }; template<> struct __add_unsigned { typedef unsigned char __type; }; template<> struct __add_unsigned { typedef unsigned short __type; }; template<> struct __add_unsigned { typedef unsigned int __type; }; template<> struct __add_unsigned { typedef unsigned long __type; }; template<> struct __add_unsigned { typedef unsigned long long __type; }; template<> struct __add_unsigned; template<> struct __add_unsigned; template struct __remove_unsigned { private: typedef __enable_if::__value, _Tp> __if_type; public: typedef typename __if_type::__type __type; }; template<> struct __remove_unsigned { typedef signed char __type; }; template<> struct __remove_unsigned { typedef signed char __type; }; template<> struct __remove_unsigned { typedef short __type; }; template<> struct __remove_unsigned { typedef int __type; }; template<> struct __remove_unsigned { typedef long __type; }; template<> struct __remove_unsigned { typedef long long __type; }; template<> struct __remove_unsigned; template<> struct __remove_unsigned; template inline bool __is_null_pointer(_Type* __ptr) { return __ptr == 0; } template inline bool __is_null_pointer(_Type) { return false; } inline bool __is_null_pointer(std::nullptr_t) { return true; } template::__value> struct __promote { typedef double __type; }; template struct __promote<_Tp, false> { }; template<> struct __promote { typedef long double __type; }; template<> struct __promote { typedef double __type; }; template<> struct __promote { typedef float __type; }; template::__type, typename _Up2 = typename __promote<_Up>::__type> struct __promote_2 { typedef __typeof__(_Tp2() + _Up2()) __type; }; template::__type, typename _Up2 = typename __promote<_Up>::__type, typename _Vp2 = typename __promote<_Vp>::__type> struct __promote_3 { typedef __typeof__(_Tp2() + _Up2() + _Vp2()) __type; }; template::__type, typename _Up2 = typename __promote<_Up>::__type, typename _Vp2 = typename __promote<_Vp>::__type, typename _Wp2 = typename __promote<_Wp>::__type> struct __promote_4 { typedef __typeof__(_Tp2() + _Up2() + _Vp2() + _Wp2()) __type; }; } } # 63 "/usr/include/c++/7/bits/stl_algobase.h" 2 3 # 1 "/usr/include/c++/7/ext/numeric_traits.h" 1 3 # 32 "/usr/include/c++/7/ext/numeric_traits.h" 3 # 33 "/usr/include/c++/7/ext/numeric_traits.h" 3 namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) { # 54 "/usr/include/c++/7/ext/numeric_traits.h" 3 template struct __numeric_traits_integer { static const _Value __min = (((_Value)(-1) < 0) ? (_Value)1 << (sizeof(_Value) * 8 - ((_Value)(-1) < 0)) : (_Value)0); static const _Value __max = (((_Value)(-1) < 0) ? (((((_Value)1 << ((sizeof(_Value) * 8 - ((_Value)(-1) < 0)) - 1)) - 1) << 1) + 1) : ~(_Value)0); static const bool __is_signed = ((_Value)(-1) < 0); static const int __digits = (sizeof(_Value) * 8 - ((_Value)(-1) < 0)); }; template const _Value __numeric_traits_integer<_Value>::__min; template const _Value __numeric_traits_integer<_Value>::__max; template const bool __numeric_traits_integer<_Value>::__is_signed; template const int __numeric_traits_integer<_Value>::__digits; # 99 "/usr/include/c++/7/ext/numeric_traits.h" 3 template struct __numeric_traits_floating { static const int __max_digits10 = (2 + (std::__are_same<_Value, float>::__value ? 24 : std::__are_same<_Value, double>::__value ? 53 : 64) * 643L / 2136); static const bool __is_signed = true; static const int __digits10 = (std::__are_same<_Value, float>::__value ? 6 : std::__are_same<_Value, double>::__value ? 15 : 18); static const int __max_exponent10 = (std::__are_same<_Value, float>::__value ? 38 : std::__are_same<_Value, double>::__value ? 308 : 4932); }; template const int __numeric_traits_floating<_Value>::__max_digits10; template const bool __numeric_traits_floating<_Value>::__is_signed; template const int __numeric_traits_floating<_Value>::__digits10; template const int __numeric_traits_floating<_Value>::__max_exponent10; template struct __numeric_traits : public __conditional_type::__value, __numeric_traits_integer<_Value>, __numeric_traits_floating<_Value> >::__type { }; } # 64 "/usr/include/c++/7/bits/stl_algobase.h" 2 3 # 1 "/usr/include/c++/7/bits/stl_pair.h" 1 3 # 59 "/usr/include/c++/7/bits/stl_pair.h" 3 # 1 "/usr/include/c++/7/bits/move.h" 1 3 # 34 "/usr/include/c++/7/bits/move.h" 3 # 1 "/usr/include/c++/7/bits/concept_check.h" 1 3 # 33 "/usr/include/c++/7/bits/concept_check.h" 3 # 34 "/usr/include/c++/7/bits/concept_check.h" 3 # 35 "/usr/include/c++/7/bits/move.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { template inline constexpr _Tp* __addressof(_Tp& __r) noexcept { return __builtin_addressof(__r); } } # 1 "/usr/include/c++/7/type_traits" 1 3 # 32 "/usr/include/c++/7/type_traits" 3 # 33 "/usr/include/c++/7/type_traits" 3 # 42 "/usr/include/c++/7/type_traits" 3 namespace std { typedef short unsigned int uint_least16_t; typedef unsigned int uint_least32_t; } namespace std __attribute__ ((__visibility__ ("default"))) { # 68 "/usr/include/c++/7/type_traits" 3 template struct integral_constant { static constexpr _Tp value = __v; typedef _Tp value_type; typedef integral_constant<_Tp, __v> type; constexpr operator value_type() const { return value; } constexpr value_type operator()() const { return value; } }; template constexpr _Tp integral_constant<_Tp, __v>::value; typedef integral_constant true_type; typedef integral_constant false_type; template using __bool_constant = integral_constant; # 103 "/usr/include/c++/7/type_traits" 3 template struct conditional; template struct __or_; template<> struct __or_<> : public false_type { }; template struct __or_<_B1> : public _B1 { }; template struct __or_<_B1, _B2> : public conditional<_B1::value, _B1, _B2>::type { }; template struct __or_<_B1, _B2, _B3, _Bn...> : public conditional<_B1::value, _B1, __or_<_B2, _B3, _Bn...>>::type { }; template struct __and_; template<> struct __and_<> : public true_type { }; template struct __and_<_B1> : public _B1 { }; template struct __and_<_B1, _B2> : public conditional<_B1::value, _B2, _B1>::type { }; template struct __and_<_B1, _B2, _B3, _Bn...> : public conditional<_B1::value, __and_<_B2, _B3, _Bn...>, _B1>::type { }; template struct __not_ : public integral_constant { }; # 195 "/usr/include/c++/7/type_traits" 3 template struct __success_type { typedef _Tp type; }; struct __failure_type { }; template struct remove_cv; template struct __is_void_helper : public false_type { }; template<> struct __is_void_helper : public true_type { }; template struct is_void : public __is_void_helper::type>::type { }; template struct __is_integral_helper : public false_type { }; template<> struct __is_integral_helper : public true_type { }; template<> struct __is_integral_helper : public true_type { }; template<> struct __is_integral_helper : public true_type { }; template<> struct __is_integral_helper : public true_type { }; template<> struct __is_integral_helper : public true_type { }; template<> struct __is_integral_helper : public true_type { }; template<> struct __is_integral_helper : public true_type { }; template<> struct __is_integral_helper : public true_type { }; template<> struct __is_integral_helper : public true_type { }; template<> struct __is_integral_helper : public true_type { }; template<> struct __is_integral_helper : public true_type { }; template<> struct __is_integral_helper : public true_type { }; template<> struct __is_integral_helper : public true_type { }; template<> struct __is_integral_helper : public true_type { }; template<> struct __is_integral_helper : public true_type { }; # 327 "/usr/include/c++/7/type_traits" 3 template struct is_integral : public __is_integral_helper::type>::type { }; template struct __is_floating_point_helper : public false_type { }; template<> struct __is_floating_point_helper : public true_type { }; template<> struct __is_floating_point_helper : public true_type { }; template<> struct __is_floating_point_helper : public true_type { }; template<> struct __is_floating_point_helper<__float128> : public true_type { }; template struct is_floating_point : public __is_floating_point_helper::type>::type { }; template struct is_array : public false_type { }; template struct is_array<_Tp[_Size]> : public true_type { }; template struct is_array<_Tp[]> : public true_type { }; template struct __is_pointer_helper : public false_type { }; template struct __is_pointer_helper<_Tp*> : public true_type { }; template struct is_pointer : public __is_pointer_helper::type>::type { }; template struct is_lvalue_reference : public false_type { }; template struct is_lvalue_reference<_Tp&> : public true_type { }; template struct is_rvalue_reference : public false_type { }; template struct is_rvalue_reference<_Tp&&> : public true_type { }; template struct is_function; template struct __is_member_object_pointer_helper : public false_type { }; template struct __is_member_object_pointer_helper<_Tp _Cp::*> : public integral_constant::value> { }; template struct is_member_object_pointer : public __is_member_object_pointer_helper< typename remove_cv<_Tp>::type>::type { }; template struct __is_member_function_pointer_helper : public false_type { }; template struct __is_member_function_pointer_helper<_Tp _Cp::*> : public integral_constant::value> { }; template struct is_member_function_pointer : public __is_member_function_pointer_helper< typename remove_cv<_Tp>::type>::type { }; template struct is_enum : public integral_constant { }; template struct is_union : public integral_constant { }; template struct is_class : public integral_constant { }; template struct is_function : public false_type { }; template struct is_function<_Res(_ArgTypes...) > : public true_type { }; template struct is_function<_Res(_ArgTypes...) & > : public true_type { }; template struct is_function<_Res(_ArgTypes...) && > : public true_type { }; template struct is_function<_Res(_ArgTypes......) > : public true_type { }; template struct is_function<_Res(_ArgTypes......) & > : public true_type { }; template struct is_function<_Res(_ArgTypes......) && > : public true_type { }; template struct is_function<_Res(_ArgTypes...) const > : public true_type { }; template struct is_function<_Res(_ArgTypes...) const & > : public true_type { }; template struct is_function<_Res(_ArgTypes...) const && > : public true_type { }; template struct is_function<_Res(_ArgTypes......) const > : public true_type { }; template struct is_function<_Res(_ArgTypes......) const & > : public true_type { }; template struct is_function<_Res(_ArgTypes......) const && > : public true_type { }; template struct is_function<_Res(_ArgTypes...) volatile > : public true_type { }; template struct is_function<_Res(_ArgTypes...) volatile & > : public true_type { }; template struct is_function<_Res(_ArgTypes...) volatile && > : public true_type { }; template struct is_function<_Res(_ArgTypes......) volatile > : public true_type { }; template struct is_function<_Res(_ArgTypes......) volatile & > : public true_type { }; template struct is_function<_Res(_ArgTypes......) volatile && > : public true_type { }; template struct is_function<_Res(_ArgTypes...) const volatile > : public true_type { }; template struct is_function<_Res(_ArgTypes...) const volatile & > : public true_type { }; template struct is_function<_Res(_ArgTypes...) const volatile && > : public true_type { }; template struct is_function<_Res(_ArgTypes......) const volatile > : public true_type { }; template struct is_function<_Res(_ArgTypes......) const volatile & > : public true_type { }; template struct is_function<_Res(_ArgTypes......) const volatile && > : public true_type { }; template struct __is_null_pointer_helper : public false_type { }; template<> struct __is_null_pointer_helper : public true_type { }; template struct is_null_pointer : public __is_null_pointer_helper::type>::type { }; template struct __is_nullptr_t : public is_null_pointer<_Tp> { }; template struct is_reference : public __or_, is_rvalue_reference<_Tp>>::type { }; template struct is_arithmetic : public __or_, is_floating_point<_Tp>>::type { }; template struct is_fundamental : public __or_, is_void<_Tp>, is_null_pointer<_Tp>>::type { }; template struct is_object : public __not_<__or_, is_reference<_Tp>, is_void<_Tp>>>::type { }; template struct is_member_pointer; template struct is_scalar : public __or_, is_enum<_Tp>, is_pointer<_Tp>, is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type { }; template struct is_compound : public integral_constant::value> { }; template struct __is_member_pointer_helper : public false_type { }; template struct __is_member_pointer_helper<_Tp _Cp::*> : public true_type { }; template struct is_member_pointer : public __is_member_pointer_helper::type>::type { }; template struct __is_referenceable : public __or_, is_reference<_Tp>>::type { }; template struct __is_referenceable<_Res(_Args...) > : public true_type { }; template struct __is_referenceable<_Res(_Args......) > : public true_type { }; template struct is_const : public false_type { }; template struct is_const<_Tp const> : public true_type { }; template struct is_volatile : public false_type { }; template struct is_volatile<_Tp volatile> : public true_type { }; template struct is_trivial : public integral_constant { }; template struct is_trivially_copyable : public integral_constant { }; template struct is_standard_layout : public integral_constant { }; template struct is_pod : public integral_constant { }; template struct is_literal_type : public integral_constant { }; template struct is_empty : public integral_constant { }; template struct is_polymorphic : public integral_constant { }; template struct is_final : public integral_constant { }; template struct is_abstract : public integral_constant { }; template::value> struct __is_signed_helper : public false_type { }; template struct __is_signed_helper<_Tp, true> : public integral_constant { }; template struct is_signed : public __is_signed_helper<_Tp>::type { }; template struct is_unsigned : public __and_, __not_>> { }; template struct add_rvalue_reference; template typename add_rvalue_reference<_Tp>::type declval() noexcept; template struct extent; template struct remove_all_extents; template struct __is_array_known_bounds : public integral_constant::value > 0)> { }; template struct __is_array_unknown_bounds : public __and_, __not_>> { }; struct __do_is_destructible_impl { template().~_Tp())> static true_type __test(int); template static false_type __test(...); }; template struct __is_destructible_impl : public __do_is_destructible_impl { typedef decltype(__test<_Tp>(0)) type; }; template, __is_array_unknown_bounds<_Tp>, is_function<_Tp>>::value, bool = __or_, is_scalar<_Tp>>::value> struct __is_destructible_safe; template struct __is_destructible_safe<_Tp, false, false> : public __is_destructible_impl::type>::type { }; template struct __is_destructible_safe<_Tp, true, false> : public false_type { }; template struct __is_destructible_safe<_Tp, false, true> : public true_type { }; template struct is_destructible : public __is_destructible_safe<_Tp>::type { }; struct __do_is_nt_destructible_impl { template static integral_constant().~_Tp())> __test(int); template static false_type __test(...); }; template struct __is_nt_destructible_impl : public __do_is_nt_destructible_impl { typedef decltype(__test<_Tp>(0)) type; }; template, __is_array_unknown_bounds<_Tp>, is_function<_Tp>>::value, bool = __or_, is_scalar<_Tp>>::value> struct __is_nt_destructible_safe; template struct __is_nt_destructible_safe<_Tp, false, false> : public __is_nt_destructible_impl::type>::type { }; template struct __is_nt_destructible_safe<_Tp, true, false> : public false_type { }; template struct __is_nt_destructible_safe<_Tp, false, true> : public true_type { }; template struct is_nothrow_destructible : public __is_nt_destructible_safe<_Tp>::type { }; struct __do_is_default_constructible_impl { template static true_type __test(int); template static false_type __test(...); }; template struct __is_default_constructible_impl : public __do_is_default_constructible_impl { typedef decltype(__test<_Tp>(0)) type; }; template struct __is_default_constructible_atom : public __and_<__not_>, __is_default_constructible_impl<_Tp>> { }; template::value> struct __is_default_constructible_safe; template struct __is_default_constructible_safe<_Tp, true> : public __and_<__is_array_known_bounds<_Tp>, __is_default_constructible_atom::type>> { }; template struct __is_default_constructible_safe<_Tp, false> : public __is_default_constructible_atom<_Tp>::type { }; template struct is_default_constructible : public __is_default_constructible_safe<_Tp>::type { }; # 939 "/usr/include/c++/7/type_traits" 3 struct __do_is_static_castable_impl { template(declval<_From>()))> static true_type __test(int); template static false_type __test(...); }; template struct __is_static_castable_impl : public __do_is_static_castable_impl { typedef decltype(__test<_From, _To>(0)) type; }; template struct __is_static_castable_safe : public __is_static_castable_impl<_From, _To>::type { }; template struct __is_static_castable : public integral_constant::value)> { }; struct __do_is_direct_constructible_impl { template()))> static true_type __test(int); template static false_type __test(...); }; template struct __is_direct_constructible_impl : public __do_is_direct_constructible_impl { typedef decltype(__test<_Tp, _Arg>(0)) type; }; template struct __is_direct_constructible_new_safe : public __and_, __is_direct_constructible_impl<_Tp, _Arg>> { }; template struct is_same; template struct is_base_of; template struct remove_reference; template, is_function<_From>>>::value> struct __is_base_to_derived_ref; template struct is_constructible; template struct __is_base_to_derived_ref<_From, _To, true> { typedef typename remove_cv::type>::type __src_t; typedef typename remove_cv::type>::type __dst_t; typedef __and_<__not_>, is_base_of<__src_t, __dst_t>, __not_>> type; static constexpr bool value = type::value; }; template struct __is_base_to_derived_ref<_From, _To, false> : public false_type { }; template, is_rvalue_reference<_To>>::value> struct __is_lvalue_to_rvalue_ref; template struct __is_lvalue_to_rvalue_ref<_From, _To, true> { typedef typename remove_cv::type>::type __src_t; typedef typename remove_cv::type>::type __dst_t; typedef __and_<__not_>, __or_, is_base_of<__dst_t, __src_t>>> type; static constexpr bool value = type::value; }; template struct __is_lvalue_to_rvalue_ref<_From, _To, false> : public false_type { }; template struct __is_direct_constructible_ref_cast : public __and_<__is_static_castable<_Arg, _Tp>, __not_<__or_<__is_base_to_derived_ref<_Arg, _Tp>, __is_lvalue_to_rvalue_ref<_Arg, _Tp> >>> { }; template struct __is_direct_constructible_new : public conditional::value, __is_direct_constructible_ref_cast<_Tp, _Arg>, __is_direct_constructible_new_safe<_Tp, _Arg> >::type { }; template struct __is_direct_constructible : public __is_direct_constructible_new<_Tp, _Arg>::type { }; struct __do_is_nary_constructible_impl { template()...))> static true_type __test(int); template static false_type __test(...); }; template struct __is_nary_constructible_impl : public __do_is_nary_constructible_impl { typedef decltype(__test<_Tp, _Args...>(0)) type; }; template struct __is_nary_constructible : public __is_nary_constructible_impl<_Tp, _Args...>::type { static_assert(sizeof...(_Args) > 1, "Only useful for > 1 arguments"); }; template struct __is_constructible_impl : public __is_nary_constructible<_Tp, _Args...> { }; template struct __is_constructible_impl<_Tp, _Arg> : public __is_direct_constructible<_Tp, _Arg> { }; template struct __is_constructible_impl<_Tp> : public is_default_constructible<_Tp> { }; template struct is_constructible : public __is_constructible_impl<_Tp, _Args...>::type { }; template::value> struct __is_copy_constructible_impl; template struct __is_copy_constructible_impl<_Tp, false> : public false_type { }; template struct __is_copy_constructible_impl<_Tp, true> : public is_constructible<_Tp, const _Tp&> { }; template struct is_copy_constructible : public __is_copy_constructible_impl<_Tp> { }; template::value> struct __is_move_constructible_impl; template struct __is_move_constructible_impl<_Tp, false> : public false_type { }; template struct __is_move_constructible_impl<_Tp, true> : public is_constructible<_Tp, _Tp&&> { }; template struct is_move_constructible : public __is_move_constructible_impl<_Tp> { }; template struct __is_nt_default_constructible_atom : public integral_constant { }; template::value> struct __is_nt_default_constructible_impl; template struct __is_nt_default_constructible_impl<_Tp, true> : public __and_<__is_array_known_bounds<_Tp>, __is_nt_default_constructible_atom::type>> { }; template struct __is_nt_default_constructible_impl<_Tp, false> : public __is_nt_default_constructible_atom<_Tp> { }; template struct is_nothrow_default_constructible : public __and_, __is_nt_default_constructible_impl<_Tp>> { }; template struct __is_nt_constructible_impl : public integral_constant()...))> { }; template struct __is_nt_constructible_impl<_Tp, _Arg> : public integral_constant(declval<_Arg>()))> { }; template struct __is_nt_constructible_impl<_Tp> : public is_nothrow_default_constructible<_Tp> { }; template struct is_nothrow_constructible : public __and_, __is_nt_constructible_impl<_Tp, _Args...>> { }; template::value> struct __is_nothrow_copy_constructible_impl; template struct __is_nothrow_copy_constructible_impl<_Tp, false> : public false_type { }; template struct __is_nothrow_copy_constructible_impl<_Tp, true> : public is_nothrow_constructible<_Tp, const _Tp&> { }; template struct is_nothrow_copy_constructible : public __is_nothrow_copy_constructible_impl<_Tp> { }; template::value> struct __is_nothrow_move_constructible_impl; template struct __is_nothrow_move_constructible_impl<_Tp, false> : public false_type { }; template struct __is_nothrow_move_constructible_impl<_Tp, true> : public is_nothrow_constructible<_Tp, _Tp&&> { }; template struct is_nothrow_move_constructible : public __is_nothrow_move_constructible_impl<_Tp> { }; template class __is_assignable_helper { template() = declval<_Up1>())> static true_type __test(int); template static false_type __test(...); public: typedef decltype(__test<_Tp, _Up>(0)) type; }; template struct is_assignable : public __is_assignable_helper<_Tp, _Up>::type { }; template::value> struct __is_copy_assignable_impl; template struct __is_copy_assignable_impl<_Tp, false> : public false_type { }; template struct __is_copy_assignable_impl<_Tp, true> : public is_assignable<_Tp&, const _Tp&> { }; template struct is_copy_assignable : public __is_copy_assignable_impl<_Tp> { }; template::value> struct __is_move_assignable_impl; template struct __is_move_assignable_impl<_Tp, false> : public false_type { }; template struct __is_move_assignable_impl<_Tp, true> : public is_assignable<_Tp&, _Tp&&> { }; template struct is_move_assignable : public __is_move_assignable_impl<_Tp> { }; template struct __is_nt_assignable_impl : public integral_constant() = declval<_Up>())> { }; template struct is_nothrow_assignable : public __and_, __is_nt_assignable_impl<_Tp, _Up>> { }; template::value> struct __is_nt_copy_assignable_impl; template struct __is_nt_copy_assignable_impl<_Tp, false> : public false_type { }; template struct __is_nt_copy_assignable_impl<_Tp, true> : public is_nothrow_assignable<_Tp&, const _Tp&> { }; template struct is_nothrow_copy_assignable : public __is_nt_copy_assignable_impl<_Tp> { }; template::value> struct __is_nt_move_assignable_impl; template struct __is_nt_move_assignable_impl<_Tp, false> : public false_type { }; template struct __is_nt_move_assignable_impl<_Tp, true> : public is_nothrow_assignable<_Tp&, _Tp&&> { }; template struct is_nothrow_move_assignable : public __is_nt_move_assignable_impl<_Tp> { }; template struct is_trivially_constructible : public __and_, integral_constant> { }; template struct is_trivially_default_constructible : public is_trivially_constructible<_Tp>::type { }; struct __do_is_implicitly_default_constructible_impl { template static void __helper(const _Tp&); template static true_type __test(const _Tp&, decltype(__helper({}))* = 0); static false_type __test(...); }; template struct __is_implicitly_default_constructible_impl : public __do_is_implicitly_default_constructible_impl { typedef decltype(__test(declval<_Tp>())) type; }; template struct __is_implicitly_default_constructible_safe : public __is_implicitly_default_constructible_impl<_Tp>::type { }; template struct __is_implicitly_default_constructible : public __and_, __is_implicitly_default_constructible_safe<_Tp>> { }; template struct is_trivially_copy_constructible : public __and_, integral_constant> { }; template struct is_trivially_move_constructible : public __and_, integral_constant> { }; template struct is_trivially_assignable : public __and_, integral_constant> { }; template struct is_trivially_copy_assignable : public __and_, integral_constant> { }; template struct is_trivially_move_assignable : public __and_, integral_constant> { }; template struct is_trivially_destructible : public __and_, integral_constant> { }; template struct has_virtual_destructor : public integral_constant { }; template struct alignment_of : public integral_constant { }; template struct rank : public integral_constant { }; template struct rank<_Tp[_Size]> : public integral_constant::value> { }; template struct rank<_Tp[]> : public integral_constant::value> { }; template struct extent : public integral_constant { }; template struct extent<_Tp[_Size], _Uint> : public integral_constant::value> { }; template struct extent<_Tp[], _Uint> : public integral_constant::value> { }; template struct is_same : public false_type { }; template struct is_same<_Tp, _Tp> : public true_type { }; template struct is_base_of : public integral_constant { }; template, is_function<_To>, is_array<_To>>::value> struct __is_convertible_helper { typedef typename is_void<_To>::type type; }; template class __is_convertible_helper<_From, _To, false> { template static void __test_aux(_To1); template(std::declval<_From1>()))> static true_type __test(int); template static false_type __test(...); public: typedef decltype(__test<_From, _To>(0)) type; }; template struct is_convertible : public __is_convertible_helper<_From, _To>::type { }; template struct remove_const { typedef _Tp type; }; template struct remove_const<_Tp const> { typedef _Tp type; }; template struct remove_volatile { typedef _Tp type; }; template struct remove_volatile<_Tp volatile> { typedef _Tp type; }; template struct remove_cv { typedef typename remove_const::type>::type type; }; template struct add_const { typedef _Tp const type; }; template struct add_volatile { typedef _Tp volatile type; }; template struct add_cv { typedef typename add_const::type>::type type; }; template using remove_const_t = typename remove_const<_Tp>::type; template using remove_volatile_t = typename remove_volatile<_Tp>::type; template using remove_cv_t = typename remove_cv<_Tp>::type; template using add_const_t = typename add_const<_Tp>::type; template using add_volatile_t = typename add_volatile<_Tp>::type; template using add_cv_t = typename add_cv<_Tp>::type; template struct remove_reference { typedef _Tp type; }; template struct remove_reference<_Tp&> { typedef _Tp type; }; template struct remove_reference<_Tp&&> { typedef _Tp type; }; template::value> struct __add_lvalue_reference_helper { typedef _Tp type; }; template struct __add_lvalue_reference_helper<_Tp, true> { typedef _Tp& type; }; template struct add_lvalue_reference : public __add_lvalue_reference_helper<_Tp> { }; template::value> struct __add_rvalue_reference_helper { typedef _Tp type; }; template struct __add_rvalue_reference_helper<_Tp, true> { typedef _Tp&& type; }; template struct add_rvalue_reference : public __add_rvalue_reference_helper<_Tp> { }; template using remove_reference_t = typename remove_reference<_Tp>::type; template using add_lvalue_reference_t = typename add_lvalue_reference<_Tp>::type; template using add_rvalue_reference_t = typename add_rvalue_reference<_Tp>::type; template struct __cv_selector; template struct __cv_selector<_Unqualified, false, false> { typedef _Unqualified __type; }; template struct __cv_selector<_Unqualified, false, true> { typedef volatile _Unqualified __type; }; template struct __cv_selector<_Unqualified, true, false> { typedef const _Unqualified __type; }; template struct __cv_selector<_Unqualified, true, true> { typedef const volatile _Unqualified __type; }; template::value, bool _IsVol = is_volatile<_Qualified>::value> class __match_cv_qualifiers { typedef __cv_selector<_Unqualified, _IsConst, _IsVol> __match; public: typedef typename __match::__type __type; }; template struct __make_unsigned { typedef _Tp __type; }; template<> struct __make_unsigned { typedef unsigned char __type; }; template<> struct __make_unsigned { typedef unsigned char __type; }; template<> struct __make_unsigned { typedef unsigned short __type; }; template<> struct __make_unsigned { typedef unsigned int __type; }; template<> struct __make_unsigned { typedef unsigned long __type; }; template<> struct __make_unsigned { typedef unsigned long long __type; }; template<> struct __make_unsigned : __make_unsigned { }; # 1774 "/usr/include/c++/7/type_traits" 3 template::value, bool _IsEnum = is_enum<_Tp>::value> class __make_unsigned_selector; template class __make_unsigned_selector<_Tp, true, false> { typedef __make_unsigned::type> __unsignedt; typedef typename __unsignedt::__type __unsigned_type; typedef __match_cv_qualifiers<_Tp, __unsigned_type> __cv_unsigned; public: typedef typename __cv_unsigned::__type __type; }; template class __make_unsigned_selector<_Tp, false, true> { typedef unsigned char __smallest; static const bool __b0 = sizeof(_Tp) <= sizeof(__smallest); static const bool __b1 = sizeof(_Tp) <= sizeof(unsigned short); static const bool __b2 = sizeof(_Tp) <= sizeof(unsigned int); static const bool __b3 = sizeof(_Tp) <= sizeof(unsigned long); typedef conditional<__b3, unsigned long, unsigned long long> __cond3; typedef typename __cond3::type __cond3_type; typedef conditional<__b2, unsigned int, __cond3_type> __cond2; typedef typename __cond2::type __cond2_type; typedef conditional<__b1, unsigned short, __cond2_type> __cond1; typedef typename __cond1::type __cond1_type; typedef typename conditional<__b0, __smallest, __cond1_type>::type __unsigned_type; typedef __match_cv_qualifiers<_Tp, __unsigned_type> __cv_unsigned; public: typedef typename __cv_unsigned::__type __type; }; template struct make_unsigned { typedef typename __make_unsigned_selector<_Tp>::__type type; }; template<> struct make_unsigned; template struct __make_signed { typedef _Tp __type; }; template<> struct __make_signed { typedef signed char __type; }; template<> struct __make_signed { typedef signed char __type; }; template<> struct __make_signed { typedef signed short __type; }; template<> struct __make_signed { typedef signed int __type; }; template<> struct __make_signed { typedef signed long __type; }; template<> struct __make_signed { typedef signed long long __type; }; # 1863 "/usr/include/c++/7/type_traits" 3 template<> struct __make_signed : __make_signed { }; template<> struct __make_signed : __make_signed { }; # 1893 "/usr/include/c++/7/type_traits" 3 template::value, bool _IsEnum = is_enum<_Tp>::value> class __make_signed_selector; template class __make_signed_selector<_Tp, true, false> { typedef __make_signed::type> __signedt; typedef typename __signedt::__type __signed_type; typedef __match_cv_qualifiers<_Tp, __signed_type> __cv_signed; public: typedef typename __cv_signed::__type __type; }; template class __make_signed_selector<_Tp, false, true> { typedef typename __make_unsigned_selector<_Tp>::__type __unsigned_type; public: typedef typename __make_signed_selector<__unsigned_type>::__type __type; }; template struct make_signed { typedef typename __make_signed_selector<_Tp>::__type type; }; template<> struct make_signed; template using make_signed_t = typename make_signed<_Tp>::type; template using make_unsigned_t = typename make_unsigned<_Tp>::type; template struct remove_extent { typedef _Tp type; }; template struct remove_extent<_Tp[_Size]> { typedef _Tp type; }; template struct remove_extent<_Tp[]> { typedef _Tp type; }; template struct remove_all_extents { typedef _Tp type; }; template struct remove_all_extents<_Tp[_Size]> { typedef typename remove_all_extents<_Tp>::type type; }; template struct remove_all_extents<_Tp[]> { typedef typename remove_all_extents<_Tp>::type type; }; template using remove_extent_t = typename remove_extent<_Tp>::type; template using remove_all_extents_t = typename remove_all_extents<_Tp>::type; template struct __remove_pointer_helper { typedef _Tp type; }; template struct __remove_pointer_helper<_Tp, _Up*> { typedef _Up type; }; template struct remove_pointer : public __remove_pointer_helper<_Tp, typename remove_cv<_Tp>::type> { }; template, is_void<_Tp>>::value> struct __add_pointer_helper { typedef _Tp type; }; template struct __add_pointer_helper<_Tp, true> { typedef typename remove_reference<_Tp>::type* type; }; template struct add_pointer : public __add_pointer_helper<_Tp> { }; template using remove_pointer_t = typename remove_pointer<_Tp>::type; template using add_pointer_t = typename add_pointer<_Tp>::type; template struct __aligned_storage_msa { union __type { unsigned char __data[_Len]; struct __attribute__((__aligned__)) { } __align; }; }; # 2039 "/usr/include/c++/7/type_traits" 3 template::__type)> struct aligned_storage { union type { unsigned char __data[_Len]; struct __attribute__((__aligned__((_Align)))) { } __align; }; }; template struct __strictest_alignment { static const size_t _S_alignment = 0; static const size_t _S_size = 0; }; template struct __strictest_alignment<_Tp, _Types...> { static const size_t _S_alignment = alignof(_Tp) > __strictest_alignment<_Types...>::_S_alignment ? alignof(_Tp) : __strictest_alignment<_Types...>::_S_alignment; static const size_t _S_size = sizeof(_Tp) > __strictest_alignment<_Types...>::_S_size ? sizeof(_Tp) : __strictest_alignment<_Types...>::_S_size; }; # 2078 "/usr/include/c++/7/type_traits" 3 template struct aligned_union { private: static_assert(sizeof...(_Types) != 0, "At least one type is required"); using __strictest = __strictest_alignment<_Types...>; static const size_t _S_len = _Len > __strictest::_S_size ? _Len : __strictest::_S_size; public: static const size_t alignment_value = __strictest::_S_alignment; typedef typename aligned_storage<_S_len, alignment_value>::type type; }; template const size_t aligned_union<_Len, _Types...>::alignment_value; template::value, bool _IsFunction = is_function<_Up>::value> struct __decay_selector; template struct __decay_selector<_Up, false, false> { typedef typename remove_cv<_Up>::type __type; }; template struct __decay_selector<_Up, true, false> { typedef typename remove_extent<_Up>::type* __type; }; template struct __decay_selector<_Up, false, true> { typedef typename add_pointer<_Up>::type __type; }; template class decay { typedef typename remove_reference<_Tp>::type __remove_type; public: typedef typename __decay_selector<__remove_type>::__type type; }; template class reference_wrapper; template struct __strip_reference_wrapper { typedef _Tp __type; }; template struct __strip_reference_wrapper > { typedef _Tp& __type; }; template struct __decay_and_strip { typedef typename __strip_reference_wrapper< typename decay<_Tp>::type>::__type __type; }; template struct enable_if { }; template struct enable_if { typedef _Tp type; }; template using _Require = typename enable_if<__and_<_Cond...>::value>::type; template struct conditional { typedef _Iftrue type; }; template struct conditional { typedef _Iffalse type; }; template struct common_type; struct __do_common_type_impl { template static __success_type() : std::declval<_Up>())>::type> _S_test(int); template static __failure_type _S_test(...); }; template struct __common_type_impl : private __do_common_type_impl { typedef decltype(_S_test<_Tp, _Up>(0)) type; }; struct __do_member_type_wrapper { template static __success_type _S_test(int); template static __failure_type _S_test(...); }; template struct __member_type_wrapper : private __do_member_type_wrapper { typedef decltype(_S_test<_Tp>(0)) type; }; template struct __expanded_common_type_wrapper { typedef common_type type; }; template struct __expanded_common_type_wrapper<__failure_type, _Args...> { typedef __failure_type type; }; template struct common_type<_Tp> { typedef typename decay<_Tp>::type type; }; template struct common_type<_Tp, _Up> : public __common_type_impl<_Tp, _Up>::type { }; template struct common_type<_Tp, _Up, _Vp...> : public __expanded_common_type_wrapper>::type, _Vp...>::type { }; template struct underlying_type { typedef __underlying_type(_Tp) type; }; template struct __declval_protector { static const bool __stop = false; static typename add_rvalue_reference<_Tp>::type __delegate(); }; template inline typename add_rvalue_reference<_Tp>::type declval() noexcept { static_assert(__declval_protector<_Tp>::__stop, "declval() must not be used!"); return __declval_protector<_Tp>::__delegate(); } template class result_of; struct __invoke_memfun_ref { }; struct __invoke_memfun_deref { }; struct __invoke_memobj_ref { }; struct __invoke_memobj_deref { }; struct __invoke_other { }; template struct __result_of_success : __success_type<_Tp> { using __invoke_type = _Tag; }; struct __result_of_memfun_ref_impl { template static __result_of_success().*std::declval<_Fp>())(std::declval<_Args>()...) ), __invoke_memfun_ref> _S_test(int); template static __failure_type _S_test(...); }; template struct __result_of_memfun_ref : private __result_of_memfun_ref_impl { typedef decltype(_S_test<_MemPtr, _Arg, _Args...>(0)) type; }; struct __result_of_memfun_deref_impl { template static __result_of_success()).*std::declval<_Fp>())(std::declval<_Args>()...) ), __invoke_memfun_deref> _S_test(int); template static __failure_type _S_test(...); }; template struct __result_of_memfun_deref : private __result_of_memfun_deref_impl { typedef decltype(_S_test<_MemPtr, _Arg, _Args...>(0)) type; }; struct __result_of_memobj_ref_impl { template static __result_of_success().*std::declval<_Fp>() ), __invoke_memobj_ref> _S_test(int); template static __failure_type _S_test(...); }; template struct __result_of_memobj_ref : private __result_of_memobj_ref_impl { typedef decltype(_S_test<_MemPtr, _Arg>(0)) type; }; struct __result_of_memobj_deref_impl { template static __result_of_success()).*std::declval<_Fp>() ), __invoke_memobj_deref> _S_test(int); template static __failure_type _S_test(...); }; template struct __result_of_memobj_deref : private __result_of_memobj_deref_impl { typedef decltype(_S_test<_MemPtr, _Arg>(0)) type; }; template struct __result_of_memobj; template struct __result_of_memobj<_Res _Class::*, _Arg> { typedef typename remove_cv::type>::type _Argval; typedef _Res _Class::* _MemPtr; typedef typename conditional<__or_, is_base_of<_Class, _Argval>>::value, __result_of_memobj_ref<_MemPtr, _Arg>, __result_of_memobj_deref<_MemPtr, _Arg> >::type::type type; }; template struct __result_of_memfun; template struct __result_of_memfun<_Res _Class::*, _Arg, _Args...> { typedef typename remove_cv::type>::type _Argval; typedef _Res _Class::* _MemPtr; typedef typename conditional<__or_, is_base_of<_Class, _Argval>>::value, __result_of_memfun_ref<_MemPtr, _Arg, _Args...>, __result_of_memfun_deref<_MemPtr, _Arg, _Args...> >::type::type type; }; template::type> struct __inv_unwrap { using type = _Tp; }; template struct __inv_unwrap<_Tp, reference_wrapper<_Up>> { using type = _Up&; }; template struct __result_of_impl { typedef __failure_type type; }; template struct __result_of_impl : public __result_of_memobj::type, typename __inv_unwrap<_Arg>::type> { }; template struct __result_of_impl : public __result_of_memfun::type, typename __inv_unwrap<_Arg>::type, _Args...> { }; struct __result_of_other_impl { template static __result_of_success()(std::declval<_Args>()...) ), __invoke_other> _S_test(int); template static __failure_type _S_test(...); }; template struct __result_of_impl : private __result_of_other_impl { typedef decltype(_S_test<_Functor, _ArgTypes...>(0)) type; }; template struct __invoke_result : public __result_of_impl< is_member_object_pointer< typename remove_reference<_Functor>::type >::value, is_member_function_pointer< typename remove_reference<_Functor>::type >::value, _Functor, _ArgTypes... >::type { }; template struct result_of<_Functor(_ArgTypes...)> : public __invoke_result<_Functor, _ArgTypes...> { }; template::__type)> using aligned_storage_t = typename aligned_storage<_Len, _Align>::type; template using aligned_union_t = typename aligned_union<_Len, _Types...>::type; template using decay_t = typename decay<_Tp>::type; template using enable_if_t = typename enable_if<_Cond, _Tp>::type; template using conditional_t = typename conditional<_Cond, _Iftrue, _Iffalse>::type; template using common_type_t = typename common_type<_Tp...>::type; template using underlying_type_t = typename underlying_type<_Tp>::type; template using result_of_t = typename result_of<_Tp>::type; template using __void_t = void; template using void_t = void; template class _Op, typename... _Args> struct __detector { using value_t = false_type; using type = _Default; }; template class _Op, typename... _Args> struct __detector<_Default, __void_t<_Op<_Args...>>, _Op, _Args...> { using value_t = true_type; using type = _Op<_Args...>; }; template class _Op, typename... _Args> using __detected_or = __detector<_Default, void, _Op, _Args...>; template class _Op, typename... _Args> using __detected_or_t = typename __detected_or<_Default, _Op, _Args...>::type; # 2551 "/usr/include/c++/7/type_traits" 3 template struct __is_swappable; template struct __is_nothrow_swappable; template class tuple; template struct __is_tuple_like_impl : false_type { }; template struct __is_tuple_like_impl> : true_type { }; template struct __is_tuple_like : public __is_tuple_like_impl::type>::type>::type { }; template inline typename enable_if<__and_<__not_<__is_tuple_like<_Tp>>, is_move_constructible<_Tp>, is_move_assignable<_Tp>>::value>::type swap(_Tp&, _Tp&) noexcept(__and_, is_nothrow_move_assignable<_Tp>>::value); template inline typename enable_if<__is_swappable<_Tp>::value>::type swap(_Tp (&__a)[_Nm], _Tp (&__b)[_Nm]) noexcept(__is_nothrow_swappable<_Tp>::value); namespace __swappable_details { using std::swap; struct __do_is_swappable_impl { template(), std::declval<_Tp&>()))> static true_type __test(int); template static false_type __test(...); }; struct __do_is_nothrow_swappable_impl { template static __bool_constant< noexcept(swap(std::declval<_Tp&>(), std::declval<_Tp&>())) > __test(int); template static false_type __test(...); }; } template struct __is_swappable_impl : public __swappable_details::__do_is_swappable_impl { typedef decltype(__test<_Tp>(0)) type; }; template struct __is_nothrow_swappable_impl : public __swappable_details::__do_is_nothrow_swappable_impl { typedef decltype(__test<_Tp>(0)) type; }; template struct __is_swappable : public __is_swappable_impl<_Tp>::type { }; template struct __is_nothrow_swappable : public __is_nothrow_swappable_impl<_Tp>::type { }; template struct is_swappable : public __is_swappable_impl<_Tp>::type { }; template struct is_nothrow_swappable : public __is_nothrow_swappable_impl<_Tp>::type { }; template constexpr bool is_swappable_v = is_swappable<_Tp>::value; template constexpr bool is_nothrow_swappable_v = is_nothrow_swappable<_Tp>::value; namespace __swappable_with_details { using std::swap; struct __do_is_swappable_with_impl { template(), std::declval<_Up>())), typename = decltype(swap(std::declval<_Up>(), std::declval<_Tp>()))> static true_type __test(int); template static false_type __test(...); }; struct __do_is_nothrow_swappable_with_impl { template static __bool_constant< noexcept(swap(std::declval<_Tp>(), std::declval<_Up>())) && noexcept(swap(std::declval<_Up>(), std::declval<_Tp>())) > __test(int); template static false_type __test(...); }; } template struct __is_swappable_with_impl : public __swappable_with_details::__do_is_swappable_with_impl { typedef decltype(__test<_Tp, _Up>(0)) type; }; template struct __is_swappable_with_impl<_Tp&, _Tp&> : public __swappable_details::__do_is_swappable_impl { typedef decltype(__test<_Tp&>(0)) type; }; template struct __is_nothrow_swappable_with_impl : public __swappable_with_details::__do_is_nothrow_swappable_with_impl { typedef decltype(__test<_Tp, _Up>(0)) type; }; template struct __is_nothrow_swappable_with_impl<_Tp&, _Tp&> : public __swappable_details::__do_is_nothrow_swappable_impl { typedef decltype(__test<_Tp&>(0)) type; }; template struct is_swappable_with : public __is_swappable_with_impl<_Tp, _Up>::type { }; template struct is_nothrow_swappable_with : public __is_nothrow_swappable_with_impl<_Tp, _Up>::type { }; template constexpr bool is_swappable_with_v = is_swappable_with<_Tp, _Up>::value; template constexpr bool is_nothrow_swappable_with_v = is_nothrow_swappable_with<_Tp, _Up>::value; template struct __is_invocable_impl : false_type { }; template struct __is_invocable_impl<_Result, _Ret, __void_t> : __or_, is_convertible>::type { }; template struct __is_invocable : __is_invocable_impl<__invoke_result<_Fn, _ArgTypes...>, void>::type { }; template constexpr bool __call_is_nt(__invoke_memfun_ref) { using _Up = typename __inv_unwrap<_Tp>::type; return noexcept((std::declval<_Up>().*std::declval<_Fn>())( std::declval<_Args>()...)); } template constexpr bool __call_is_nt(__invoke_memfun_deref) { return noexcept(((*std::declval<_Tp>()).*std::declval<_Fn>())( std::declval<_Args>()...)); } template constexpr bool __call_is_nt(__invoke_memobj_ref) { using _Up = typename __inv_unwrap<_Tp>::type; return noexcept(std::declval<_Up>().*std::declval<_Fn>()); } template constexpr bool __call_is_nt(__invoke_memobj_deref) { return noexcept((*std::declval<_Tp>()).*std::declval<_Fn>()); } template constexpr bool __call_is_nt(__invoke_other) { return noexcept(std::declval<_Fn>()(std::declval<_Args>()...)); } template struct __call_is_nothrow : __bool_constant< std::__call_is_nt<_Fn, _Args...>(typename _Result::__invoke_type{}) > { }; template using __call_is_nothrow_ = __call_is_nothrow<__invoke_result<_Fn, _Args...>, _Fn, _Args...>; template struct __is_nothrow_invocable : __and_<__is_invocable<_Fn, _Args...>, __call_is_nothrow_<_Fn, _Args...>>::type { }; struct __nonesuch { __nonesuch() = delete; ~__nonesuch() = delete; __nonesuch(__nonesuch const&) = delete; void operator=(__nonesuch const&) = delete; }; # 3089 "/usr/include/c++/7/type_traits" 3 } # 55 "/usr/include/c++/7/bits/move.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 71 "/usr/include/c++/7/bits/move.h" 3 template constexpr _Tp&& forward(typename std::remove_reference<_Tp>::type& __t) noexcept { return static_cast<_Tp&&>(__t); } template constexpr _Tp&& forward(typename std::remove_reference<_Tp>::type&& __t) noexcept { static_assert(!std::is_lvalue_reference<_Tp>::value, "template argument" " substituting _Tp is an lvalue reference type"); return static_cast<_Tp&&>(__t); } template constexpr typename std::remove_reference<_Tp>::type&& move(_Tp&& __t) noexcept { return static_cast::type&&>(__t); } template struct __move_if_noexcept_cond : public __and_<__not_>, is_copy_constructible<_Tp>>::type { }; # 115 "/usr/include/c++/7/bits/move.h" 3 template constexpr typename conditional<__move_if_noexcept_cond<_Tp>::value, const _Tp&, _Tp&&>::type move_if_noexcept(_Tp& __x) noexcept { return std::move(__x); } # 135 "/usr/include/c++/7/bits/move.h" 3 template inline _Tp* addressof(_Tp& __r) noexcept { return std::__addressof(__r); } template const _Tp* addressof(const _Tp&&) = delete; template inline _Tp __exchange(_Tp& __obj, _Up&& __new_val) { _Tp __old_val = std::move(__obj); __obj = std::forward<_Up>(__new_val); return __old_val; } } # 166 "/usr/include/c++/7/bits/move.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 181 "/usr/include/c++/7/bits/move.h" 3 template inline typename enable_if<__and_<__not_<__is_tuple_like<_Tp>>, is_move_constructible<_Tp>, is_move_assignable<_Tp>>::value>::type swap(_Tp& __a, _Tp& __b) noexcept(__and_, is_nothrow_move_assignable<_Tp>>::value) { _Tp __tmp = std::move(__a); __a = std::move(__b); __b = std::move(__tmp); } template inline typename enable_if<__is_swappable<_Tp>::value>::type swap(_Tp (&__a)[_Nm], _Tp (&__b)[_Nm]) noexcept(__is_nothrow_swappable<_Tp>::value) { for (size_t __n = 0; __n < _Nm; ++__n) swap(__a[__n], __b[__n]); } } # 60 "/usr/include/c++/7/bits/stl_pair.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 76 "/usr/include/c++/7/bits/stl_pair.h" 3 struct piecewise_construct_t { explicit piecewise_construct_t() = default; }; constexpr piecewise_construct_t piecewise_construct = piecewise_construct_t(); template class tuple; template struct _Index_tuple; template struct _PCC { template static constexpr bool _ConstructiblePair() { return __and_, is_constructible<_T2, const _U2&>>::value; } template static constexpr bool _ImplicitlyConvertiblePair() { return __and_, is_convertible>::value; } template static constexpr bool _MoveConstructiblePair() { return __and_, is_constructible<_T2, _U2&&>>::value; } template static constexpr bool _ImplicitlyMoveConvertiblePair() { return __and_, is_convertible<_U2&&, _T2>>::value; } template static constexpr bool _CopyMovePair() { using __do_converts = __and_, is_convertible<_U2&&, _T2>>; using __converts = typename conditional<__implicit, __do_converts, __not_<__do_converts>>::type; return __and_, is_constructible<_T2, _U2&&>, __converts >::value; } template static constexpr bool _MoveCopyPair() { using __do_converts = __and_, is_convertible>; using __converts = typename conditional<__implicit, __do_converts, __not_<__do_converts>>::type; return __and_, is_constructible<_T2, const _U2&&>, __converts >::value; } }; template struct _PCC { template static constexpr bool _ConstructiblePair() { return false; } template static constexpr bool _ImplicitlyConvertiblePair() { return false; } template static constexpr bool _MoveConstructiblePair() { return false; } template static constexpr bool _ImplicitlyMoveConvertiblePair() { return false; } }; struct __nonesuch_no_braces : std::__nonesuch { explicit __nonesuch_no_braces(const __nonesuch&) = delete; }; # 197 "/usr/include/c++/7/bits/stl_pair.h" 3 template struct pair { typedef _T1 first_type; typedef _T2 second_type; _T1 first; _T2 second; template , __is_implicitly_default_constructible<_U2>> ::value, bool>::type = true> constexpr pair() : first(), second() { } template , is_default_constructible<_U2>, __not_< __and_<__is_implicitly_default_constructible<_U1>, __is_implicitly_default_constructible<_U2>>>> ::value, bool>::type = false> explicit constexpr pair() : first(), second() { } # 241 "/usr/include/c++/7/bits/stl_pair.h" 3 using _PCCP = _PCC; template() && _PCCP::template _ImplicitlyConvertiblePair<_U1, _U2>(), bool>::type=true> constexpr pair(const _T1& __a, const _T2& __b) : first(__a), second(__b) { } template() && !_PCCP::template _ImplicitlyConvertiblePair<_U1, _U2>(), bool>::type=false> explicit constexpr pair(const _T1& __a, const _T2& __b) : first(__a), second(__b) { } # 269 "/usr/include/c++/7/bits/stl_pair.h" 3 template using _PCCFP = _PCC::value || !is_same<_T2, _U2>::value, _T1, _T2>; template::template _ConstructiblePair<_U1, _U2>() && _PCCFP<_U1, _U2>::template _ImplicitlyConvertiblePair<_U1, _U2>(), bool>::type=true> constexpr pair(const pair<_U1, _U2>& __p) : first(__p.first), second(__p.second) { } template::template _ConstructiblePair<_U1, _U2>() && !_PCCFP<_U1, _U2>::template _ImplicitlyConvertiblePair<_U1, _U2>(), bool>::type=false> explicit constexpr pair(const pair<_U1, _U2>& __p) : first(__p.first), second(__p.second) { } constexpr pair(const pair&) = default; constexpr pair(pair&&) = default; template(), bool>::type=true> constexpr pair(_U1&& __x, const _T2& __y) : first(std::forward<_U1>(__x)), second(__y) { } template(), bool>::type=false> explicit constexpr pair(_U1&& __x, const _T2& __y) : first(std::forward<_U1>(__x)), second(__y) { } template(), bool>::type=true> constexpr pair(const _T1& __x, _U2&& __y) : first(__x), second(std::forward<_U2>(__y)) { } template(), bool>::type=false> explicit pair(const _T1& __x, _U2&& __y) : first(__x), second(std::forward<_U2>(__y)) { } template() && _PCCP::template _ImplicitlyMoveConvertiblePair<_U1, _U2>(), bool>::type=true> constexpr pair(_U1&& __x, _U2&& __y) : first(std::forward<_U1>(__x)), second(std::forward<_U2>(__y)) { } template() && !_PCCP::template _ImplicitlyMoveConvertiblePair<_U1, _U2>(), bool>::type=false> explicit constexpr pair(_U1&& __x, _U2&& __y) : first(std::forward<_U1>(__x)), second(std::forward<_U2>(__y)) { } template::template _MoveConstructiblePair<_U1, _U2>() && _PCCFP<_U1, _U2>::template _ImplicitlyMoveConvertiblePair<_U1, _U2>(), bool>::type=true> constexpr pair(pair<_U1, _U2>&& __p) : first(std::forward<_U1>(__p.first)), second(std::forward<_U2>(__p.second)) { } template::template _MoveConstructiblePair<_U1, _U2>() && !_PCCFP<_U1, _U2>::template _ImplicitlyMoveConvertiblePair<_U1, _U2>(), bool>::type=false> explicit constexpr pair(pair<_U1, _U2>&& __p) : first(std::forward<_U1>(__p.first)), second(std::forward<_U2>(__p.second)) { } template pair(piecewise_construct_t, tuple<_Args1...>, tuple<_Args2...>); pair& operator=(typename conditional< __and_, is_copy_assignable<_T2>>::value, const pair&, const __nonesuch_no_braces&>::type __p) { first = __p.first; second = __p.second; return *this; } pair& operator=(typename conditional< __not_<__and_, is_copy_assignable<_T2>>>::value, const pair&, const __nonesuch_no_braces&>::type __p) = delete; pair& operator=(typename conditional< __and_, is_move_assignable<_T2>>::value, pair&&, __nonesuch_no_braces&&>::type __p) noexcept(__and_, is_nothrow_move_assignable<_T2>>::value) { first = std::forward(__p.first); second = std::forward(__p.second); return *this; } template typename enable_if<__and_, is_assignable<_T2&, const _U2&>>::value, pair&>::type operator=(const pair<_U1, _U2>& __p) { first = __p.first; second = __p.second; return *this; } template typename enable_if<__and_, is_assignable<_T2&, _U2&&>>::value, pair&>::type operator=(pair<_U1, _U2>&& __p) { first = std::forward<_U1>(__p.first); second = std::forward<_U2>(__p.second); return *this; } void swap(pair& __p) noexcept(__and_<__is_nothrow_swappable<_T1>, __is_nothrow_swappable<_T2>>::value) { using std::swap; swap(first, __p.first); swap(second, __p.second); } private: template pair(tuple<_Args1...>&, tuple<_Args2...>&, _Index_tuple<_Indexes1...>, _Index_tuple<_Indexes2...>); }; template inline constexpr bool operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) { return __x.first == __y.first && __x.second == __y.second; } template inline constexpr bool operator<(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) { return __x.first < __y.first || (!(__y.first < __x.first) && __x.second < __y.second); } template inline constexpr bool operator!=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) { return !(__x == __y); } template inline constexpr bool operator>(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) { return __y < __x; } template inline constexpr bool operator<=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) { return !(__y < __x); } template inline constexpr bool operator>=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) { return !(__x < __y); } template inline typename enable_if<__and_<__is_swappable<_T1>, __is_swappable<_T2>>::value>::type swap(pair<_T1, _T2>& __x, pair<_T1, _T2>& __y) noexcept(noexcept(__x.swap(__y))) { __x.swap(__y); } template typename enable_if, __is_swappable<_T2>>::value>::type swap(pair<_T1, _T2>&, pair<_T1, _T2>&) = delete; # 516 "/usr/include/c++/7/bits/stl_pair.h" 3 template constexpr pair::__type, typename __decay_and_strip<_T2>::__type> make_pair(_T1&& __x, _T2&& __y) { typedef typename __decay_and_strip<_T1>::__type __ds_type1; typedef typename __decay_and_strip<_T2>::__type __ds_type2; typedef pair<__ds_type1, __ds_type2> __pair_type; return __pair_type(std::forward<_T1>(__x), std::forward<_T2>(__y)); } # 535 "/usr/include/c++/7/bits/stl_pair.h" 3 } # 65 "/usr/include/c++/7/bits/stl_algobase.h" 2 3 # 1 "/usr/include/c++/7/bits/stl_iterator_base_types.h" 1 3 # 62 "/usr/include/c++/7/bits/stl_iterator_base_types.h" 3 # 63 "/usr/include/c++/7/bits/stl_iterator_base_types.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 89 "/usr/include/c++/7/bits/stl_iterator_base_types.h" 3 struct input_iterator_tag { }; struct output_iterator_tag { }; struct forward_iterator_tag : public input_iterator_tag { }; struct bidirectional_iterator_tag : public forward_iterator_tag { }; struct random_access_iterator_tag : public bidirectional_iterator_tag { }; # 116 "/usr/include/c++/7/bits/stl_iterator_base_types.h" 3 template struct iterator { typedef _Category iterator_category; typedef _Tp value_type; typedef _Distance difference_type; typedef _Pointer pointer; typedef _Reference reference; }; # 143 "/usr/include/c++/7/bits/stl_iterator_base_types.h" 3 template> struct __iterator_traits { }; template struct __iterator_traits<_Iterator, __void_t> { typedef typename _Iterator::iterator_category iterator_category; typedef typename _Iterator::value_type value_type; typedef typename _Iterator::difference_type difference_type; typedef typename _Iterator::pointer pointer; typedef typename _Iterator::reference reference; }; template struct iterator_traits : public __iterator_traits<_Iterator> { }; # 177 "/usr/include/c++/7/bits/stl_iterator_base_types.h" 3 template struct iterator_traits<_Tp*> { typedef random_access_iterator_tag iterator_category; typedef _Tp value_type; typedef ptrdiff_t difference_type; typedef _Tp* pointer; typedef _Tp& reference; }; template struct iterator_traits { typedef random_access_iterator_tag iterator_category; typedef _Tp value_type; typedef ptrdiff_t difference_type; typedef const _Tp* pointer; typedef const _Tp& reference; }; template inline typename iterator_traits<_Iter>::iterator_category __iterator_category(const _Iter&) { return typename iterator_traits<_Iter>::iterator_category(); } # 230 "/usr/include/c++/7/bits/stl_iterator_base_types.h" 3 template using _RequireInputIter = typename enable_if::iterator_category, input_iterator_tag>::value>::type; } # 66 "/usr/include/c++/7/bits/stl_algobase.h" 2 3 # 1 "/usr/include/c++/7/bits/stl_iterator_base_funcs.h" 1 3 # 62 "/usr/include/c++/7/bits/stl_iterator_base_funcs.h" 3 # 63 "/usr/include/c++/7/bits/stl_iterator_base_funcs.h" 3 # 1 "/usr/include/c++/7/debug/assertions.h" 1 3 # 66 "/usr/include/c++/7/bits/stl_iterator_base_funcs.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { template struct _List_iterator; template struct _List_const_iterator; template inline constexpr typename iterator_traits<_InputIterator>::difference_type __distance(_InputIterator __first, _InputIterator __last, input_iterator_tag) { typename iterator_traits<_InputIterator>::difference_type __n = 0; while (__first != __last) { ++__first; ++__n; } return __n; } template inline constexpr typename iterator_traits<_RandomAccessIterator>::difference_type __distance(_RandomAccessIterator __first, _RandomAccessIterator __last, random_access_iterator_tag) { return __last - __first; } template ptrdiff_t __distance(std::_List_iterator<_Tp>, std::_List_iterator<_Tp>, input_iterator_tag); template ptrdiff_t __distance(std::_List_const_iterator<_Tp>, std::_List_const_iterator<_Tp>, input_iterator_tag); # 135 "/usr/include/c++/7/bits/stl_iterator_base_funcs.h" 3 template inline typename iterator_traits<_InputIterator>::difference_type distance(_InputIterator __first, _InputIterator __last) { return std::__distance(__first, __last, std::__iterator_category(__first)); } template inline constexpr void __advance(_InputIterator& __i, _Distance __n, input_iterator_tag) { ; while (__n--) ++__i; } template inline constexpr void __advance(_BidirectionalIterator& __i, _Distance __n, bidirectional_iterator_tag) { if (__n > 0) while (__n--) ++__i; else while (__n++) --__i; } template inline constexpr void __advance(_RandomAccessIterator& __i, _Distance __n, random_access_iterator_tag) { __i += __n; } # 195 "/usr/include/c++/7/bits/stl_iterator_base_funcs.h" 3 template inline void advance(_InputIterator& __i, _Distance __n) { typename iterator_traits<_InputIterator>::difference_type __d = __n; std::__advance(__i, __d, std::__iterator_category(__i)); } template inline _ForwardIterator next(_ForwardIterator __x, typename iterator_traits<_ForwardIterator>::difference_type __n = 1) { std::advance(__x, __n); return __x; } template inline _BidirectionalIterator prev(_BidirectionalIterator __x, typename iterator_traits<_BidirectionalIterator>::difference_type __n = 1) { std::advance(__x, -__n); return __x; } } # 67 "/usr/include/c++/7/bits/stl_algobase.h" 2 3 # 1 "/usr/include/c++/7/bits/stl_iterator.h" 1 3 # 66 "/usr/include/c++/7/bits/stl_iterator.h" 3 # 1 "/usr/include/c++/7/bits/ptr_traits.h" 1 3 # 37 "/usr/include/c++/7/bits/ptr_traits.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { class __undefined; template struct __get_first_arg { using type = __undefined; }; template class _Template, typename _Tp, typename... _Types> struct __get_first_arg<_Template<_Tp, _Types...>> { using type = _Tp; }; template using __get_first_arg_t = typename __get_first_arg<_Tp>::type; template struct __replace_first_arg { }; template class _Template, typename _Up, typename _Tp, typename... _Types> struct __replace_first_arg<_Template<_Tp, _Types...>, _Up> { using type = _Template<_Up, _Types...>; }; template using __replace_first_arg_t = typename __replace_first_arg<_Tp, _Up>::type; template using __make_not_void = typename conditional::value, __undefined, _Tp>::type; template struct pointer_traits { private: template using __element_type = typename _Tp::element_type; template using __difference_type = typename _Tp::difference_type; template struct __rebind : __replace_first_arg<_Tp, _Up> { }; template struct __rebind<_Tp, _Up, __void_t>> { using type = typename _Tp::template rebind<_Up>; }; public: using pointer = _Ptr; using element_type = __detected_or_t<__get_first_arg_t<_Ptr>, __element_type, _Ptr>; using difference_type = __detected_or_t; template using rebind = typename __rebind<_Ptr, _Up>::type; static _Ptr pointer_to(__make_not_void& __e) { return _Ptr::pointer_to(__e); } static_assert(!is_same::value, "pointer type defines element_type or is like SomePointer"); }; template struct pointer_traits<_Tp*> { typedef _Tp* pointer; typedef _Tp element_type; typedef ptrdiff_t difference_type; template using rebind = _Up*; static pointer pointer_to(__make_not_void& __r) noexcept { return std::addressof(__r); } }; template using __ptr_rebind = typename pointer_traits<_Ptr>::template rebind<_Tp>; } # 67 "/usr/include/c++/7/bits/stl_iterator.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 100 "/usr/include/c++/7/bits/stl_iterator.h" 3 template class reverse_iterator : public iterator::iterator_category, typename iterator_traits<_Iterator>::value_type, typename iterator_traits<_Iterator>::difference_type, typename iterator_traits<_Iterator>::pointer, typename iterator_traits<_Iterator>::reference> { protected: _Iterator current; typedef iterator_traits<_Iterator> __traits_type; public: typedef _Iterator iterator_type; typedef typename __traits_type::difference_type difference_type; typedef typename __traits_type::pointer pointer; typedef typename __traits_type::reference reference; reverse_iterator() : current() { } explicit reverse_iterator(iterator_type __x) : current(__x) { } reverse_iterator(const reverse_iterator& __x) : current(__x.current) { } template reverse_iterator(const reverse_iterator<_Iter>& __x) : current(__x.base()) { } iterator_type base() const { return current; } # 167 "/usr/include/c++/7/bits/stl_iterator.h" 3 reference operator*() const { _Iterator __tmp = current; return *--__tmp; } pointer operator->() const { return &(operator*()); } reverse_iterator& operator++() { --current; return *this; } reverse_iterator operator++(int) { reverse_iterator __tmp = *this; --current; return __tmp; } reverse_iterator& operator--() { ++current; return *this; } reverse_iterator operator--(int) { reverse_iterator __tmp = *this; ++current; return __tmp; } reverse_iterator operator+(difference_type __n) const { return reverse_iterator(current - __n); } reverse_iterator& operator+=(difference_type __n) { current -= __n; return *this; } reverse_iterator operator-(difference_type __n) const { return reverse_iterator(current + __n); } reverse_iterator& operator-=(difference_type __n) { current += __n; return *this; } reference operator[](difference_type __n) const { return *(*this + __n); } }; # 297 "/usr/include/c++/7/bits/stl_iterator.h" 3 template inline bool operator==(const reverse_iterator<_Iterator>& __x, const reverse_iterator<_Iterator>& __y) { return __x.base() == __y.base(); } template inline bool operator<(const reverse_iterator<_Iterator>& __x, const reverse_iterator<_Iterator>& __y) { return __y.base() < __x.base(); } template inline bool operator!=(const reverse_iterator<_Iterator>& __x, const reverse_iterator<_Iterator>& __y) { return !(__x == __y); } template inline bool operator>(const reverse_iterator<_Iterator>& __x, const reverse_iterator<_Iterator>& __y) { return __y < __x; } template inline bool operator<=(const reverse_iterator<_Iterator>& __x, const reverse_iterator<_Iterator>& __y) { return !(__y < __x); } template inline bool operator>=(const reverse_iterator<_Iterator>& __x, const reverse_iterator<_Iterator>& __y) { return !(__x < __y); } template inline bool operator==(const reverse_iterator<_IteratorL>& __x, const reverse_iterator<_IteratorR>& __y) { return __x.base() == __y.base(); } template inline bool operator<(const reverse_iterator<_IteratorL>& __x, const reverse_iterator<_IteratorR>& __y) { return __y.base() < __x.base(); } template inline bool operator!=(const reverse_iterator<_IteratorL>& __x, const reverse_iterator<_IteratorR>& __y) { return !(__x == __y); } template inline bool operator>(const reverse_iterator<_IteratorL>& __x, const reverse_iterator<_IteratorR>& __y) { return __y < __x; } template inline bool operator<=(const reverse_iterator<_IteratorL>& __x, const reverse_iterator<_IteratorR>& __y) { return !(__y < __x); } template inline bool operator>=(const reverse_iterator<_IteratorL>& __x, const reverse_iterator<_IteratorR>& __y) { return !(__x < __y); } # 387 "/usr/include/c++/7/bits/stl_iterator.h" 3 template inline auto operator-(const reverse_iterator<_IteratorL>& __x, const reverse_iterator<_IteratorR>& __y) -> decltype(__y.base() - __x.base()) { return __y.base() - __x.base(); } template inline reverse_iterator<_Iterator> operator+(typename reverse_iterator<_Iterator>::difference_type __n, const reverse_iterator<_Iterator>& __x) { return reverse_iterator<_Iterator>(__x.base() - __n); } template inline reverse_iterator<_Iterator> __make_reverse_iterator(_Iterator __i) { return reverse_iterator<_Iterator>(__i); } template inline reverse_iterator<_Iterator> make_reverse_iterator(_Iterator __i) { return reverse_iterator<_Iterator>(__i); } template auto __niter_base(reverse_iterator<_Iterator> __it) -> decltype(__make_reverse_iterator(__niter_base(__it.base()))) { return __make_reverse_iterator(__niter_base(__it.base())); } template struct __is_move_iterator > : __is_move_iterator<_Iterator> { }; template auto __miter_base(reverse_iterator<_Iterator> __it) -> decltype(__make_reverse_iterator(__miter_base(__it.base()))) { return __make_reverse_iterator(__miter_base(__it.base())); } # 451 "/usr/include/c++/7/bits/stl_iterator.h" 3 template class back_insert_iterator : public iterator { protected: _Container* container; public: typedef _Container container_type; explicit back_insert_iterator(_Container& __x) : container(std::__addressof(__x)) { } # 486 "/usr/include/c++/7/bits/stl_iterator.h" 3 back_insert_iterator& operator=(const typename _Container::value_type& __value) { container->push_back(__value); return *this; } back_insert_iterator& operator=(typename _Container::value_type&& __value) { container->push_back(std::move(__value)); return *this; } back_insert_iterator& operator*() { return *this; } back_insert_iterator& operator++() { return *this; } back_insert_iterator operator++(int) { return *this; } }; # 528 "/usr/include/c++/7/bits/stl_iterator.h" 3 template inline back_insert_iterator<_Container> back_inserter(_Container& __x) { return back_insert_iterator<_Container>(__x); } # 543 "/usr/include/c++/7/bits/stl_iterator.h" 3 template class front_insert_iterator : public iterator { protected: _Container* container; public: typedef _Container container_type; explicit front_insert_iterator(_Container& __x) : container(std::__addressof(__x)) { } # 577 "/usr/include/c++/7/bits/stl_iterator.h" 3 front_insert_iterator& operator=(const typename _Container::value_type& __value) { container->push_front(__value); return *this; } front_insert_iterator& operator=(typename _Container::value_type&& __value) { container->push_front(std::move(__value)); return *this; } front_insert_iterator& operator*() { return *this; } front_insert_iterator& operator++() { return *this; } front_insert_iterator operator++(int) { return *this; } }; # 619 "/usr/include/c++/7/bits/stl_iterator.h" 3 template inline front_insert_iterator<_Container> front_inserter(_Container& __x) { return front_insert_iterator<_Container>(__x); } # 638 "/usr/include/c++/7/bits/stl_iterator.h" 3 template class insert_iterator : public iterator { protected: _Container* container; typename _Container::iterator iter; public: typedef _Container container_type; insert_iterator(_Container& __x, typename _Container::iterator __i) : container(std::__addressof(__x)), iter(__i) {} # 689 "/usr/include/c++/7/bits/stl_iterator.h" 3 insert_iterator& operator=(const typename _Container::value_type& __value) { iter = container->insert(iter, __value); ++iter; return *this; } insert_iterator& operator=(typename _Container::value_type&& __value) { iter = container->insert(iter, std::move(__value)); ++iter; return *this; } insert_iterator& operator*() { return *this; } insert_iterator& operator++() { return *this; } insert_iterator& operator++(int) { return *this; } }; # 733 "/usr/include/c++/7/bits/stl_iterator.h" 3 template inline insert_iterator<_Container> inserter(_Container& __x, _Iterator __i) { return insert_iterator<_Container>(__x, typename _Container::iterator(__i)); } } namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) { # 757 "/usr/include/c++/7/bits/stl_iterator.h" 3 using std::iterator_traits; using std::iterator; template class __normal_iterator { protected: _Iterator _M_current; typedef iterator_traits<_Iterator> __traits_type; public: typedef _Iterator iterator_type; typedef typename __traits_type::iterator_category iterator_category; typedef typename __traits_type::value_type value_type; typedef typename __traits_type::difference_type difference_type; typedef typename __traits_type::reference reference; typedef typename __traits_type::pointer pointer; constexpr __normal_iterator() noexcept : _M_current(_Iterator()) { } explicit __normal_iterator(const _Iterator& __i) noexcept : _M_current(__i) { } template __normal_iterator(const __normal_iterator<_Iter, typename __enable_if< (std::__are_same<_Iter, typename _Container::pointer>::__value), _Container>::__type>& __i) noexcept : _M_current(__i.base()) { } reference operator*() const noexcept { return *_M_current; } pointer operator->() const noexcept { return _M_current; } __normal_iterator& operator++() noexcept { ++_M_current; return *this; } __normal_iterator operator++(int) noexcept { return __normal_iterator(_M_current++); } __normal_iterator& operator--() noexcept { --_M_current; return *this; } __normal_iterator operator--(int) noexcept { return __normal_iterator(_M_current--); } reference operator[](difference_type __n) const noexcept { return _M_current[__n]; } __normal_iterator& operator+=(difference_type __n) noexcept { _M_current += __n; return *this; } __normal_iterator operator+(difference_type __n) const noexcept { return __normal_iterator(_M_current + __n); } __normal_iterator& operator-=(difference_type __n) noexcept { _M_current -= __n; return *this; } __normal_iterator operator-(difference_type __n) const noexcept { return __normal_iterator(_M_current - __n); } const _Iterator& base() const noexcept { return _M_current; } }; # 857 "/usr/include/c++/7/bits/stl_iterator.h" 3 template inline bool operator==(const __normal_iterator<_IteratorL, _Container>& __lhs, const __normal_iterator<_IteratorR, _Container>& __rhs) noexcept { return __lhs.base() == __rhs.base(); } template inline bool operator==(const __normal_iterator<_Iterator, _Container>& __lhs, const __normal_iterator<_Iterator, _Container>& __rhs) noexcept { return __lhs.base() == __rhs.base(); } template inline bool operator!=(const __normal_iterator<_IteratorL, _Container>& __lhs, const __normal_iterator<_IteratorR, _Container>& __rhs) noexcept { return __lhs.base() != __rhs.base(); } template inline bool operator!=(const __normal_iterator<_Iterator, _Container>& __lhs, const __normal_iterator<_Iterator, _Container>& __rhs) noexcept { return __lhs.base() != __rhs.base(); } template inline bool operator<(const __normal_iterator<_IteratorL, _Container>& __lhs, const __normal_iterator<_IteratorR, _Container>& __rhs) noexcept { return __lhs.base() < __rhs.base(); } template inline bool operator<(const __normal_iterator<_Iterator, _Container>& __lhs, const __normal_iterator<_Iterator, _Container>& __rhs) noexcept { return __lhs.base() < __rhs.base(); } template inline bool operator>(const __normal_iterator<_IteratorL, _Container>& __lhs, const __normal_iterator<_IteratorR, _Container>& __rhs) noexcept { return __lhs.base() > __rhs.base(); } template inline bool operator>(const __normal_iterator<_Iterator, _Container>& __lhs, const __normal_iterator<_Iterator, _Container>& __rhs) noexcept { return __lhs.base() > __rhs.base(); } template inline bool operator<=(const __normal_iterator<_IteratorL, _Container>& __lhs, const __normal_iterator<_IteratorR, _Container>& __rhs) noexcept { return __lhs.base() <= __rhs.base(); } template inline bool operator<=(const __normal_iterator<_Iterator, _Container>& __lhs, const __normal_iterator<_Iterator, _Container>& __rhs) noexcept { return __lhs.base() <= __rhs.base(); } template inline bool operator>=(const __normal_iterator<_IteratorL, _Container>& __lhs, const __normal_iterator<_IteratorR, _Container>& __rhs) noexcept { return __lhs.base() >= __rhs.base(); } template inline bool operator>=(const __normal_iterator<_Iterator, _Container>& __lhs, const __normal_iterator<_Iterator, _Container>& __rhs) noexcept { return __lhs.base() >= __rhs.base(); } template inline auto operator-(const __normal_iterator<_IteratorL, _Container>& __lhs, const __normal_iterator<_IteratorR, _Container>& __rhs) noexcept -> decltype(__lhs.base() - __rhs.base()) { return __lhs.base() - __rhs.base(); } template inline typename __normal_iterator<_Iterator, _Container>::difference_type operator-(const __normal_iterator<_Iterator, _Container>& __lhs, const __normal_iterator<_Iterator, _Container>& __rhs) noexcept { return __lhs.base() - __rhs.base(); } template inline __normal_iterator<_Iterator, _Container> operator+(typename __normal_iterator<_Iterator, _Container>::difference_type __n, const __normal_iterator<_Iterator, _Container>& __i) noexcept { return __normal_iterator<_Iterator, _Container>(__i.base() + __n); } } namespace std __attribute__ ((__visibility__ ("default"))) { template _Iterator __niter_base(__gnu_cxx::__normal_iterator<_Iterator, _Container> __it) { return __it.base(); } } namespace std __attribute__ ((__visibility__ ("default"))) { # 1009 "/usr/include/c++/7/bits/stl_iterator.h" 3 template class move_iterator { protected: _Iterator _M_current; typedef iterator_traits<_Iterator> __traits_type; typedef typename __traits_type::reference __base_ref; public: typedef _Iterator iterator_type; typedef typename __traits_type::iterator_category iterator_category; typedef typename __traits_type::value_type value_type; typedef typename __traits_type::difference_type difference_type; typedef _Iterator pointer; typedef typename conditional::value, typename remove_reference<__base_ref>::type&&, __base_ref>::type reference; move_iterator() : _M_current() { } explicit move_iterator(iterator_type __i) : _M_current(__i) { } template move_iterator(const move_iterator<_Iter>& __i) : _M_current(__i.base()) { } iterator_type base() const { return _M_current; } reference operator*() const { return static_cast(*_M_current); } pointer operator->() const { return _M_current; } move_iterator& operator++() { ++_M_current; return *this; } move_iterator operator++(int) { move_iterator __tmp = *this; ++_M_current; return __tmp; } move_iterator& operator--() { --_M_current; return *this; } move_iterator operator--(int) { move_iterator __tmp = *this; --_M_current; return __tmp; } move_iterator operator+(difference_type __n) const { return move_iterator(_M_current + __n); } move_iterator& operator+=(difference_type __n) { _M_current += __n; return *this; } move_iterator operator-(difference_type __n) const { return move_iterator(_M_current - __n); } move_iterator& operator-=(difference_type __n) { _M_current -= __n; return *this; } reference operator[](difference_type __n) const { return std::move(_M_current[__n]); } }; template inline bool operator==(const move_iterator<_IteratorL>& __x, const move_iterator<_IteratorR>& __y) { return __x.base() == __y.base(); } template inline bool operator==(const move_iterator<_Iterator>& __x, const move_iterator<_Iterator>& __y) { return __x.base() == __y.base(); } template inline bool operator!=(const move_iterator<_IteratorL>& __x, const move_iterator<_IteratorR>& __y) { return !(__x == __y); } template inline bool operator!=(const move_iterator<_Iterator>& __x, const move_iterator<_Iterator>& __y) { return !(__x == __y); } template inline bool operator<(const move_iterator<_IteratorL>& __x, const move_iterator<_IteratorR>& __y) { return __x.base() < __y.base(); } template inline bool operator<(const move_iterator<_Iterator>& __x, const move_iterator<_Iterator>& __y) { return __x.base() < __y.base(); } template inline bool operator<=(const move_iterator<_IteratorL>& __x, const move_iterator<_IteratorR>& __y) { return !(__y < __x); } template inline bool operator<=(const move_iterator<_Iterator>& __x, const move_iterator<_Iterator>& __y) { return !(__y < __x); } template inline bool operator>(const move_iterator<_IteratorL>& __x, const move_iterator<_IteratorR>& __y) { return __y < __x; } template inline bool operator>(const move_iterator<_Iterator>& __x, const move_iterator<_Iterator>& __y) { return __y < __x; } template inline bool operator>=(const move_iterator<_IteratorL>& __x, const move_iterator<_IteratorR>& __y) { return !(__x < __y); } template inline bool operator>=(const move_iterator<_Iterator>& __x, const move_iterator<_Iterator>& __y) { return !(__x < __y); } template inline auto operator-(const move_iterator<_IteratorL>& __x, const move_iterator<_IteratorR>& __y) -> decltype(__x.base() - __y.base()) { return __x.base() - __y.base(); } template inline move_iterator<_Iterator> operator+(typename move_iterator<_Iterator>::difference_type __n, const move_iterator<_Iterator>& __x) { return __x + __n; } template inline move_iterator<_Iterator> make_move_iterator(_Iterator __i) { return move_iterator<_Iterator>(__i); } template::value_type>::value, _Iterator, move_iterator<_Iterator>>::type> inline _ReturnType __make_move_if_noexcept_iterator(_Iterator __i) { return _ReturnType(__i); } template::value, const _Tp*, move_iterator<_Tp*>>::type> inline _ReturnType __make_move_if_noexcept_iterator(_Tp* __i) { return _ReturnType(__i); } template auto __niter_base(move_iterator<_Iterator> __it) -> decltype(make_move_iterator(__niter_base(__it.base()))) { return make_move_iterator(__niter_base(__it.base())); } template struct __is_move_iterator > { enum { __value = 1 }; typedef __true_type __type; }; template auto __miter_base(move_iterator<_Iterator> __it) -> decltype(__miter_base(__it.base())) { return __miter_base(__it.base()); } } # 68 "/usr/include/c++/7/bits/stl_algobase.h" 2 3 # 1 "/usr/include/c++/7/debug/debug.h" 1 3 # 48 "/usr/include/c++/7/debug/debug.h" 3 namespace std { namespace __debug { } } namespace __gnu_debug { using namespace std::__debug; } # 70 "/usr/include/c++/7/bits/stl_algobase.h" 2 3 # 1 "/usr/include/c++/7/bits/predefined_ops.h" 1 3 # 33 "/usr/include/c++/7/bits/predefined_ops.h" 3 namespace __gnu_cxx { namespace __ops { struct _Iter_less_iter { template constexpr bool operator()(_Iterator1 __it1, _Iterator2 __it2) const { return *__it1 < *__it2; } }; constexpr inline _Iter_less_iter __iter_less_iter() { return _Iter_less_iter(); } struct _Iter_less_val { constexpr _Iter_less_val() = default; explicit _Iter_less_val(_Iter_less_iter) { } template bool operator()(_Iterator __it, _Value& __val) const { return *__it < __val; } }; inline _Iter_less_val __iter_less_val() { return _Iter_less_val(); } inline _Iter_less_val __iter_comp_val(_Iter_less_iter) { return _Iter_less_val(); } struct _Val_less_iter { constexpr _Val_less_iter() = default; explicit _Val_less_iter(_Iter_less_iter) { } template bool operator()(_Value& __val, _Iterator __it) const { return __val < *__it; } }; inline _Val_less_iter __val_less_iter() { return _Val_less_iter(); } inline _Val_less_iter __val_comp_iter(_Iter_less_iter) { return _Val_less_iter(); } struct _Iter_equal_to_iter { template bool operator()(_Iterator1 __it1, _Iterator2 __it2) const { return *__it1 == *__it2; } }; inline _Iter_equal_to_iter __iter_equal_to_iter() { return _Iter_equal_to_iter(); } struct _Iter_equal_to_val { template bool operator()(_Iterator __it, _Value& __val) const { return *__it == __val; } }; inline _Iter_equal_to_val __iter_equal_to_val() { return _Iter_equal_to_val(); } inline _Iter_equal_to_val __iter_comp_val(_Iter_equal_to_iter) { return _Iter_equal_to_val(); } template struct _Iter_comp_iter { _Compare _M_comp; explicit constexpr _Iter_comp_iter(_Compare __comp) : _M_comp(std::move(__comp)) { } template constexpr bool operator()(_Iterator1 __it1, _Iterator2 __it2) { return bool(_M_comp(*__it1, *__it2)); } }; template constexpr inline _Iter_comp_iter<_Compare> __iter_comp_iter(_Compare __comp) { return _Iter_comp_iter<_Compare>(std::move(__comp)); } template struct _Iter_comp_val { _Compare _M_comp; explicit _Iter_comp_val(_Compare __comp) : _M_comp(std::move(__comp)) { } explicit _Iter_comp_val(const _Iter_comp_iter<_Compare>& __comp) : _M_comp(__comp._M_comp) { } explicit _Iter_comp_val(_Iter_comp_iter<_Compare>&& __comp) : _M_comp(std::move(__comp._M_comp)) { } template bool operator()(_Iterator __it, _Value& __val) { return bool(_M_comp(*__it, __val)); } }; template inline _Iter_comp_val<_Compare> __iter_comp_val(_Compare __comp) { return _Iter_comp_val<_Compare>(std::move(__comp)); } template inline _Iter_comp_val<_Compare> __iter_comp_val(_Iter_comp_iter<_Compare> __comp) { return _Iter_comp_val<_Compare>(std::move(__comp)); } template struct _Val_comp_iter { _Compare _M_comp; explicit _Val_comp_iter(_Compare __comp) : _M_comp(std::move(__comp)) { } explicit _Val_comp_iter(const _Iter_comp_iter<_Compare>& __comp) : _M_comp(__comp._M_comp) { } explicit _Val_comp_iter(_Iter_comp_iter<_Compare>&& __comp) : _M_comp(std::move(__comp._M_comp)) { } template bool operator()(_Value& __val, _Iterator __it) { return bool(_M_comp(__val, *__it)); } }; template inline _Val_comp_iter<_Compare> __val_comp_iter(_Compare __comp) { return _Val_comp_iter<_Compare>(std::move(__comp)); } template inline _Val_comp_iter<_Compare> __val_comp_iter(_Iter_comp_iter<_Compare> __comp) { return _Val_comp_iter<_Compare>(std::move(__comp)); } template struct _Iter_equals_val { _Value& _M_value; explicit _Iter_equals_val(_Value& __value) : _M_value(__value) { } template bool operator()(_Iterator __it) { return *__it == _M_value; } }; template inline _Iter_equals_val<_Value> __iter_equals_val(_Value& __val) { return _Iter_equals_val<_Value>(__val); } template struct _Iter_equals_iter { _Iterator1 _M_it1; explicit _Iter_equals_iter(_Iterator1 __it1) : _M_it1(__it1) { } template bool operator()(_Iterator2 __it2) { return *__it2 == *_M_it1; } }; template inline _Iter_equals_iter<_Iterator> __iter_comp_iter(_Iter_equal_to_iter, _Iterator __it) { return _Iter_equals_iter<_Iterator>(__it); } template struct _Iter_pred { _Predicate _M_pred; explicit _Iter_pred(_Predicate __pred) : _M_pred(std::move(__pred)) { } template bool operator()(_Iterator __it) { return bool(_M_pred(*__it)); } }; template inline _Iter_pred<_Predicate> __pred_iter(_Predicate __pred) { return _Iter_pred<_Predicate>(std::move(__pred)); } template struct _Iter_comp_to_val { _Compare _M_comp; _Value& _M_value; _Iter_comp_to_val(_Compare __comp, _Value& __value) : _M_comp(std::move(__comp)), _M_value(__value) { } template bool operator()(_Iterator __it) { return bool(_M_comp(*__it, _M_value)); } }; template _Iter_comp_to_val<_Compare, _Value> __iter_comp_val(_Compare __comp, _Value &__val) { return _Iter_comp_to_val<_Compare, _Value>(std::move(__comp), __val); } template struct _Iter_comp_to_iter { _Compare _M_comp; _Iterator1 _M_it1; _Iter_comp_to_iter(_Compare __comp, _Iterator1 __it1) : _M_comp(std::move(__comp)), _M_it1(__it1) { } template bool operator()(_Iterator2 __it2) { return bool(_M_comp(*__it2, *_M_it1)); } }; template inline _Iter_comp_to_iter<_Compare, _Iterator> __iter_comp_iter(_Iter_comp_iter<_Compare> __comp, _Iterator __it) { return _Iter_comp_to_iter<_Compare, _Iterator>( std::move(__comp._M_comp), __it); } template struct _Iter_negate { _Predicate _M_pred; explicit _Iter_negate(_Predicate __pred) : _M_pred(std::move(__pred)) { } template bool operator()(_Iterator __it) { return !bool(_M_pred(*__it)); } }; template inline _Iter_negate<_Predicate> __negate(_Iter_pred<_Predicate> __pred) { return _Iter_negate<_Predicate>(std::move(__pred._M_pred)); } } } # 72 "/usr/include/c++/7/bits/stl_algobase.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 118 "/usr/include/c++/7/bits/stl_algobase.h" 3 template inline void iter_swap(_ForwardIterator1 __a, _ForwardIterator2 __b) { # 148 "/usr/include/c++/7/bits/stl_algobase.h" 3 swap(*__a, *__b); } # 164 "/usr/include/c++/7/bits/stl_algobase.h" 3 template _ForwardIterator2 swap_ranges(_ForwardIterator1 __first1, _ForwardIterator1 __last1, _ForwardIterator2 __first2) { ; for (; __first1 != __last1; ++__first1, (void)++__first2) std::iter_swap(__first1, __first2); return __first2; } # 192 "/usr/include/c++/7/bits/stl_algobase.h" 3 template constexpr inline const _Tp& min(const _Tp& __a, const _Tp& __b) { if (__b < __a) return __b; return __a; } # 216 "/usr/include/c++/7/bits/stl_algobase.h" 3 template constexpr inline const _Tp& max(const _Tp& __a, const _Tp& __b) { if (__a < __b) return __b; return __a; } # 240 "/usr/include/c++/7/bits/stl_algobase.h" 3 template constexpr inline const _Tp& min(const _Tp& __a, const _Tp& __b, _Compare __comp) { if (__comp(__b, __a)) return __b; return __a; } # 262 "/usr/include/c++/7/bits/stl_algobase.h" 3 template constexpr inline const _Tp& max(const _Tp& __a, const _Tp& __b, _Compare __comp) { if (__comp(__a, __b)) return __b; return __a; } template inline _Iterator __niter_base(_Iterator __it) { return __it; } template struct __copy_move { template static _OI __copy_m(_II __first, _II __last, _OI __result) { for (; __first != __last; ++__result, (void)++__first) *__result = *__first; return __result; } }; template struct __copy_move { template static _OI __copy_m(_II __first, _II __last, _OI __result) { for (; __first != __last; ++__result, (void)++__first) *__result = std::move(*__first); return __result; } }; template<> struct __copy_move { template static _OI __copy_m(_II __first, _II __last, _OI __result) { typedef typename iterator_traits<_II>::difference_type _Distance; for(_Distance __n = __last - __first; __n > 0; --__n) { *__result = *__first; ++__first; ++__result; } return __result; } }; template<> struct __copy_move { template static _OI __copy_m(_II __first, _II __last, _OI __result) { typedef typename iterator_traits<_II>::difference_type _Distance; for(_Distance __n = __last - __first; __n > 0; --__n) { *__result = std::move(*__first); ++__first; ++__result; } return __result; } }; template struct __copy_move<_IsMove, true, random_access_iterator_tag> { template static _Tp* __copy_m(const _Tp* __first, const _Tp* __last, _Tp* __result) { using __assignable = conditional<_IsMove, is_move_assignable<_Tp>, is_copy_assignable<_Tp>>; static_assert( __assignable::type::value, "type is not assignable" ); const ptrdiff_t _Num = __last - __first; if (_Num) __builtin_memmove(__result, __first, sizeof(_Tp) * _Num); return __result + _Num; } }; template inline _OI __copy_move_a(_II __first, _II __last, _OI __result) { typedef typename iterator_traits<_II>::value_type _ValueTypeI; typedef typename iterator_traits<_OI>::value_type _ValueTypeO; typedef typename iterator_traits<_II>::iterator_category _Category; const bool __simple = (__is_trivial(_ValueTypeI) && __is_pointer<_II>::__value && __is_pointer<_OI>::__value && __are_same<_ValueTypeI, _ValueTypeO>::__value); return std::__copy_move<_IsMove, __simple, _Category>::__copy_m(__first, __last, __result); } template struct char_traits; template class istreambuf_iterator; template class ostreambuf_iterator; template typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value, ostreambuf_iterator<_CharT, char_traits<_CharT> > >::__type __copy_move_a2(_CharT*, _CharT*, ostreambuf_iterator<_CharT, char_traits<_CharT> >); template typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value, ostreambuf_iterator<_CharT, char_traits<_CharT> > >::__type __copy_move_a2(const _CharT*, const _CharT*, ostreambuf_iterator<_CharT, char_traits<_CharT> >); template typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value, _CharT*>::__type __copy_move_a2(istreambuf_iterator<_CharT, char_traits<_CharT> >, istreambuf_iterator<_CharT, char_traits<_CharT> >, _CharT*); template inline _OI __copy_move_a2(_II __first, _II __last, _OI __result) { return _OI(std::__copy_move_a<_IsMove>(std::__niter_base(__first), std::__niter_base(__last), std::__niter_base(__result))); } # 444 "/usr/include/c++/7/bits/stl_algobase.h" 3 template inline _OI copy(_II __first, _II __last, _OI __result) { ; return (std::__copy_move_a2<__is_move_iterator<_II>::__value> (std::__miter_base(__first), std::__miter_base(__last), __result)); } # 477 "/usr/include/c++/7/bits/stl_algobase.h" 3 template inline _OI move(_II __first, _II __last, _OI __result) { ; return std::__copy_move_a2(std::__miter_base(__first), std::__miter_base(__last), __result); } template struct __copy_move_backward { template static _BI2 __copy_move_b(_BI1 __first, _BI1 __last, _BI2 __result) { while (__first != __last) *--__result = *--__last; return __result; } }; template struct __copy_move_backward { template static _BI2 __copy_move_b(_BI1 __first, _BI1 __last, _BI2 __result) { while (__first != __last) *--__result = std::move(*--__last); return __result; } }; template<> struct __copy_move_backward { template static _BI2 __copy_move_b(_BI1 __first, _BI1 __last, _BI2 __result) { typename iterator_traits<_BI1>::difference_type __n; for (__n = __last - __first; __n > 0; --__n) *--__result = *--__last; return __result; } }; template<> struct __copy_move_backward { template static _BI2 __copy_move_b(_BI1 __first, _BI1 __last, _BI2 __result) { typename iterator_traits<_BI1>::difference_type __n; for (__n = __last - __first; __n > 0; --__n) *--__result = std::move(*--__last); return __result; } }; template struct __copy_move_backward<_IsMove, true, random_access_iterator_tag> { template static _Tp* __copy_move_b(const _Tp* __first, const _Tp* __last, _Tp* __result) { using __assignable = conditional<_IsMove, is_move_assignable<_Tp>, is_copy_assignable<_Tp>>; static_assert( __assignable::type::value, "type is not assignable" ); const ptrdiff_t _Num = __last - __first; if (_Num) __builtin_memmove(__result - _Num, __first, sizeof(_Tp) * _Num); return __result - _Num; } }; template inline _BI2 __copy_move_backward_a(_BI1 __first, _BI1 __last, _BI2 __result) { typedef typename iterator_traits<_BI1>::value_type _ValueType1; typedef typename iterator_traits<_BI2>::value_type _ValueType2; typedef typename iterator_traits<_BI1>::iterator_category _Category; const bool __simple = (__is_trivial(_ValueType1) && __is_pointer<_BI1>::__value && __is_pointer<_BI2>::__value && __are_same<_ValueType1, _ValueType2>::__value); return std::__copy_move_backward<_IsMove, __simple, _Category>::__copy_move_b(__first, __last, __result); } template inline _BI2 __copy_move_backward_a2(_BI1 __first, _BI1 __last, _BI2 __result) { return _BI2(std::__copy_move_backward_a<_IsMove> (std::__niter_base(__first), std::__niter_base(__last), std::__niter_base(__result))); } # 620 "/usr/include/c++/7/bits/stl_algobase.h" 3 template inline _BI2 copy_backward(_BI1 __first, _BI1 __last, _BI2 __result) { ; return (std::__copy_move_backward_a2<__is_move_iterator<_BI1>::__value> (std::__miter_base(__first), std::__miter_base(__last), __result)); } # 656 "/usr/include/c++/7/bits/stl_algobase.h" 3 template inline _BI2 move_backward(_BI1 __first, _BI1 __last, _BI2 __result) { ; return std::__copy_move_backward_a2(std::__miter_base(__first), std::__miter_base(__last), __result); } template inline typename __gnu_cxx::__enable_if::__value, void>::__type __fill_a(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __value) { for (; __first != __last; ++__first) *__first = __value; } template inline typename __gnu_cxx::__enable_if<__is_scalar<_Tp>::__value, void>::__type __fill_a(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __value) { const _Tp __tmp = __value; for (; __first != __last; ++__first) *__first = __tmp; } template inline typename __gnu_cxx::__enable_if<__is_byte<_Tp>::__value, void>::__type __fill_a(_Tp* __first, _Tp* __last, const _Tp& __c) { const _Tp __tmp = __c; if (const size_t __len = __last - __first) __builtin_memset(__first, static_cast(__tmp), __len); } # 722 "/usr/include/c++/7/bits/stl_algobase.h" 3 template inline void fill(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __value) { ; std::__fill_a(std::__niter_base(__first), std::__niter_base(__last), __value); } template inline typename __gnu_cxx::__enable_if::__value, _OutputIterator>::__type __fill_n_a(_OutputIterator __first, _Size __n, const _Tp& __value) { for (__decltype(__n + 0) __niter = __n; __niter > 0; --__niter, ++__first) *__first = __value; return __first; } template inline typename __gnu_cxx::__enable_if<__is_scalar<_Tp>::__value, _OutputIterator>::__type __fill_n_a(_OutputIterator __first, _Size __n, const _Tp& __value) { const _Tp __tmp = __value; for (__decltype(__n + 0) __niter = __n; __niter > 0; --__niter, ++__first) *__first = __tmp; return __first; } template inline typename __gnu_cxx::__enable_if<__is_byte<_Tp>::__value, _Tp*>::__type __fill_n_a(_Tp* __first, _Size __n, const _Tp& __c) { std::__fill_a(__first, __first + __n, __c); return __first + __n; } # 782 "/usr/include/c++/7/bits/stl_algobase.h" 3 template inline _OI fill_n(_OI __first, _Size __n, const _Tp& __value) { return _OI(std::__fill_n_a(std::__niter_base(__first), __n, __value)); } template struct __equal { template static bool equal(_II1 __first1, _II1 __last1, _II2 __first2) { for (; __first1 != __last1; ++__first1, (void)++__first2) if (!(*__first1 == *__first2)) return false; return true; } }; template<> struct __equal { template static bool equal(const _Tp* __first1, const _Tp* __last1, const _Tp* __first2) { if (const size_t __len = (__last1 - __first1)) return !__builtin_memcmp(__first1, __first2, sizeof(_Tp) * __len); return true; } }; template inline bool __equal_aux(_II1 __first1, _II1 __last1, _II2 __first2) { typedef typename iterator_traits<_II1>::value_type _ValueType1; typedef typename iterator_traits<_II2>::value_type _ValueType2; const bool __simple = ((__is_integer<_ValueType1>::__value || __is_pointer<_ValueType1>::__value) && __is_pointer<_II1>::__value && __is_pointer<_II2>::__value && __are_same<_ValueType1, _ValueType2>::__value); return std::__equal<__simple>::equal(__first1, __last1, __first2); } template struct __lc_rai { template static _II1 __newlast1(_II1, _II1 __last1, _II2, _II2) { return __last1; } template static bool __cnd2(_II __first, _II __last) { return __first != __last; } }; template<> struct __lc_rai { template static _RAI1 __newlast1(_RAI1 __first1, _RAI1 __last1, _RAI2 __first2, _RAI2 __last2) { const typename iterator_traits<_RAI1>::difference_type __diff1 = __last1 - __first1; const typename iterator_traits<_RAI2>::difference_type __diff2 = __last2 - __first2; return __diff2 < __diff1 ? __first1 + __diff2 : __last1; } template static bool __cnd2(_RAI, _RAI) { return true; } }; template bool __lexicographical_compare_impl(_II1 __first1, _II1 __last1, _II2 __first2, _II2 __last2, _Compare __comp) { typedef typename iterator_traits<_II1>::iterator_category _Category1; typedef typename iterator_traits<_II2>::iterator_category _Category2; typedef std::__lc_rai<_Category1, _Category2> __rai_type; __last1 = __rai_type::__newlast1(__first1, __last1, __first2, __last2); for (; __first1 != __last1 && __rai_type::__cnd2(__first2, __last2); ++__first1, (void)++__first2) { if (__comp(__first1, __first2)) return true; if (__comp(__first2, __first1)) return false; } return __first1 == __last1 && __first2 != __last2; } template struct __lexicographical_compare { template static bool __lc(_II1, _II1, _II2, _II2); }; template template bool __lexicographical_compare<_BoolType>:: __lc(_II1 __first1, _II1 __last1, _II2 __first2, _II2 __last2) { return std::__lexicographical_compare_impl(__first1, __last1, __first2, __last2, __gnu_cxx::__ops::__iter_less_iter()); } template<> struct __lexicographical_compare { template static bool __lc(const _Tp* __first1, const _Tp* __last1, const _Up* __first2, const _Up* __last2) { const size_t __len1 = __last1 - __first1; const size_t __len2 = __last2 - __first2; if (const size_t __len = std::min(__len1, __len2)) if (int __result = __builtin_memcmp(__first1, __first2, __len)) return __result < 0; return __len1 < __len2; } }; template inline bool __lexicographical_compare_aux(_II1 __first1, _II1 __last1, _II2 __first2, _II2 __last2) { typedef typename iterator_traits<_II1>::value_type _ValueType1; typedef typename iterator_traits<_II2>::value_type _ValueType2; const bool __simple = (__is_byte<_ValueType1>::__value && __is_byte<_ValueType2>::__value && !__gnu_cxx::__numeric_traits<_ValueType1>::__is_signed && !__gnu_cxx::__numeric_traits<_ValueType2>::__is_signed && __is_pointer<_II1>::__value && __is_pointer<_II2>::__value); return std::__lexicographical_compare<__simple>::__lc(__first1, __last1, __first2, __last2); } template _ForwardIterator __lower_bound(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __val, _Compare __comp) { typedef typename iterator_traits<_ForwardIterator>::difference_type _DistanceType; _DistanceType __len = std::distance(__first, __last); while (__len > 0) { _DistanceType __half = __len >> 1; _ForwardIterator __middle = __first; std::advance(__middle, __half); if (__comp(__middle, __val)) { __first = __middle; ++__first; __len = __len - __half - 1; } else __len = __half; } return __first; } # 982 "/usr/include/c++/7/bits/stl_algobase.h" 3 template inline _ForwardIterator lower_bound(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __val) { ; return std::__lower_bound(__first, __last, __val, __gnu_cxx::__ops::__iter_less_val()); } inline constexpr int __lg(int __n) { return sizeof(int) * 8 - 1 - __builtin_clz(__n); } inline constexpr unsigned __lg(unsigned __n) { return sizeof(int) * 8 - 1 - __builtin_clz(__n); } inline constexpr long __lg(long __n) { return sizeof(long) * 8 - 1 - __builtin_clzl(__n); } inline constexpr unsigned long __lg(unsigned long __n) { return sizeof(long) * 8 - 1 - __builtin_clzl(__n); } inline constexpr long long __lg(long long __n) { return sizeof(long long) * 8 - 1 - __builtin_clzll(__n); } inline constexpr unsigned long long __lg(unsigned long long __n) { return sizeof(long long) * 8 - 1 - __builtin_clzll(__n); } # 1039 "/usr/include/c++/7/bits/stl_algobase.h" 3 template inline bool equal(_II1 __first1, _II1 __last1, _II2 __first2) { ; return std::__equal_aux(std::__niter_base(__first1), std::__niter_base(__last1), std::__niter_base(__first2)); } # 1071 "/usr/include/c++/7/bits/stl_algobase.h" 3 template inline bool equal(_IIter1 __first1, _IIter1 __last1, _IIter2 __first2, _BinaryPredicate __binary_pred) { ; for (; __first1 != __last1; ++__first1, (void)++__first2) if (!bool(__binary_pred(*__first1, *__first2))) return false; return true; } # 1104 "/usr/include/c++/7/bits/stl_algobase.h" 3 template inline bool equal(_II1 __first1, _II1 __last1, _II2 __first2, _II2 __last2) { ; ; using _RATag = random_access_iterator_tag; using _Cat1 = typename iterator_traits<_II1>::iterator_category; using _Cat2 = typename iterator_traits<_II2>::iterator_category; using _RAIters = __and_, is_same<_Cat2, _RATag>>; if (_RAIters()) { auto __d1 = std::distance(__first1, __last1); auto __d2 = std::distance(__first2, __last2); if (__d1 != __d2) return false; return std::equal(__first1, __last1, __first2); } for (; __first1 != __last1 && __first2 != __last2; ++__first1, (void)++__first2) if (!(*__first1 == *__first2)) return false; return __first1 == __last1 && __first2 == __last2; } # 1153 "/usr/include/c++/7/bits/stl_algobase.h" 3 template inline bool equal(_IIter1 __first1, _IIter1 __last1, _IIter2 __first2, _IIter2 __last2, _BinaryPredicate __binary_pred) { ; ; using _RATag = random_access_iterator_tag; using _Cat1 = typename iterator_traits<_IIter1>::iterator_category; using _Cat2 = typename iterator_traits<_IIter2>::iterator_category; using _RAIters = __and_, is_same<_Cat2, _RATag>>; if (_RAIters()) { auto __d1 = std::distance(__first1, __last1); auto __d2 = std::distance(__first2, __last2); if (__d1 != __d2) return false; return std::equal(__first1, __last1, __first2, __binary_pred); } for (; __first1 != __last1 && __first2 != __last2; ++__first1, (void)++__first2) if (!bool(__binary_pred(*__first1, *__first2))) return false; return __first1 == __last1 && __first2 == __last2; } # 1201 "/usr/include/c++/7/bits/stl_algobase.h" 3 template inline bool lexicographical_compare(_II1 __first1, _II1 __last1, _II2 __first2, _II2 __last2) { ; ; return std::__lexicographical_compare_aux(std::__niter_base(__first1), std::__niter_base(__last1), std::__niter_base(__first2), std::__niter_base(__last2)); } # 1237 "/usr/include/c++/7/bits/stl_algobase.h" 3 template inline bool lexicographical_compare(_II1 __first1, _II1 __last1, _II2 __first2, _II2 __last2, _Compare __comp) { ; ; return std::__lexicographical_compare_impl (__first1, __last1, __first2, __last2, __gnu_cxx::__ops::__iter_comp_iter(__comp)); } template pair<_InputIterator1, _InputIterator2> __mismatch(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _BinaryPredicate __binary_pred) { while (__first1 != __last1 && __binary_pred(__first1, __first2)) { ++__first1; ++__first2; } return pair<_InputIterator1, _InputIterator2>(__first1, __first2); } # 1280 "/usr/include/c++/7/bits/stl_algobase.h" 3 template inline pair<_InputIterator1, _InputIterator2> mismatch(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2) { ; return std::__mismatch(__first1, __last1, __first2, __gnu_cxx::__ops::__iter_equal_to_iter()); } # 1313 "/usr/include/c++/7/bits/stl_algobase.h" 3 template inline pair<_InputIterator1, _InputIterator2> mismatch(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _BinaryPredicate __binary_pred) { ; return std::__mismatch(__first1, __last1, __first2, __gnu_cxx::__ops::__iter_comp_iter(__binary_pred)); } template pair<_InputIterator1, _InputIterator2> __mismatch(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _InputIterator2 __last2, _BinaryPredicate __binary_pred) { while (__first1 != __last1 && __first2 != __last2 && __binary_pred(__first1, __first2)) { ++__first1; ++__first2; } return pair<_InputIterator1, _InputIterator2>(__first1, __first2); } # 1360 "/usr/include/c++/7/bits/stl_algobase.h" 3 template inline pair<_InputIterator1, _InputIterator2> mismatch(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _InputIterator2 __last2) { ; ; return std::__mismatch(__first1, __last1, __first2, __last2, __gnu_cxx::__ops::__iter_equal_to_iter()); } # 1395 "/usr/include/c++/7/bits/stl_algobase.h" 3 template inline pair<_InputIterator1, _InputIterator2> mismatch(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _InputIterator2 __last2, _BinaryPredicate __binary_pred) { ; ; return std::__mismatch(__first1, __last1, __first2, __last2, __gnu_cxx::__ops::__iter_comp_iter(__binary_pred)); } } # 64 "/usr/include/c++/7/bits/stl_tree.h" 2 3 # 1 "/usr/include/c++/7/bits/allocator.h" 1 3 # 46 "/usr/include/c++/7/bits/allocator.h" 3 # 1 "/usr/include/i386-linux-gnu/c++/7/bits/c++allocator.h" 1 3 # 33 "/usr/include/i386-linux-gnu/c++/7/bits/c++allocator.h" 3 # 1 "/usr/include/c++/7/ext/new_allocator.h" 1 3 # 33 "/usr/include/c++/7/ext/new_allocator.h" 3 # 1 "/usr/include/c++/7/new" 1 3 # 37 "/usr/include/c++/7/new" 3 # 38 "/usr/include/c++/7/new" 3 # 1 "/usr/include/c++/7/exception" 1 3 # 33 "/usr/include/c++/7/exception" 3 # 34 "/usr/include/c++/7/exception" 3 #pragma GCC visibility push(default) # 1 "/usr/include/c++/7/bits/exception.h" 1 3 # 34 "/usr/include/c++/7/bits/exception.h" 3 # 35 "/usr/include/c++/7/bits/exception.h" 3 #pragma GCC visibility push(default) extern "C++" { namespace std { # 60 "/usr/include/c++/7/bits/exception.h" 3 class exception { public: exception() noexcept { } virtual ~exception() noexcept; virtual const char* what() const noexcept; }; } } #pragma GCC visibility pop # 39 "/usr/include/c++/7/exception" 2 3 extern "C++" { namespace std { class bad_exception : public exception { public: bad_exception() noexcept { } virtual ~bad_exception() noexcept; virtual const char* what() const noexcept; }; typedef void (*terminate_handler) (); typedef void (*unexpected_handler) (); terminate_handler set_terminate(terminate_handler) noexcept; terminate_handler get_terminate() noexcept; void terminate() noexcept __attribute__ ((__noreturn__)); unexpected_handler set_unexpected(unexpected_handler) noexcept; unexpected_handler get_unexpected() noexcept; void unexpected() __attribute__ ((__noreturn__)); # 101 "/usr/include/c++/7/exception" 3 bool uncaught_exception() noexcept __attribute__ ((__pure__)); int uncaught_exceptions() noexcept __attribute__ ((__pure__)); } namespace __gnu_cxx { # 132 "/usr/include/c++/7/exception" 3 void __verbose_terminate_handler(); } } #pragma GCC visibility pop # 1 "/usr/include/c++/7/bits/exception_ptr.h" 1 3 # 34 "/usr/include/c++/7/bits/exception_ptr.h" 3 #pragma GCC visibility push(default) # 1 "/usr/include/c++/7/bits/cxxabi_init_exception.h" 1 3 # 34 "/usr/include/c++/7/bits/cxxabi_init_exception.h" 3 # 35 "/usr/include/c++/7/bits/cxxabi_init_exception.h" 3 #pragma GCC visibility push(default) # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 39 "/usr/include/c++/7/bits/cxxabi_init_exception.h" 2 3 # 50 "/usr/include/c++/7/bits/cxxabi_init_exception.h" 3 namespace std { class type_info; } namespace __cxxabiv1 { struct __cxa_refcounted_exception; extern "C" { void* __cxa_allocate_exception(size_t) noexcept; __cxa_refcounted_exception* __cxa_init_primary_exception(void *object, std::type_info *tinfo, void ( *dest) (void *)) noexcept; } } #pragma GCC visibility pop # 39 "/usr/include/c++/7/bits/exception_ptr.h" 2 3 # 1 "/usr/include/c++/7/typeinfo" 1 3 # 32 "/usr/include/c++/7/typeinfo" 3 # 33 "/usr/include/c++/7/typeinfo" 3 # 1 "/usr/include/c++/7/bits/hash_bytes.h" 1 3 # 33 "/usr/include/c++/7/bits/hash_bytes.h" 3 # 34 "/usr/include/c++/7/bits/hash_bytes.h" 3 namespace std { size_t _Hash_bytes(const void* __ptr, size_t __len, size_t __seed); size_t _Fnv_hash_bytes(const void* __ptr, size_t __len, size_t __seed); } # 37 "/usr/include/c++/7/typeinfo" 2 3 #pragma GCC visibility push(default) extern "C++" { namespace __cxxabiv1 { class __class_type_info; } # 80 "/usr/include/c++/7/typeinfo" 3 namespace std { class type_info { public: virtual ~type_info(); const char* name() const noexcept { return __name[0] == '*' ? __name + 1 : __name; } # 115 "/usr/include/c++/7/typeinfo" 3 bool before(const type_info& __arg) const noexcept { return (__name[0] == '*' && __arg.__name[0] == '*') ? __name < __arg.__name : __builtin_strcmp (__name, __arg.__name) < 0; } bool operator==(const type_info& __arg) const noexcept { return ((__name == __arg.__name) || (__name[0] != '*' && __builtin_strcmp (__name, __arg.__name) == 0)); } # 136 "/usr/include/c++/7/typeinfo" 3 bool operator!=(const type_info& __arg) const noexcept { return !operator==(__arg); } size_t hash_code() const noexcept { return _Hash_bytes(name(), __builtin_strlen(name()), static_cast(0xc70f6907UL)); } virtual bool __is_pointer_p() const; virtual bool __is_function_p() const; virtual bool __do_catch(const type_info *__thr_type, void **__thr_obj, unsigned __outer) const; virtual bool __do_upcast(const __cxxabiv1::__class_type_info *__target, void **__obj_ptr) const; protected: const char *__name; explicit type_info(const char *__n): __name(__n) { } private: type_info& operator=(const type_info&); type_info(const type_info&); }; class bad_cast : public exception { public: bad_cast() noexcept { } virtual ~bad_cast() noexcept; virtual const char* what() const noexcept; }; class bad_typeid : public exception { public: bad_typeid () noexcept { } virtual ~bad_typeid() noexcept; virtual const char* what() const noexcept; }; } } #pragma GCC visibility pop # 40 "/usr/include/c++/7/bits/exception_ptr.h" 2 3 # 1 "/usr/include/c++/7/new" 1 3 # 41 "/usr/include/c++/7/bits/exception_ptr.h" 2 3 extern "C++" { namespace std { class type_info; namespace __exception_ptr { class exception_ptr; } using __exception_ptr::exception_ptr; exception_ptr current_exception() noexcept; template exception_ptr make_exception_ptr(_Ex) noexcept; void rethrow_exception(exception_ptr) __attribute__ ((__noreturn__)); namespace __exception_ptr { using std::rethrow_exception; class exception_ptr { void* _M_exception_object; explicit exception_ptr(void* __e) noexcept; void _M_addref() noexcept; void _M_release() noexcept; void *_M_get() const noexcept __attribute__ ((__pure__)); friend exception_ptr std::current_exception() noexcept; friend void std::rethrow_exception(exception_ptr); template friend exception_ptr std::make_exception_ptr(_Ex) noexcept; public: exception_ptr() noexcept; exception_ptr(const exception_ptr&) noexcept; exception_ptr(nullptr_t) noexcept : _M_exception_object(0) { } exception_ptr(exception_ptr&& __o) noexcept : _M_exception_object(__o._M_exception_object) { __o._M_exception_object = 0; } # 117 "/usr/include/c++/7/bits/exception_ptr.h" 3 exception_ptr& operator=(const exception_ptr&) noexcept; exception_ptr& operator=(exception_ptr&& __o) noexcept { exception_ptr(static_cast(__o)).swap(*this); return *this; } ~exception_ptr() noexcept; void swap(exception_ptr&) noexcept; # 144 "/usr/include/c++/7/bits/exception_ptr.h" 3 explicit operator bool() const { return _M_exception_object; } friend bool operator==(const exception_ptr&, const exception_ptr&) noexcept __attribute__ ((__pure__)); const class std::type_info* __cxa_exception_type() const noexcept __attribute__ ((__pure__)); }; bool operator==(const exception_ptr&, const exception_ptr&) noexcept __attribute__ ((__pure__)); bool operator!=(const exception_ptr&, const exception_ptr&) noexcept __attribute__ ((__pure__)); inline void swap(exception_ptr& __lhs, exception_ptr& __rhs) { __lhs.swap(__rhs); } template inline void __dest_thunk(void* __x) { static_cast<_Ex*>(__x)->~_Ex(); } } template exception_ptr make_exception_ptr(_Ex __ex) noexcept { try { void *__e = __cxxabiv1::__cxa_allocate_exception(sizeof(_Ex)); (void)__cxxabiv1::__cxa_init_primary_exception( __e, const_cast(&typeid(__ex)), __exception_ptr::__dest_thunk<_Ex>); ::new (__e) _Ex(__ex); return exception_ptr(__e); } catch(...) { return current_exception(); } } template exception_ptr copy_exception(_Ex __ex) noexcept __attribute__ ((__deprecated__)); template exception_ptr copy_exception(_Ex __ex) noexcept { return std::make_exception_ptr<_Ex>(__ex); } } } #pragma GCC visibility pop # 143 "/usr/include/c++/7/exception" 2 3 # 1 "/usr/include/c++/7/bits/nested_exception.h" 1 3 # 33 "/usr/include/c++/7/bits/nested_exception.h" 3 #pragma GCC visibility push(default) # 42 "/usr/include/c++/7/bits/nested_exception.h" 3 extern "C++" { namespace std { class nested_exception { exception_ptr _M_ptr; public: nested_exception() noexcept : _M_ptr(current_exception()) { } nested_exception(const nested_exception&) noexcept = default; nested_exception& operator=(const nested_exception&) noexcept = default; virtual ~nested_exception() noexcept; [[noreturn]] void rethrow_nested() const { if (_M_ptr) rethrow_exception(_M_ptr); std::terminate(); } exception_ptr nested_ptr() const noexcept { return _M_ptr; } }; template struct _Nested_exception : public _Except, public nested_exception { explicit _Nested_exception(const _Except& __ex) : _Except(__ex) { } explicit _Nested_exception(_Except&& __ex) : _Except(static_cast<_Except&&>(__ex)) { } }; template inline void __throw_with_nested_impl(_Tp&& __t, true_type) { using _Up = typename remove_reference<_Tp>::type; throw _Nested_exception<_Up>{std::forward<_Tp>(__t)}; } template inline void __throw_with_nested_impl(_Tp&& __t, false_type) { throw std::forward<_Tp>(__t); } template [[noreturn]] inline void throw_with_nested(_Tp&& __t) { using _Up = typename decay<_Tp>::type; using _CopyConstructible = __and_, is_move_constructible<_Up>>; static_assert(_CopyConstructible::value, "throw_with_nested argument must be CopyConstructible"); using __nest = __and_, __bool_constant, __not_>>; std::__throw_with_nested_impl(std::forward<_Tp>(__t), __nest{}); } template using __rethrow_if_nested_cond = typename enable_if< __and_, __or_<__not_>, is_convertible<_Tp*, nested_exception*>>>::value >::type; template inline __rethrow_if_nested_cond<_Ex> __rethrow_if_nested_impl(const _Ex* __ptr) { if (auto __ne_ptr = dynamic_cast(__ptr)) __ne_ptr->rethrow_nested(); } inline void __rethrow_if_nested_impl(const void*) { } template inline void rethrow_if_nested(const _Ex& __ex) { std::__rethrow_if_nested_impl(std::__addressof(__ex)); } } } #pragma GCC visibility pop # 144 "/usr/include/c++/7/exception" 2 3 # 41 "/usr/include/c++/7/new" 2 3 #pragma GCC visibility push(default) extern "C++" { namespace std { class bad_alloc : public exception { public: bad_alloc() throw() { } virtual ~bad_alloc() throw(); virtual const char* what() const throw(); }; class bad_array_new_length : public bad_alloc { public: bad_array_new_length() throw() { }; virtual ~bad_array_new_length() throw(); virtual const char* what() const throw(); }; struct nothrow_t { explicit nothrow_t() = default; }; extern const nothrow_t nothrow; typedef void (*new_handler)(); new_handler set_new_handler(new_handler) throw(); new_handler get_new_handler() noexcept; } # 120 "/usr/include/c++/7/new" 3 void* operator new(std::size_t) __attribute__((__externally_visible__)); void* operator new[](std::size_t) __attribute__((__externally_visible__)); void operator delete(void*) noexcept __attribute__((__externally_visible__)); void operator delete[](void*) noexcept __attribute__((__externally_visible__)); void operator delete(void*, std::size_t) noexcept __attribute__((__externally_visible__)); void operator delete[](void*, std::size_t) noexcept __attribute__((__externally_visible__)); void* operator new(std::size_t, const std::nothrow_t&) noexcept __attribute__((__externally_visible__)); void* operator new[](std::size_t, const std::nothrow_t&) noexcept __attribute__((__externally_visible__)); void operator delete(void*, const std::nothrow_t&) noexcept __attribute__((__externally_visible__)); void operator delete[](void*, const std::nothrow_t&) noexcept __attribute__((__externally_visible__)); # 168 "/usr/include/c++/7/new" 3 inline void* operator new(std::size_t, void* __p) noexcept { return __p; } inline void* operator new[](std::size_t, void* __p) noexcept { return __p; } inline void operator delete (void*, void*) noexcept { } inline void operator delete[](void*, void*) noexcept { } } # 216 "/usr/include/c++/7/new" 3 #pragma GCC visibility pop # 34 "/usr/include/c++/7/ext/new_allocator.h" 2 3 namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) { using std::size_t; using std::ptrdiff_t; # 57 "/usr/include/c++/7/ext/new_allocator.h" 3 template class new_allocator { public: typedef size_t size_type; typedef ptrdiff_t difference_type; typedef _Tp* pointer; typedef const _Tp* const_pointer; typedef _Tp& reference; typedef const _Tp& const_reference; typedef _Tp value_type; template struct rebind { typedef new_allocator<_Tp1> other; }; typedef std::true_type propagate_on_container_move_assignment; new_allocator() noexcept { } new_allocator(const new_allocator&) noexcept { } template new_allocator(const new_allocator<_Tp1>&) noexcept { } ~new_allocator() noexcept { } pointer address(reference __x) const noexcept { return std::__addressof(__x); } const_pointer address(const_reference __x) const noexcept { return std::__addressof(__x); } pointer allocate(size_type __n, const void* = 0) { if (__n > this->max_size()) std::__throw_bad_alloc(); # 111 "/usr/include/c++/7/ext/new_allocator.h" 3 return static_cast<_Tp*>(::operator new(__n * sizeof(_Tp))); } void deallocate(pointer __p, size_type) { ::operator delete(__p); } size_type max_size() const noexcept { return size_t(-1) / sizeof(_Tp); } template void construct(_Up* __p, _Args&&... __args) { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); } template void destroy(_Up* __p) { __p->~_Up(); } # 151 "/usr/include/c++/7/ext/new_allocator.h" 3 }; template inline bool operator==(const new_allocator<_Tp>&, const new_allocator<_Tp>&) { return true; } template inline bool operator!=(const new_allocator<_Tp>&, const new_allocator<_Tp>&) { return false; } } # 34 "/usr/include/i386-linux-gnu/c++/7/bits/c++allocator.h" 2 3 namespace std { # 47 "/usr/include/i386-linux-gnu/c++/7/bits/c++allocator.h" 3 template using __allocator_base = __gnu_cxx::new_allocator<_Tp>; } # 47 "/usr/include/c++/7/bits/allocator.h" 2 3 # 1 "/usr/include/c++/7/bits/memoryfwd.h" 1 3 # 46 "/usr/include/c++/7/bits/memoryfwd.h" 3 # 47 "/usr/include/c++/7/bits/memoryfwd.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 63 "/usr/include/c++/7/bits/memoryfwd.h" 3 template class allocator; template<> class allocator; template struct uses_allocator; } # 48 "/usr/include/c++/7/bits/allocator.h" 2 3 # 57 "/usr/include/c++/7/bits/allocator.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { template<> class allocator { public: typedef size_t size_type; typedef ptrdiff_t difference_type; typedef void* pointer; typedef const void* const_pointer; typedef void value_type; template struct rebind { typedef allocator<_Tp1> other; }; typedef true_type propagate_on_container_move_assignment; typedef true_type is_always_equal; template void construct(_Up* __p, _Args&&... __args) { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); } template void destroy(_Up* __p) { __p->~_Up(); } }; # 107 "/usr/include/c++/7/bits/allocator.h" 3 template class allocator: public __allocator_base<_Tp> { public: typedef size_t size_type; typedef ptrdiff_t difference_type; typedef _Tp* pointer; typedef const _Tp* const_pointer; typedef _Tp& reference; typedef const _Tp& const_reference; typedef _Tp value_type; template struct rebind { typedef allocator<_Tp1> other; }; typedef true_type propagate_on_container_move_assignment; typedef true_type is_always_equal; allocator() throw() { } allocator(const allocator& __a) throw() : __allocator_base<_Tp>(__a) { } template allocator(const allocator<_Tp1>&) throw() { } ~allocator() throw() { } }; template inline bool operator==(const allocator<_T1>&, const allocator<_T2>&) noexcept { return true; } template inline bool operator==(const allocator<_Tp>&, const allocator<_Tp>&) noexcept { return true; } template inline bool operator!=(const allocator<_T1>&, const allocator<_T2>&) noexcept { return false; } template inline bool operator!=(const allocator<_Tp>&, const allocator<_Tp>&) noexcept { return false; } extern template class allocator; extern template class allocator; template struct __alloc_swap { static void _S_do_it(_Alloc&, _Alloc&) noexcept { } }; template struct __alloc_swap<_Alloc, false> { static void _S_do_it(_Alloc& __one, _Alloc& __two) noexcept { if (__one != __two) swap(__one, __two); } }; template struct __alloc_neq { static bool _S_do_it(const _Alloc&, const _Alloc&) { return false; } }; template struct __alloc_neq<_Alloc, false> { static bool _S_do_it(const _Alloc& __one, const _Alloc& __two) { return __one != __two; } }; template, is_nothrow_move_constructible>::value> struct __shrink_to_fit_aux { static bool _S_do_it(_Tp&) noexcept { return false; } }; template struct __shrink_to_fit_aux<_Tp, true> { static bool _S_do_it(_Tp& __c) noexcept { try { _Tp(__make_move_if_noexcept_iterator(__c.begin()), __make_move_if_noexcept_iterator(__c.end()), __c.get_allocator()).swap(__c); return true; } catch(...) { return false; } } }; } # 65 "/usr/include/c++/7/bits/stl_tree.h" 2 3 # 1 "/usr/include/c++/7/bits/stl_function.h" 1 3 # 63 "/usr/include/c++/7/bits/stl_function.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 104 "/usr/include/c++/7/bits/stl_function.h" 3 template struct unary_function { typedef _Arg argument_type; typedef _Result result_type; }; template struct binary_function { typedef _Arg1 first_argument_type; typedef _Arg2 second_argument_type; typedef _Result result_type; }; # 144 "/usr/include/c++/7/bits/stl_function.h" 3 struct __is_transparent; template struct plus; template struct minus; template struct multiplies; template struct divides; template struct modulus; template struct negate; template struct plus : public binary_function<_Tp, _Tp, _Tp> { constexpr _Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x + __y; } }; template struct minus : public binary_function<_Tp, _Tp, _Tp> { constexpr _Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x - __y; } }; template struct multiplies : public binary_function<_Tp, _Tp, _Tp> { constexpr _Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x * __y; } }; template struct divides : public binary_function<_Tp, _Tp, _Tp> { constexpr _Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x / __y; } }; template struct modulus : public binary_function<_Tp, _Tp, _Tp> { constexpr _Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x % __y; } }; template struct negate : public unary_function<_Tp, _Tp> { constexpr _Tp operator()(const _Tp& __x) const { return -__x; } }; template<> struct plus { template constexpr auto operator()(_Tp&& __t, _Up&& __u) const noexcept(noexcept(std::forward<_Tp>(__t) + std::forward<_Up>(__u))) -> decltype(std::forward<_Tp>(__t) + std::forward<_Up>(__u)) { return std::forward<_Tp>(__t) + std::forward<_Up>(__u); } typedef __is_transparent is_transparent; }; template<> struct minus { template constexpr auto operator()(_Tp&& __t, _Up&& __u) const noexcept(noexcept(std::forward<_Tp>(__t) - std::forward<_Up>(__u))) -> decltype(std::forward<_Tp>(__t) - std::forward<_Up>(__u)) { return std::forward<_Tp>(__t) - std::forward<_Up>(__u); } typedef __is_transparent is_transparent; }; template<> struct multiplies { template constexpr auto operator()(_Tp&& __t, _Up&& __u) const noexcept(noexcept(std::forward<_Tp>(__t) * std::forward<_Up>(__u))) -> decltype(std::forward<_Tp>(__t) * std::forward<_Up>(__u)) { return std::forward<_Tp>(__t) * std::forward<_Up>(__u); } typedef __is_transparent is_transparent; }; template<> struct divides { template constexpr auto operator()(_Tp&& __t, _Up&& __u) const noexcept(noexcept(std::forward<_Tp>(__t) / std::forward<_Up>(__u))) -> decltype(std::forward<_Tp>(__t) / std::forward<_Up>(__u)) { return std::forward<_Tp>(__t) / std::forward<_Up>(__u); } typedef __is_transparent is_transparent; }; template<> struct modulus { template constexpr auto operator()(_Tp&& __t, _Up&& __u) const noexcept(noexcept(std::forward<_Tp>(__t) % std::forward<_Up>(__u))) -> decltype(std::forward<_Tp>(__t) % std::forward<_Up>(__u)) { return std::forward<_Tp>(__t) % std::forward<_Up>(__u); } typedef __is_transparent is_transparent; }; template<> struct negate { template constexpr auto operator()(_Tp&& __t) const noexcept(noexcept(-std::forward<_Tp>(__t))) -> decltype(-std::forward<_Tp>(__t)) { return -std::forward<_Tp>(__t); } typedef __is_transparent is_transparent; }; # 330 "/usr/include/c++/7/bits/stl_function.h" 3 template struct equal_to; template struct not_equal_to; template struct greater; template struct less; template struct greater_equal; template struct less_equal; template struct equal_to : public binary_function<_Tp, _Tp, bool> { constexpr bool operator()(const _Tp& __x, const _Tp& __y) const { return __x == __y; } }; template struct not_equal_to : public binary_function<_Tp, _Tp, bool> { constexpr bool operator()(const _Tp& __x, const _Tp& __y) const { return __x != __y; } }; template struct greater : public binary_function<_Tp, _Tp, bool> { constexpr bool operator()(const _Tp& __x, const _Tp& __y) const { return __x > __y; } }; template struct less : public binary_function<_Tp, _Tp, bool> { constexpr bool operator()(const _Tp& __x, const _Tp& __y) const { return __x < __y; } }; template struct greater_equal : public binary_function<_Tp, _Tp, bool> { constexpr bool operator()(const _Tp& __x, const _Tp& __y) const { return __x >= __y; } }; template struct less_equal : public binary_function<_Tp, _Tp, bool> { constexpr bool operator()(const _Tp& __x, const _Tp& __y) const { return __x <= __y; } }; template<> struct equal_to { template constexpr auto operator()(_Tp&& __t, _Up&& __u) const noexcept(noexcept(std::forward<_Tp>(__t) == std::forward<_Up>(__u))) -> decltype(std::forward<_Tp>(__t) == std::forward<_Up>(__u)) { return std::forward<_Tp>(__t) == std::forward<_Up>(__u); } typedef __is_transparent is_transparent; }; template<> struct not_equal_to { template constexpr auto operator()(_Tp&& __t, _Up&& __u) const noexcept(noexcept(std::forward<_Tp>(__t) != std::forward<_Up>(__u))) -> decltype(std::forward<_Tp>(__t) != std::forward<_Up>(__u)) { return std::forward<_Tp>(__t) != std::forward<_Up>(__u); } typedef __is_transparent is_transparent; }; template<> struct greater { template constexpr auto operator()(_Tp&& __t, _Up&& __u) const noexcept(noexcept(std::forward<_Tp>(__t) > std::forward<_Up>(__u))) -> decltype(std::forward<_Tp>(__t) > std::forward<_Up>(__u)) { return std::forward<_Tp>(__t) > std::forward<_Up>(__u); } typedef __is_transparent is_transparent; }; template<> struct less { template constexpr auto operator()(_Tp&& __t, _Up&& __u) const noexcept(noexcept(std::forward<_Tp>(__t) < std::forward<_Up>(__u))) -> decltype(std::forward<_Tp>(__t) < std::forward<_Up>(__u)) { return std::forward<_Tp>(__t) < std::forward<_Up>(__u); } typedef __is_transparent is_transparent; }; template<> struct greater_equal { template constexpr auto operator()(_Tp&& __t, _Up&& __u) const noexcept(noexcept(std::forward<_Tp>(__t) >= std::forward<_Up>(__u))) -> decltype(std::forward<_Tp>(__t) >= std::forward<_Up>(__u)) { return std::forward<_Tp>(__t) >= std::forward<_Up>(__u); } typedef __is_transparent is_transparent; }; template<> struct less_equal { template constexpr auto operator()(_Tp&& __t, _Up&& __u) const noexcept(noexcept(std::forward<_Tp>(__t) <= std::forward<_Up>(__u))) -> decltype(std::forward<_Tp>(__t) <= std::forward<_Up>(__u)) { return std::forward<_Tp>(__t) <= std::forward<_Up>(__u); } typedef __is_transparent is_transparent; }; # 512 "/usr/include/c++/7/bits/stl_function.h" 3 template struct logical_and; template struct logical_or; template struct logical_not; template struct logical_and : public binary_function<_Tp, _Tp, bool> { constexpr bool operator()(const _Tp& __x, const _Tp& __y) const { return __x && __y; } }; template struct logical_or : public binary_function<_Tp, _Tp, bool> { constexpr bool operator()(const _Tp& __x, const _Tp& __y) const { return __x || __y; } }; template struct logical_not : public unary_function<_Tp, bool> { constexpr bool operator()(const _Tp& __x) const { return !__x; } }; template<> struct logical_and { template constexpr auto operator()(_Tp&& __t, _Up&& __u) const noexcept(noexcept(std::forward<_Tp>(__t) && std::forward<_Up>(__u))) -> decltype(std::forward<_Tp>(__t) && std::forward<_Up>(__u)) { return std::forward<_Tp>(__t) && std::forward<_Up>(__u); } typedef __is_transparent is_transparent; }; template<> struct logical_or { template constexpr auto operator()(_Tp&& __t, _Up&& __u) const noexcept(noexcept(std::forward<_Tp>(__t) || std::forward<_Up>(__u))) -> decltype(std::forward<_Tp>(__t) || std::forward<_Up>(__u)) { return std::forward<_Tp>(__t) || std::forward<_Up>(__u); } typedef __is_transparent is_transparent; }; template<> struct logical_not { template constexpr auto operator()(_Tp&& __t) const noexcept(noexcept(!std::forward<_Tp>(__t))) -> decltype(!std::forward<_Tp>(__t)) { return !std::forward<_Tp>(__t); } typedef __is_transparent is_transparent; }; template struct bit_and; template struct bit_or; template struct bit_xor; template struct bit_not; template struct bit_and : public binary_function<_Tp, _Tp, _Tp> { constexpr _Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x & __y; } }; template struct bit_or : public binary_function<_Tp, _Tp, _Tp> { constexpr _Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x | __y; } }; template struct bit_xor : public binary_function<_Tp, _Tp, _Tp> { constexpr _Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x ^ __y; } }; template struct bit_not : public unary_function<_Tp, _Tp> { constexpr _Tp operator()(const _Tp& __x) const { return ~__x; } }; template <> struct bit_and { template constexpr auto operator()(_Tp&& __t, _Up&& __u) const noexcept(noexcept(std::forward<_Tp>(__t) & std::forward<_Up>(__u))) -> decltype(std::forward<_Tp>(__t) & std::forward<_Up>(__u)) { return std::forward<_Tp>(__t) & std::forward<_Up>(__u); } typedef __is_transparent is_transparent; }; template <> struct bit_or { template constexpr auto operator()(_Tp&& __t, _Up&& __u) const noexcept(noexcept(std::forward<_Tp>(__t) | std::forward<_Up>(__u))) -> decltype(std::forward<_Tp>(__t) | std::forward<_Up>(__u)) { return std::forward<_Tp>(__t) | std::forward<_Up>(__u); } typedef __is_transparent is_transparent; }; template <> struct bit_xor { template constexpr auto operator()(_Tp&& __t, _Up&& __u) const noexcept(noexcept(std::forward<_Tp>(__t) ^ std::forward<_Up>(__u))) -> decltype(std::forward<_Tp>(__t) ^ std::forward<_Up>(__u)) { return std::forward<_Tp>(__t) ^ std::forward<_Up>(__u); } typedef __is_transparent is_transparent; }; template <> struct bit_not { template constexpr auto operator()(_Tp&& __t) const noexcept(noexcept(~std::forward<_Tp>(__t))) -> decltype(~std::forward<_Tp>(__t)) { return ~std::forward<_Tp>(__t); } typedef __is_transparent is_transparent; }; # 740 "/usr/include/c++/7/bits/stl_function.h" 3 template class unary_negate : public unary_function { protected: _Predicate _M_pred; public: constexpr explicit unary_negate(const _Predicate& __x) : _M_pred(__x) { } constexpr bool operator()(const typename _Predicate::argument_type& __x) const { return !_M_pred(__x); } }; template constexpr inline unary_negate<_Predicate> not1(const _Predicate& __pred) { return unary_negate<_Predicate>(__pred); } template class binary_negate : public binary_function { protected: _Predicate _M_pred; public: constexpr explicit binary_negate(const _Predicate& __x) : _M_pred(__x) { } constexpr bool operator()(const typename _Predicate::first_argument_type& __x, const typename _Predicate::second_argument_type& __y) const { return !_M_pred(__x, __y); } }; template constexpr inline binary_negate<_Predicate> not2(const _Predicate& __pred) { return binary_negate<_Predicate>(__pred); } # 817 "/usr/include/c++/7/bits/stl_function.h" 3 template class pointer_to_unary_function : public unary_function<_Arg, _Result> { protected: _Result (*_M_ptr)(_Arg); public: pointer_to_unary_function() { } explicit pointer_to_unary_function(_Result (*__x)(_Arg)) : _M_ptr(__x) { } _Result operator()(_Arg __x) const { return _M_ptr(__x); } }; template inline pointer_to_unary_function<_Arg, _Result> ptr_fun(_Result (*__x)(_Arg)) { return pointer_to_unary_function<_Arg, _Result>(__x); } template class pointer_to_binary_function : public binary_function<_Arg1, _Arg2, _Result> { protected: _Result (*_M_ptr)(_Arg1, _Arg2); public: pointer_to_binary_function() { } explicit pointer_to_binary_function(_Result (*__x)(_Arg1, _Arg2)) : _M_ptr(__x) { } _Result operator()(_Arg1 __x, _Arg2 __y) const { return _M_ptr(__x, __y); } }; template inline pointer_to_binary_function<_Arg1, _Arg2, _Result> ptr_fun(_Result (*__x)(_Arg1, _Arg2)) { return pointer_to_binary_function<_Arg1, _Arg2, _Result>(__x); } template struct _Identity : public unary_function<_Tp,_Tp> { _Tp& operator()(_Tp& __x) const { return __x; } const _Tp& operator()(const _Tp& __x) const { return __x; } }; template struct _Select1st : public unary_function<_Pair, typename _Pair::first_type> { typename _Pair::first_type& operator()(_Pair& __x) const { return __x.first; } const typename _Pair::first_type& operator()(const _Pair& __x) const { return __x.first; } template typename _Pair2::first_type& operator()(_Pair2& __x) const { return __x.first; } template const typename _Pair2::first_type& operator()(const _Pair2& __x) const { return __x.first; } }; template struct _Select2nd : public unary_function<_Pair, typename _Pair::second_type> { typename _Pair::second_type& operator()(_Pair& __x) const { return __x.second; } const typename _Pair::second_type& operator()(const _Pair& __x) const { return __x.second; } }; # 937 "/usr/include/c++/7/bits/stl_function.h" 3 template class mem_fun_t : public unary_function<_Tp*, _Ret> { public: explicit mem_fun_t(_Ret (_Tp::*__pf)()) : _M_f(__pf) { } _Ret operator()(_Tp* __p) const { return (__p->*_M_f)(); } private: _Ret (_Tp::*_M_f)(); }; template class const_mem_fun_t : public unary_function { public: explicit const_mem_fun_t(_Ret (_Tp::*__pf)() const) : _M_f(__pf) { } _Ret operator()(const _Tp* __p) const { return (__p->*_M_f)(); } private: _Ret (_Tp::*_M_f)() const; }; template class mem_fun_ref_t : public unary_function<_Tp, _Ret> { public: explicit mem_fun_ref_t(_Ret (_Tp::*__pf)()) : _M_f(__pf) { } _Ret operator()(_Tp& __r) const { return (__r.*_M_f)(); } private: _Ret (_Tp::*_M_f)(); }; template class const_mem_fun_ref_t : public unary_function<_Tp, _Ret> { public: explicit const_mem_fun_ref_t(_Ret (_Tp::*__pf)() const) : _M_f(__pf) { } _Ret operator()(const _Tp& __r) const { return (__r.*_M_f)(); } private: _Ret (_Tp::*_M_f)() const; }; template class mem_fun1_t : public binary_function<_Tp*, _Arg, _Ret> { public: explicit mem_fun1_t(_Ret (_Tp::*__pf)(_Arg)) : _M_f(__pf) { } _Ret operator()(_Tp* __p, _Arg __x) const { return (__p->*_M_f)(__x); } private: _Ret (_Tp::*_M_f)(_Arg); }; template class const_mem_fun1_t : public binary_function { public: explicit const_mem_fun1_t(_Ret (_Tp::*__pf)(_Arg) const) : _M_f(__pf) { } _Ret operator()(const _Tp* __p, _Arg __x) const { return (__p->*_M_f)(__x); } private: _Ret (_Tp::*_M_f)(_Arg) const; }; template class mem_fun1_ref_t : public binary_function<_Tp, _Arg, _Ret> { public: explicit mem_fun1_ref_t(_Ret (_Tp::*__pf)(_Arg)) : _M_f(__pf) { } _Ret operator()(_Tp& __r, _Arg __x) const { return (__r.*_M_f)(__x); } private: _Ret (_Tp::*_M_f)(_Arg); }; template class const_mem_fun1_ref_t : public binary_function<_Tp, _Arg, _Ret> { public: explicit const_mem_fun1_ref_t(_Ret (_Tp::*__pf)(_Arg) const) : _M_f(__pf) { } _Ret operator()(const _Tp& __r, _Arg __x) const { return (__r.*_M_f)(__x); } private: _Ret (_Tp::*_M_f)(_Arg) const; }; template inline mem_fun_t<_Ret, _Tp> mem_fun(_Ret (_Tp::*__f)()) { return mem_fun_t<_Ret, _Tp>(__f); } template inline const_mem_fun_t<_Ret, _Tp> mem_fun(_Ret (_Tp::*__f)() const) { return const_mem_fun_t<_Ret, _Tp>(__f); } template inline mem_fun_ref_t<_Ret, _Tp> mem_fun_ref(_Ret (_Tp::*__f)()) { return mem_fun_ref_t<_Ret, _Tp>(__f); } template inline const_mem_fun_ref_t<_Ret, _Tp> mem_fun_ref(_Ret (_Tp::*__f)() const) { return const_mem_fun_ref_t<_Ret, _Tp>(__f); } template inline mem_fun1_t<_Ret, _Tp, _Arg> mem_fun(_Ret (_Tp::*__f)(_Arg)) { return mem_fun1_t<_Ret, _Tp, _Arg>(__f); } template inline const_mem_fun1_t<_Ret, _Tp, _Arg> mem_fun(_Ret (_Tp::*__f)(_Arg) const) { return const_mem_fun1_t<_Ret, _Tp, _Arg>(__f); } template inline mem_fun1_ref_t<_Ret, _Tp, _Arg> mem_fun_ref(_Ret (_Tp::*__f)(_Arg)) { return mem_fun1_ref_t<_Ret, _Tp, _Arg>(__f); } template inline const_mem_fun1_ref_t<_Ret, _Tp, _Arg> mem_fun_ref(_Ret (_Tp::*__f)(_Arg) const) { return const_mem_fun1_ref_t<_Ret, _Tp, _Arg>(__f); } } # 1 "/usr/include/c++/7/backward/binders.h" 1 3 # 60 "/usr/include/c++/7/backward/binders.h" 3 #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wdeprecated-declarations" namespace std __attribute__ ((__visibility__ ("default"))) { # 107 "/usr/include/c++/7/backward/binders.h" 3 template class binder1st : public unary_function { protected: _Operation op; typename _Operation::first_argument_type value; public: binder1st(const _Operation& __x, const typename _Operation::first_argument_type& __y) : op(__x), value(__y) { } typename _Operation::result_type operator()(const typename _Operation::second_argument_type& __x) const { return op(value, __x); } typename _Operation::result_type operator()(typename _Operation::second_argument_type& __x) const { return op(value, __x); } } __attribute__ ((__deprecated__)); template inline binder1st<_Operation> bind1st(const _Operation& __fn, const _Tp& __x) { typedef typename _Operation::first_argument_type _Arg1_type; return binder1st<_Operation>(__fn, _Arg1_type(__x)); } template class binder2nd : public unary_function { protected: _Operation op; typename _Operation::second_argument_type value; public: binder2nd(const _Operation& __x, const typename _Operation::second_argument_type& __y) : op(__x), value(__y) { } typename _Operation::result_type operator()(const typename _Operation::first_argument_type& __x) const { return op(__x, value); } typename _Operation::result_type operator()(typename _Operation::first_argument_type& __x) const { return op(__x, value); } } __attribute__ ((__deprecated__)); template inline binder2nd<_Operation> bind2nd(const _Operation& __fn, const _Tp& __x) { typedef typename _Operation::second_argument_type _Arg2_type; return binder2nd<_Operation>(__fn, _Arg2_type(__x)); } } #pragma GCC diagnostic pop # 1128 "/usr/include/c++/7/bits/stl_function.h" 2 3 # 66 "/usr/include/c++/7/bits/stl_tree.h" 2 3 # 1 "/usr/include/c++/7/ext/alloc_traits.h" 1 3 # 32 "/usr/include/c++/7/ext/alloc_traits.h" 3 # 33 "/usr/include/c++/7/ext/alloc_traits.h" 3 # 1 "/usr/include/c++/7/bits/alloc_traits.h" 1 3 # 41 "/usr/include/c++/7/bits/alloc_traits.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { struct __allocator_traits_base { template struct __rebind : __replace_first_arg<_Tp, _Up> { }; template struct __rebind<_Tp, _Up, __void_t::other>> { using type = typename _Tp::template rebind<_Up>::other; }; protected: template using __pointer = typename _Tp::pointer; template using __c_pointer = typename _Tp::const_pointer; template using __v_pointer = typename _Tp::void_pointer; template using __cv_pointer = typename _Tp::const_void_pointer; template using __pocca = typename _Tp::propagate_on_container_copy_assignment; template using __pocma = typename _Tp::propagate_on_container_move_assignment; template using __pocs = typename _Tp::propagate_on_container_swap; template using __equal = typename _Tp::is_always_equal; }; template using __alloc_rebind = typename __allocator_traits_base::template __rebind<_Alloc, _Up>::type; template struct allocator_traits : __allocator_traits_base { typedef _Alloc allocator_type; typedef typename _Alloc::value_type value_type; using pointer = __detected_or_t; private: template class _Func, typename _Tp, typename = void> struct _Ptr { using type = typename pointer_traits::template rebind<_Tp>; }; template class _Func, typename _Tp> struct _Ptr<_Func, _Tp, __void_t<_Func<_Alloc>>> { using type = _Func<_Alloc>; }; template struct _Diff { using type = typename pointer_traits<_PtrT>::difference_type; }; template struct _Diff<_A2, _PtrT, __void_t> { using type = typename _A2::difference_type; }; template struct _Size : make_unsigned<_DiffT> { }; template struct _Size<_A2, _DiffT, __void_t> { using type = typename _A2::size_type; }; public: using const_pointer = typename _Ptr<__c_pointer, const value_type>::type; using void_pointer = typename _Ptr<__v_pointer, void>::type; using const_void_pointer = typename _Ptr<__cv_pointer, const void>::type; using difference_type = typename _Diff<_Alloc, pointer>::type; using size_type = typename _Size<_Alloc, difference_type>::type; using propagate_on_container_copy_assignment = __detected_or_t; using propagate_on_container_move_assignment = __detected_or_t; using propagate_on_container_swap = __detected_or_t; using is_always_equal = __detected_or_t::type, __equal, _Alloc>; template using rebind_alloc = __alloc_rebind<_Alloc, _Tp>; template using rebind_traits = allocator_traits>; private: template static auto _S_allocate(_Alloc2& __a, size_type __n, const_void_pointer __hint, int) -> decltype(__a.allocate(__n, __hint)) { return __a.allocate(__n, __hint); } template static pointer _S_allocate(_Alloc2& __a, size_type __n, const_void_pointer, ...) { return __a.allocate(__n); } template struct __construct_helper { template()->construct( std::declval<_Tp*>(), std::declval<_Args>()...))> static true_type __test(int); template static false_type __test(...); using type = decltype(__test<_Alloc>(0)); }; template using __has_construct = typename __construct_helper<_Tp, _Args...>::type; template static _Require<__has_construct<_Tp, _Args...>> _S_construct(_Alloc& __a, _Tp* __p, _Args&&... __args) { __a.construct(__p, std::forward<_Args>(__args)...); } template static _Require<__and_<__not_<__has_construct<_Tp, _Args...>>, is_constructible<_Tp, _Args...>>> _S_construct(_Alloc&, _Tp* __p, _Args&&... __args) { ::new((void*)__p) _Tp(std::forward<_Args>(__args)...); } template static auto _S_destroy(_Alloc2& __a, _Tp* __p, int) -> decltype(__a.destroy(__p)) { __a.destroy(__p); } template static void _S_destroy(_Alloc2&, _Tp* __p, ...) { __p->~_Tp(); } template static auto _S_max_size(_Alloc2& __a, int) -> decltype(__a.max_size()) { return __a.max_size(); } template static size_type _S_max_size(_Alloc2&, ...) { return __gnu_cxx::__numeric_traits::__max / sizeof(value_type); } template static auto _S_select(_Alloc2& __a, int) -> decltype(__a.select_on_container_copy_construction()) { return __a.select_on_container_copy_construction(); } template static _Alloc2 _S_select(_Alloc2& __a, ...) { return __a; } public: # 299 "/usr/include/c++/7/bits/alloc_traits.h" 3 static pointer allocate(_Alloc& __a, size_type __n) { return __a.allocate(__n); } # 314 "/usr/include/c++/7/bits/alloc_traits.h" 3 static pointer allocate(_Alloc& __a, size_type __n, const_void_pointer __hint) { return _S_allocate(__a, __n, __hint, 0); } # 326 "/usr/include/c++/7/bits/alloc_traits.h" 3 static void deallocate(_Alloc& __a, pointer __p, size_type __n) { __a.deallocate(__p, __n); } # 341 "/usr/include/c++/7/bits/alloc_traits.h" 3 template static auto construct(_Alloc& __a, _Tp* __p, _Args&&... __args) -> decltype(_S_construct(__a, __p, std::forward<_Args>(__args)...)) { _S_construct(__a, __p, std::forward<_Args>(__args)...); } # 354 "/usr/include/c++/7/bits/alloc_traits.h" 3 template static void destroy(_Alloc& __a, _Tp* __p) { _S_destroy(__a, __p, 0); } # 366 "/usr/include/c++/7/bits/alloc_traits.h" 3 static size_type max_size(const _Alloc& __a) noexcept { return _S_max_size(__a, 0); } # 377 "/usr/include/c++/7/bits/alloc_traits.h" 3 static _Alloc select_on_container_copy_construction(const _Alloc& __rhs) { return _S_select(__rhs, 0); } }; template struct allocator_traits> { using allocator_type = allocator<_Tp>; using value_type = _Tp; using pointer = _Tp*; using const_pointer = const _Tp*; using void_pointer = void*; using const_void_pointer = const void*; using difference_type = std::ptrdiff_t; using size_type = std::size_t; using propagate_on_container_copy_assignment = false_type; using propagate_on_container_move_assignment = true_type; using propagate_on_container_swap = false_type; using is_always_equal = true_type; template using rebind_alloc = allocator<_Up>; template using rebind_traits = allocator_traits>; # 434 "/usr/include/c++/7/bits/alloc_traits.h" 3 static pointer allocate(allocator_type& __a, size_type __n) { return __a.allocate(__n); } # 448 "/usr/include/c++/7/bits/alloc_traits.h" 3 static pointer allocate(allocator_type& __a, size_type __n, const_void_pointer __hint) { return __a.allocate(__n, __hint); } # 460 "/usr/include/c++/7/bits/alloc_traits.h" 3 static void deallocate(allocator_type& __a, pointer __p, size_type __n) { __a.deallocate(__p, __n); } # 472 "/usr/include/c++/7/bits/alloc_traits.h" 3 template static void construct(allocator_type& __a, _Up* __p, _Args&&... __args) { __a.construct(__p, std::forward<_Args>(__args)...); } # 484 "/usr/include/c++/7/bits/alloc_traits.h" 3 template static void destroy(allocator_type& __a, _Up* __p) { __a.destroy(__p); } static size_type max_size(const allocator_type& __a) noexcept { return __a.max_size(); } static allocator_type select_on_container_copy_construction(const allocator_type& __rhs) { return __rhs; } }; template inline void __do_alloc_on_copy(_Alloc& __one, const _Alloc& __two, true_type) { __one = __two; } template inline void __do_alloc_on_copy(_Alloc&, const _Alloc&, false_type) { } template inline void __alloc_on_copy(_Alloc& __one, const _Alloc& __two) { typedef allocator_traits<_Alloc> __traits; typedef typename __traits::propagate_on_container_copy_assignment __pocca; __do_alloc_on_copy(__one, __two, __pocca()); } template inline _Alloc __alloc_on_copy(const _Alloc& __a) { typedef allocator_traits<_Alloc> __traits; return __traits::select_on_container_copy_construction(__a); } template inline void __do_alloc_on_move(_Alloc& __one, _Alloc& __two, true_type) { __one = std::move(__two); } template inline void __do_alloc_on_move(_Alloc&, _Alloc&, false_type) { } template inline void __alloc_on_move(_Alloc& __one, _Alloc& __two) { typedef allocator_traits<_Alloc> __traits; typedef typename __traits::propagate_on_container_move_assignment __pocma; __do_alloc_on_move(__one, __two, __pocma()); } template inline void __do_alloc_on_swap(_Alloc& __one, _Alloc& __two, true_type) { using std::swap; swap(__one, __two); } template inline void __do_alloc_on_swap(_Alloc&, _Alloc&, false_type) { } template inline void __alloc_on_swap(_Alloc& __one, _Alloc& __two) { typedef allocator_traits<_Alloc> __traits; typedef typename __traits::propagate_on_container_swap __pocs; __do_alloc_on_swap(__one, __two, __pocs()); } template class __is_copy_insertable_impl { typedef allocator_traits<_Alloc> _Traits; template(), std::declval<_Up*>(), std::declval()))> static true_type _M_select(int); template static false_type _M_select(...); public: typedef decltype(_M_select(0)) type; }; template struct __is_copy_insertable : __is_copy_insertable_impl<_Alloc>::type { }; template struct __is_copy_insertable> : is_copy_constructible<_Tp> { }; } # 37 "/usr/include/c++/7/ext/alloc_traits.h" 2 3 namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) { template struct __alloc_traits : std::allocator_traits<_Alloc> { typedef _Alloc allocator_type; typedef std::allocator_traits<_Alloc> _Base_type; typedef typename _Base_type::value_type value_type; typedef typename _Base_type::pointer pointer; typedef typename _Base_type::const_pointer const_pointer; typedef typename _Base_type::size_type size_type; typedef typename _Base_type::difference_type difference_type; typedef value_type& reference; typedef const value_type& const_reference; using _Base_type::allocate; using _Base_type::deallocate; using _Base_type::construct; using _Base_type::destroy; using _Base_type::max_size; private: template using __is_custom_pointer = std::__and_, std::__not_>>; public: template static typename std::enable_if<__is_custom_pointer<_Ptr>::value>::type construct(_Alloc& __a, _Ptr __p, _Args&&... __args) { _Base_type::construct(__a, std::addressof(*__p), std::forward<_Args>(__args)...); } template static typename std::enable_if<__is_custom_pointer<_Ptr>::value>::type destroy(_Alloc& __a, _Ptr __p) { _Base_type::destroy(__a, std::addressof(*__p)); } static _Alloc _S_select_on_copy(const _Alloc& __a) { return _Base_type::select_on_container_copy_construction(__a); } static void _S_on_swap(_Alloc& __a, _Alloc& __b) { std::__alloc_on_swap(__a, __b); } static constexpr bool _S_propagate_on_copy_assign() { return _Base_type::propagate_on_container_copy_assignment::value; } static constexpr bool _S_propagate_on_move_assign() { return _Base_type::propagate_on_container_move_assignment::value; } static constexpr bool _S_propagate_on_swap() { return _Base_type::propagate_on_container_swap::value; } static constexpr bool _S_always_equal() { return _Base_type::is_always_equal::value; } static constexpr bool _S_nothrow_move() { return _S_propagate_on_move_assign() || _S_always_equal(); } template struct rebind { typedef typename _Base_type::template rebind_alloc<_Tp> other; }; # 158 "/usr/include/c++/7/ext/alloc_traits.h" 3 }; } # 68 "/usr/include/c++/7/bits/stl_tree.h" 2 3 # 1 "/usr/include/c++/7/ext/aligned_buffer.h" 1 3 # 32 "/usr/include/c++/7/ext/aligned_buffer.h" 3 # 33 "/usr/include/c++/7/ext/aligned_buffer.h" 3 namespace __gnu_cxx { template struct __aligned_membuf { struct _Tp2 { _Tp _M_t; }; alignas(__alignof__(_Tp2::_M_t)) unsigned char _M_storage[sizeof(_Tp)]; __aligned_membuf() = default; __aligned_membuf(std::nullptr_t) { } void* _M_addr() noexcept { return static_cast(&_M_storage); } const void* _M_addr() const noexcept { return static_cast(&_M_storage); } _Tp* _M_ptr() noexcept { return static_cast<_Tp*>(_M_addr()); } const _Tp* _M_ptr() const noexcept { return static_cast(_M_addr()); } }; template struct __aligned_buffer : std::aligned_storage::value> { typename std::aligned_storage::value>::type _M_storage; __aligned_buffer() = default; __aligned_buffer(std::nullptr_t) { } void* _M_addr() noexcept { return static_cast(&_M_storage); } const void* _M_addr() const noexcept { return static_cast(&_M_storage); } _Tp* _M_ptr() noexcept { return static_cast<_Tp*>(_M_addr()); } const _Tp* _M_ptr() const noexcept { return static_cast(_M_addr()); } }; } # 70 "/usr/include/c++/7/bits/stl_tree.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 99 "/usr/include/c++/7/bits/stl_tree.h" 3 enum _Rb_tree_color { _S_red = false, _S_black = true }; struct _Rb_tree_node_base { typedef _Rb_tree_node_base* _Base_ptr; typedef const _Rb_tree_node_base* _Const_Base_ptr; _Rb_tree_color _M_color; _Base_ptr _M_parent; _Base_ptr _M_left; _Base_ptr _M_right; static _Base_ptr _S_minimum(_Base_ptr __x) noexcept { while (__x->_M_left != 0) __x = __x->_M_left; return __x; } static _Const_Base_ptr _S_minimum(_Const_Base_ptr __x) noexcept { while (__x->_M_left != 0) __x = __x->_M_left; return __x; } static _Base_ptr _S_maximum(_Base_ptr __x) noexcept { while (__x->_M_right != 0) __x = __x->_M_right; return __x; } static _Const_Base_ptr _S_maximum(_Const_Base_ptr __x) noexcept { while (__x->_M_right != 0) __x = __x->_M_right; return __x; } }; template struct _Rb_tree_key_compare { _Key_compare _M_key_compare; _Rb_tree_key_compare() noexcept(is_nothrow_default_constructible<_Key_compare>::value) : _M_key_compare() { } _Rb_tree_key_compare(const _Key_compare& __comp) : _M_key_compare(__comp) { } _Rb_tree_key_compare(const _Rb_tree_key_compare&) = default; _Rb_tree_key_compare(_Rb_tree_key_compare&& __x) noexcept(is_nothrow_copy_constructible<_Key_compare>::value) : _M_key_compare(__x._M_key_compare) { } }; struct _Rb_tree_header { _Rb_tree_node_base _M_header; size_t _M_node_count; _Rb_tree_header() noexcept { _M_header._M_color = _S_red; _M_reset(); } _Rb_tree_header(_Rb_tree_header&& __x) noexcept { if (__x._M_header._M_parent != nullptr) _M_move_data(__x); else { _M_header._M_color = _S_red; _M_reset(); } } void _M_move_data(_Rb_tree_header& __from) { _M_header._M_color = __from._M_header._M_color; _M_header._M_parent = __from._M_header._M_parent; _M_header._M_left = __from._M_header._M_left; _M_header._M_right = __from._M_header._M_right; _M_header._M_parent->_M_parent = &_M_header; _M_node_count = __from._M_node_count; __from._M_reset(); } void _M_reset() { _M_header._M_parent = 0; _M_header._M_left = &_M_header; _M_header._M_right = &_M_header; _M_node_count = 0; } }; template struct _Rb_tree_node : public _Rb_tree_node_base { typedef _Rb_tree_node<_Val>* _Link_type; # 231 "/usr/include/c++/7/bits/stl_tree.h" 3 __gnu_cxx::__aligned_membuf<_Val> _M_storage; _Val* _M_valptr() { return _M_storage._M_ptr(); } const _Val* _M_valptr() const { return _M_storage._M_ptr(); } }; __attribute__ ((__pure__)) _Rb_tree_node_base* _Rb_tree_increment(_Rb_tree_node_base* __x) throw (); __attribute__ ((__pure__)) const _Rb_tree_node_base* _Rb_tree_increment(const _Rb_tree_node_base* __x) throw (); __attribute__ ((__pure__)) _Rb_tree_node_base* _Rb_tree_decrement(_Rb_tree_node_base* __x) throw (); __attribute__ ((__pure__)) const _Rb_tree_node_base* _Rb_tree_decrement(const _Rb_tree_node_base* __x) throw (); template struct _Rb_tree_iterator { typedef _Tp value_type; typedef _Tp& reference; typedef _Tp* pointer; typedef bidirectional_iterator_tag iterator_category; typedef ptrdiff_t difference_type; typedef _Rb_tree_iterator<_Tp> _Self; typedef _Rb_tree_node_base::_Base_ptr _Base_ptr; typedef _Rb_tree_node<_Tp>* _Link_type; _Rb_tree_iterator() noexcept : _M_node() { } explicit _Rb_tree_iterator(_Base_ptr __x) noexcept : _M_node(__x) { } reference operator*() const noexcept { return *static_cast<_Link_type>(_M_node)->_M_valptr(); } pointer operator->() const noexcept { return static_cast<_Link_type> (_M_node)->_M_valptr(); } _Self& operator++() noexcept { _M_node = _Rb_tree_increment(_M_node); return *this; } _Self operator++(int) noexcept { _Self __tmp = *this; _M_node = _Rb_tree_increment(_M_node); return __tmp; } _Self& operator--() noexcept { _M_node = _Rb_tree_decrement(_M_node); return *this; } _Self operator--(int) noexcept { _Self __tmp = *this; _M_node = _Rb_tree_decrement(_M_node); return __tmp; } bool operator==(const _Self& __x) const noexcept { return _M_node == __x._M_node; } bool operator!=(const _Self& __x) const noexcept { return _M_node != __x._M_node; } _Base_ptr _M_node; }; template struct _Rb_tree_const_iterator { typedef _Tp value_type; typedef const _Tp& reference; typedef const _Tp* pointer; typedef _Rb_tree_iterator<_Tp> iterator; typedef bidirectional_iterator_tag iterator_category; typedef ptrdiff_t difference_type; typedef _Rb_tree_const_iterator<_Tp> _Self; typedef _Rb_tree_node_base::_Const_Base_ptr _Base_ptr; typedef const _Rb_tree_node<_Tp>* _Link_type; _Rb_tree_const_iterator() noexcept : _M_node() { } explicit _Rb_tree_const_iterator(_Base_ptr __x) noexcept : _M_node(__x) { } _Rb_tree_const_iterator(const iterator& __it) noexcept : _M_node(__it._M_node) { } iterator _M_const_cast() const noexcept { return iterator(const_cast(_M_node)); } reference operator*() const noexcept { return *static_cast<_Link_type>(_M_node)->_M_valptr(); } pointer operator->() const noexcept { return static_cast<_Link_type>(_M_node)->_M_valptr(); } _Self& operator++() noexcept { _M_node = _Rb_tree_increment(_M_node); return *this; } _Self operator++(int) noexcept { _Self __tmp = *this; _M_node = _Rb_tree_increment(_M_node); return __tmp; } _Self& operator--() noexcept { _M_node = _Rb_tree_decrement(_M_node); return *this; } _Self operator--(int) noexcept { _Self __tmp = *this; _M_node = _Rb_tree_decrement(_M_node); return __tmp; } bool operator==(const _Self& __x) const noexcept { return _M_node == __x._M_node; } bool operator!=(const _Self& __x) const noexcept { return _M_node != __x._M_node; } _Base_ptr _M_node; }; template inline bool operator==(const _Rb_tree_iterator<_Val>& __x, const _Rb_tree_const_iterator<_Val>& __y) noexcept { return __x._M_node == __y._M_node; } template inline bool operator!=(const _Rb_tree_iterator<_Val>& __x, const _Rb_tree_const_iterator<_Val>& __y) noexcept { return __x._M_node != __y._M_node; } void _Rb_tree_insert_and_rebalance(const bool __insert_left, _Rb_tree_node_base* __x, _Rb_tree_node_base* __p, _Rb_tree_node_base& __header) throw (); _Rb_tree_node_base* _Rb_tree_rebalance_for_erase(_Rb_tree_node_base* const __z, _Rb_tree_node_base& __header) throw (); template> struct __has_is_transparent { }; template struct __has_is_transparent<_Cmp, _SfinaeType, __void_t> { typedef void type; }; template > class _Rb_tree { typedef typename __gnu_cxx::__alloc_traits<_Alloc>::template rebind<_Rb_tree_node<_Val> >::other _Node_allocator; typedef __gnu_cxx::__alloc_traits<_Node_allocator> _Alloc_traits; protected: typedef _Rb_tree_node_base* _Base_ptr; typedef const _Rb_tree_node_base* _Const_Base_ptr; typedef _Rb_tree_node<_Val>* _Link_type; typedef const _Rb_tree_node<_Val>* _Const_Link_type; private: struct _Reuse_or_alloc_node { _Reuse_or_alloc_node(_Rb_tree& __t) : _M_root(__t._M_root()), _M_nodes(__t._M_rightmost()), _M_t(__t) { if (_M_root) { _M_root->_M_parent = 0; if (_M_nodes->_M_left) _M_nodes = _M_nodes->_M_left; } else _M_nodes = 0; } _Reuse_or_alloc_node(const _Reuse_or_alloc_node&) = delete; ~_Reuse_or_alloc_node() { _M_t._M_erase(static_cast<_Link_type>(_M_root)); } template _Link_type operator()(_Arg&& __arg) { _Link_type __node = static_cast<_Link_type>(_M_extract()); if (__node) { _M_t._M_destroy_node(__node); _M_t._M_construct_node(__node, std::forward<_Arg>(__arg)); return __node; } return _M_t._M_create_node(std::forward<_Arg>(__arg)); } private: _Base_ptr _M_extract() { if (!_M_nodes) return _M_nodes; _Base_ptr __node = _M_nodes; _M_nodes = _M_nodes->_M_parent; if (_M_nodes) { if (_M_nodes->_M_right == __node) { _M_nodes->_M_right = 0; if (_M_nodes->_M_left) { _M_nodes = _M_nodes->_M_left; while (_M_nodes->_M_right) _M_nodes = _M_nodes->_M_right; if (_M_nodes->_M_left) _M_nodes = _M_nodes->_M_left; } } else _M_nodes->_M_left = 0; } else _M_root = 0; return __node; } _Base_ptr _M_root; _Base_ptr _M_nodes; _Rb_tree& _M_t; }; struct _Alloc_node { _Alloc_node(_Rb_tree& __t) : _M_t(__t) { } template _Link_type operator()(_Arg&& __arg) const { return _M_t._M_create_node(std::forward<_Arg>(__arg)); } private: _Rb_tree& _M_t; }; public: typedef _Key key_type; typedef _Val value_type; typedef value_type* pointer; typedef const value_type* const_pointer; typedef value_type& reference; typedef const value_type& const_reference; typedef size_t size_type; typedef ptrdiff_t difference_type; typedef _Alloc allocator_type; _Node_allocator& _M_get_Node_allocator() noexcept { return *static_cast<_Node_allocator*>(&this->_M_impl); } const _Node_allocator& _M_get_Node_allocator() const noexcept { return *static_cast(&this->_M_impl); } allocator_type get_allocator() const noexcept { return allocator_type(_M_get_Node_allocator()); } protected: _Link_type _M_get_node() { return _Alloc_traits::allocate(_M_get_Node_allocator(), 1); } void _M_put_node(_Link_type __p) noexcept { _Alloc_traits::deallocate(_M_get_Node_allocator(), __p, 1); } # 619 "/usr/include/c++/7/bits/stl_tree.h" 3 template void _M_construct_node(_Link_type __node, _Args&&... __args) { try { ::new(__node) _Rb_tree_node<_Val>; _Alloc_traits::construct(_M_get_Node_allocator(), __node->_M_valptr(), std::forward<_Args>(__args)...); } catch(...) { __node->~_Rb_tree_node<_Val>(); _M_put_node(__node); throw; } } template _Link_type _M_create_node(_Args&&... __args) { _Link_type __tmp = _M_get_node(); _M_construct_node(__tmp, std::forward<_Args>(__args)...); return __tmp; } void _M_destroy_node(_Link_type __p) noexcept { _Alloc_traits::destroy(_M_get_Node_allocator(), __p->_M_valptr()); __p->~_Rb_tree_node<_Val>(); } void _M_drop_node(_Link_type __p) noexcept { _M_destroy_node(__p); _M_put_node(__p); } template _Link_type _M_clone_node(_Const_Link_type __x, _NodeGen& __node_gen) { _Link_type __tmp = __node_gen(*__x->_M_valptr()); __tmp->_M_color = __x->_M_color; __tmp->_M_left = 0; __tmp->_M_right = 0; return __tmp; } protected: template struct _Rb_tree_impl : public _Node_allocator , public _Rb_tree_key_compare<_Key_compare> , public _Rb_tree_header { typedef _Rb_tree_key_compare<_Key_compare> _Base_key_compare; _Rb_tree_impl() = default; _Rb_tree_impl(_Rb_tree_impl&&) = default; _Rb_tree_impl(const _Rb_tree_impl& __x) : _Node_allocator(_Alloc_traits::_S_select_on_copy(__x)) , _Base_key_compare(__x._M_key_compare) { } _Rb_tree_impl(const _Key_compare& __comp, _Node_allocator&& __a) : _Node_allocator(std::move(__a)), _Base_key_compare(__comp) { } }; _Rb_tree_impl<_Compare> _M_impl; protected: _Base_ptr& _M_root() noexcept { return this->_M_impl._M_header._M_parent; } _Const_Base_ptr _M_root() const noexcept { return this->_M_impl._M_header._M_parent; } _Base_ptr& _M_leftmost() noexcept { return this->_M_impl._M_header._M_left; } _Const_Base_ptr _M_leftmost() const noexcept { return this->_M_impl._M_header._M_left; } _Base_ptr& _M_rightmost() noexcept { return this->_M_impl._M_header._M_right; } _Const_Base_ptr _M_rightmost() const noexcept { return this->_M_impl._M_header._M_right; } _Link_type _M_begin() noexcept { return static_cast<_Link_type>(this->_M_impl._M_header._M_parent); } _Const_Link_type _M_begin() const noexcept { return static_cast<_Const_Link_type> (this->_M_impl._M_header._M_parent); } _Base_ptr _M_end() noexcept { return &this->_M_impl._M_header; } _Const_Base_ptr _M_end() const noexcept { return &this->_M_impl._M_header; } static const_reference _S_value(_Const_Link_type __x) { return *__x->_M_valptr(); } static const _Key& _S_key(_Const_Link_type __x) { return _KeyOfValue()(_S_value(__x)); } static _Link_type _S_left(_Base_ptr __x) noexcept { return static_cast<_Link_type>(__x->_M_left); } static _Const_Link_type _S_left(_Const_Base_ptr __x) noexcept { return static_cast<_Const_Link_type>(__x->_M_left); } static _Link_type _S_right(_Base_ptr __x) noexcept { return static_cast<_Link_type>(__x->_M_right); } static _Const_Link_type _S_right(_Const_Base_ptr __x) noexcept { return static_cast<_Const_Link_type>(__x->_M_right); } static const_reference _S_value(_Const_Base_ptr __x) { return *static_cast<_Const_Link_type>(__x)->_M_valptr(); } static const _Key& _S_key(_Const_Base_ptr __x) { return _KeyOfValue()(_S_value(__x)); } static _Base_ptr _S_minimum(_Base_ptr __x) noexcept { return _Rb_tree_node_base::_S_minimum(__x); } static _Const_Base_ptr _S_minimum(_Const_Base_ptr __x) noexcept { return _Rb_tree_node_base::_S_minimum(__x); } static _Base_ptr _S_maximum(_Base_ptr __x) noexcept { return _Rb_tree_node_base::_S_maximum(__x); } static _Const_Base_ptr _S_maximum(_Const_Base_ptr __x) noexcept { return _Rb_tree_node_base::_S_maximum(__x); } public: typedef _Rb_tree_iterator iterator; typedef _Rb_tree_const_iterator const_iterator; typedef std::reverse_iterator reverse_iterator; typedef std::reverse_iterator const_reverse_iterator; # 816 "/usr/include/c++/7/bits/stl_tree.h" 3 pair<_Base_ptr, _Base_ptr> _M_get_insert_unique_pos(const key_type& __k); pair<_Base_ptr, _Base_ptr> _M_get_insert_equal_pos(const key_type& __k); pair<_Base_ptr, _Base_ptr> _M_get_insert_hint_unique_pos(const_iterator __pos, const key_type& __k); pair<_Base_ptr, _Base_ptr> _M_get_insert_hint_equal_pos(const_iterator __pos, const key_type& __k); private: template iterator _M_insert_(_Base_ptr __x, _Base_ptr __y, _Arg&& __v, _NodeGen&); iterator _M_insert_node(_Base_ptr __x, _Base_ptr __y, _Link_type __z); template iterator _M_insert_lower(_Base_ptr __y, _Arg&& __v); template iterator _M_insert_equal_lower(_Arg&& __x); iterator _M_insert_lower_node(_Base_ptr __p, _Link_type __z); iterator _M_insert_equal_lower_node(_Link_type __z); # 867 "/usr/include/c++/7/bits/stl_tree.h" 3 template _Link_type _M_copy(_Const_Link_type __x, _Base_ptr __p, _NodeGen&); template _Link_type _M_copy(const _Rb_tree& __x, _NodeGen& __gen) { _Link_type __root = _M_copy(__x._M_begin(), _M_end(), __gen); _M_leftmost() = _S_minimum(__root); _M_rightmost() = _S_maximum(__root); _M_impl._M_node_count = __x._M_impl._M_node_count; return __root; } _Link_type _M_copy(const _Rb_tree& __x) { _Alloc_node __an(*this); return _M_copy(__x, __an); } void _M_erase(_Link_type __x); iterator _M_lower_bound(_Link_type __x, _Base_ptr __y, const _Key& __k); const_iterator _M_lower_bound(_Const_Link_type __x, _Const_Base_ptr __y, const _Key& __k) const; iterator _M_upper_bound(_Link_type __x, _Base_ptr __y, const _Key& __k); const_iterator _M_upper_bound(_Const_Link_type __x, _Const_Base_ptr __y, const _Key& __k) const; public: _Rb_tree() = default; _Rb_tree(const _Compare& __comp, const allocator_type& __a = allocator_type()) : _M_impl(__comp, _Node_allocator(__a)) { } _Rb_tree(const _Rb_tree& __x) : _M_impl(__x._M_impl) { if (__x._M_root() != 0) _M_root() = _M_copy(__x); } _Rb_tree(const allocator_type& __a) : _M_impl(_Compare(), _Node_allocator(__a)) { } _Rb_tree(const _Rb_tree& __x, const allocator_type& __a) : _M_impl(__x._M_impl._M_key_compare, _Node_allocator(__a)) { if (__x._M_root() != nullptr) _M_root() = _M_copy(__x); } _Rb_tree(_Rb_tree&&) = default; _Rb_tree(_Rb_tree&& __x, const allocator_type& __a) : _Rb_tree(std::move(__x), _Node_allocator(__a)) { } _Rb_tree(_Rb_tree&& __x, _Node_allocator&& __a); ~_Rb_tree() noexcept { _M_erase(_M_begin()); } _Rb_tree& operator=(const _Rb_tree& __x); _Compare key_comp() const { return _M_impl._M_key_compare; } iterator begin() noexcept { return iterator(this->_M_impl._M_header._M_left); } const_iterator begin() const noexcept { return const_iterator(this->_M_impl._M_header._M_left); } iterator end() noexcept { return iterator(&this->_M_impl._M_header); } const_iterator end() const noexcept { return const_iterator(&this->_M_impl._M_header); } reverse_iterator rbegin() noexcept { return reverse_iterator(end()); } const_reverse_iterator rbegin() const noexcept { return const_reverse_iterator(end()); } reverse_iterator rend() noexcept { return reverse_iterator(begin()); } const_reverse_iterator rend() const noexcept { return const_reverse_iterator(begin()); } bool empty() const noexcept { return _M_impl._M_node_count == 0; } size_type size() const noexcept { return _M_impl._M_node_count; } size_type max_size() const noexcept { return _Alloc_traits::max_size(_M_get_Node_allocator()); } void swap(_Rb_tree& __t) noexcept(__is_nothrow_swappable<_Compare>::value); template pair _M_insert_unique(_Arg&& __x); template iterator _M_insert_equal(_Arg&& __x); template iterator _M_insert_unique_(const_iterator __pos, _Arg&& __x, _NodeGen&); template iterator _M_insert_unique_(const_iterator __pos, _Arg&& __x) { _Alloc_node __an(*this); return _M_insert_unique_(__pos, std::forward<_Arg>(__x), __an); } template iterator _M_insert_equal_(const_iterator __pos, _Arg&& __x, _NodeGen&); template iterator _M_insert_equal_(const_iterator __pos, _Arg&& __x) { _Alloc_node __an(*this); return _M_insert_equal_(__pos, std::forward<_Arg>(__x), __an); } template pair _M_emplace_unique(_Args&&... __args); template iterator _M_emplace_equal(_Args&&... __args); template iterator _M_emplace_hint_unique(const_iterator __pos, _Args&&... __args); template iterator _M_emplace_hint_equal(const_iterator __pos, _Args&&... __args); # 1087 "/usr/include/c++/7/bits/stl_tree.h" 3 template void _M_insert_unique(_InputIterator __first, _InputIterator __last); template void _M_insert_equal(_InputIterator __first, _InputIterator __last); private: void _M_erase_aux(const_iterator __position); void _M_erase_aux(const_iterator __first, const_iterator __last); public: __attribute ((__abi_tag__ ("cxx11"))) iterator erase(const_iterator __position) { ; const_iterator __result = __position; ++__result; _M_erase_aux(__position); return __result._M_const_cast(); } __attribute ((__abi_tag__ ("cxx11"))) iterator erase(iterator __position) { ; iterator __result = __position; ++__result; _M_erase_aux(__position); return __result; } # 1143 "/usr/include/c++/7/bits/stl_tree.h" 3 size_type erase(const key_type& __x); __attribute ((__abi_tag__ ("cxx11"))) iterator erase(const_iterator __first, const_iterator __last) { _M_erase_aux(__first, __last); return __last._M_const_cast(); } # 1165 "/usr/include/c++/7/bits/stl_tree.h" 3 void erase(const key_type* __first, const key_type* __last); void clear() noexcept { _M_erase(_M_begin()); _M_impl._M_reset(); } iterator find(const key_type& __k); const_iterator find(const key_type& __k) const; size_type count(const key_type& __k) const; iterator lower_bound(const key_type& __k) { return _M_lower_bound(_M_begin(), _M_end(), __k); } const_iterator lower_bound(const key_type& __k) const { return _M_lower_bound(_M_begin(), _M_end(), __k); } iterator upper_bound(const key_type& __k) { return _M_upper_bound(_M_begin(), _M_end(), __k); } const_iterator upper_bound(const key_type& __k) const { return _M_upper_bound(_M_begin(), _M_end(), __k); } pair equal_range(const key_type& __k); pair equal_range(const key_type& __k) const; template::type> iterator _M_find_tr(const _Kt& __k) { const _Rb_tree* __const_this = this; return __const_this->_M_find_tr(__k)._M_const_cast(); } template::type> const_iterator _M_find_tr(const _Kt& __k) const { auto __j = _M_lower_bound_tr(__k); if (__j != end() && _M_impl._M_key_compare(__k, _S_key(__j._M_node))) __j = end(); return __j; } template::type> size_type _M_count_tr(const _Kt& __k) const { auto __p = _M_equal_range_tr(__k); return std::distance(__p.first, __p.second); } template::type> iterator _M_lower_bound_tr(const _Kt& __k) { const _Rb_tree* __const_this = this; return __const_this->_M_lower_bound_tr(__k)._M_const_cast(); } template::type> const_iterator _M_lower_bound_tr(const _Kt& __k) const { auto __x = _M_begin(); auto __y = _M_end(); while (__x != 0) if (!_M_impl._M_key_compare(_S_key(__x), __k)) { __y = __x; __x = _S_left(__x); } else __x = _S_right(__x); return const_iterator(__y); } template::type> iterator _M_upper_bound_tr(const _Kt& __k) { const _Rb_tree* __const_this = this; return __const_this->_M_upper_bound_tr(__k)._M_const_cast(); } template::type> const_iterator _M_upper_bound_tr(const _Kt& __k) const { auto __x = _M_begin(); auto __y = _M_end(); while (__x != 0) if (_M_impl._M_key_compare(__k, _S_key(__x))) { __y = __x; __x = _S_left(__x); } else __x = _S_right(__x); return const_iterator(__y); } template::type> pair _M_equal_range_tr(const _Kt& __k) { const _Rb_tree* __const_this = this; auto __ret = __const_this->_M_equal_range_tr(__k); return { __ret.first._M_const_cast(), __ret.second._M_const_cast() }; } template::type> pair _M_equal_range_tr(const _Kt& __k) const { auto __low = _M_lower_bound_tr(__k); auto __high = __low; auto& __cmp = _M_impl._M_key_compare; while (__high != end() && !__cmp(__k, _S_key(__high._M_node))) ++__high; return { __low, __high }; } bool __rb_verify() const; _Rb_tree& operator=(_Rb_tree&&) noexcept(_Alloc_traits::_S_nothrow_move() && is_nothrow_move_assignable<_Compare>::value); template void _M_assign_unique(_Iterator, _Iterator); template void _M_assign_equal(_Iterator, _Iterator); private: void _M_move_data(_Rb_tree& __x, std::true_type) { _M_impl._M_move_data(__x._M_impl); } void _M_move_data(_Rb_tree&, std::false_type); void _M_move_assign(_Rb_tree&, std::true_type); void _M_move_assign(_Rb_tree&, std::false_type); # 1528 "/usr/include/c++/7/bits/stl_tree.h" 3 }; template inline bool operator==(const _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& __x, const _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& __y) { return __x.size() == __y.size() && std::equal(__x.begin(), __x.end(), __y.begin()); } template inline bool operator<(const _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& __x, const _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& __y) { return std::lexicographical_compare(__x.begin(), __x.end(), __y.begin(), __y.end()); } template inline bool operator!=(const _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& __x, const _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& __y) { return !(__x == __y); } template inline bool operator>(const _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& __x, const _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& __y) { return __y < __x; } template inline bool operator<=(const _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& __x, const _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& __y) { return !(__y < __x); } template inline bool operator>=(const _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& __x, const _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& __y) { return !(__x < __y); } template inline void swap(_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& __x, _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& __y) { __x.swap(__y); } template _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: _Rb_tree(_Rb_tree&& __x, _Node_allocator&& __a) : _M_impl(__x._M_impl._M_key_compare, std::move(__a)) { using __eq = typename _Alloc_traits::is_always_equal; if (__x._M_root() != nullptr) _M_move_data(__x, __eq()); } template void _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: _M_move_data(_Rb_tree& __x, std::false_type) { if (_M_get_Node_allocator() == __x._M_get_Node_allocator()) _M_move_data(__x, std::true_type()); else { _Alloc_node __an(*this); auto __lbd = [&__an](const value_type& __cval) { auto& __val = const_cast(__cval); return __an(std::move_if_noexcept(__val)); }; _M_root() = _M_copy(__x, __lbd); } } template inline void _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: _M_move_assign(_Rb_tree& __x, true_type) { clear(); if (__x._M_root() != nullptr) _M_move_data(__x, std::true_type()); std::__alloc_on_move(_M_get_Node_allocator(), __x._M_get_Node_allocator()); } template void _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: _M_move_assign(_Rb_tree& __x, false_type) { if (_M_get_Node_allocator() == __x._M_get_Node_allocator()) return _M_move_assign(__x, true_type{}); _Reuse_or_alloc_node __roan(*this); _M_impl._M_reset(); if (__x._M_root() != nullptr) { auto __lbd = [&__roan](const value_type& __cval) { auto& __val = const_cast(__cval); return __roan(std::move_if_noexcept(__val)); }; _M_root() = _M_copy(__x, __lbd); __x.clear(); } } template inline _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: operator=(_Rb_tree&& __x) noexcept(_Alloc_traits::_S_nothrow_move() && is_nothrow_move_assignable<_Compare>::value) { _M_impl._M_key_compare = std::move(__x._M_impl._M_key_compare); _M_move_assign(__x, __bool_constant<_Alloc_traits::_S_nothrow_move()>()); return *this; } template template void _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: _M_assign_unique(_Iterator __first, _Iterator __last) { _Reuse_or_alloc_node __roan(*this); _M_impl._M_reset(); for (; __first != __last; ++__first) _M_insert_unique_(end(), *__first, __roan); } template template void _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: _M_assign_equal(_Iterator __first, _Iterator __last) { _Reuse_or_alloc_node __roan(*this); _M_impl._M_reset(); for (; __first != __last; ++__first) _M_insert_equal_(end(), *__first, __roan); } template _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: operator=(const _Rb_tree& __x) { if (this != &__x) { if (_Alloc_traits::_S_propagate_on_copy_assign()) { auto& __this_alloc = this->_M_get_Node_allocator(); auto& __that_alloc = __x._M_get_Node_allocator(); if (!_Alloc_traits::_S_always_equal() && __this_alloc != __that_alloc) { clear(); std::__alloc_on_copy(__this_alloc, __that_alloc); } } _Reuse_or_alloc_node __roan(*this); _M_impl._M_reset(); _M_impl._M_key_compare = __x._M_impl._M_key_compare; if (__x._M_root() != 0) _M_root() = _M_copy(__x, __roan); } return *this; } template template typename _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: _M_insert_(_Base_ptr __x, _Base_ptr __p, _Arg&& __v, _NodeGen& __node_gen) { bool __insert_left = (__x != 0 || __p == _M_end() || _M_impl._M_key_compare(_KeyOfValue()(__v), _S_key(__p))); _Link_type __z = __node_gen(std::forward<_Arg>(__v)); _Rb_tree_insert_and_rebalance(__insert_left, __z, __p, this->_M_impl._M_header); ++_M_impl._M_node_count; return iterator(__z); } template template typename _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: _M_insert_lower(_Base_ptr __p, _Arg&& __v) { bool __insert_left = (__p == _M_end() || !_M_impl._M_key_compare(_S_key(__p), _KeyOfValue()(__v))); _Link_type __z = _M_create_node(std::forward<_Arg>(__v)); _Rb_tree_insert_and_rebalance(__insert_left, __z, __p, this->_M_impl._M_header); ++_M_impl._M_node_count; return iterator(__z); } template template typename _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: _M_insert_equal_lower(_Arg&& __v) { _Link_type __x = _M_begin(); _Base_ptr __y = _M_end(); while (__x != 0) { __y = __x; __x = !_M_impl._M_key_compare(_S_key(__x), _KeyOfValue()(__v)) ? _S_left(__x) : _S_right(__x); } return _M_insert_lower(__y, std::forward<_Arg>(__v)); } template template typename _Rb_tree<_Key, _Val, _KoV, _Compare, _Alloc>::_Link_type _Rb_tree<_Key, _Val, _KoV, _Compare, _Alloc>:: _M_copy(_Const_Link_type __x, _Base_ptr __p, _NodeGen& __node_gen) { _Link_type __top = _M_clone_node(__x, __node_gen); __top->_M_parent = __p; try { if (__x->_M_right) __top->_M_right = _M_copy(_S_right(__x), __top, __node_gen); __p = __top; __x = _S_left(__x); while (__x != 0) { _Link_type __y = _M_clone_node(__x, __node_gen); __p->_M_left = __y; __y->_M_parent = __p; if (__x->_M_right) __y->_M_right = _M_copy(_S_right(__x), __y, __node_gen); __p = __y; __x = _S_left(__x); } } catch(...) { _M_erase(__top); throw; } return __top; } template void _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: _M_erase(_Link_type __x) { while (__x != 0) { _M_erase(_S_right(__x)); _Link_type __y = _S_left(__x); _M_drop_node(__x); __x = __y; } } template typename _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: _M_lower_bound(_Link_type __x, _Base_ptr __y, const _Key& __k) { while (__x != 0) if (!_M_impl._M_key_compare(_S_key(__x), __k)) __y = __x, __x = _S_left(__x); else __x = _S_right(__x); return iterator(__y); } template typename _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: _M_lower_bound(_Const_Link_type __x, _Const_Base_ptr __y, const _Key& __k) const { while (__x != 0) if (!_M_impl._M_key_compare(_S_key(__x), __k)) __y = __x, __x = _S_left(__x); else __x = _S_right(__x); return const_iterator(__y); } template typename _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: _M_upper_bound(_Link_type __x, _Base_ptr __y, const _Key& __k) { while (__x != 0) if (_M_impl._M_key_compare(__k, _S_key(__x))) __y = __x, __x = _S_left(__x); else __x = _S_right(__x); return iterator(__y); } template typename _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: _M_upper_bound(_Const_Link_type __x, _Const_Base_ptr __y, const _Key& __k) const { while (__x != 0) if (_M_impl._M_key_compare(__k, _S_key(__x))) __y = __x, __x = _S_left(__x); else __x = _S_right(__x); return const_iterator(__y); } template pair::iterator, typename _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator> _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: equal_range(const _Key& __k) { _Link_type __x = _M_begin(); _Base_ptr __y = _M_end(); while (__x != 0) { if (_M_impl._M_key_compare(_S_key(__x), __k)) __x = _S_right(__x); else if (_M_impl._M_key_compare(__k, _S_key(__x))) __y = __x, __x = _S_left(__x); else { _Link_type __xu(__x); _Base_ptr __yu(__y); __y = __x, __x = _S_left(__x); __xu = _S_right(__xu); return pair(_M_lower_bound(__x, __y, __k), _M_upper_bound(__xu, __yu, __k)); } } return pair(iterator(__y), iterator(__y)); } template pair::const_iterator, typename _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator> _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: equal_range(const _Key& __k) const { _Const_Link_type __x = _M_begin(); _Const_Base_ptr __y = _M_end(); while (__x != 0) { if (_M_impl._M_key_compare(_S_key(__x), __k)) __x = _S_right(__x); else if (_M_impl._M_key_compare(__k, _S_key(__x))) __y = __x, __x = _S_left(__x); else { _Const_Link_type __xu(__x); _Const_Base_ptr __yu(__y); __y = __x, __x = _S_left(__x); __xu = _S_right(__xu); return pair(_M_lower_bound(__x, __y, __k), _M_upper_bound(__xu, __yu, __k)); } } return pair(const_iterator(__y), const_iterator(__y)); } template void _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: swap(_Rb_tree& __t) noexcept(__is_nothrow_swappable<_Compare>::value) { if (_M_root() == 0) { if (__t._M_root() != 0) _M_impl._M_move_data(__t._M_impl); } else if (__t._M_root() == 0) __t._M_impl._M_move_data(_M_impl); else { std::swap(_M_root(),__t._M_root()); std::swap(_M_leftmost(),__t._M_leftmost()); std::swap(_M_rightmost(),__t._M_rightmost()); _M_root()->_M_parent = _M_end(); __t._M_root()->_M_parent = __t._M_end(); std::swap(this->_M_impl._M_node_count, __t._M_impl._M_node_count); } std::swap(this->_M_impl._M_key_compare, __t._M_impl._M_key_compare); _Alloc_traits::_S_on_swap(_M_get_Node_allocator(), __t._M_get_Node_allocator()); } template pair::_Base_ptr, typename _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Base_ptr> _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: _M_get_insert_unique_pos(const key_type& __k) { typedef pair<_Base_ptr, _Base_ptr> _Res; _Link_type __x = _M_begin(); _Base_ptr __y = _M_end(); bool __comp = true; while (__x != 0) { __y = __x; __comp = _M_impl._M_key_compare(__k, _S_key(__x)); __x = __comp ? _S_left(__x) : _S_right(__x); } iterator __j = iterator(__y); if (__comp) { if (__j == begin()) return _Res(__x, __y); else --__j; } if (_M_impl._M_key_compare(_S_key(__j._M_node), __k)) return _Res(__x, __y); return _Res(__j._M_node, 0); } template pair::_Base_ptr, typename _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Base_ptr> _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: _M_get_insert_equal_pos(const key_type& __k) { typedef pair<_Base_ptr, _Base_ptr> _Res; _Link_type __x = _M_begin(); _Base_ptr __y = _M_end(); while (__x != 0) { __y = __x; __x = _M_impl._M_key_compare(__k, _S_key(__x)) ? _S_left(__x) : _S_right(__x); } return _Res(__x, __y); } template template pair::iterator, bool> _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: _M_insert_unique(_Arg&& __v) { typedef pair _Res; pair<_Base_ptr, _Base_ptr> __res = _M_get_insert_unique_pos(_KeyOfValue()(__v)); if (__res.second) { _Alloc_node __an(*this); return _Res(_M_insert_(__res.first, __res.second, std::forward<_Arg>(__v), __an), true); } return _Res(iterator(__res.first), false); } template template typename _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: _M_insert_equal(_Arg&& __v) { pair<_Base_ptr, _Base_ptr> __res = _M_get_insert_equal_pos(_KeyOfValue()(__v)); _Alloc_node __an(*this); return _M_insert_(__res.first, __res.second, std::forward<_Arg>(__v), __an); } template pair::_Base_ptr, typename _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Base_ptr> _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: _M_get_insert_hint_unique_pos(const_iterator __position, const key_type& __k) { iterator __pos = __position._M_const_cast(); typedef pair<_Base_ptr, _Base_ptr> _Res; if (__pos._M_node == _M_end()) { if (size() > 0 && _M_impl._M_key_compare(_S_key(_M_rightmost()), __k)) return _Res(0, _M_rightmost()); else return _M_get_insert_unique_pos(__k); } else if (_M_impl._M_key_compare(__k, _S_key(__pos._M_node))) { iterator __before = __pos; if (__pos._M_node == _M_leftmost()) return _Res(_M_leftmost(), _M_leftmost()); else if (_M_impl._M_key_compare(_S_key((--__before)._M_node), __k)) { if (_S_right(__before._M_node) == 0) return _Res(0, __before._M_node); else return _Res(__pos._M_node, __pos._M_node); } else return _M_get_insert_unique_pos(__k); } else if (_M_impl._M_key_compare(_S_key(__pos._M_node), __k)) { iterator __after = __pos; if (__pos._M_node == _M_rightmost()) return _Res(0, _M_rightmost()); else if (_M_impl._M_key_compare(__k, _S_key((++__after)._M_node))) { if (_S_right(__pos._M_node) == 0) return _Res(0, __pos._M_node); else return _Res(__after._M_node, __after._M_node); } else return _M_get_insert_unique_pos(__k); } else return _Res(__pos._M_node, 0); } template template typename _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: _M_insert_unique_(const_iterator __position, _Arg&& __v, _NodeGen& __node_gen) { pair<_Base_ptr, _Base_ptr> __res = _M_get_insert_hint_unique_pos(__position, _KeyOfValue()(__v)); if (__res.second) return _M_insert_(__res.first, __res.second, std::forward<_Arg>(__v), __node_gen); return iterator(__res.first); } template pair::_Base_ptr, typename _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Base_ptr> _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: _M_get_insert_hint_equal_pos(const_iterator __position, const key_type& __k) { iterator __pos = __position._M_const_cast(); typedef pair<_Base_ptr, _Base_ptr> _Res; if (__pos._M_node == _M_end()) { if (size() > 0 && !_M_impl._M_key_compare(__k, _S_key(_M_rightmost()))) return _Res(0, _M_rightmost()); else return _M_get_insert_equal_pos(__k); } else if (!_M_impl._M_key_compare(_S_key(__pos._M_node), __k)) { iterator __before = __pos; if (__pos._M_node == _M_leftmost()) return _Res(_M_leftmost(), _M_leftmost()); else if (!_M_impl._M_key_compare(__k, _S_key((--__before)._M_node))) { if (_S_right(__before._M_node) == 0) return _Res(0, __before._M_node); else return _Res(__pos._M_node, __pos._M_node); } else return _M_get_insert_equal_pos(__k); } else { iterator __after = __pos; if (__pos._M_node == _M_rightmost()) return _Res(0, _M_rightmost()); else if (!_M_impl._M_key_compare(_S_key((++__after)._M_node), __k)) { if (_S_right(__pos._M_node) == 0) return _Res(0, __pos._M_node); else return _Res(__after._M_node, __after._M_node); } else return _Res(0, 0); } } template template typename _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: _M_insert_equal_(const_iterator __position, _Arg&& __v, _NodeGen& __node_gen) { pair<_Base_ptr, _Base_ptr> __res = _M_get_insert_hint_equal_pos(__position, _KeyOfValue()(__v)); if (__res.second) return _M_insert_(__res.first, __res.second, std::forward<_Arg>(__v), __node_gen); return _M_insert_equal_lower(std::forward<_Arg>(__v)); } template typename _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: _M_insert_node(_Base_ptr __x, _Base_ptr __p, _Link_type __z) { bool __insert_left = (__x != 0 || __p == _M_end() || _M_impl._M_key_compare(_S_key(__z), _S_key(__p))); _Rb_tree_insert_and_rebalance(__insert_left, __z, __p, this->_M_impl._M_header); ++_M_impl._M_node_count; return iterator(__z); } template typename _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: _M_insert_lower_node(_Base_ptr __p, _Link_type __z) { bool __insert_left = (__p == _M_end() || !_M_impl._M_key_compare(_S_key(__p), _S_key(__z))); _Rb_tree_insert_and_rebalance(__insert_left, __z, __p, this->_M_impl._M_header); ++_M_impl._M_node_count; return iterator(__z); } template typename _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: _M_insert_equal_lower_node(_Link_type __z) { _Link_type __x = _M_begin(); _Base_ptr __y = _M_end(); while (__x != 0) { __y = __x; __x = !_M_impl._M_key_compare(_S_key(__x), _S_key(__z)) ? _S_left(__x) : _S_right(__x); } return _M_insert_lower_node(__y, __z); } template template pair::iterator, bool> _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: _M_emplace_unique(_Args&&... __args) { _Link_type __z = _M_create_node(std::forward<_Args>(__args)...); try { typedef pair _Res; auto __res = _M_get_insert_unique_pos(_S_key(__z)); if (__res.second) return _Res(_M_insert_node(__res.first, __res.second, __z), true); _M_drop_node(__z); return _Res(iterator(__res.first), false); } catch(...) { _M_drop_node(__z); throw; } } template template typename _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: _M_emplace_equal(_Args&&... __args) { _Link_type __z = _M_create_node(std::forward<_Args>(__args)...); try { auto __res = _M_get_insert_equal_pos(_S_key(__z)); return _M_insert_node(__res.first, __res.second, __z); } catch(...) { _M_drop_node(__z); throw; } } template template typename _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: _M_emplace_hint_unique(const_iterator __pos, _Args&&... __args) { _Link_type __z = _M_create_node(std::forward<_Args>(__args)...); try { auto __res = _M_get_insert_hint_unique_pos(__pos, _S_key(__z)); if (__res.second) return _M_insert_node(__res.first, __res.second, __z); _M_drop_node(__z); return iterator(__res.first); } catch(...) { _M_drop_node(__z); throw; } } template template typename _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: _M_emplace_hint_equal(const_iterator __pos, _Args&&... __args) { _Link_type __z = _M_create_node(std::forward<_Args>(__args)...); try { auto __res = _M_get_insert_hint_equal_pos(__pos, _S_key(__z)); if (__res.second) return _M_insert_node(__res.first, __res.second, __z); return _M_insert_equal_lower_node(__z); } catch(...) { _M_drop_node(__z); throw; } } template template void _Rb_tree<_Key, _Val, _KoV, _Cmp, _Alloc>:: _M_insert_unique(_II __first, _II __last) { _Alloc_node __an(*this); for (; __first != __last; ++__first) _M_insert_unique_(end(), *__first, __an); } template template void _Rb_tree<_Key, _Val, _KoV, _Cmp, _Alloc>:: _M_insert_equal(_II __first, _II __last) { _Alloc_node __an(*this); for (; __first != __last; ++__first) _M_insert_equal_(end(), *__first, __an); } template void _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: _M_erase_aux(const_iterator __position) { _Link_type __y = static_cast<_Link_type>(_Rb_tree_rebalance_for_erase (const_cast<_Base_ptr>(__position._M_node), this->_M_impl._M_header)); _M_drop_node(__y); --_M_impl._M_node_count; } template void _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: _M_erase_aux(const_iterator __first, const_iterator __last) { if (__first == begin() && __last == end()) clear(); else while (__first != __last) _M_erase_aux(__first++); } template typename _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::size_type _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: erase(const _Key& __x) { pair __p = equal_range(__x); const size_type __old_size = size(); _M_erase_aux(__p.first, __p.second); return __old_size - size(); } template void _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: erase(const _Key* __first, const _Key* __last) { while (__first != __last) erase(*__first++); } template typename _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: find(const _Key& __k) { iterator __j = _M_lower_bound(_M_begin(), _M_end(), __k); return (__j == end() || _M_impl._M_key_compare(__k, _S_key(__j._M_node))) ? end() : __j; } template typename _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: find(const _Key& __k) const { const_iterator __j = _M_lower_bound(_M_begin(), _M_end(), __k); return (__j == end() || _M_impl._M_key_compare(__k, _S_key(__j._M_node))) ? end() : __j; } template typename _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::size_type _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: count(const _Key& __k) const { pair __p = equal_range(__k); const size_type __n = std::distance(__p.first, __p.second); return __n; } __attribute__ ((__pure__)) unsigned int _Rb_tree_black_count(const _Rb_tree_node_base* __node, const _Rb_tree_node_base* __root) throw (); template bool _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>::__rb_verify() const { if (_M_impl._M_node_count == 0 || begin() == end()) return _M_impl._M_node_count == 0 && begin() == end() && this->_M_impl._M_header._M_left == _M_end() && this->_M_impl._M_header._M_right == _M_end(); unsigned int __len = _Rb_tree_black_count(_M_leftmost(), _M_root()); for (const_iterator __it = begin(); __it != end(); ++__it) { _Const_Link_type __x = static_cast<_Const_Link_type>(__it._M_node); _Const_Link_type __L = _S_left(__x); _Const_Link_type __R = _S_right(__x); if (__x->_M_color == _S_red) if ((__L && __L->_M_color == _S_red) || (__R && __R->_M_color == _S_red)) return false; if (__L && _M_impl._M_key_compare(_S_key(__x), _S_key(__L))) return false; if (__R && _M_impl._M_key_compare(_S_key(__R), _S_key(__x))) return false; if (!__L && !__R && _Rb_tree_black_count(__x, _M_root()) != __len) return false; } if (_M_leftmost() != _Rb_tree_node_base::_S_minimum(_M_root())) return false; if (_M_rightmost() != _Rb_tree_node_base::_S_maximum(_M_root())) return false; return true; } # 2611 "/usr/include/c++/7/bits/stl_tree.h" 3 } # 61 "/usr/include/c++/7/map" 2 3 # 1 "/usr/include/c++/7/bits/stl_map.h" 1 3 # 62 "/usr/include/c++/7/bits/stl_map.h" 3 # 1 "/usr/include/c++/7/initializer_list" 1 3 # 33 "/usr/include/c++/7/initializer_list" 3 # 34 "/usr/include/c++/7/initializer_list" 3 #pragma GCC visibility push(default) namespace std { template class initializer_list { public: typedef _E value_type; typedef const _E& reference; typedef const _E& const_reference; typedef size_t size_type; typedef const _E* iterator; typedef const _E* const_iterator; private: iterator _M_array; size_type _M_len; constexpr initializer_list(const_iterator __a, size_type __l) : _M_array(__a), _M_len(__l) { } public: constexpr initializer_list() noexcept : _M_array(0), _M_len(0) { } constexpr size_type size() const noexcept { return _M_len; } constexpr const_iterator begin() const noexcept { return _M_array; } constexpr const_iterator end() const noexcept { return begin() + size(); } }; template constexpr const _Tp* begin(initializer_list<_Tp> __ils) noexcept { return __ils.begin(); } template constexpr const _Tp* end(initializer_list<_Tp> __ils) noexcept { return __ils.end(); } } #pragma GCC visibility pop # 63 "/usr/include/c++/7/bits/stl_map.h" 2 3 # 1 "/usr/include/c++/7/tuple" 1 3 # 32 "/usr/include/c++/7/tuple" 3 # 33 "/usr/include/c++/7/tuple" 3 # 1 "/usr/include/c++/7/utility" 1 3 # 58 "/usr/include/c++/7/utility" 3 # 59 "/usr/include/c++/7/utility" 3 # 69 "/usr/include/c++/7/utility" 3 # 1 "/usr/include/c++/7/bits/stl_relops.h" 1 3 # 67 "/usr/include/c++/7/bits/stl_relops.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { namespace rel_ops { # 85 "/usr/include/c++/7/bits/stl_relops.h" 3 template inline bool operator!=(const _Tp& __x, const _Tp& __y) { return !(__x == __y); } # 98 "/usr/include/c++/7/bits/stl_relops.h" 3 template inline bool operator>(const _Tp& __x, const _Tp& __y) { return __y < __x; } # 111 "/usr/include/c++/7/bits/stl_relops.h" 3 template inline bool operator<=(const _Tp& __x, const _Tp& __y) { return !(__y < __x); } # 124 "/usr/include/c++/7/bits/stl_relops.h" 3 template inline bool operator>=(const _Tp& __x, const _Tp& __y) { return !(__x < __y); } } } # 70 "/usr/include/c++/7/utility" 2 3 # 82 "/usr/include/c++/7/utility" 3 namespace std __attribute__ ((__visibility__ ("default"))) { template struct tuple_size; template struct __tuple_size_cv_impl { }; template struct __tuple_size_cv_impl<_Tp, __void_t::value)>> : integral_constant::value> { }; template struct tuple_size : __tuple_size_cv_impl<_Tp> { }; template struct tuple_size : __tuple_size_cv_impl<_Tp> { }; template struct tuple_size : __tuple_size_cv_impl<_Tp> { }; # 132 "/usr/include/c++/7/utility" 3 template struct tuple_element; template using __tuple_element_t = typename tuple_element<__i, _Tp>::type; template struct tuple_element<__i, const _Tp> { typedef typename add_const<__tuple_element_t<__i, _Tp>>::type type; }; template struct tuple_element<__i, volatile _Tp> { typedef typename add_volatile<__tuple_element_t<__i, _Tp>>::type type; }; template struct tuple_element<__i, const volatile _Tp> { typedef typename add_cv<__tuple_element_t<__i, _Tp>>::type type; }; template using tuple_element_t = typename tuple_element<__i, _Tp>::type; template struct __is_tuple_like_impl> : true_type { }; template struct tuple_size> : public integral_constant { }; template struct tuple_element<0, std::pair<_Tp1, _Tp2>> { typedef _Tp1 type; }; template struct tuple_element<1, std::pair<_Tp1, _Tp2>> { typedef _Tp2 type; }; template struct __pair_get; template<> struct __pair_get<0> { template static constexpr _Tp1& __get(std::pair<_Tp1, _Tp2>& __pair) noexcept { return __pair.first; } template static constexpr _Tp1&& __move_get(std::pair<_Tp1, _Tp2>&& __pair) noexcept { return std::forward<_Tp1>(__pair.first); } template static constexpr const _Tp1& __const_get(const std::pair<_Tp1, _Tp2>& __pair) noexcept { return __pair.first; } }; template<> struct __pair_get<1> { template static constexpr _Tp2& __get(std::pair<_Tp1, _Tp2>& __pair) noexcept { return __pair.second; } template static constexpr _Tp2&& __move_get(std::pair<_Tp1, _Tp2>&& __pair) noexcept { return std::forward<_Tp2>(__pair.second); } template static constexpr const _Tp2& __const_get(const std::pair<_Tp1, _Tp2>& __pair) noexcept { return __pair.second; } }; template constexpr typename tuple_element<_Int, std::pair<_Tp1, _Tp2>>::type& get(std::pair<_Tp1, _Tp2>& __in) noexcept { return __pair_get<_Int>::__get(__in); } template constexpr typename tuple_element<_Int, std::pair<_Tp1, _Tp2>>::type&& get(std::pair<_Tp1, _Tp2>&& __in) noexcept { return __pair_get<_Int>::__move_get(std::move(__in)); } template constexpr const typename tuple_element<_Int, std::pair<_Tp1, _Tp2>>::type& get(const std::pair<_Tp1, _Tp2>& __in) noexcept { return __pair_get<_Int>::__const_get(__in); } template constexpr _Tp& get(pair<_Tp, _Up>& __p) noexcept { return __p.first; } template constexpr const _Tp& get(const pair<_Tp, _Up>& __p) noexcept { return __p.first; } template constexpr _Tp&& get(pair<_Tp, _Up>&& __p) noexcept { return std::move(__p.first); } template constexpr _Tp& get(pair<_Up, _Tp>& __p) noexcept { return __p.second; } template constexpr const _Tp& get(const pair<_Up, _Tp>& __p) noexcept { return __p.second; } template constexpr _Tp&& get(pair<_Up, _Tp>&& __p) noexcept { return std::move(__p.second); } template inline _Tp exchange(_Tp& __obj, _Up&& __new_val) { return std::__exchange(__obj, std::forward<_Up>(__new_val)); } template struct _Index_tuple { }; template struct _Itup_cat; template struct _Itup_cat<_Index_tuple<_Ind1...>, _Index_tuple<_Ind2...>> { using __type = _Index_tuple<_Ind1..., (_Ind2 + sizeof...(_Ind1))...>; }; template struct _Build_index_tuple : _Itup_cat::__type, typename _Build_index_tuple<_Num - _Num / 2>::__type> { }; template<> struct _Build_index_tuple<1> { typedef _Index_tuple<0> __type; }; template<> struct _Build_index_tuple<0> { typedef _Index_tuple<> __type; }; template struct integer_sequence { typedef _Tp value_type; static constexpr size_t size() { return sizeof...(_Idx); } }; template::__type> struct _Make_integer_sequence; template struct _Make_integer_sequence<_Tp, _Num, _Index_tuple<_Idx...>> { static_assert( _Num >= 0, "Cannot make integer sequence of negative length" ); typedef integer_sequence<_Tp, static_cast<_Tp>(_Idx)...> __type; }; template using make_integer_sequence = typename _Make_integer_sequence<_Tp, _Num>::__type; template using index_sequence = integer_sequence; template using make_index_sequence = make_integer_sequence; template using index_sequence_for = make_index_sequence; # 406 "/usr/include/c++/7/utility" 3 } # 39 "/usr/include/c++/7/tuple" 2 3 # 1 "/usr/include/c++/7/array" 1 3 # 32 "/usr/include/c++/7/array" 3 # 33 "/usr/include/c++/7/array" 3 # 1 "/usr/include/c++/7/stdexcept" 1 3 # 36 "/usr/include/c++/7/stdexcept" 3 # 37 "/usr/include/c++/7/stdexcept" 3 # 1 "/usr/include/c++/7/string" 1 3 # 36 "/usr/include/c++/7/string" 3 # 37 "/usr/include/c++/7/string" 3 # 1 "/usr/include/c++/7/bits/stringfwd.h" 1 3 # 37 "/usr/include/c++/7/bits/stringfwd.h" 3 # 38 "/usr/include/c++/7/bits/stringfwd.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { template struct char_traits; template<> struct char_traits; template<> struct char_traits; template<> struct char_traits; template<> struct char_traits; namespace __cxx11 { template, typename _Alloc = allocator<_CharT> > class basic_string; typedef basic_string string; typedef basic_string wstring; typedef basic_string u16string; typedef basic_string u32string; } } # 40 "/usr/include/c++/7/string" 2 3 # 1 "/usr/include/c++/7/bits/char_traits.h" 1 3 # 37 "/usr/include/c++/7/bits/char_traits.h" 3 # 38 "/usr/include/c++/7/bits/char_traits.h" 3 # 1 "/usr/include/c++/7/bits/postypes.h" 1 3 # 38 "/usr/include/c++/7/bits/postypes.h" 3 # 39 "/usr/include/c++/7/bits/postypes.h" 3 # 1 "/usr/include/c++/7/cwchar" 1 3 # 39 "/usr/include/c++/7/cwchar" 3 # 40 "/usr/include/c++/7/cwchar" 3 # 1 "/usr/include/wchar.h" 1 3 4 # 36 "/usr/include/wchar.h" 3 4 # 1 "/usr/include/stdio.h" 1 3 4 # 44 "/usr/include/stdio.h" 3 4 struct _IO_FILE; typedef struct _IO_FILE FILE; # 64 "/usr/include/stdio.h" 3 4 typedef struct _IO_FILE __FILE; # 37 "/usr/include/wchar.h" 2 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stdarg.h" 1 3 4 # 40 "/usr/lib/gcc/i686-linux-gnu/7/include/stdarg.h" 3 4 typedef __builtin_va_list __gnuc_va_list; # 40 "/usr/include/wchar.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wchar.h" 1 3 4 # 42 "/usr/include/wchar.h" 2 3 4 # 51 "/usr/include/wchar.h" 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 357 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 3 4 typedef unsigned int wint_t; # 52 "/usr/include/wchar.h" 2 3 4 # 82 "/usr/include/wchar.h" 3 4 typedef struct { int __count; union { unsigned int __wch; char __wchb[4]; } __value; } __mbstate_t; # 104 "/usr/include/wchar.h" 3 4 typedef __mbstate_t mbstate_t; # 132 "/usr/include/wchar.h" 3 4 extern "C" { struct tm; extern wchar_t *wcscpy (wchar_t *__restrict __dest, const wchar_t *__restrict __src) throw () __attribute__ ((__nonnull__ (1, 2))); extern wchar_t *wcsncpy (wchar_t *__restrict __dest, const wchar_t *__restrict __src, size_t __n) throw () __attribute__ ((__nonnull__ (1, 2))); extern wchar_t *wcscat (wchar_t *__restrict __dest, const wchar_t *__restrict __src) throw () __attribute__ ((__nonnull__ (1, 2))); extern wchar_t *wcsncat (wchar_t *__restrict __dest, const wchar_t *__restrict __src, size_t __n) throw () __attribute__ ((__nonnull__ (1, 2))); extern int wcscmp (const wchar_t *__s1, const wchar_t *__s2) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int wcsncmp (const wchar_t *__s1, const wchar_t *__s2, size_t __n) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int wcscasecmp (const wchar_t *__s1, const wchar_t *__s2) throw (); extern int wcsncasecmp (const wchar_t *__s1, const wchar_t *__s2, size_t __n) throw (); # 1 "/usr/include/xlocale.h" 1 3 4 # 27 "/usr/include/xlocale.h" 3 4 typedef struct __locale_struct { struct __locale_data *__locales[13]; const unsigned short int *__ctype_b; const int *__ctype_tolower; const int *__ctype_toupper; const char *__names[13]; } *__locale_t; typedef __locale_t locale_t; # 184 "/usr/include/wchar.h" 2 3 4 extern int wcscasecmp_l (const wchar_t *__s1, const wchar_t *__s2, __locale_t __loc) throw (); extern int wcsncasecmp_l (const wchar_t *__s1, const wchar_t *__s2, size_t __n, __locale_t __loc) throw (); extern int wcscoll (const wchar_t *__s1, const wchar_t *__s2) throw (); extern size_t wcsxfrm (wchar_t *__restrict __s1, const wchar_t *__restrict __s2, size_t __n) throw (); extern int wcscoll_l (const wchar_t *__s1, const wchar_t *__s2, __locale_t __loc) throw (); extern size_t wcsxfrm_l (wchar_t *__s1, const wchar_t *__s2, size_t __n, __locale_t __loc) throw (); extern wchar_t *wcsdup (const wchar_t *__s) throw () __attribute__ ((__malloc__)); extern "C++" wchar_t *wcschr (wchar_t *__wcs, wchar_t __wc) throw () __asm ("wcschr") __attribute__ ((__pure__)); extern "C++" const wchar_t *wcschr (const wchar_t *__wcs, wchar_t __wc) throw () __asm ("wcschr") __attribute__ ((__pure__)); extern "C++" wchar_t *wcsrchr (wchar_t *__wcs, wchar_t __wc) throw () __asm ("wcsrchr") __attribute__ ((__pure__)); extern "C++" const wchar_t *wcsrchr (const wchar_t *__wcs, wchar_t __wc) throw () __asm ("wcsrchr") __attribute__ ((__pure__)); extern wchar_t *wcschrnul (const wchar_t *__s, wchar_t __wc) throw () __attribute__ ((__pure__)); extern size_t wcscspn (const wchar_t *__wcs, const wchar_t *__reject) throw () __attribute__ ((__pure__)); extern size_t wcsspn (const wchar_t *__wcs, const wchar_t *__accept) throw () __attribute__ ((__pure__)); extern "C++" wchar_t *wcspbrk (wchar_t *__wcs, const wchar_t *__accept) throw () __asm ("wcspbrk") __attribute__ ((__pure__)); extern "C++" const wchar_t *wcspbrk (const wchar_t *__wcs, const wchar_t *__accept) throw () __asm ("wcspbrk") __attribute__ ((__pure__)); extern "C++" wchar_t *wcsstr (wchar_t *__haystack, const wchar_t *__needle) throw () __asm ("wcsstr") __attribute__ ((__pure__)); extern "C++" const wchar_t *wcsstr (const wchar_t *__haystack, const wchar_t *__needle) throw () __asm ("wcsstr") __attribute__ ((__pure__)); extern wchar_t *wcstok (wchar_t *__restrict __s, const wchar_t *__restrict __delim, wchar_t **__restrict __ptr) throw (); extern size_t wcslen (const wchar_t *__s) throw () __attribute__ ((__pure__)); extern "C++" wchar_t *wcswcs (wchar_t *__haystack, const wchar_t *__needle) throw () __asm ("wcswcs") __attribute__ ((__pure__)); extern "C++" const wchar_t *wcswcs (const wchar_t *__haystack, const wchar_t *__needle) throw () __asm ("wcswcs") __attribute__ ((__pure__)); # 309 "/usr/include/wchar.h" 3 4 extern size_t wcsnlen (const wchar_t *__s, size_t __maxlen) throw () __attribute__ ((__pure__)); extern "C++" wchar_t *wmemchr (wchar_t *__s, wchar_t __c, size_t __n) throw () __asm ("wmemchr") __attribute__ ((__pure__)); extern "C++" const wchar_t *wmemchr (const wchar_t *__s, wchar_t __c, size_t __n) throw () __asm ("wmemchr") __attribute__ ((__pure__)); extern int wmemcmp (const wchar_t *__s1, const wchar_t *__s2, size_t __n) throw () __attribute__ ((__pure__)); extern wchar_t *wmemcpy (wchar_t *__restrict __s1, const wchar_t *__restrict __s2, size_t __n) throw (); extern wchar_t *wmemmove (wchar_t *__s1, const wchar_t *__s2, size_t __n) throw (); extern wchar_t *wmemset (wchar_t *__s, wchar_t __c, size_t __n) throw (); extern wchar_t *wmempcpy (wchar_t *__restrict __s1, const wchar_t *__restrict __s2, size_t __n) throw (); extern wint_t btowc (int __c) throw (); extern int wctob (wint_t __c) throw (); extern int mbsinit (const mbstate_t *__ps) throw () __attribute__ ((__pure__)); extern size_t mbrtowc (wchar_t *__restrict __pwc, const char *__restrict __s, size_t __n, mbstate_t *__restrict __p) throw (); extern size_t wcrtomb (char *__restrict __s, wchar_t __wc, mbstate_t *__restrict __ps) throw (); extern size_t __mbrlen (const char *__restrict __s, size_t __n, mbstate_t *__restrict __ps) throw (); extern size_t mbrlen (const char *__restrict __s, size_t __n, mbstate_t *__restrict __ps) throw (); # 408 "/usr/include/wchar.h" 3 4 extern size_t mbsrtowcs (wchar_t *__restrict __dst, const char **__restrict __src, size_t __len, mbstate_t *__restrict __ps) throw (); extern size_t wcsrtombs (char *__restrict __dst, const wchar_t **__restrict __src, size_t __len, mbstate_t *__restrict __ps) throw (); extern size_t mbsnrtowcs (wchar_t *__restrict __dst, const char **__restrict __src, size_t __nmc, size_t __len, mbstate_t *__restrict __ps) throw (); extern size_t wcsnrtombs (char *__restrict __dst, const wchar_t **__restrict __src, size_t __nwc, size_t __len, mbstate_t *__restrict __ps) throw (); extern int wcwidth (wchar_t __c) throw (); extern int wcswidth (const wchar_t *__s, size_t __n) throw (); extern double wcstod (const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr) throw (); extern float wcstof (const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr) throw (); extern long double wcstold (const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr) throw (); extern long int wcstol (const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr, int __base) throw (); extern unsigned long int wcstoul (const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr, int __base) throw (); __extension__ extern long long int wcstoll (const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr, int __base) throw (); __extension__ extern unsigned long long int wcstoull (const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr, int __base) throw (); __extension__ extern long long int wcstoq (const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr, int __base) throw (); __extension__ extern unsigned long long int wcstouq (const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr, int __base) throw (); # 533 "/usr/include/wchar.h" 3 4 extern long int wcstol_l (const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr, int __base, __locale_t __loc) throw (); extern unsigned long int wcstoul_l (const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr, int __base, __locale_t __loc) throw (); __extension__ extern long long int wcstoll_l (const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr, int __base, __locale_t __loc) throw (); __extension__ extern unsigned long long int wcstoull_l (const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr, int __base, __locale_t __loc) throw (); extern double wcstod_l (const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr, __locale_t __loc) throw (); extern float wcstof_l (const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr, __locale_t __loc) throw (); extern long double wcstold_l (const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr, __locale_t __loc) throw (); extern wchar_t *wcpcpy (wchar_t *__restrict __dest, const wchar_t *__restrict __src) throw (); extern wchar_t *wcpncpy (wchar_t *__restrict __dest, const wchar_t *__restrict __src, size_t __n) throw (); extern __FILE *open_wmemstream (wchar_t **__bufloc, size_t *__sizeloc) throw (); extern int fwide (__FILE *__fp, int __mode) throw (); extern int fwprintf (__FILE *__restrict __stream, const wchar_t *__restrict __format, ...) ; extern int wprintf (const wchar_t *__restrict __format, ...) ; extern int swprintf (wchar_t *__restrict __s, size_t __n, const wchar_t *__restrict __format, ...) throw () ; extern int vfwprintf (__FILE *__restrict __s, const wchar_t *__restrict __format, __gnuc_va_list __arg) ; extern int vwprintf (const wchar_t *__restrict __format, __gnuc_va_list __arg) ; extern int vswprintf (wchar_t *__restrict __s, size_t __n, const wchar_t *__restrict __format, __gnuc_va_list __arg) throw () ; extern int fwscanf (__FILE *__restrict __stream, const wchar_t *__restrict __format, ...) ; extern int wscanf (const wchar_t *__restrict __format, ...) ; extern int swscanf (const wchar_t *__restrict __s, const wchar_t *__restrict __format, ...) throw () ; # 683 "/usr/include/wchar.h" 3 4 extern int vfwscanf (__FILE *__restrict __s, const wchar_t *__restrict __format, __gnuc_va_list __arg) ; extern int vwscanf (const wchar_t *__restrict __format, __gnuc_va_list __arg) ; extern int vswscanf (const wchar_t *__restrict __s, const wchar_t *__restrict __format, __gnuc_va_list __arg) throw () ; # 739 "/usr/include/wchar.h" 3 4 extern wint_t fgetwc (__FILE *__stream); extern wint_t getwc (__FILE *__stream); extern wint_t getwchar (void); extern wint_t fputwc (wchar_t __wc, __FILE *__stream); extern wint_t putwc (wchar_t __wc, __FILE *__stream); extern wint_t putwchar (wchar_t __wc); extern wchar_t *fgetws (wchar_t *__restrict __ws, int __n, __FILE *__restrict __stream); extern int fputws (const wchar_t *__restrict __ws, __FILE *__restrict __stream); extern wint_t ungetwc (wint_t __wc, __FILE *__stream); # 804 "/usr/include/wchar.h" 3 4 extern wint_t getwc_unlocked (__FILE *__stream); extern wint_t getwchar_unlocked (void); extern wint_t fgetwc_unlocked (__FILE *__stream); extern wint_t fputwc_unlocked (wchar_t __wc, __FILE *__stream); # 830 "/usr/include/wchar.h" 3 4 extern wint_t putwc_unlocked (wchar_t __wc, __FILE *__stream); extern wint_t putwchar_unlocked (wchar_t __wc); # 840 "/usr/include/wchar.h" 3 4 extern wchar_t *fgetws_unlocked (wchar_t *__restrict __ws, int __n, __FILE *__restrict __stream); extern int fputws_unlocked (const wchar_t *__restrict __ws, __FILE *__restrict __stream); extern size_t wcsftime (wchar_t *__restrict __s, size_t __maxsize, const wchar_t *__restrict __format, const struct tm *__restrict __tp) throw (); extern size_t wcsftime_l (wchar_t *__restrict __s, size_t __maxsize, const wchar_t *__restrict __format, const struct tm *__restrict __tp, __locale_t __loc) throw (); # 894 "/usr/include/wchar.h" 3 4 } # 45 "/usr/include/c++/7/cwchar" 2 3 # 62 "/usr/include/c++/7/cwchar" 3 namespace std { using ::mbstate_t; } # 135 "/usr/include/c++/7/cwchar" 3 namespace std __attribute__ ((__visibility__ ("default"))) { using ::wint_t; using ::btowc; using ::fgetwc; using ::fgetws; using ::fputwc; using ::fputws; using ::fwide; using ::fwprintf; using ::fwscanf; using ::getwc; using ::getwchar; using ::mbrlen; using ::mbrtowc; using ::mbsinit; using ::mbsrtowcs; using ::putwc; using ::putwchar; using ::swprintf; using ::swscanf; using ::ungetwc; using ::vfwprintf; using ::vfwscanf; using ::vswprintf; using ::vswscanf; using ::vwprintf; using ::vwscanf; using ::wcrtomb; using ::wcscat; using ::wcscmp; using ::wcscoll; using ::wcscpy; using ::wcscspn; using ::wcsftime; using ::wcslen; using ::wcsncat; using ::wcsncmp; using ::wcsncpy; using ::wcsrtombs; using ::wcsspn; using ::wcstod; using ::wcstof; using ::wcstok; using ::wcstol; using ::wcstoul; using ::wcsxfrm; using ::wctob; using ::wmemcmp; using ::wmemcpy; using ::wmemmove; using ::wmemset; using ::wprintf; using ::wscanf; using ::wcschr; using ::wcspbrk; using ::wcsrchr; using ::wcsstr; using ::wmemchr; # 232 "/usr/include/c++/7/cwchar" 3 } namespace __gnu_cxx { using ::wcstold; # 257 "/usr/include/c++/7/cwchar" 3 using ::wcstoll; using ::wcstoull; } namespace std { using ::__gnu_cxx::wcstold; using ::__gnu_cxx::wcstoll; using ::__gnu_cxx::wcstoull; } # 277 "/usr/include/c++/7/cwchar" 3 namespace std { using std::wcstof; using std::vfwscanf; using std::vswscanf; using std::vwscanf; using std::wcstold; using std::wcstoll; using std::wcstoull; } # 41 "/usr/include/c++/7/bits/postypes.h" 2 3 # 68 "/usr/include/c++/7/bits/postypes.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 90 "/usr/include/c++/7/bits/postypes.h" 3 typedef long long streamoff; typedef ptrdiff_t streamsize; # 111 "/usr/include/c++/7/bits/postypes.h" 3 template class fpos { private: streamoff _M_off; _StateT _M_state; public: fpos() : _M_off(0), _M_state() { } # 133 "/usr/include/c++/7/bits/postypes.h" 3 fpos(streamoff __off) : _M_off(__off), _M_state() { } operator streamoff() const { return _M_off; } void state(_StateT __st) { _M_state = __st; } _StateT state() const { return _M_state; } fpos& operator+=(streamoff __off) { _M_off += __off; return *this; } fpos& operator-=(streamoff __off) { _M_off -= __off; return *this; } fpos operator+(streamoff __off) const { fpos __pos(*this); __pos += __off; return __pos; } fpos operator-(streamoff __off) const { fpos __pos(*this); __pos -= __off; return __pos; } streamoff operator-(const fpos& __other) const { return _M_off - __other._M_off; } }; template inline bool operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs) { return streamoff(__lhs) == streamoff(__rhs); } template inline bool operator!=(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs) { return streamoff(__lhs) != streamoff(__rhs); } typedef fpos streampos; typedef fpos wstreampos; typedef fpos u16streampos; typedef fpos u32streampos; } # 41 "/usr/include/c++/7/bits/char_traits.h" 2 3 # 1 "/usr/include/c++/7/cwchar" 1 3 # 39 "/usr/include/c++/7/cwchar" 3 # 40 "/usr/include/c++/7/cwchar" 3 # 1 "/usr/include/wchar.h" 1 3 4 # 45 "/usr/include/c++/7/cwchar" 2 3 # 42 "/usr/include/c++/7/bits/char_traits.h" 2 3 namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) { # 57 "/usr/include/c++/7/bits/char_traits.h" 3 template struct _Char_types { typedef unsigned long int_type; typedef std::streampos pos_type; typedef std::streamoff off_type; typedef std::mbstate_t state_type; }; # 82 "/usr/include/c++/7/bits/char_traits.h" 3 template struct char_traits { typedef _CharT char_type; typedef typename _Char_types<_CharT>::int_type int_type; typedef typename _Char_types<_CharT>::pos_type pos_type; typedef typename _Char_types<_CharT>::off_type off_type; typedef typename _Char_types<_CharT>::state_type state_type; static constexpr void assign(char_type& __c1, const char_type& __c2) { __c1 = __c2; } static constexpr bool eq(const char_type& __c1, const char_type& __c2) { return __c1 == __c2; } static constexpr bool lt(const char_type& __c1, const char_type& __c2) { return __c1 < __c2; } static constexpr int compare(const char_type* __s1, const char_type* __s2, std::size_t __n); static constexpr std::size_t length(const char_type* __s); static constexpr const char_type* find(const char_type* __s, std::size_t __n, const char_type& __a); static char_type* move(char_type* __s1, const char_type* __s2, std::size_t __n); static char_type* copy(char_type* __s1, const char_type* __s2, std::size_t __n); static char_type* assign(char_type* __s, std::size_t __n, char_type __a); static constexpr char_type to_char_type(const int_type& __c) { return static_cast(__c); } static constexpr int_type to_int_type(const char_type& __c) { return static_cast(__c); } static constexpr bool eq_int_type(const int_type& __c1, const int_type& __c2) { return __c1 == __c2; } static constexpr int_type eof() { return static_cast(-1); } static constexpr int_type not_eof(const int_type& __c) { return !eq_int_type(__c, eof()) ? __c : to_int_type(char_type()); } }; template constexpr int char_traits<_CharT>:: compare(const char_type* __s1, const char_type* __s2, std::size_t __n) { for (std::size_t __i = 0; __i < __n; ++__i) if (lt(__s1[__i], __s2[__i])) return -1; else if (lt(__s2[__i], __s1[__i])) return 1; return 0; } template constexpr std::size_t char_traits<_CharT>:: length(const char_type* __p) { std::size_t __i = 0; while (!eq(__p[__i], char_type())) ++__i; return __i; } template constexpr const typename char_traits<_CharT>::char_type* char_traits<_CharT>:: find(const char_type* __s, std::size_t __n, const char_type& __a) { for (std::size_t __i = 0; __i < __n; ++__i) if (eq(__s[__i], __a)) return __s + __i; return 0; } template typename char_traits<_CharT>::char_type* char_traits<_CharT>:: move(char_type* __s1, const char_type* __s2, std::size_t __n) { return static_cast<_CharT*>(__builtin_memmove(__s1, __s2, __n * sizeof(char_type))); } template typename char_traits<_CharT>::char_type* char_traits<_CharT>:: copy(char_type* __s1, const char_type* __s2, std::size_t __n) { std::copy(__s2, __s2 + __n, __s1); return __s1; } template typename char_traits<_CharT>::char_type* char_traits<_CharT>:: assign(char_type* __s, std::size_t __n, char_type __a) { std::fill_n(__s, __n, __a); return __s; } } namespace std __attribute__ ((__visibility__ ("default"))) { # 228 "/usr/include/c++/7/bits/char_traits.h" 3 template struct char_traits : public __gnu_cxx::char_traits<_CharT> { }; template<> struct char_traits { typedef char char_type; typedef int int_type; typedef streampos pos_type; typedef streamoff off_type; typedef mbstate_t state_type; static void assign(char_type& __c1, const char_type& __c2) noexcept { __c1 = __c2; } static constexpr bool eq(const char_type& __c1, const char_type& __c2) noexcept { return __c1 == __c2; } static constexpr bool lt(const char_type& __c1, const char_type& __c2) noexcept { return (static_cast(__c1) < static_cast(__c2)); } static int compare(const char_type* __s1, const char_type* __s2, size_t __n) { if (__n == 0) return 0; return __builtin_memcmp(__s1, __s2, __n); } static size_t length(const char_type* __s) { return __builtin_strlen(__s); } static const char_type* find(const char_type* __s, size_t __n, const char_type& __a) { if (__n == 0) return 0; return static_cast(__builtin_memchr(__s, __a, __n)); } static char_type* move(char_type* __s1, const char_type* __s2, size_t __n) { if (__n == 0) return __s1; return static_cast(__builtin_memmove(__s1, __s2, __n)); } static char_type* copy(char_type* __s1, const char_type* __s2, size_t __n) { if (__n == 0) return __s1; return static_cast(__builtin_memcpy(__s1, __s2, __n)); } static char_type* assign(char_type* __s, size_t __n, char_type __a) { if (__n == 0) return __s; return static_cast(__builtin_memset(__s, __a, __n)); } static constexpr char_type to_char_type(const int_type& __c) noexcept { return static_cast(__c); } static constexpr int_type to_int_type(const char_type& __c) noexcept { return static_cast(static_cast(__c)); } static constexpr bool eq_int_type(const int_type& __c1, const int_type& __c2) noexcept { return __c1 == __c2; } static constexpr int_type eof() noexcept { return static_cast(-1); } static constexpr int_type not_eof(const int_type& __c) noexcept { return (__c == eof()) ? 0 : __c; } }; template<> struct char_traits { typedef wchar_t char_type; typedef wint_t int_type; typedef streamoff off_type; typedef wstreampos pos_type; typedef mbstate_t state_type; static void assign(char_type& __c1, const char_type& __c2) noexcept { __c1 = __c2; } static constexpr bool eq(const char_type& __c1, const char_type& __c2) noexcept { return __c1 == __c2; } static constexpr bool lt(const char_type& __c1, const char_type& __c2) noexcept { return __c1 < __c2; } static int compare(const char_type* __s1, const char_type* __s2, size_t __n) { if (__n == 0) return 0; return wmemcmp(__s1, __s2, __n); } static size_t length(const char_type* __s) { return wcslen(__s); } static const char_type* find(const char_type* __s, size_t __n, const char_type& __a) { if (__n == 0) return 0; return wmemchr(__s, __a, __n); } static char_type* move(char_type* __s1, const char_type* __s2, size_t __n) { if (__n == 0) return __s1; return wmemmove(__s1, __s2, __n); } static char_type* copy(char_type* __s1, const char_type* __s2, size_t __n) { if (__n == 0) return __s1; return wmemcpy(__s1, __s2, __n); } static char_type* assign(char_type* __s, size_t __n, char_type __a) { if (__n == 0) return __s; return wmemset(__s, __a, __n); } static constexpr char_type to_char_type(const int_type& __c) noexcept { return char_type(__c); } static constexpr int_type to_int_type(const char_type& __c) noexcept { return int_type(__c); } static constexpr bool eq_int_type(const int_type& __c1, const int_type& __c2) noexcept { return __c1 == __c2; } static constexpr int_type eof() noexcept { return static_cast((0xffffffffu)); } static constexpr int_type not_eof(const int_type& __c) noexcept { return eq_int_type(__c, eof()) ? 0 : __c; } }; } # 1 "/usr/include/c++/7/cstdint" 1 3 # 32 "/usr/include/c++/7/cstdint" 3 # 33 "/usr/include/c++/7/cstdint" 3 # 41 "/usr/include/c++/7/cstdint" 3 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stdint.h" 1 3 4 # 9 "/usr/lib/gcc/i686-linux-gnu/7/include/stdint.h" 3 4 # 1 "/usr/include/stdint.h" 1 3 4 # 27 "/usr/include/stdint.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 28 "/usr/include/stdint.h" 2 3 4 # 36 "/usr/include/stdint.h" 3 4 typedef signed char int8_t; typedef short int int16_t; typedef int int32_t; __extension__ typedef long long int int64_t; typedef unsigned char uint8_t; typedef unsigned short int uint16_t; typedef unsigned int uint32_t; __extension__ typedef unsigned long long int uint64_t; typedef signed char int_least8_t; typedef short int int_least16_t; typedef int int_least32_t; __extension__ typedef long long int int_least64_t; typedef unsigned char uint_least8_t; typedef unsigned short int uint_least16_t; typedef unsigned int uint_least32_t; __extension__ typedef unsigned long long int uint_least64_t; typedef signed char int_fast8_t; typedef int int_fast16_t; typedef int int_fast32_t; __extension__ typedef long long int int_fast64_t; typedef unsigned char uint_fast8_t; typedef unsigned int uint_fast16_t; typedef unsigned int uint_fast32_t; __extension__ typedef unsigned long long int uint_fast64_t; # 125 "/usr/include/stdint.h" 3 4 typedef int intptr_t; typedef unsigned int uintptr_t; # 137 "/usr/include/stdint.h" 3 4 __extension__ typedef long long int intmax_t; __extension__ typedef unsigned long long int uintmax_t; # 10 "/usr/lib/gcc/i686-linux-gnu/7/include/stdint.h" 2 3 4 # 42 "/usr/include/c++/7/cstdint" 2 3 namespace std { using ::int8_t; using ::int16_t; using ::int32_t; using ::int64_t; using ::int_fast8_t; using ::int_fast16_t; using ::int_fast32_t; using ::int_fast64_t; using ::int_least8_t; using ::int_least16_t; using ::int_least32_t; using ::int_least64_t; using ::intmax_t; using ::intptr_t; using ::uint8_t; using ::uint16_t; using ::uint32_t; using ::uint64_t; using ::uint_fast8_t; using ::uint_fast16_t; using ::uint_fast32_t; using ::uint_fast64_t; using ::uint_least8_t; using ::uint_least16_t; using ::uint_least32_t; using ::uint_least64_t; using ::uintmax_t; using ::uintptr_t; } # 423 "/usr/include/c++/7/bits/char_traits.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { template<> struct char_traits { typedef char16_t char_type; typedef uint_least16_t int_type; typedef streamoff off_type; typedef u16streampos pos_type; typedef mbstate_t state_type; static void assign(char_type& __c1, const char_type& __c2) noexcept { __c1 = __c2; } static constexpr bool eq(const char_type& __c1, const char_type& __c2) noexcept { return __c1 == __c2; } static constexpr bool lt(const char_type& __c1, const char_type& __c2) noexcept { return __c1 < __c2; } static int compare(const char_type* __s1, const char_type* __s2, size_t __n) { for (size_t __i = 0; __i < __n; ++__i) if (lt(__s1[__i], __s2[__i])) return -1; else if (lt(__s2[__i], __s1[__i])) return 1; return 0; } static size_t length(const char_type* __s) { size_t __i = 0; while (!eq(__s[__i], char_type())) ++__i; return __i; } static const char_type* find(const char_type* __s, size_t __n, const char_type& __a) { for (size_t __i = 0; __i < __n; ++__i) if (eq(__s[__i], __a)) return __s + __i; return 0; } static char_type* move(char_type* __s1, const char_type* __s2, size_t __n) { if (__n == 0) return __s1; return (static_cast (__builtin_memmove(__s1, __s2, __n * sizeof(char_type)))); } static char_type* copy(char_type* __s1, const char_type* __s2, size_t __n) { if (__n == 0) return __s1; return (static_cast (__builtin_memcpy(__s1, __s2, __n * sizeof(char_type)))); } static char_type* assign(char_type* __s, size_t __n, char_type __a) { for (size_t __i = 0; __i < __n; ++__i) assign(__s[__i], __a); return __s; } static constexpr char_type to_char_type(const int_type& __c) noexcept { return char_type(__c); } static constexpr int_type to_int_type(const char_type& __c) noexcept { return int_type(__c); } static constexpr bool eq_int_type(const int_type& __c1, const int_type& __c2) noexcept { return __c1 == __c2; } static constexpr int_type eof() noexcept { return static_cast(-1); } static constexpr int_type not_eof(const int_type& __c) noexcept { return eq_int_type(__c, eof()) ? 0 : __c; } }; template<> struct char_traits { typedef char32_t char_type; typedef uint_least32_t int_type; typedef streamoff off_type; typedef u32streampos pos_type; typedef mbstate_t state_type; static void assign(char_type& __c1, const char_type& __c2) noexcept { __c1 = __c2; } static constexpr bool eq(const char_type& __c1, const char_type& __c2) noexcept { return __c1 == __c2; } static constexpr bool lt(const char_type& __c1, const char_type& __c2) noexcept { return __c1 < __c2; } static int compare(const char_type* __s1, const char_type* __s2, size_t __n) { for (size_t __i = 0; __i < __n; ++__i) if (lt(__s1[__i], __s2[__i])) return -1; else if (lt(__s2[__i], __s1[__i])) return 1; return 0; } static size_t length(const char_type* __s) { size_t __i = 0; while (!eq(__s[__i], char_type())) ++__i; return __i; } static const char_type* find(const char_type* __s, size_t __n, const char_type& __a) { for (size_t __i = 0; __i < __n; ++__i) if (eq(__s[__i], __a)) return __s + __i; return 0; } static char_type* move(char_type* __s1, const char_type* __s2, size_t __n) { if (__n == 0) return __s1; return (static_cast (__builtin_memmove(__s1, __s2, __n * sizeof(char_type)))); } static char_type* copy(char_type* __s1, const char_type* __s2, size_t __n) { if (__n == 0) return __s1; return (static_cast (__builtin_memcpy(__s1, __s2, __n * sizeof(char_type)))); } static char_type* assign(char_type* __s, size_t __n, char_type __a) { for (size_t __i = 0; __i < __n; ++__i) assign(__s[__i], __a); return __s; } static constexpr char_type to_char_type(const int_type& __c) noexcept { return char_type(__c); } static constexpr int_type to_int_type(const char_type& __c) noexcept { return int_type(__c); } static constexpr bool eq_int_type(const int_type& __c1, const int_type& __c2) noexcept { return __c1 == __c2; } static constexpr int_type eof() noexcept { return static_cast(-1); } static constexpr int_type not_eof(const int_type& __c) noexcept { return eq_int_type(__c, eof()) ? 0 : __c; } }; } # 41 "/usr/include/c++/7/string" 2 3 # 1 "/usr/include/c++/7/bits/localefwd.h" 1 3 # 37 "/usr/include/c++/7/bits/localefwd.h" 3 # 38 "/usr/include/c++/7/bits/localefwd.h" 3 # 1 "/usr/include/i386-linux-gnu/c++/7/bits/c++locale.h" 1 3 # 39 "/usr/include/i386-linux-gnu/c++/7/bits/c++locale.h" 3 # 40 "/usr/include/i386-linux-gnu/c++/7/bits/c++locale.h" 3 # 1 "/usr/include/c++/7/clocale" 1 3 # 39 "/usr/include/c++/7/clocale" 3 # 40 "/usr/include/c++/7/clocale" 3 # 1 "/usr/include/locale.h" 1 3 4 # 28 "/usr/include/locale.h" 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 29 "/usr/include/locale.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/locale.h" 1 3 4 # 30 "/usr/include/locale.h" 2 3 4 extern "C" { # 50 "/usr/include/locale.h" 3 4 struct lconv { char *decimal_point; char *thousands_sep; char *grouping; char *int_curr_symbol; char *currency_symbol; char *mon_decimal_point; char *mon_thousands_sep; char *mon_grouping; char *positive_sign; char *negative_sign; char int_frac_digits; char frac_digits; char p_cs_precedes; char p_sep_by_space; char n_cs_precedes; char n_sep_by_space; char p_sign_posn; char n_sign_posn; char int_p_cs_precedes; char int_p_sep_by_space; char int_n_cs_precedes; char int_n_sep_by_space; char int_p_sign_posn; char int_n_sign_posn; # 120 "/usr/include/locale.h" 3 4 }; extern char *setlocale (int __category, const char *__locale) throw (); extern struct lconv *localeconv (void) throw (); # 151 "/usr/include/locale.h" 3 4 extern __locale_t newlocale (int __category_mask, const char *__locale, __locale_t __base) throw (); # 186 "/usr/include/locale.h" 3 4 extern __locale_t duplocale (__locale_t __dataset) throw (); extern void freelocale (__locale_t __dataset) throw (); extern __locale_t uselocale (__locale_t __dataset) throw (); } # 43 "/usr/include/c++/7/clocale" 2 3 # 51 "/usr/include/c++/7/clocale" 3 namespace std { using ::lconv; using ::setlocale; using ::localeconv; } # 42 "/usr/include/i386-linux-gnu/c++/7/bits/c++locale.h" 2 3 namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) { extern "C" __typeof(uselocale) __uselocale; } namespace std __attribute__ ((__visibility__ ("default"))) { typedef __locale_t __c_locale; inline int __convert_from_v(const __c_locale& __cloc __attribute__ ((__unused__)), char* __out, const int __size __attribute__ ((__unused__)), const char* __fmt, ...) { __c_locale __old = __gnu_cxx::__uselocale(__cloc); # 88 "/usr/include/i386-linux-gnu/c++/7/bits/c++locale.h" 3 __builtin_va_list __args; __builtin_va_start(__args, __fmt); const int __ret = __builtin_vsnprintf(__out, __size, __fmt, __args); __builtin_va_end(__args); __gnu_cxx::__uselocale(__old); return __ret; } } # 41 "/usr/include/c++/7/bits/localefwd.h" 2 3 # 1 "/usr/include/c++/7/iosfwd" 1 3 # 36 "/usr/include/c++/7/iosfwd" 3 # 37 "/usr/include/c++/7/iosfwd" 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 74 "/usr/include/c++/7/iosfwd" 3 class ios_base; template > class basic_ios; template > class basic_streambuf; template > class basic_istream; template > class basic_ostream; template > class basic_iostream; namespace __cxx11 { template, typename _Alloc = allocator<_CharT> > class basic_stringbuf; template, typename _Alloc = allocator<_CharT> > class basic_istringstream; template, typename _Alloc = allocator<_CharT> > class basic_ostringstream; template, typename _Alloc = allocator<_CharT> > class basic_stringstream; } template > class basic_filebuf; template > class basic_ifstream; template > class basic_ofstream; template > class basic_fstream; template > class istreambuf_iterator; template > class ostreambuf_iterator; typedef basic_ios ios; typedef basic_streambuf streambuf; typedef basic_istream istream; typedef basic_ostream ostream; typedef basic_iostream iostream; typedef basic_stringbuf stringbuf; typedef basic_istringstream istringstream; typedef basic_ostringstream ostringstream; typedef basic_stringstream stringstream; typedef basic_filebuf filebuf; typedef basic_ifstream ifstream; typedef basic_ofstream ofstream; typedef basic_fstream fstream; typedef basic_ios wios; typedef basic_streambuf wstreambuf; typedef basic_istream wistream; typedef basic_ostream wostream; typedef basic_iostream wiostream; typedef basic_stringbuf wstringbuf; typedef basic_istringstream wistringstream; typedef basic_ostringstream wostringstream; typedef basic_stringstream wstringstream; typedef basic_filebuf wfilebuf; typedef basic_ifstream wifstream; typedef basic_ofstream wofstream; typedef basic_fstream wfstream; } # 42 "/usr/include/c++/7/bits/localefwd.h" 2 3 # 1 "/usr/include/c++/7/cctype" 1 3 # 39 "/usr/include/c++/7/cctype" 3 # 40 "/usr/include/c++/7/cctype" 3 # 1 "/usr/include/ctype.h" 1 3 4 # 26 "/usr/include/ctype.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/types.h" 1 3 4 # 27 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 28 "/usr/include/i386-linux-gnu/bits/types.h" 2 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; __extension__ typedef signed long long int __int64_t; __extension__ typedef unsigned long long int __uint64_t; __extension__ typedef long long int __quad_t; __extension__ typedef unsigned long long int __u_quad_t; # 121 "/usr/include/i386-linux-gnu/bits/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/typesizes.h" 1 3 4 # 122 "/usr/include/i386-linux-gnu/bits/types.h" 2 3 4 __extension__ typedef __u_quad_t __dev_t; __extension__ typedef unsigned int __uid_t; __extension__ typedef unsigned int __gid_t; __extension__ typedef unsigned long int __ino_t; __extension__ typedef __u_quad_t __ino64_t; __extension__ typedef unsigned int __mode_t; __extension__ typedef unsigned int __nlink_t; __extension__ typedef long int __off_t; __extension__ typedef __quad_t __off64_t; __extension__ typedef int __pid_t; __extension__ typedef struct { int __val[2]; } __fsid_t; __extension__ typedef long int __clock_t; __extension__ typedef unsigned long int __rlim_t; __extension__ typedef __u_quad_t __rlim64_t; __extension__ typedef unsigned int __id_t; __extension__ typedef long int __time_t; __extension__ typedef unsigned int __useconds_t; __extension__ typedef long int __suseconds_t; __extension__ typedef int __daddr_t; __extension__ typedef int __key_t; __extension__ typedef int __clockid_t; __extension__ typedef void * __timer_t; __extension__ typedef long int __blksize_t; __extension__ typedef long int __blkcnt_t; __extension__ typedef __quad_t __blkcnt64_t; __extension__ typedef unsigned long int __fsblkcnt_t; __extension__ typedef __u_quad_t __fsblkcnt64_t; __extension__ typedef unsigned long int __fsfilcnt_t; __extension__ typedef __u_quad_t __fsfilcnt64_t; __extension__ typedef int __fsword_t; __extension__ typedef int __ssize_t; __extension__ typedef long int __syscall_slong_t; __extension__ typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; __extension__ typedef int __intptr_t; __extension__ typedef unsigned int __socklen_t; # 27 "/usr/include/ctype.h" 2 3 4 extern "C" { # 39 "/usr/include/ctype.h" 3 4 # 1 "/usr/include/endian.h" 1 3 4 # 36 "/usr/include/endian.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/endian.h" 1 3 4 # 37 "/usr/include/endian.h" 2 3 4 # 60 "/usr/include/endian.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/byteswap.h" 1 3 4 # 28 "/usr/include/i386-linux-gnu/bits/byteswap.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 29 "/usr/include/i386-linux-gnu/bits/byteswap.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/byteswap-16.h" 1 3 4 # 36 "/usr/include/i386-linux-gnu/bits/byteswap.h" 2 3 4 # 44 "/usr/include/i386-linux-gnu/bits/byteswap.h" 3 4 static __inline unsigned int __bswap_32 (unsigned int __bsx) { return __builtin_bswap32 (__bsx); } # 108 "/usr/include/i386-linux-gnu/bits/byteswap.h" 3 4 static __inline __uint64_t __bswap_64 (__uint64_t __bsx) { return __builtin_bswap64 (__bsx); } # 61 "/usr/include/endian.h" 2 3 4 # 40 "/usr/include/ctype.h" 2 3 4 enum { _ISupper = ((0) < 8 ? ((1 << (0)) << 8) : ((1 << (0)) >> 8)), _ISlower = ((1) < 8 ? ((1 << (1)) << 8) : ((1 << (1)) >> 8)), _ISalpha = ((2) < 8 ? ((1 << (2)) << 8) : ((1 << (2)) >> 8)), _ISdigit = ((3) < 8 ? ((1 << (3)) << 8) : ((1 << (3)) >> 8)), _ISxdigit = ((4) < 8 ? ((1 << (4)) << 8) : ((1 << (4)) >> 8)), _ISspace = ((5) < 8 ? ((1 << (5)) << 8) : ((1 << (5)) >> 8)), _ISprint = ((6) < 8 ? ((1 << (6)) << 8) : ((1 << (6)) >> 8)), _ISgraph = ((7) < 8 ? ((1 << (7)) << 8) : ((1 << (7)) >> 8)), _ISblank = ((8) < 8 ? ((1 << (8)) << 8) : ((1 << (8)) >> 8)), _IScntrl = ((9) < 8 ? ((1 << (9)) << 8) : ((1 << (9)) >> 8)), _ISpunct = ((10) < 8 ? ((1 << (10)) << 8) : ((1 << (10)) >> 8)), _ISalnum = ((11) < 8 ? ((1 << (11)) << 8) : ((1 << (11)) >> 8)) }; # 79 "/usr/include/ctype.h" 3 4 extern const unsigned short int **__ctype_b_loc (void) throw () __attribute__ ((__const__)); extern const __int32_t **__ctype_tolower_loc (void) throw () __attribute__ ((__const__)); extern const __int32_t **__ctype_toupper_loc (void) throw () __attribute__ ((__const__)); # 104 "/usr/include/ctype.h" 3 4 extern int isalnum (int) throw (); extern int isalpha (int) throw (); extern int iscntrl (int) throw (); extern int isdigit (int) throw (); extern int islower (int) throw (); extern int isgraph (int) throw (); extern int isprint (int) throw (); extern int ispunct (int) throw (); extern int isspace (int) throw (); extern int isupper (int) throw (); extern int isxdigit (int) throw (); extern int tolower (int __c) throw (); extern int toupper (int __c) throw (); extern int isblank (int) throw (); extern int isctype (int __c, int __mask) throw (); extern int isascii (int __c) throw (); extern int toascii (int __c) throw (); extern int _toupper (int) throw (); extern int _tolower (int) throw (); # 271 "/usr/include/ctype.h" 3 4 extern int isalnum_l (int, __locale_t) throw (); extern int isalpha_l (int, __locale_t) throw (); extern int iscntrl_l (int, __locale_t) throw (); extern int isdigit_l (int, __locale_t) throw (); extern int islower_l (int, __locale_t) throw (); extern int isgraph_l (int, __locale_t) throw (); extern int isprint_l (int, __locale_t) throw (); extern int ispunct_l (int, __locale_t) throw (); extern int isspace_l (int, __locale_t) throw (); extern int isupper_l (int, __locale_t) throw (); extern int isxdigit_l (int, __locale_t) throw (); extern int isblank_l (int, __locale_t) throw (); extern int __tolower_l (int __c, __locale_t __l) throw (); extern int tolower_l (int __c, __locale_t __l) throw (); extern int __toupper_l (int __c, __locale_t __l) throw (); extern int toupper_l (int __c, __locale_t __l) throw (); # 347 "/usr/include/ctype.h" 3 4 } # 43 "/usr/include/c++/7/cctype" 2 3 # 62 "/usr/include/c++/7/cctype" 3 namespace std { using ::isalnum; using ::isalpha; using ::iscntrl; using ::isdigit; using ::isgraph; using ::islower; using ::isprint; using ::ispunct; using ::isspace; using ::isupper; using ::isxdigit; using ::tolower; using ::toupper; } namespace std { using ::isblank; } # 43 "/usr/include/c++/7/bits/localefwd.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 55 "/usr/include/c++/7/bits/localefwd.h" 3 class locale; template bool has_facet(const locale&) throw(); template const _Facet& use_facet(const locale&); template bool isspace(_CharT, const locale&); template bool isprint(_CharT, const locale&); template bool iscntrl(_CharT, const locale&); template bool isupper(_CharT, const locale&); template bool islower(_CharT, const locale&); template bool isalpha(_CharT, const locale&); template bool isdigit(_CharT, const locale&); template bool ispunct(_CharT, const locale&); template bool isxdigit(_CharT, const locale&); template bool isalnum(_CharT, const locale&); template bool isgraph(_CharT, const locale&); template bool isblank(_CharT, const locale&); template _CharT toupper(_CharT, const locale&); template _CharT tolower(_CharT, const locale&); class ctype_base; template class ctype; template<> class ctype; template<> class ctype; template class ctype_byname; class codecvt_base; template class codecvt; template<> class codecvt; template<> class codecvt; template class codecvt_byname; template > class num_get; template > class num_put; namespace __cxx11 { template class numpunct; template class numpunct_byname; } namespace __cxx11 { template class collate; template class collate_byname; } class time_base; namespace __cxx11 { template > class time_get; template > class time_get_byname; } template > class time_put; template > class time_put_byname; class money_base; namespace __cxx11 { template > class money_get; template > class money_put; } namespace __cxx11 { template class moneypunct; template class moneypunct_byname; } class messages_base; namespace __cxx11 { template class messages; template class messages_byname; } } # 44 "/usr/include/c++/7/string" 2 3 # 1 "/usr/include/c++/7/bits/ostream_insert.h" 1 3 # 33 "/usr/include/c++/7/bits/ostream_insert.h" 3 # 34 "/usr/include/c++/7/bits/ostream_insert.h" 3 # 1 "/usr/include/c++/7/bits/cxxabi_forced.h" 1 3 # 34 "/usr/include/c++/7/bits/cxxabi_forced.h" 3 # 35 "/usr/include/c++/7/bits/cxxabi_forced.h" 3 #pragma GCC visibility push(default) namespace __cxxabiv1 { class __forced_unwind { virtual ~__forced_unwind() throw(); virtual void __pure_dummy() = 0; }; } #pragma GCC visibility pop # 37 "/usr/include/c++/7/bits/ostream_insert.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { template inline void __ostream_write(basic_ostream<_CharT, _Traits>& __out, const _CharT* __s, streamsize __n) { typedef basic_ostream<_CharT, _Traits> __ostream_type; typedef typename __ostream_type::ios_base __ios_base; const streamsize __put = __out.rdbuf()->sputn(__s, __n); if (__put != __n) __out.setstate(__ios_base::badbit); } template inline void __ostream_fill(basic_ostream<_CharT, _Traits>& __out, streamsize __n) { typedef basic_ostream<_CharT, _Traits> __ostream_type; typedef typename __ostream_type::ios_base __ios_base; const _CharT __c = __out.fill(); for (; __n > 0; --__n) { const typename _Traits::int_type __put = __out.rdbuf()->sputc(__c); if (_Traits::eq_int_type(__put, _Traits::eof())) { __out.setstate(__ios_base::badbit); break; } } } template basic_ostream<_CharT, _Traits>& __ostream_insert(basic_ostream<_CharT, _Traits>& __out, const _CharT* __s, streamsize __n) { typedef basic_ostream<_CharT, _Traits> __ostream_type; typedef typename __ostream_type::ios_base __ios_base; typename __ostream_type::sentry __cerb(__out); if (__cerb) { try { const streamsize __w = __out.width(); if (__w > __n) { const bool __left = ((__out.flags() & __ios_base::adjustfield) == __ios_base::left); if (!__left) __ostream_fill(__out, __w - __n); if (__out.good()) __ostream_write(__out, __s, __n); if (__left && __out.good()) __ostream_fill(__out, __w - __n); } else __ostream_write(__out, __s, __n); __out.width(0); } catch(__cxxabiv1::__forced_unwind&) { __out._M_setstate(__ios_base::badbit); throw; } catch(...) { __out._M_setstate(__ios_base::badbit); } } return __out; } extern template ostream& __ostream_insert(ostream&, const char*, streamsize); extern template wostream& __ostream_insert(wostream&, const wchar_t*, streamsize); } # 45 "/usr/include/c++/7/string" 2 3 # 1 "/usr/include/c++/7/bits/range_access.h" 1 3 # 33 "/usr/include/c++/7/bits/range_access.h" 3 # 34 "/usr/include/c++/7/bits/range_access.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { template inline auto begin(_Container& __cont) -> decltype(__cont.begin()) { return __cont.begin(); } template inline auto begin(const _Container& __cont) -> decltype(__cont.begin()) { return __cont.begin(); } template inline auto end(_Container& __cont) -> decltype(__cont.end()) { return __cont.end(); } template inline auto end(const _Container& __cont) -> decltype(__cont.end()) { return __cont.end(); } template inline constexpr _Tp* begin(_Tp (&__arr)[_Nm]) { return __arr; } template inline constexpr _Tp* end(_Tp (&__arr)[_Nm]) { return __arr + _Nm; } template class valarray; template _Tp* begin(valarray<_Tp>&); template const _Tp* begin(const valarray<_Tp>&); template _Tp* end(valarray<_Tp>&); template const _Tp* end(const valarray<_Tp>&); template inline constexpr auto cbegin(const _Container& __cont) noexcept(noexcept(std::begin(__cont))) -> decltype(std::begin(__cont)) { return std::begin(__cont); } template inline constexpr auto cend(const _Container& __cont) noexcept(noexcept(std::end(__cont))) -> decltype(std::end(__cont)) { return std::end(__cont); } template inline auto rbegin(_Container& __cont) -> decltype(__cont.rbegin()) { return __cont.rbegin(); } template inline auto rbegin(const _Container& __cont) -> decltype(__cont.rbegin()) { return __cont.rbegin(); } template inline auto rend(_Container& __cont) -> decltype(__cont.rend()) { return __cont.rend(); } template inline auto rend(const _Container& __cont) -> decltype(__cont.rend()) { return __cont.rend(); } template inline reverse_iterator<_Tp*> rbegin(_Tp (&__arr)[_Nm]) { return reverse_iterator<_Tp*>(__arr + _Nm); } template inline reverse_iterator<_Tp*> rend(_Tp (&__arr)[_Nm]) { return reverse_iterator<_Tp*>(__arr); } template inline reverse_iterator rbegin(initializer_list<_Tp> __il) { return reverse_iterator(__il.end()); } template inline reverse_iterator rend(initializer_list<_Tp> __il) { return reverse_iterator(__il.begin()); } template inline auto crbegin(const _Container& __cont) -> decltype(std::rbegin(__cont)) { return std::rbegin(__cont); } template inline auto crend(const _Container& __cont) -> decltype(std::rend(__cont)) { return std::rend(__cont); } # 319 "/usr/include/c++/7/bits/range_access.h" 3 } # 52 "/usr/include/c++/7/string" 2 3 # 1 "/usr/include/c++/7/bits/basic_string.h" 1 3 # 37 "/usr/include/c++/7/bits/basic_string.h" 3 # 38 "/usr/include/c++/7/bits/basic_string.h" 3 # 1 "/usr/include/c++/7/ext/atomicity.h" 1 3 # 32 "/usr/include/c++/7/ext/atomicity.h" 3 # 33 "/usr/include/c++/7/ext/atomicity.h" 3 # 1 "/usr/include/i386-linux-gnu/c++/7/bits/gthr.h" 1 3 # 30 "/usr/include/i386-linux-gnu/c++/7/bits/gthr.h" 3 #pragma GCC visibility push(default) # 148 "/usr/include/i386-linux-gnu/c++/7/bits/gthr.h" 3 # 1 "/usr/include/i386-linux-gnu/c++/7/bits/gthr-default.h" 1 3 # 35 "/usr/include/i386-linux-gnu/c++/7/bits/gthr-default.h" 3 # 1 "/usr/include/pthread.h" 1 3 4 # 23 "/usr/include/pthread.h" 3 4 # 1 "/usr/include/sched.h" 1 3 4 # 28 "/usr/include/sched.h" 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 29 "/usr/include/sched.h" 2 3 4 # 1 "/usr/include/time.h" 1 3 4 # 73 "/usr/include/time.h" 3 4 typedef __time_t time_t; # 120 "/usr/include/time.h" 3 4 struct timespec { __time_t tv_sec; __syscall_slong_t tv_nsec; }; # 35 "/usr/include/sched.h" 2 3 4 typedef __pid_t pid_t; # 1 "/usr/include/i386-linux-gnu/bits/sched.h" 1 3 4 # 73 "/usr/include/i386-linux-gnu/bits/sched.h" 3 4 struct sched_param { int __sched_priority; }; extern "C" { extern int clone (int (*__fn) (void *__arg), void *__child_stack, int __flags, void *__arg, ...) throw (); extern int unshare (int __flags) throw (); extern int sched_getcpu (void) throw (); extern int setns (int __fd, int __nstype) throw (); } struct __sched_param { int __sched_priority; }; # 119 "/usr/include/i386-linux-gnu/bits/sched.h" 3 4 typedef unsigned long int __cpu_mask; typedef struct { __cpu_mask __bits[1024 / (8 * sizeof (__cpu_mask))]; } cpu_set_t; # 202 "/usr/include/i386-linux-gnu/bits/sched.h" 3 4 extern "C" { extern int __sched_cpucount (size_t __setsize, const cpu_set_t *__setp) throw (); extern cpu_set_t *__sched_cpualloc (size_t __count) throw () ; extern void __sched_cpufree (cpu_set_t *__set) throw (); } # 44 "/usr/include/sched.h" 2 3 4 extern "C" { extern int sched_setparam (__pid_t __pid, const struct sched_param *__param) throw (); extern int sched_getparam (__pid_t __pid, struct sched_param *__param) throw (); extern int sched_setscheduler (__pid_t __pid, int __policy, const struct sched_param *__param) throw (); extern int sched_getscheduler (__pid_t __pid) throw (); extern int sched_yield (void) throw (); extern int sched_get_priority_max (int __algorithm) throw (); extern int sched_get_priority_min (int __algorithm) throw (); extern int sched_rr_get_interval (__pid_t __pid, struct timespec *__t) throw (); # 118 "/usr/include/sched.h" 3 4 extern int sched_setaffinity (__pid_t __pid, size_t __cpusetsize, const cpu_set_t *__cpuset) throw (); extern int sched_getaffinity (__pid_t __pid, size_t __cpusetsize, cpu_set_t *__cpuset) throw (); } # 24 "/usr/include/pthread.h" 2 3 4 # 1 "/usr/include/time.h" 1 3 4 # 29 "/usr/include/time.h" 3 4 extern "C" { # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 38 "/usr/include/time.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/time.h" 1 3 4 # 30 "/usr/include/i386-linux-gnu/bits/time.h" 3 4 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 88 "/usr/include/i386-linux-gnu/bits/time.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/timex.h" 1 3 4 # 25 "/usr/include/i386-linux-gnu/bits/timex.h" 3 4 struct timex { unsigned int modes; __syscall_slong_t offset; __syscall_slong_t freq; __syscall_slong_t maxerror; __syscall_slong_t esterror; int status; __syscall_slong_t constant; __syscall_slong_t precision; __syscall_slong_t tolerance; struct timeval time; __syscall_slong_t tick; __syscall_slong_t ppsfreq; __syscall_slong_t jitter; int shift; __syscall_slong_t stabil; __syscall_slong_t jitcnt; __syscall_slong_t calcnt; __syscall_slong_t errcnt; __syscall_slong_t stbcnt; int tai; int :32; int :32; int :32; int :32; int :32; int :32; int :32; int :32; int :32; int :32; int :32; }; # 89 "/usr/include/i386-linux-gnu/bits/time.h" 2 3 4 extern "C" { extern int clock_adjtime (__clockid_t __clock_id, struct timex *__utx) throw (); } # 42 "/usr/include/time.h" 2 3 4 # 57 "/usr/include/time.h" 3 4 typedef __clock_t clock_t; # 91 "/usr/include/time.h" 3 4 typedef __clockid_t clockid_t; # 103 "/usr/include/time.h" 3 4 typedef __timer_t timer_t; # 131 "/usr/include/time.h" 3 4 struct tm { int tm_sec; int tm_min; int tm_hour; int tm_mday; int tm_mon; int tm_year; int tm_wday; int tm_yday; int tm_isdst; long int tm_gmtoff; const char *tm_zone; }; struct itimerspec { struct timespec it_interval; struct timespec it_value; }; struct sigevent; # 186 "/usr/include/time.h" 3 4 extern clock_t clock (void) throw (); extern time_t time (time_t *__timer) throw (); extern double difftime (time_t __time1, time_t __time0) throw () __attribute__ ((__const__)); extern time_t mktime (struct tm *__tp) throw (); extern size_t strftime (char *__restrict __s, size_t __maxsize, const char *__restrict __format, const struct tm *__restrict __tp) throw (); extern char *strptime (const char *__restrict __s, const char *__restrict __fmt, struct tm *__tp) throw (); extern size_t strftime_l (char *__restrict __s, size_t __maxsize, const char *__restrict __format, const struct tm *__restrict __tp, __locale_t __loc) throw (); extern char *strptime_l (const char *__restrict __s, const char *__restrict __fmt, struct tm *__tp, __locale_t __loc) throw (); extern struct tm *gmtime (const time_t *__timer) throw (); extern struct tm *localtime (const time_t *__timer) throw (); extern struct tm *gmtime_r (const time_t *__restrict __timer, struct tm *__restrict __tp) throw (); extern struct tm *localtime_r (const time_t *__restrict __timer, struct tm *__restrict __tp) throw (); extern char *asctime (const struct tm *__tp) throw (); extern char *ctime (const time_t *__timer) throw (); extern char *asctime_r (const struct tm *__restrict __tp, char *__restrict __buf) throw (); extern char *ctime_r (const time_t *__restrict __timer, char *__restrict __buf) throw (); extern char *__tzname[2]; extern int __daylight; extern long int __timezone; extern char *tzname[2]; extern void tzset (void) throw (); extern int daylight; extern long int timezone; extern int stime (const time_t *__when) throw (); # 319 "/usr/include/time.h" 3 4 extern time_t timegm (struct tm *__tp) throw (); extern time_t timelocal (struct tm *__tp) throw (); extern int dysize (int __year) throw () __attribute__ ((__const__)); # 334 "/usr/include/time.h" 3 4 extern int nanosleep (const struct timespec *__requested_time, struct timespec *__remaining); extern int clock_getres (clockid_t __clock_id, struct timespec *__res) throw (); extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) throw (); extern int clock_settime (clockid_t __clock_id, const struct timespec *__tp) throw (); extern int clock_nanosleep (clockid_t __clock_id, int __flags, const struct timespec *__req, struct timespec *__rem); extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) throw (); extern int timer_create (clockid_t __clock_id, struct sigevent *__restrict __evp, timer_t *__restrict __timerid) throw (); extern int timer_delete (timer_t __timerid) throw (); extern int timer_settime (timer_t __timerid, int __flags, const struct itimerspec *__restrict __value, struct itimerspec *__restrict __ovalue) throw (); extern int timer_gettime (timer_t __timerid, struct itimerspec *__value) throw (); extern int timer_getoverrun (timer_t __timerid) throw (); extern int timespec_get (struct timespec *__ts, int __base) throw () __attribute__ ((__nonnull__ (1))); # 403 "/usr/include/time.h" 3 4 extern int getdate_err; # 412 "/usr/include/time.h" 3 4 extern struct tm *getdate (const char *__string); # 426 "/usr/include/time.h" 3 4 extern int getdate_r (const char *__restrict __string, struct tm *__restrict __resbufp); } # 25 "/usr/include/pthread.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 1 3 4 # 21 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 22 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 2 3 4 # 60 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 typedef unsigned long int pthread_t; union pthread_attr_t { char __size[36]; long int __align; }; typedef union pthread_attr_t pthread_attr_t; # 81 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 typedef struct __pthread_internal_slist { struct __pthread_internal_slist *__next; } __pthread_slist_t; typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; int __kind; # 111 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 unsigned int __nusers; __extension__ union { struct { short __espins; short __elision; } __elision_data; __pthread_slist_t __list; }; } __data; char __size[24]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { # 202 "/usr/include/i386-linux-gnu/bits/pthreadtypes.h" 3 4 struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; unsigned char __flags; unsigned char __shared; signed char __rwelision; unsigned char __pad2; int __writer; } __data; char __size[32]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[20]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 27 "/usr/include/pthread.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/setjmp.h" 1 3 4 # 26 "/usr/include/i386-linux-gnu/bits/setjmp.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 27 "/usr/include/i386-linux-gnu/bits/setjmp.h" 2 3 4 # 35 "/usr/include/i386-linux-gnu/bits/setjmp.h" 3 4 typedef int __jmp_buf[6]; # 28 "/usr/include/pthread.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 29 "/usr/include/pthread.h" 2 3 4 enum { PTHREAD_CREATE_JOINABLE, PTHREAD_CREATE_DETACHED }; enum { PTHREAD_MUTEX_TIMED_NP, PTHREAD_MUTEX_RECURSIVE_NP, PTHREAD_MUTEX_ERRORCHECK_NP, PTHREAD_MUTEX_ADAPTIVE_NP , PTHREAD_MUTEX_NORMAL = PTHREAD_MUTEX_TIMED_NP, PTHREAD_MUTEX_RECURSIVE = PTHREAD_MUTEX_RECURSIVE_NP, PTHREAD_MUTEX_ERRORCHECK = PTHREAD_MUTEX_ERRORCHECK_NP, PTHREAD_MUTEX_DEFAULT = PTHREAD_MUTEX_NORMAL , PTHREAD_MUTEX_FAST_NP = PTHREAD_MUTEX_TIMED_NP }; enum { PTHREAD_MUTEX_STALLED, PTHREAD_MUTEX_STALLED_NP = PTHREAD_MUTEX_STALLED, PTHREAD_MUTEX_ROBUST, PTHREAD_MUTEX_ROBUST_NP = PTHREAD_MUTEX_ROBUST }; enum { PTHREAD_PRIO_NONE, PTHREAD_PRIO_INHERIT, PTHREAD_PRIO_PROTECT }; # 114 "/usr/include/pthread.h" 3 4 enum { PTHREAD_RWLOCK_PREFER_READER_NP, PTHREAD_RWLOCK_PREFER_WRITER_NP, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP, PTHREAD_RWLOCK_DEFAULT_NP = PTHREAD_RWLOCK_PREFER_READER_NP }; # 155 "/usr/include/pthread.h" 3 4 enum { PTHREAD_INHERIT_SCHED, PTHREAD_EXPLICIT_SCHED }; enum { PTHREAD_SCOPE_SYSTEM, PTHREAD_SCOPE_PROCESS }; enum { PTHREAD_PROCESS_PRIVATE, PTHREAD_PROCESS_SHARED }; # 190 "/usr/include/pthread.h" 3 4 struct _pthread_cleanup_buffer { void (*__routine) (void *); void *__arg; int __canceltype; struct _pthread_cleanup_buffer *__prev; }; enum { PTHREAD_CANCEL_ENABLE, PTHREAD_CANCEL_DISABLE }; enum { PTHREAD_CANCEL_DEFERRED, PTHREAD_CANCEL_ASYNCHRONOUS }; # 228 "/usr/include/pthread.h" 3 4 extern "C" { extern int pthread_create (pthread_t *__restrict __newthread, const pthread_attr_t *__restrict __attr, void *(*__start_routine) (void *), void *__restrict __arg) throw () __attribute__ ((__nonnull__ (1, 3))); extern void pthread_exit (void *__retval) __attribute__ ((__noreturn__)); extern int pthread_join (pthread_t __th, void **__thread_return); extern int pthread_tryjoin_np (pthread_t __th, void **__thread_return) throw (); extern int pthread_timedjoin_np (pthread_t __th, void **__thread_return, const struct timespec *__abstime); extern int pthread_detach (pthread_t __th) throw (); extern pthread_t pthread_self (void) throw () __attribute__ ((__const__)); extern int pthread_equal (pthread_t __thread1, pthread_t __thread2) throw () __attribute__ ((__const__)); extern int pthread_attr_init (pthread_attr_t *__attr) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_attr_destroy (pthread_attr_t *__attr) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getdetachstate (const pthread_attr_t *__attr, int *__detachstate) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setdetachstate (pthread_attr_t *__attr, int __detachstate) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getguardsize (const pthread_attr_t *__attr, size_t *__guardsize) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setguardsize (pthread_attr_t *__attr, size_t __guardsize) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getschedparam (const pthread_attr_t *__restrict __attr, struct sched_param *__restrict __param) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setschedparam (pthread_attr_t *__restrict __attr, const struct sched_param *__restrict __param) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_getschedpolicy (const pthread_attr_t *__restrict __attr, int *__restrict __policy) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setschedpolicy (pthread_attr_t *__attr, int __policy) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getinheritsched (const pthread_attr_t *__restrict __attr, int *__restrict __inherit) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setinheritsched (pthread_attr_t *__attr, int __inherit) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getscope (const pthread_attr_t *__restrict __attr, int *__restrict __scope) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setscope (pthread_attr_t *__attr, int __scope) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getstackaddr (const pthread_attr_t *__restrict __attr, void **__restrict __stackaddr) throw () __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__deprecated__)); extern int pthread_attr_setstackaddr (pthread_attr_t *__attr, void *__stackaddr) throw () __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__)); extern int pthread_attr_getstacksize (const pthread_attr_t *__restrict __attr, size_t *__restrict __stacksize) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setstacksize (pthread_attr_t *__attr, size_t __stacksize) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getstack (const pthread_attr_t *__restrict __attr, void **__restrict __stackaddr, size_t *__restrict __stacksize) throw () __attribute__ ((__nonnull__ (1, 2, 3))); extern int pthread_attr_setstack (pthread_attr_t *__attr, void *__stackaddr, size_t __stacksize) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_attr_setaffinity_np (pthread_attr_t *__attr, size_t __cpusetsize, const cpu_set_t *__cpuset) throw () __attribute__ ((__nonnull__ (1, 3))); extern int pthread_attr_getaffinity_np (const pthread_attr_t *__attr, size_t __cpusetsize, cpu_set_t *__cpuset) throw () __attribute__ ((__nonnull__ (1, 3))); extern int pthread_getattr_default_np (pthread_attr_t *__attr) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_setattr_default_np (const pthread_attr_t *__attr) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_getattr_np (pthread_t __th, pthread_attr_t *__attr) throw () __attribute__ ((__nonnull__ (2))); extern int pthread_setschedparam (pthread_t __target_thread, int __policy, const struct sched_param *__param) throw () __attribute__ ((__nonnull__ (3))); extern int pthread_getschedparam (pthread_t __target_thread, int *__restrict __policy, struct sched_param *__restrict __param) throw () __attribute__ ((__nonnull__ (2, 3))); extern int pthread_setschedprio (pthread_t __target_thread, int __prio) throw (); extern int pthread_getname_np (pthread_t __target_thread, char *__buf, size_t __buflen) throw () __attribute__ ((__nonnull__ (2))); extern int pthread_setname_np (pthread_t __target_thread, const char *__name) throw () __attribute__ ((__nonnull__ (2))); extern int pthread_getconcurrency (void) throw (); extern int pthread_setconcurrency (int __level) throw (); extern int pthread_yield (void) throw (); extern int pthread_setaffinity_np (pthread_t __th, size_t __cpusetsize, const cpu_set_t *__cpuset) throw () __attribute__ ((__nonnull__ (3))); extern int pthread_getaffinity_np (pthread_t __th, size_t __cpusetsize, cpu_set_t *__cpuset) throw () __attribute__ ((__nonnull__ (3))); # 494 "/usr/include/pthread.h" 3 4 extern int pthread_once (pthread_once_t *__once_control, void (*__init_routine) (void)) __attribute__ ((__nonnull__ (1, 2))); # 506 "/usr/include/pthread.h" 3 4 extern int pthread_setcancelstate (int __state, int *__oldstate); extern int pthread_setcanceltype (int __type, int *__oldtype); extern int pthread_cancel (pthread_t __th); extern void pthread_testcancel (void); typedef struct { struct { __jmp_buf __cancel_jmp_buf; int __mask_was_saved; } __cancel_jmp_buf[1]; void *__pad[4]; } __pthread_unwind_buf_t __attribute__ ((__aligned__)); # 540 "/usr/include/pthread.h" 3 4 struct __pthread_cleanup_frame { void (*__cancel_routine) (void *); void *__cancel_arg; int __do_it; int __cancel_type; }; class __pthread_cleanup_class { void (*__cancel_routine) (void *); void *__cancel_arg; int __do_it; int __cancel_type; public: __pthread_cleanup_class (void (*__fct) (void *), void *__arg) : __cancel_routine (__fct), __cancel_arg (__arg), __do_it (1) { } ~__pthread_cleanup_class () { if (__do_it) __cancel_routine (__cancel_arg); } void __setdoit (int __newval) { __do_it = __newval; } void __defer () { pthread_setcanceltype (PTHREAD_CANCEL_DEFERRED, &__cancel_type); } void __restore () const { pthread_setcanceltype (__cancel_type, 0); } }; # 742 "/usr/include/pthread.h" 3 4 struct __jmp_buf_tag; extern int __sigsetjmp (struct __jmp_buf_tag *__env, int __savemask) throw (); extern int pthread_mutex_init (pthread_mutex_t *__mutex, const pthread_mutexattr_t *__mutexattr) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_mutex_destroy (pthread_mutex_t *__mutex) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_mutex_trylock (pthread_mutex_t *__mutex) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_mutex_lock (pthread_mutex_t *__mutex) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_mutex_timedlock (pthread_mutex_t *__restrict __mutex, const struct timespec *__restrict __abstime) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutex_unlock (pthread_mutex_t *__mutex) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_mutex_getprioceiling (const pthread_mutex_t * __restrict __mutex, int *__restrict __prioceiling) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutex_setprioceiling (pthread_mutex_t *__restrict __mutex, int __prioceiling, int *__restrict __old_ceiling) throw () __attribute__ ((__nonnull__ (1, 3))); extern int pthread_mutex_consistent (pthread_mutex_t *__mutex) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_mutex_consistent_np (pthread_mutex_t *__mutex) throw () __attribute__ ((__nonnull__ (1))); # 806 "/usr/include/pthread.h" 3 4 extern int pthread_mutexattr_init (pthread_mutexattr_t *__attr) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_destroy (pthread_mutexattr_t *__attr) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_getpshared (const pthread_mutexattr_t * __restrict __attr, int *__restrict __pshared) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutexattr_setpshared (pthread_mutexattr_t *__attr, int __pshared) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_gettype (const pthread_mutexattr_t *__restrict __attr, int *__restrict __kind) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutexattr_settype (pthread_mutexattr_t *__attr, int __kind) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_getprotocol (const pthread_mutexattr_t * __restrict __attr, int *__restrict __protocol) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutexattr_setprotocol (pthread_mutexattr_t *__attr, int __protocol) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_getprioceiling (const pthread_mutexattr_t * __restrict __attr, int *__restrict __prioceiling) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutexattr_setprioceiling (pthread_mutexattr_t *__attr, int __prioceiling) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_getrobust (const pthread_mutexattr_t *__attr, int *__robustness) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutexattr_getrobust_np (const pthread_mutexattr_t *__attr, int *__robustness) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutexattr_setrobust (pthread_mutexattr_t *__attr, int __robustness) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_setrobust_np (pthread_mutexattr_t *__attr, int __robustness) throw () __attribute__ ((__nonnull__ (1))); # 888 "/usr/include/pthread.h" 3 4 extern int pthread_rwlock_init (pthread_rwlock_t *__restrict __rwlock, const pthread_rwlockattr_t *__restrict __attr) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_destroy (pthread_rwlock_t *__rwlock) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_rdlock (pthread_rwlock_t *__rwlock) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_tryrdlock (pthread_rwlock_t *__rwlock) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_timedrdlock (pthread_rwlock_t *__restrict __rwlock, const struct timespec *__restrict __abstime) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_rwlock_wrlock (pthread_rwlock_t *__rwlock) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_trywrlock (pthread_rwlock_t *__rwlock) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_timedwrlock (pthread_rwlock_t *__restrict __rwlock, const struct timespec *__restrict __abstime) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_rwlock_unlock (pthread_rwlock_t *__rwlock) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_rwlockattr_init (pthread_rwlockattr_t *__attr) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_rwlockattr_destroy (pthread_rwlockattr_t *__attr) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_rwlockattr_getpshared (const pthread_rwlockattr_t * __restrict __attr, int *__restrict __pshared) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_rwlockattr_setpshared (pthread_rwlockattr_t *__attr, int __pshared) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_rwlockattr_getkind_np (const pthread_rwlockattr_t * __restrict __attr, int *__restrict __pref) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_rwlockattr_setkind_np (pthread_rwlockattr_t *__attr, int __pref) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_cond_init (pthread_cond_t *__restrict __cond, const pthread_condattr_t *__restrict __cond_attr) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_cond_destroy (pthread_cond_t *__cond) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_cond_signal (pthread_cond_t *__cond) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_cond_broadcast (pthread_cond_t *__cond) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_cond_wait (pthread_cond_t *__restrict __cond, pthread_mutex_t *__restrict __mutex) __attribute__ ((__nonnull__ (1, 2))); # 1000 "/usr/include/pthread.h" 3 4 extern int pthread_cond_timedwait (pthread_cond_t *__restrict __cond, pthread_mutex_t *__restrict __mutex, const struct timespec *__restrict __abstime) __attribute__ ((__nonnull__ (1, 2, 3))); extern int pthread_condattr_init (pthread_condattr_t *__attr) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_condattr_destroy (pthread_condattr_t *__attr) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_condattr_getpshared (const pthread_condattr_t * __restrict __attr, int *__restrict __pshared) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_condattr_setpshared (pthread_condattr_t *__attr, int __pshared) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_condattr_getclock (const pthread_condattr_t * __restrict __attr, __clockid_t *__restrict __clock_id) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_condattr_setclock (pthread_condattr_t *__attr, __clockid_t __clock_id) throw () __attribute__ ((__nonnull__ (1))); # 1044 "/usr/include/pthread.h" 3 4 extern int pthread_spin_init (pthread_spinlock_t *__lock, int __pshared) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_spin_destroy (pthread_spinlock_t *__lock) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_spin_lock (pthread_spinlock_t *__lock) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_spin_trylock (pthread_spinlock_t *__lock) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_spin_unlock (pthread_spinlock_t *__lock) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_barrier_init (pthread_barrier_t *__restrict __barrier, const pthread_barrierattr_t *__restrict __attr, unsigned int __count) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_barrier_destroy (pthread_barrier_t *__barrier) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_barrier_wait (pthread_barrier_t *__barrier) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_barrierattr_init (pthread_barrierattr_t *__attr) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_barrierattr_destroy (pthread_barrierattr_t *__attr) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_barrierattr_getpshared (const pthread_barrierattr_t * __restrict __attr, int *__restrict __pshared) throw () __attribute__ ((__nonnull__ (1, 2))); extern int pthread_barrierattr_setpshared (pthread_barrierattr_t *__attr, int __pshared) throw () __attribute__ ((__nonnull__ (1))); # 1111 "/usr/include/pthread.h" 3 4 extern int pthread_key_create (pthread_key_t *__key, void (*__destr_function) (void *)) throw () __attribute__ ((__nonnull__ (1))); extern int pthread_key_delete (pthread_key_t __key) throw (); extern void *pthread_getspecific (pthread_key_t __key) throw (); extern int pthread_setspecific (pthread_key_t __key, const void *__pointer) throw () ; extern int pthread_getcpuclockid (pthread_t __thread_id, __clockid_t *__clock_id) throw () __attribute__ ((__nonnull__ (2))); # 1145 "/usr/include/pthread.h" 3 4 extern int pthread_atfork (void (*__prepare) (void), void (*__parent) (void), void (*__child) (void)) throw (); # 1159 "/usr/include/pthread.h" 3 4 } # 36 "/usr/include/i386-linux-gnu/c++/7/bits/gthr-default.h" 2 3 # 47 "/usr/include/i386-linux-gnu/c++/7/bits/gthr-default.h" 3 typedef pthread_t __gthread_t; typedef pthread_key_t __gthread_key_t; typedef pthread_once_t __gthread_once_t; typedef pthread_mutex_t __gthread_mutex_t; typedef pthread_mutex_t __gthread_recursive_mutex_t; typedef pthread_cond_t __gthread_cond_t; typedef struct timespec __gthread_time_t; # 101 "/usr/include/i386-linux-gnu/c++/7/bits/gthr-default.h" 3 static __typeof(pthread_once) __gthrw_pthread_once __attribute__ ((__weakref__("pthread_once"))); static __typeof(pthread_getspecific) __gthrw_pthread_getspecific __attribute__ ((__weakref__("pthread_getspecific"))); static __typeof(pthread_setspecific) __gthrw_pthread_setspecific __attribute__ ((__weakref__("pthread_setspecific"))); static __typeof(pthread_create) __gthrw_pthread_create __attribute__ ((__weakref__("pthread_create"))); static __typeof(pthread_join) __gthrw_pthread_join __attribute__ ((__weakref__("pthread_join"))); static __typeof(pthread_equal) __gthrw_pthread_equal __attribute__ ((__weakref__("pthread_equal"))); static __typeof(pthread_self) __gthrw_pthread_self __attribute__ ((__weakref__("pthread_self"))); static __typeof(pthread_detach) __gthrw_pthread_detach __attribute__ ((__weakref__("pthread_detach"))); static __typeof(pthread_cancel) __gthrw_pthread_cancel __attribute__ ((__weakref__("pthread_cancel"))); static __typeof(sched_yield) __gthrw_sched_yield __attribute__ ((__weakref__("sched_yield"))); static __typeof(pthread_mutex_lock) __gthrw_pthread_mutex_lock __attribute__ ((__weakref__("pthread_mutex_lock"))); static __typeof(pthread_mutex_trylock) __gthrw_pthread_mutex_trylock __attribute__ ((__weakref__("pthread_mutex_trylock"))); static __typeof(pthread_mutex_timedlock) __gthrw_pthread_mutex_timedlock __attribute__ ((__weakref__("pthread_mutex_timedlock"))); static __typeof(pthread_mutex_unlock) __gthrw_pthread_mutex_unlock __attribute__ ((__weakref__("pthread_mutex_unlock"))); static __typeof(pthread_mutex_init) __gthrw_pthread_mutex_init __attribute__ ((__weakref__("pthread_mutex_init"))); static __typeof(pthread_mutex_destroy) __gthrw_pthread_mutex_destroy __attribute__ ((__weakref__("pthread_mutex_destroy"))); static __typeof(pthread_cond_init) __gthrw_pthread_cond_init __attribute__ ((__weakref__("pthread_cond_init"))); static __typeof(pthread_cond_broadcast) __gthrw_pthread_cond_broadcast __attribute__ ((__weakref__("pthread_cond_broadcast"))); static __typeof(pthread_cond_signal) __gthrw_pthread_cond_signal __attribute__ ((__weakref__("pthread_cond_signal"))); static __typeof(pthread_cond_wait) __gthrw_pthread_cond_wait __attribute__ ((__weakref__("pthread_cond_wait"))); static __typeof(pthread_cond_timedwait) __gthrw_pthread_cond_timedwait __attribute__ ((__weakref__("pthread_cond_timedwait"))); static __typeof(pthread_cond_destroy) __gthrw_pthread_cond_destroy __attribute__ ((__weakref__("pthread_cond_destroy"))); static __typeof(pthread_key_create) __gthrw_pthread_key_create __attribute__ ((__weakref__("pthread_key_create"))); static __typeof(pthread_key_delete) __gthrw_pthread_key_delete __attribute__ ((__weakref__("pthread_key_delete"))); static __typeof(pthread_mutexattr_init) __gthrw_pthread_mutexattr_init __attribute__ ((__weakref__("pthread_mutexattr_init"))); static __typeof(pthread_mutexattr_settype) __gthrw_pthread_mutexattr_settype __attribute__ ((__weakref__("pthread_mutexattr_settype"))); static __typeof(pthread_mutexattr_destroy) __gthrw_pthread_mutexattr_destroy __attribute__ ((__weakref__("pthread_mutexattr_destroy"))); # 236 "/usr/include/i386-linux-gnu/c++/7/bits/gthr-default.h" 3 static __typeof(pthread_key_create) __gthrw___pthread_key_create __attribute__ ((__weakref__("__pthread_key_create"))); # 246 "/usr/include/i386-linux-gnu/c++/7/bits/gthr-default.h" 3 static inline int __gthread_active_p (void) { static void *const __gthread_active_ptr = __extension__ (void *) &__gthrw___pthread_key_create; return __gthread_active_ptr != 0; } # 658 "/usr/include/i386-linux-gnu/c++/7/bits/gthr-default.h" 3 static inline int __gthread_create (__gthread_t *__threadid, void *(*__func) (void*), void *__args) { return __gthrw_pthread_create (__threadid, __null, __func, __args); } static inline int __gthread_join (__gthread_t __threadid, void **__value_ptr) { return __gthrw_pthread_join (__threadid, __value_ptr); } static inline int __gthread_detach (__gthread_t __threadid) { return __gthrw_pthread_detach (__threadid); } static inline int __gthread_equal (__gthread_t __t1, __gthread_t __t2) { return __gthrw_pthread_equal (__t1, __t2); } static inline __gthread_t __gthread_self (void) { return __gthrw_pthread_self (); } static inline int __gthread_yield (void) { return __gthrw_sched_yield (); } static inline int __gthread_once (__gthread_once_t *__once, void (*__func) (void)) { if (__gthread_active_p ()) return __gthrw_pthread_once (__once, __func); else return -1; } static inline int __gthread_key_create (__gthread_key_t *__key, void (*__dtor) (void *)) { return __gthrw_pthread_key_create (__key, __dtor); } static inline int __gthread_key_delete (__gthread_key_t __key) { return __gthrw_pthread_key_delete (__key); } static inline void * __gthread_getspecific (__gthread_key_t __key) { return __gthrw_pthread_getspecific (__key); } static inline int __gthread_setspecific (__gthread_key_t __key, const void *__ptr) { return __gthrw_pthread_setspecific (__key, __ptr); } static inline void __gthread_mutex_init_function (__gthread_mutex_t *__mutex) { if (__gthread_active_p ()) __gthrw_pthread_mutex_init (__mutex, __null); } static inline int __gthread_mutex_destroy (__gthread_mutex_t *__mutex) { if (__gthread_active_p ()) return __gthrw_pthread_mutex_destroy (__mutex); else return 0; } static inline int __gthread_mutex_lock (__gthread_mutex_t *__mutex) { if (__gthread_active_p ()) return __gthrw_pthread_mutex_lock (__mutex); else return 0; } static inline int __gthread_mutex_trylock (__gthread_mutex_t *__mutex) { if (__gthread_active_p ()) return __gthrw_pthread_mutex_trylock (__mutex); else return 0; } static inline int __gthread_mutex_timedlock (__gthread_mutex_t *__mutex, const __gthread_time_t *__abs_timeout) { if (__gthread_active_p ()) return __gthrw_pthread_mutex_timedlock (__mutex, __abs_timeout); else return 0; } static inline int __gthread_mutex_unlock (__gthread_mutex_t *__mutex) { if (__gthread_active_p ()) return __gthrw_pthread_mutex_unlock (__mutex); else return 0; } # 807 "/usr/include/i386-linux-gnu/c++/7/bits/gthr-default.h" 3 static inline int __gthread_recursive_mutex_lock (__gthread_recursive_mutex_t *__mutex) { return __gthread_mutex_lock (__mutex); } static inline int __gthread_recursive_mutex_trylock (__gthread_recursive_mutex_t *__mutex) { return __gthread_mutex_trylock (__mutex); } static inline int __gthread_recursive_mutex_timedlock (__gthread_recursive_mutex_t *__mutex, const __gthread_time_t *__abs_timeout) { return __gthread_mutex_timedlock (__mutex, __abs_timeout); } static inline int __gthread_recursive_mutex_unlock (__gthread_recursive_mutex_t *__mutex) { return __gthread_mutex_unlock (__mutex); } static inline int __gthread_recursive_mutex_destroy (__gthread_recursive_mutex_t *__mutex) { return __gthread_mutex_destroy (__mutex); } # 849 "/usr/include/i386-linux-gnu/c++/7/bits/gthr-default.h" 3 static inline int __gthread_cond_broadcast (__gthread_cond_t *__cond) { return __gthrw_pthread_cond_broadcast (__cond); } static inline int __gthread_cond_signal (__gthread_cond_t *__cond) { return __gthrw_pthread_cond_signal (__cond); } static inline int __gthread_cond_wait (__gthread_cond_t *__cond, __gthread_mutex_t *__mutex) { return __gthrw_pthread_cond_wait (__cond, __mutex); } static inline int __gthread_cond_timedwait (__gthread_cond_t *__cond, __gthread_mutex_t *__mutex, const __gthread_time_t *__abs_timeout) { return __gthrw_pthread_cond_timedwait (__cond, __mutex, __abs_timeout); } static inline int __gthread_cond_wait_recursive (__gthread_cond_t *__cond, __gthread_recursive_mutex_t *__mutex) { return __gthread_cond_wait (__cond, __mutex); } static inline int __gthread_cond_destroy (__gthread_cond_t* __cond) { return __gthrw_pthread_cond_destroy (__cond); } # 149 "/usr/include/i386-linux-gnu/c++/7/bits/gthr.h" 2 3 #pragma GCC visibility pop # 36 "/usr/include/c++/7/ext/atomicity.h" 2 3 # 1 "/usr/include/i386-linux-gnu/c++/7/bits/atomic_word.h" 1 3 # 32 "/usr/include/i386-linux-gnu/c++/7/bits/atomic_word.h" 3 typedef int _Atomic_word; # 37 "/usr/include/c++/7/ext/atomicity.h" 2 3 namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) { static inline _Atomic_word __exchange_and_add(volatile _Atomic_word* __mem, int __val) { return __atomic_fetch_add(__mem, __val, 4); } static inline void __atomic_add(volatile _Atomic_word* __mem, int __val) { __atomic_fetch_add(__mem, __val, 4); } # 64 "/usr/include/c++/7/ext/atomicity.h" 3 static inline _Atomic_word __exchange_and_add_single(_Atomic_word* __mem, int __val) { _Atomic_word __result = *__mem; *__mem += __val; return __result; } static inline void __atomic_add_single(_Atomic_word* __mem, int __val) { *__mem += __val; } static inline _Atomic_word __attribute__ ((__unused__)) __exchange_and_add_dispatch(_Atomic_word* __mem, int __val) { if (__gthread_active_p()) return __exchange_and_add(__mem, __val); else return __exchange_and_add_single(__mem, __val); } static inline void __attribute__ ((__unused__)) __atomic_add_dispatch(_Atomic_word* __mem, int __val) { if (__gthread_active_p()) __atomic_add(__mem, __val); else __atomic_add_single(__mem, __val); } } # 40 "/usr/include/c++/7/bits/basic_string.h" 2 3 # 52 "/usr/include/c++/7/bits/basic_string.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { namespace __cxx11 { # 76 "/usr/include/c++/7/bits/basic_string.h" 3 template class basic_string { typedef typename __gnu_cxx::__alloc_traits<_Alloc>::template rebind<_CharT>::other _Char_alloc_type; typedef __gnu_cxx::__alloc_traits<_Char_alloc_type> _Alloc_traits; public: typedef _Traits traits_type; typedef typename _Traits::char_type value_type; typedef _Char_alloc_type allocator_type; typedef typename _Alloc_traits::size_type size_type; typedef typename _Alloc_traits::difference_type difference_type; typedef typename _Alloc_traits::reference reference; typedef typename _Alloc_traits::const_reference const_reference; typedef typename _Alloc_traits::pointer pointer; typedef typename _Alloc_traits::const_pointer const_pointer; typedef __gnu_cxx::__normal_iterator iterator; typedef __gnu_cxx::__normal_iterator const_iterator; typedef std::reverse_iterator const_reverse_iterator; typedef std::reverse_iterator reverse_iterator; static const size_type npos = static_cast(-1); private: typedef const_iterator __const_iterator; # 123 "/usr/include/c++/7/bits/basic_string.h" 3 struct _Alloc_hider : allocator_type { _Alloc_hider(pointer __dat, const _Alloc& __a) : allocator_type(__a), _M_p(__dat) { } _Alloc_hider(pointer __dat, _Alloc&& __a = _Alloc()) : allocator_type(std::move(__a)), _M_p(__dat) { } pointer _M_p; }; _Alloc_hider _M_dataplus; size_type _M_string_length; enum { _S_local_capacity = 15 / sizeof(_CharT) }; union { _CharT _M_local_buf[_S_local_capacity + 1]; size_type _M_allocated_capacity; }; void _M_data(pointer __p) { _M_dataplus._M_p = __p; } void _M_length(size_type __length) { _M_string_length = __length; } pointer _M_data() const { return _M_dataplus._M_p; } pointer _M_local_data() { return std::pointer_traits::pointer_to(*_M_local_buf); } const_pointer _M_local_data() const { return std::pointer_traits::pointer_to(*_M_local_buf); } void _M_capacity(size_type __capacity) { _M_allocated_capacity = __capacity; } void _M_set_length(size_type __n) { _M_length(__n); traits_type::assign(_M_data()[__n], _CharT()); } bool _M_is_local() const { return _M_data() == _M_local_data(); } pointer _M_create(size_type&, size_type); void _M_dispose() { if (!_M_is_local()) _M_destroy(_M_allocated_capacity); } void _M_destroy(size_type __size) throw() { _Alloc_traits::deallocate(_M_get_allocator(), _M_data(), __size + 1); } template void _M_construct_aux(_InIterator __beg, _InIterator __end, std::__false_type) { typedef typename iterator_traits<_InIterator>::iterator_category _Tag; _M_construct(__beg, __end, _Tag()); } template void _M_construct_aux(_Integer __beg, _Integer __end, std::__true_type) { _M_construct_aux_2(static_cast(__beg), __end); } void _M_construct_aux_2(size_type __req, _CharT __c) { _M_construct(__req, __c); } template void _M_construct(_InIterator __beg, _InIterator __end) { typedef typename std::__is_integer<_InIterator>::__type _Integral; _M_construct_aux(__beg, __end, _Integral()); } template void _M_construct(_InIterator __beg, _InIterator __end, std::input_iterator_tag); template void _M_construct(_FwdIterator __beg, _FwdIterator __end, std::forward_iterator_tag); void _M_construct(size_type __req, _CharT __c); allocator_type& _M_get_allocator() { return _M_dataplus; } const allocator_type& _M_get_allocator() const { return _M_dataplus; } private: # 282 "/usr/include/c++/7/bits/basic_string.h" 3 size_type _M_check(size_type __pos, const char* __s) const { if (__pos > this->size()) __throw_out_of_range_fmt(("%s: __pos (which is %zu) > " "this->size() (which is %zu)") , __s, __pos, this->size()); return __pos; } void _M_check_length(size_type __n1, size_type __n2, const char* __s) const { if (this->max_size() - (this->size() - __n1) < __n2) __throw_length_error((__s)); } size_type _M_limit(size_type __pos, size_type __off) const noexcept { const bool __testoff = __off < this->size() - __pos; return __testoff ? __off : this->size() - __pos; } bool _M_disjunct(const _CharT* __s) const noexcept { return (less()(__s, _M_data()) || less()(_M_data() + this->size(), __s)); } static void _S_copy(_CharT* __d, const _CharT* __s, size_type __n) { if (__n == 1) traits_type::assign(*__d, *__s); else traits_type::copy(__d, __s, __n); } static void _S_move(_CharT* __d, const _CharT* __s, size_type __n) { if (__n == 1) traits_type::assign(*__d, *__s); else traits_type::move(__d, __s, __n); } static void _S_assign(_CharT* __d, size_type __n, _CharT __c) { if (__n == 1) traits_type::assign(*__d, __c); else traits_type::assign(__d, __n, __c); } template static void _S_copy_chars(_CharT* __p, _Iterator __k1, _Iterator __k2) { for (; __k1 != __k2; ++__k1, (void)++__p) traits_type::assign(*__p, *__k1); } static void _S_copy_chars(_CharT* __p, iterator __k1, iterator __k2) noexcept { _S_copy_chars(__p, __k1.base(), __k2.base()); } static void _S_copy_chars(_CharT* __p, const_iterator __k1, const_iterator __k2) noexcept { _S_copy_chars(__p, __k1.base(), __k2.base()); } static void _S_copy_chars(_CharT* __p, _CharT* __k1, _CharT* __k2) noexcept { _S_copy(__p, __k1, __k2 - __k1); } static void _S_copy_chars(_CharT* __p, const _CharT* __k1, const _CharT* __k2) noexcept { _S_copy(__p, __k1, __k2 - __k1); } static int _S_compare(size_type __n1, size_type __n2) noexcept { const difference_type __d = difference_type(__n1 - __n2); if (__d > __gnu_cxx::__numeric_traits::__max) return __gnu_cxx::__numeric_traits::__max; else if (__d < __gnu_cxx::__numeric_traits::__min) return __gnu_cxx::__numeric_traits::__min; else return int(__d); } void _M_assign(const basic_string&); void _M_mutate(size_type __pos, size_type __len1, const _CharT* __s, size_type __len2); void _M_erase(size_type __pos, size_type __n); public: basic_string() noexcept(is_nothrow_default_constructible<_Alloc>::value) : _M_dataplus(_M_local_data()) { _M_set_length(0); } explicit basic_string(const _Alloc& __a) noexcept : _M_dataplus(_M_local_data(), __a) { _M_set_length(0); } basic_string(const basic_string& __str) : _M_dataplus(_M_local_data(), _Alloc_traits::_S_select_on_copy(__str._M_get_allocator())) { _M_construct(__str._M_data(), __str._M_data() + __str.length()); } # 434 "/usr/include/c++/7/bits/basic_string.h" 3 basic_string(const basic_string& __str, size_type __pos, const _Alloc& __a = _Alloc()) : _M_dataplus(_M_local_data(), __a) { const _CharT* __start = __str._M_data() + __str._M_check(__pos, "basic_string::basic_string"); _M_construct(__start, __start + __str._M_limit(__pos, npos)); } basic_string(const basic_string& __str, size_type __pos, size_type __n) : _M_dataplus(_M_local_data()) { const _CharT* __start = __str._M_data() + __str._M_check(__pos, "basic_string::basic_string"); _M_construct(__start, __start + __str._M_limit(__pos, __n)); } # 465 "/usr/include/c++/7/bits/basic_string.h" 3 basic_string(const basic_string& __str, size_type __pos, size_type __n, const _Alloc& __a) : _M_dataplus(_M_local_data(), __a) { const _CharT* __start = __str._M_data() + __str._M_check(__pos, "string::string"); _M_construct(__start, __start + __str._M_limit(__pos, __n)); } # 483 "/usr/include/c++/7/bits/basic_string.h" 3 basic_string(const _CharT* __s, size_type __n, const _Alloc& __a = _Alloc()) : _M_dataplus(_M_local_data(), __a) { _M_construct(__s, __s + __n); } basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) : _M_dataplus(_M_local_data(), __a) { _M_construct(__s, __s ? __s + traits_type::length(__s) : __s+npos); } basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) : _M_dataplus(_M_local_data(), __a) { _M_construct(__n, __c); } # 515 "/usr/include/c++/7/bits/basic_string.h" 3 basic_string(basic_string&& __str) noexcept : _M_dataplus(_M_local_data(), std::move(__str._M_get_allocator())) { if (__str._M_is_local()) { traits_type::copy(_M_local_buf, __str._M_local_buf, _S_local_capacity + 1); } else { _M_data(__str._M_data()); _M_capacity(__str._M_allocated_capacity); } _M_length(__str.length()); __str._M_data(__str._M_local_data()); __str._M_set_length(0); } basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) : _M_dataplus(_M_local_data(), __a) { _M_construct(__l.begin(), __l.end()); } basic_string(const basic_string& __str, const _Alloc& __a) : _M_dataplus(_M_local_data(), __a) { _M_construct(__str.begin(), __str.end()); } basic_string(basic_string&& __str, const _Alloc& __a) noexcept(_Alloc_traits::_S_always_equal()) : _M_dataplus(_M_local_data(), __a) { if (__str._M_is_local()) { traits_type::copy(_M_local_buf, __str._M_local_buf, _S_local_capacity + 1); _M_length(__str.length()); __str._M_set_length(0); } else if (_Alloc_traits::_S_always_equal() || __str.get_allocator() == __a) { _M_data(__str._M_data()); _M_length(__str.length()); _M_capacity(__str._M_allocated_capacity); __str._M_data(__str._M_local_buf); __str._M_set_length(0); } else _M_construct(__str.begin(), __str.end()); } # 583 "/usr/include/c++/7/bits/basic_string.h" 3 template> basic_string(_InputIterator __beg, _InputIterator __end, const _Alloc& __a = _Alloc()) : _M_dataplus(_M_local_data(), __a) { _M_construct(__beg, __end); } # 619 "/usr/include/c++/7/bits/basic_string.h" 3 ~basic_string() { _M_dispose(); } basic_string& operator=(const basic_string& __str) { if (_Alloc_traits::_S_propagate_on_copy_assign()) { if (!_Alloc_traits::_S_always_equal() && !_M_is_local() && _M_get_allocator() != __str._M_get_allocator()) { if (__str.size() <= _S_local_capacity) { _M_destroy(_M_allocated_capacity); _M_data(_M_local_data()); _M_set_length(0); } else { const auto __len = __str.size(); auto __alloc = __str._M_get_allocator(); auto __ptr = _Alloc_traits::allocate(__alloc, __len + 1); _M_destroy(_M_allocated_capacity); _M_data(__ptr); _M_capacity(__len); _M_set_length(__len); } } std::__alloc_on_copy(_M_get_allocator(), __str._M_get_allocator()); } return this->assign(__str); } basic_string& operator=(const _CharT* __s) { return this->assign(__s); } # 676 "/usr/include/c++/7/bits/basic_string.h" 3 basic_string& operator=(_CharT __c) { this->assign(1, __c); return *this; } # 694 "/usr/include/c++/7/bits/basic_string.h" 3 basic_string& operator=(basic_string&& __str) noexcept(_Alloc_traits::_S_nothrow_move()) { if (!_M_is_local() && _Alloc_traits::_S_propagate_on_move_assign() && !_Alloc_traits::_S_always_equal() && _M_get_allocator() != __str._M_get_allocator()) { _M_destroy(_M_allocated_capacity); _M_data(_M_local_data()); _M_set_length(0); } std::__alloc_on_move(_M_get_allocator(), __str._M_get_allocator()); if (!__str._M_is_local() && (_Alloc_traits::_S_propagate_on_move_assign() || _Alloc_traits::_S_always_equal())) { pointer __data = nullptr; size_type __capacity; if (!_M_is_local()) { if (_Alloc_traits::_S_always_equal()) { __data = _M_data(); __capacity = _M_allocated_capacity; } else _M_destroy(_M_allocated_capacity); } _M_data(__str._M_data()); _M_length(__str.length()); _M_capacity(__str._M_allocated_capacity); if (__data) { __str._M_data(__data); __str._M_capacity(__capacity); } else __str._M_data(__str._M_local_buf); } else assign(__str); __str.clear(); return *this; } basic_string& operator=(initializer_list<_CharT> __l) { this->assign(__l.begin(), __l.size()); return *this; } # 779 "/usr/include/c++/7/bits/basic_string.h" 3 iterator begin() noexcept { return iterator(_M_data()); } const_iterator begin() const noexcept { return const_iterator(_M_data()); } iterator end() noexcept { return iterator(_M_data() + this->size()); } const_iterator end() const noexcept { return const_iterator(_M_data() + this->size()); } reverse_iterator rbegin() noexcept { return reverse_iterator(this->end()); } const_reverse_iterator rbegin() const noexcept { return const_reverse_iterator(this->end()); } reverse_iterator rend() noexcept { return reverse_iterator(this->begin()); } const_reverse_iterator rend() const noexcept { return const_reverse_iterator(this->begin()); } const_iterator cbegin() const noexcept { return const_iterator(this->_M_data()); } const_iterator cend() const noexcept { return const_iterator(this->_M_data() + this->size()); } const_reverse_iterator crbegin() const noexcept { return const_reverse_iterator(this->end()); } const_reverse_iterator crend() const noexcept { return const_reverse_iterator(this->begin()); } public: size_type size() const noexcept { return _M_string_length; } size_type length() const noexcept { return _M_string_length; } size_type max_size() const noexcept { return (_Alloc_traits::max_size(_M_get_allocator()) - 1) / 2; } # 908 "/usr/include/c++/7/bits/basic_string.h" 3 void resize(size_type __n, _CharT __c); # 921 "/usr/include/c++/7/bits/basic_string.h" 3 void resize(size_type __n) { this->resize(__n, _CharT()); } void shrink_to_fit() noexcept { if (capacity() > size()) { try { reserve(0); } catch(...) { } } } size_type capacity() const noexcept { return _M_is_local() ? size_type(_S_local_capacity) : _M_allocated_capacity; } # 970 "/usr/include/c++/7/bits/basic_string.h" 3 void reserve(size_type __res_arg = 0); void clear() noexcept { _M_set_length(0); } bool empty() const noexcept { return this->size() == 0; } # 999 "/usr/include/c++/7/bits/basic_string.h" 3 const_reference operator[] (size_type __pos) const noexcept { ; return _M_data()[__pos]; } # 1016 "/usr/include/c++/7/bits/basic_string.h" 3 reference operator[](size_type __pos) { ; ; return _M_data()[__pos]; } # 1037 "/usr/include/c++/7/bits/basic_string.h" 3 const_reference at(size_type __n) const { if (__n >= this->size()) __throw_out_of_range_fmt(("basic_string::at: __n " "(which is %zu) >= this->size() " "(which is %zu)") , __n, this->size()); return _M_data()[__n]; } # 1058 "/usr/include/c++/7/bits/basic_string.h" 3 reference at(size_type __n) { if (__n >= size()) __throw_out_of_range_fmt(("basic_string::at: __n " "(which is %zu) >= this->size() " "(which is %zu)") , __n, this->size()); return _M_data()[__n]; } reference front() noexcept { ; return operator[](0); } const_reference front() const noexcept { ; return operator[](0); } reference back() noexcept { ; return operator[](this->size() - 1); } const_reference back() const noexcept { ; return operator[](this->size() - 1); } # 1121 "/usr/include/c++/7/bits/basic_string.h" 3 basic_string& operator+=(const basic_string& __str) { return this->append(__str); } basic_string& operator+=(const _CharT* __s) { return this->append(__s); } basic_string& operator+=(_CharT __c) { this->push_back(__c); return *this; } basic_string& operator+=(initializer_list<_CharT> __l) { return this->append(__l.begin(), __l.size()); } # 1173 "/usr/include/c++/7/bits/basic_string.h" 3 basic_string& append(const basic_string& __str) { return _M_append(__str._M_data(), __str.size()); } # 1190 "/usr/include/c++/7/bits/basic_string.h" 3 basic_string& append(const basic_string& __str, size_type __pos, size_type __n) { return _M_append(__str._M_data() + __str._M_check(__pos, "basic_string::append"), __str._M_limit(__pos, __n)); } basic_string& append(const _CharT* __s, size_type __n) { ; _M_check_length(size_type(0), __n, "basic_string::append"); return _M_append(__s, __n); } basic_string& append(const _CharT* __s) { ; const size_type __n = traits_type::length(__s); _M_check_length(size_type(0), __n, "basic_string::append"); return _M_append(__s, __n); } # 1232 "/usr/include/c++/7/bits/basic_string.h" 3 basic_string& append(size_type __n, _CharT __c) { return _M_replace_aux(this->size(), size_type(0), __n, __c); } basic_string& append(initializer_list<_CharT> __l) { return this->append(__l.begin(), __l.size()); } # 1256 "/usr/include/c++/7/bits/basic_string.h" 3 template> basic_string& append(_InputIterator __first, _InputIterator __last) { return this->replace(end(), end(), __first, __last); } # 1297 "/usr/include/c++/7/bits/basic_string.h" 3 void push_back(_CharT __c) { const size_type __size = this->size(); if (__size + 1 > this->capacity()) this->_M_mutate(__size, size_type(0), 0, size_type(1)); traits_type::assign(this->_M_data()[__size], __c); this->_M_set_length(__size + 1); } basic_string& assign(const basic_string& __str) { this->_M_assign(__str); return *this; } # 1328 "/usr/include/c++/7/bits/basic_string.h" 3 basic_string& assign(basic_string&& __str) noexcept(_Alloc_traits::_S_nothrow_move()) { return *this = std::move(__str); } # 1351 "/usr/include/c++/7/bits/basic_string.h" 3 basic_string& assign(const basic_string& __str, size_type __pos, size_type __n) { return _M_replace(size_type(0), this->size(), __str._M_data() + __str._M_check(__pos, "basic_string::assign"), __str._M_limit(__pos, __n)); } # 1367 "/usr/include/c++/7/bits/basic_string.h" 3 basic_string& assign(const _CharT* __s, size_type __n) { ; return _M_replace(size_type(0), this->size(), __s, __n); } # 1383 "/usr/include/c++/7/bits/basic_string.h" 3 basic_string& assign(const _CharT* __s) { ; return _M_replace(size_type(0), this->size(), __s, traits_type::length(__s)); } # 1400 "/usr/include/c++/7/bits/basic_string.h" 3 basic_string& assign(size_type __n, _CharT __c) { return _M_replace_aux(size_type(0), this->size(), __n, __c); } # 1413 "/usr/include/c++/7/bits/basic_string.h" 3 template> basic_string& assign(_InputIterator __first, _InputIterator __last) { return this->replace(begin(), end(), __first, __last); } basic_string& assign(initializer_list<_CharT> __l) { return this->assign(__l.begin(), __l.size()); } # 1477 "/usr/include/c++/7/bits/basic_string.h" 3 iterator insert(const_iterator __p, size_type __n, _CharT __c) { ; const size_type __pos = __p - begin(); this->replace(__p, __p, __n, __c); return iterator(this->_M_data() + __pos); } # 1519 "/usr/include/c++/7/bits/basic_string.h" 3 template> iterator insert(const_iterator __p, _InputIterator __beg, _InputIterator __end) { ; const size_type __pos = __p - begin(); this->replace(__p, __p, __beg, __end); return iterator(this->_M_data() + __pos); } # 1555 "/usr/include/c++/7/bits/basic_string.h" 3 void insert(iterator __p, initializer_list<_CharT> __l) { ; this->insert(__p - begin(), __l.begin(), __l.size()); } # 1575 "/usr/include/c++/7/bits/basic_string.h" 3 basic_string& insert(size_type __pos1, const basic_string& __str) { return this->replace(__pos1, size_type(0), __str._M_data(), __str.size()); } # 1598 "/usr/include/c++/7/bits/basic_string.h" 3 basic_string& insert(size_type __pos1, const basic_string& __str, size_type __pos2, size_type __n) { return this->replace(__pos1, size_type(0), __str._M_data() + __str._M_check(__pos2, "basic_string::insert"), __str._M_limit(__pos2, __n)); } # 1621 "/usr/include/c++/7/bits/basic_string.h" 3 basic_string& insert(size_type __pos, const _CharT* __s, size_type __n) { return this->replace(__pos, size_type(0), __s, __n); } # 1640 "/usr/include/c++/7/bits/basic_string.h" 3 basic_string& insert(size_type __pos, const _CharT* __s) { ; return this->replace(__pos, size_type(0), __s, traits_type::length(__s)); } # 1664 "/usr/include/c++/7/bits/basic_string.h" 3 basic_string& insert(size_type __pos, size_type __n, _CharT __c) { return _M_replace_aux(_M_check(__pos, "basic_string::insert"), size_type(0), __n, __c); } # 1682 "/usr/include/c++/7/bits/basic_string.h" 3 iterator insert(__const_iterator __p, _CharT __c) { ; const size_type __pos = __p - begin(); _M_replace_aux(__pos, size_type(0), size_type(1), __c); return iterator(_M_data() + __pos); } # 1738 "/usr/include/c++/7/bits/basic_string.h" 3 basic_string& erase(size_type __pos = 0, size_type __n = npos) { _M_check(__pos, "basic_string::erase"); if (__n == npos) this->_M_set_length(__pos); else if (__n != 0) this->_M_erase(__pos, _M_limit(__pos, __n)); return *this; } # 1757 "/usr/include/c++/7/bits/basic_string.h" 3 iterator erase(__const_iterator __position) { ; const size_type __pos = __position - begin(); this->_M_erase(__pos, size_type(1)); return iterator(_M_data() + __pos); } # 1776 "/usr/include/c++/7/bits/basic_string.h" 3 iterator erase(__const_iterator __first, __const_iterator __last) { ; const size_type __pos = __first - begin(); if (__last == end()) this->_M_set_length(__pos); else this->_M_erase(__pos, __last - __first); return iterator(this->_M_data() + __pos); } void pop_back() noexcept { ; _M_erase(size() - 1, 1); } # 1820 "/usr/include/c++/7/bits/basic_string.h" 3 basic_string& replace(size_type __pos, size_type __n, const basic_string& __str) { return this->replace(__pos, __n, __str._M_data(), __str.size()); } # 1842 "/usr/include/c++/7/bits/basic_string.h" 3 basic_string& replace(size_type __pos1, size_type __n1, const basic_string& __str, size_type __pos2, size_type __n2) { return this->replace(__pos1, __n1, __str._M_data() + __str._M_check(__pos2, "basic_string::replace"), __str._M_limit(__pos2, __n2)); } # 1867 "/usr/include/c++/7/bits/basic_string.h" 3 basic_string& replace(size_type __pos, size_type __n1, const _CharT* __s, size_type __n2) { ; return _M_replace(_M_check(__pos, "basic_string::replace"), _M_limit(__pos, __n1), __s, __n2); } # 1892 "/usr/include/c++/7/bits/basic_string.h" 3 basic_string& replace(size_type __pos, size_type __n1, const _CharT* __s) { ; return this->replace(__pos, __n1, __s, traits_type::length(__s)); } # 1916 "/usr/include/c++/7/bits/basic_string.h" 3 basic_string& replace(size_type __pos, size_type __n1, size_type __n2, _CharT __c) { return _M_replace_aux(_M_check(__pos, "basic_string::replace"), _M_limit(__pos, __n1), __n2, __c); } # 1934 "/usr/include/c++/7/bits/basic_string.h" 3 basic_string& replace(__const_iterator __i1, __const_iterator __i2, const basic_string& __str) { return this->replace(__i1, __i2, __str._M_data(), __str.size()); } # 1954 "/usr/include/c++/7/bits/basic_string.h" 3 basic_string& replace(__const_iterator __i1, __const_iterator __i2, const _CharT* __s, size_type __n) { ; return this->replace(__i1 - begin(), __i2 - __i1, __s, __n); } # 1976 "/usr/include/c++/7/bits/basic_string.h" 3 basic_string& replace(__const_iterator __i1, __const_iterator __i2, const _CharT* __s) { ; return this->replace(__i1, __i2, __s, traits_type::length(__s)); } # 1997 "/usr/include/c++/7/bits/basic_string.h" 3 basic_string& replace(__const_iterator __i1, __const_iterator __i2, size_type __n, _CharT __c) { ; return _M_replace_aux(__i1 - begin(), __i2 - __i1, __n, __c); } # 2022 "/usr/include/c++/7/bits/basic_string.h" 3 template> basic_string& replace(const_iterator __i1, const_iterator __i2, _InputIterator __k1, _InputIterator __k2) { ; ; return this->_M_replace_dispatch(__i1, __i2, __k1, __k2, std::__false_type()); } # 2054 "/usr/include/c++/7/bits/basic_string.h" 3 basic_string& replace(__const_iterator __i1, __const_iterator __i2, _CharT* __k1, _CharT* __k2) { ; ; return this->replace(__i1 - begin(), __i2 - __i1, __k1, __k2 - __k1); } basic_string& replace(__const_iterator __i1, __const_iterator __i2, const _CharT* __k1, const _CharT* __k2) { ; ; return this->replace(__i1 - begin(), __i2 - __i1, __k1, __k2 - __k1); } basic_string& replace(__const_iterator __i1, __const_iterator __i2, iterator __k1, iterator __k2) { ; ; return this->replace(__i1 - begin(), __i2 - __i1, __k1.base(), __k2 - __k1); } basic_string& replace(__const_iterator __i1, __const_iterator __i2, const_iterator __k1, const_iterator __k2) { ; ; return this->replace(__i1 - begin(), __i2 - __i1, __k1.base(), __k2 - __k1); } # 2113 "/usr/include/c++/7/bits/basic_string.h" 3 basic_string& replace(const_iterator __i1, const_iterator __i2, initializer_list<_CharT> __l) { return this->replace(__i1, __i2, __l.begin(), __l.size()); } # 2164 "/usr/include/c++/7/bits/basic_string.h" 3 private: template basic_string& _M_replace_dispatch(const_iterator __i1, const_iterator __i2, _Integer __n, _Integer __val, __true_type) { return _M_replace_aux(__i1 - begin(), __i2 - __i1, __n, __val); } template basic_string& _M_replace_dispatch(const_iterator __i1, const_iterator __i2, _InputIterator __k1, _InputIterator __k2, __false_type); basic_string& _M_replace_aux(size_type __pos1, size_type __n1, size_type __n2, _CharT __c); basic_string& _M_replace(size_type __pos, size_type __len1, const _CharT* __s, const size_type __len2); basic_string& _M_append(const _CharT* __s, size_type __n); public: # 2202 "/usr/include/c++/7/bits/basic_string.h" 3 size_type copy(_CharT* __s, size_type __n, size_type __pos = 0) const; # 2212 "/usr/include/c++/7/bits/basic_string.h" 3 void swap(basic_string& __s) noexcept; # 2222 "/usr/include/c++/7/bits/basic_string.h" 3 const _CharT* c_str() const noexcept { return _M_data(); } # 2234 "/usr/include/c++/7/bits/basic_string.h" 3 const _CharT* data() const noexcept { return _M_data(); } # 2253 "/usr/include/c++/7/bits/basic_string.h" 3 allocator_type get_allocator() const noexcept { return _M_get_allocator(); } # 2269 "/usr/include/c++/7/bits/basic_string.h" 3 size_type find(const _CharT* __s, size_type __pos, size_type __n) const noexcept; # 2283 "/usr/include/c++/7/bits/basic_string.h" 3 size_type find(const basic_string& __str, size_type __pos = 0) const noexcept { return this->find(__str.data(), __pos, __str.size()); } # 2310 "/usr/include/c++/7/bits/basic_string.h" 3 size_type find(const _CharT* __s, size_type __pos = 0) const noexcept { ; return this->find(__s, __pos, traits_type::length(__s)); } # 2327 "/usr/include/c++/7/bits/basic_string.h" 3 size_type find(_CharT __c, size_type __pos = 0) const noexcept; # 2340 "/usr/include/c++/7/bits/basic_string.h" 3 size_type rfind(const basic_string& __str, size_type __pos = npos) const noexcept { return this->rfind(__str.data(), __pos, __str.size()); } # 2369 "/usr/include/c++/7/bits/basic_string.h" 3 size_type rfind(const _CharT* __s, size_type __pos, size_type __n) const noexcept; # 2383 "/usr/include/c++/7/bits/basic_string.h" 3 size_type rfind(const _CharT* __s, size_type __pos = npos) const { ; return this->rfind(__s, __pos, traits_type::length(__s)); } # 2400 "/usr/include/c++/7/bits/basic_string.h" 3 size_type rfind(_CharT __c, size_type __pos = npos) const noexcept; # 2414 "/usr/include/c++/7/bits/basic_string.h" 3 size_type find_first_of(const basic_string& __str, size_type __pos = 0) const noexcept { return this->find_first_of(__str.data(), __pos, __str.size()); } # 2443 "/usr/include/c++/7/bits/basic_string.h" 3 size_type find_first_of(const _CharT* __s, size_type __pos, size_type __n) const noexcept; # 2457 "/usr/include/c++/7/bits/basic_string.h" 3 size_type find_first_of(const _CharT* __s, size_type __pos = 0) const noexcept { ; return this->find_first_of(__s, __pos, traits_type::length(__s)); } # 2477 "/usr/include/c++/7/bits/basic_string.h" 3 size_type find_first_of(_CharT __c, size_type __pos = 0) const noexcept { return this->find(__c, __pos); } # 2492 "/usr/include/c++/7/bits/basic_string.h" 3 size_type find_last_of(const basic_string& __str, size_type __pos = npos) const noexcept { return this->find_last_of(__str.data(), __pos, __str.size()); } # 2521 "/usr/include/c++/7/bits/basic_string.h" 3 size_type find_last_of(const _CharT* __s, size_type __pos, size_type __n) const noexcept; # 2535 "/usr/include/c++/7/bits/basic_string.h" 3 size_type find_last_of(const _CharT* __s, size_type __pos = npos) const noexcept { ; return this->find_last_of(__s, __pos, traits_type::length(__s)); } # 2555 "/usr/include/c++/7/bits/basic_string.h" 3 size_type find_last_of(_CharT __c, size_type __pos = npos) const noexcept { return this->rfind(__c, __pos); } # 2569 "/usr/include/c++/7/bits/basic_string.h" 3 size_type find_first_not_of(const basic_string& __str, size_type __pos = 0) const noexcept { return this->find_first_not_of(__str.data(), __pos, __str.size()); } # 2598 "/usr/include/c++/7/bits/basic_string.h" 3 size_type find_first_not_of(const _CharT* __s, size_type __pos, size_type __n) const noexcept; # 2612 "/usr/include/c++/7/bits/basic_string.h" 3 size_type find_first_not_of(const _CharT* __s, size_type __pos = 0) const noexcept { ; return this->find_first_not_of(__s, __pos, traits_type::length(__s)); } # 2630 "/usr/include/c++/7/bits/basic_string.h" 3 size_type find_first_not_of(_CharT __c, size_type __pos = 0) const noexcept; # 2645 "/usr/include/c++/7/bits/basic_string.h" 3 size_type find_last_not_of(const basic_string& __str, size_type __pos = npos) const noexcept { return this->find_last_not_of(__str.data(), __pos, __str.size()); } # 2674 "/usr/include/c++/7/bits/basic_string.h" 3 size_type find_last_not_of(const _CharT* __s, size_type __pos, size_type __n) const noexcept; # 2688 "/usr/include/c++/7/bits/basic_string.h" 3 size_type find_last_not_of(const _CharT* __s, size_type __pos = npos) const noexcept { ; return this->find_last_not_of(__s, __pos, traits_type::length(__s)); } # 2706 "/usr/include/c++/7/bits/basic_string.h" 3 size_type find_last_not_of(_CharT __c, size_type __pos = npos) const noexcept; # 2722 "/usr/include/c++/7/bits/basic_string.h" 3 basic_string substr(size_type __pos = 0, size_type __n = npos) const { return basic_string(*this, _M_check(__pos, "basic_string::substr"), __n); } # 2741 "/usr/include/c++/7/bits/basic_string.h" 3 int compare(const basic_string& __str) const { const size_type __size = this->size(); const size_type __osize = __str.size(); const size_type __len = std::min(__size, __osize); int __r = traits_type::compare(_M_data(), __str.data(), __len); if (!__r) __r = _S_compare(__size, __osize); return __r; } # 2823 "/usr/include/c++/7/bits/basic_string.h" 3 int compare(size_type __pos, size_type __n, const basic_string& __str) const; # 2849 "/usr/include/c++/7/bits/basic_string.h" 3 int compare(size_type __pos1, size_type __n1, const basic_string& __str, size_type __pos2, size_type __n2) const; # 2867 "/usr/include/c++/7/bits/basic_string.h" 3 int compare(const _CharT* __s) const noexcept; # 2891 "/usr/include/c++/7/bits/basic_string.h" 3 int compare(size_type __pos, size_type __n1, const _CharT* __s) const; # 2918 "/usr/include/c++/7/bits/basic_string.h" 3 int compare(size_type __pos, size_type __n1, const _CharT* __s, size_type __n2) const; }; } # 5684 "/usr/include/c++/7/bits/basic_string.h" 3 template basic_string<_CharT, _Traits, _Alloc> operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs) { basic_string<_CharT, _Traits, _Alloc> __str(__lhs); __str.append(__rhs); return __str; } template basic_string<_CharT,_Traits,_Alloc> operator+(const _CharT* __lhs, const basic_string<_CharT,_Traits,_Alloc>& __rhs); template basic_string<_CharT,_Traits,_Alloc> operator+(_CharT __lhs, const basic_string<_CharT,_Traits,_Alloc>& __rhs); template inline basic_string<_CharT, _Traits, _Alloc> operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs, const _CharT* __rhs) { basic_string<_CharT, _Traits, _Alloc> __str(__lhs); __str.append(__rhs); return __str; } template inline basic_string<_CharT, _Traits, _Alloc> operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs, _CharT __rhs) { typedef basic_string<_CharT, _Traits, _Alloc> __string_type; typedef typename __string_type::size_type __size_type; __string_type __str(__lhs); __str.append(__size_type(1), __rhs); return __str; } template inline basic_string<_CharT, _Traits, _Alloc> operator+(basic_string<_CharT, _Traits, _Alloc>&& __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs) { return std::move(__lhs.append(__rhs)); } template inline basic_string<_CharT, _Traits, _Alloc> operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs, basic_string<_CharT, _Traits, _Alloc>&& __rhs) { return std::move(__rhs.insert(0, __lhs)); } template inline basic_string<_CharT, _Traits, _Alloc> operator+(basic_string<_CharT, _Traits, _Alloc>&& __lhs, basic_string<_CharT, _Traits, _Alloc>&& __rhs) { const auto __size = __lhs.size() + __rhs.size(); const bool __cond = (__size > __lhs.capacity() && __size <= __rhs.capacity()); return __cond ? std::move(__rhs.insert(0, __lhs)) : std::move(__lhs.append(__rhs)); } template inline basic_string<_CharT, _Traits, _Alloc> operator+(const _CharT* __lhs, basic_string<_CharT, _Traits, _Alloc>&& __rhs) { return std::move(__rhs.insert(0, __lhs)); } template inline basic_string<_CharT, _Traits, _Alloc> operator+(_CharT __lhs, basic_string<_CharT, _Traits, _Alloc>&& __rhs) { return std::move(__rhs.insert(0, 1, __lhs)); } template inline basic_string<_CharT, _Traits, _Alloc> operator+(basic_string<_CharT, _Traits, _Alloc>&& __lhs, const _CharT* __rhs) { return std::move(__lhs.append(__rhs)); } template inline basic_string<_CharT, _Traits, _Alloc> operator+(basic_string<_CharT, _Traits, _Alloc>&& __lhs, _CharT __rhs) { return std::move(__lhs.append(1, __rhs)); } # 5805 "/usr/include/c++/7/bits/basic_string.h" 3 template inline bool operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs) noexcept { return __lhs.compare(__rhs) == 0; } template inline typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value, bool>::__type operator==(const basic_string<_CharT>& __lhs, const basic_string<_CharT>& __rhs) noexcept { return (__lhs.size() == __rhs.size() && !std::char_traits<_CharT>::compare(__lhs.data(), __rhs.data(), __lhs.size())); } template inline bool operator==(const _CharT* __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs) { return __rhs.compare(__lhs) == 0; } template inline bool operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs, const _CharT* __rhs) { return __lhs.compare(__rhs) == 0; } # 5852 "/usr/include/c++/7/bits/basic_string.h" 3 template inline bool operator!=(const basic_string<_CharT, _Traits, _Alloc>& __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs) noexcept { return !(__lhs == __rhs); } template inline bool operator!=(const _CharT* __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs) { return !(__lhs == __rhs); } template inline bool operator!=(const basic_string<_CharT, _Traits, _Alloc>& __lhs, const _CharT* __rhs) { return !(__lhs == __rhs); } # 5890 "/usr/include/c++/7/bits/basic_string.h" 3 template inline bool operator<(const basic_string<_CharT, _Traits, _Alloc>& __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs) noexcept { return __lhs.compare(__rhs) < 0; } template inline bool operator<(const basic_string<_CharT, _Traits, _Alloc>& __lhs, const _CharT* __rhs) { return __lhs.compare(__rhs) < 0; } template inline bool operator<(const _CharT* __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs) { return __rhs.compare(__lhs) > 0; } # 5928 "/usr/include/c++/7/bits/basic_string.h" 3 template inline bool operator>(const basic_string<_CharT, _Traits, _Alloc>& __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs) noexcept { return __lhs.compare(__rhs) > 0; } template inline bool operator>(const basic_string<_CharT, _Traits, _Alloc>& __lhs, const _CharT* __rhs) { return __lhs.compare(__rhs) > 0; } template inline bool operator>(const _CharT* __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs) { return __rhs.compare(__lhs) < 0; } # 5966 "/usr/include/c++/7/bits/basic_string.h" 3 template inline bool operator<=(const basic_string<_CharT, _Traits, _Alloc>& __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs) noexcept { return __lhs.compare(__rhs) <= 0; } template inline bool operator<=(const basic_string<_CharT, _Traits, _Alloc>& __lhs, const _CharT* __rhs) { return __lhs.compare(__rhs) <= 0; } template inline bool operator<=(const _CharT* __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs) { return __rhs.compare(__lhs) >= 0; } # 6004 "/usr/include/c++/7/bits/basic_string.h" 3 template inline bool operator>=(const basic_string<_CharT, _Traits, _Alloc>& __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs) noexcept { return __lhs.compare(__rhs) >= 0; } template inline bool operator>=(const basic_string<_CharT, _Traits, _Alloc>& __lhs, const _CharT* __rhs) { return __lhs.compare(__rhs) >= 0; } template inline bool operator>=(const _CharT* __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs) { return __rhs.compare(__lhs) <= 0; } # 6042 "/usr/include/c++/7/bits/basic_string.h" 3 template inline void swap(basic_string<_CharT, _Traits, _Alloc>& __lhs, basic_string<_CharT, _Traits, _Alloc>& __rhs) noexcept(noexcept(__lhs.swap(__rhs))) { __lhs.swap(__rhs); } # 6062 "/usr/include/c++/7/bits/basic_string.h" 3 template basic_istream<_CharT, _Traits>& operator>>(basic_istream<_CharT, _Traits>& __is, basic_string<_CharT, _Traits, _Alloc>& __str); template<> basic_istream& operator>>(basic_istream& __is, basic_string& __str); # 6080 "/usr/include/c++/7/bits/basic_string.h" 3 template inline basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, const basic_string<_CharT, _Traits, _Alloc>& __str) { return __ostream_insert(__os, __str.data(), __str.size()); } # 6103 "/usr/include/c++/7/bits/basic_string.h" 3 template basic_istream<_CharT, _Traits>& getline(basic_istream<_CharT, _Traits>& __is, basic_string<_CharT, _Traits, _Alloc>& __str, _CharT __delim); # 6120 "/usr/include/c++/7/bits/basic_string.h" 3 template inline basic_istream<_CharT, _Traits>& getline(basic_istream<_CharT, _Traits>& __is, basic_string<_CharT, _Traits, _Alloc>& __str) { return std::getline(__is, __str, __is.widen('\n')); } template inline basic_istream<_CharT, _Traits>& getline(basic_istream<_CharT, _Traits>&& __is, basic_string<_CharT, _Traits, _Alloc>& __str, _CharT __delim) { return std::getline(__is, __str, __delim); } template inline basic_istream<_CharT, _Traits>& getline(basic_istream<_CharT, _Traits>&& __is, basic_string<_CharT, _Traits, _Alloc>& __str) { return std::getline(__is, __str); } template<> basic_istream& getline(basic_istream& __in, basic_string& __str, char __delim); template<> basic_istream& getline(basic_istream& __in, basic_string& __str, wchar_t __delim); } # 1 "/usr/include/c++/7/ext/string_conversions.h" 1 3 # 32 "/usr/include/c++/7/ext/string_conversions.h" 3 # 33 "/usr/include/c++/7/ext/string_conversions.h" 3 # 41 "/usr/include/c++/7/ext/string_conversions.h" 3 # 1 "/usr/include/c++/7/cstdlib" 1 3 # 39 "/usr/include/c++/7/cstdlib" 3 # 40 "/usr/include/c++/7/cstdlib" 3 # 75 "/usr/include/c++/7/cstdlib" 3 # 1 "/usr/include/stdlib.h" 1 3 4 # 32 "/usr/include/stdlib.h" 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 33 "/usr/include/stdlib.h" 2 3 4 extern "C" { # 1 "/usr/include/i386-linux-gnu/bits/waitflags.h" 1 3 4 # 50 "/usr/include/i386-linux-gnu/bits/waitflags.h" 3 4 typedef enum { P_ALL, P_PID, P_PGID } idtype_t; # 42 "/usr/include/stdlib.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/waitstatus.h" 1 3 4 # 43 "/usr/include/stdlib.h" 2 3 4 # 56 "/usr/include/stdlib.h" 3 4 typedef struct { int quot; int rem; } div_t; typedef struct { long int quot; long int rem; } ldiv_t; __extension__ typedef struct { long long int quot; long long int rem; } lldiv_t; # 100 "/usr/include/stdlib.h" 3 4 extern size_t __ctype_get_mb_cur_max (void) throw () ; extern double atof (const char *__nptr) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern int atoi (const char *__nptr) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern long int atol (const char *__nptr) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; __extension__ extern long long int atoll (const char *__nptr) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern double strtod (const char *__restrict __nptr, char **__restrict __endptr) throw () __attribute__ ((__nonnull__ (1))); extern float strtof (const char *__restrict __nptr, char **__restrict __endptr) throw () __attribute__ ((__nonnull__ (1))); extern long double strtold (const char *__restrict __nptr, char **__restrict __endptr) throw () __attribute__ ((__nonnull__ (1))); extern long int strtol (const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () __attribute__ ((__nonnull__ (1))); extern unsigned long int strtoul (const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () __attribute__ ((__nonnull__ (1))); __extension__ extern long long int strtoq (const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () __attribute__ ((__nonnull__ (1))); __extension__ extern unsigned long long int strtouq (const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () __attribute__ ((__nonnull__ (1))); __extension__ extern long long int strtoll (const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () __attribute__ ((__nonnull__ (1))); __extension__ extern unsigned long long int strtoull (const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () __attribute__ ((__nonnull__ (1))); # 200 "/usr/include/stdlib.h" 3 4 extern long int strtol_l (const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 4))); extern unsigned long int strtoul_l (const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 4))); __extension__ extern long long int strtoll_l (const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 4))); __extension__ extern unsigned long long int strtoull_l (const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 4))); extern double strtod_l (const char *__restrict __nptr, char **__restrict __endptr, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 3))); extern float strtof_l (const char *__restrict __nptr, char **__restrict __endptr, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 3))); extern long double strtold_l (const char *__restrict __nptr, char **__restrict __endptr, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 3))); # 266 "/usr/include/stdlib.h" 3 4 extern char *l64a (long int __n) throw () ; extern long int a64l (const char *__s) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; # 1 "/usr/include/i386-linux-gnu/sys/types.h" 1 3 4 # 27 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 extern "C" { typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino_t ino_t; typedef __ino64_t ino64_t; typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off_t off_t; typedef __off64_t off64_t; # 104 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 136 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 typedef __useconds_t useconds_t; typedef __suseconds_t suseconds_t; # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 147 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 200 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 219 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 # 1 "/usr/include/i386-linux-gnu/sys/select.h" 1 3 4 # 30 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/select.h" 1 3 4 # 22 "/usr/include/i386-linux-gnu/bits/select.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/wordsize.h" 1 3 4 # 23 "/usr/include/i386-linux-gnu/bits/select.h" 2 3 4 # 31 "/usr/include/i386-linux-gnu/sys/select.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/bits/sigset.h" 1 3 4 # 22 "/usr/include/i386-linux-gnu/bits/sigset.h" 3 4 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 34 "/usr/include/i386-linux-gnu/sys/select.h" 2 3 4 typedef __sigset_t sigset_t; # 47 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/time.h" 1 3 4 # 48 "/usr/include/i386-linux-gnu/sys/select.h" 2 3 4 # 56 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 typedef long int __fd_mask; # 66 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 typedef struct { __fd_mask fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; # 98 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 extern "C" { # 108 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); # 120 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); # 133 "/usr/include/i386-linux-gnu/sys/select.h" 3 4 } # 220 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/sys/sysmacros.h" 1 3 4 # 24 "/usr/include/i386-linux-gnu/sys/sysmacros.h" 3 4 extern "C" { __extension__ extern unsigned int gnu_dev_major (unsigned long long int __dev) throw () __attribute__ ((__const__)); __extension__ extern unsigned int gnu_dev_minor (unsigned long long int __dev) throw () __attribute__ ((__const__)); __extension__ extern unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) throw () __attribute__ ((__const__)); # 58 "/usr/include/i386-linux-gnu/sys/sysmacros.h" 3 4 } # 223 "/usr/include/i386-linux-gnu/sys/types.h" 2 3 4 typedef __blksize_t blksize_t; typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 262 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 typedef __blkcnt64_t blkcnt64_t; typedef __fsblkcnt64_t fsblkcnt64_t; typedef __fsfilcnt64_t fsfilcnt64_t; # 273 "/usr/include/i386-linux-gnu/sys/types.h" 3 4 } # 276 "/usr/include/stdlib.h" 2 3 4 extern long int random (void) throw (); extern void srandom (unsigned int __seed) throw (); extern char *initstate (unsigned int __seed, char *__statebuf, size_t __statelen) throw () __attribute__ ((__nonnull__ (2))); extern char *setstate (char *__statebuf) throw () __attribute__ ((__nonnull__ (1))); struct random_data { int32_t *fptr; int32_t *rptr; int32_t *state; int rand_type; int rand_deg; int rand_sep; int32_t *end_ptr; }; extern int random_r (struct random_data *__restrict __buf, int32_t *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int srandom_r (unsigned int __seed, struct random_data *__buf) throw () __attribute__ ((__nonnull__ (2))); extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, size_t __statelen, struct random_data *__restrict __buf) throw () __attribute__ ((__nonnull__ (2, 4))); extern int setstate_r (char *__restrict __statebuf, struct random_data *__restrict __buf) throw () __attribute__ ((__nonnull__ (1, 2))); extern int rand (void) throw (); extern void srand (unsigned int __seed) throw (); extern int rand_r (unsigned int *__seed) throw (); extern double drand48 (void) throw (); extern double erand48 (unsigned short int __xsubi[3]) throw () __attribute__ ((__nonnull__ (1))); extern long int lrand48 (void) throw (); extern long int nrand48 (unsigned short int __xsubi[3]) throw () __attribute__ ((__nonnull__ (1))); extern long int mrand48 (void) throw (); extern long int jrand48 (unsigned short int __xsubi[3]) throw () __attribute__ ((__nonnull__ (1))); extern void srand48 (long int __seedval) throw (); extern unsigned short int *seed48 (unsigned short int __seed16v[3]) throw () __attribute__ ((__nonnull__ (1))); extern void lcong48 (unsigned short int __param[7]) throw () __attribute__ ((__nonnull__ (1))); struct drand48_data { unsigned short int __x[3]; unsigned short int __old_x[3]; unsigned short int __c; unsigned short int __init; __extension__ unsigned long long int __a; }; extern int drand48_r (struct drand48_data *__restrict __buffer, double *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int erand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, double *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int lrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int nrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int mrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int jrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int srand48_r (long int __seedval, struct drand48_data *__buffer) throw () __attribute__ ((__nonnull__ (2))); extern int seed48_r (unsigned short int __seed16v[3], struct drand48_data *__buffer) throw () __attribute__ ((__nonnull__ (1, 2))); extern int lcong48_r (unsigned short int __param[7], struct drand48_data *__buffer) throw () __attribute__ ((__nonnull__ (1, 2))); extern void *malloc (size_t __size) throw () __attribute__ ((__malloc__)) ; extern void *calloc (size_t __nmemb, size_t __size) throw () __attribute__ ((__malloc__)) ; extern void *realloc (void *__ptr, size_t __size) throw () __attribute__ ((__warn_unused_result__)); extern void free (void *__ptr) throw (); extern void cfree (void *__ptr) throw (); # 1 "/usr/include/alloca.h" 1 3 4 # 24 "/usr/include/alloca.h" 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 25 "/usr/include/alloca.h" 2 3 4 extern "C" { extern void *alloca (size_t __size) throw (); } # 454 "/usr/include/stdlib.h" 2 3 4 extern void *valloc (size_t __size) throw () __attribute__ ((__malloc__)) ; extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) throw () __attribute__ ((__nonnull__ (1))) ; extern void *aligned_alloc (size_t __alignment, size_t __size) throw () __attribute__ ((__malloc__)) __attribute__ ((__alloc_size__ (2))) ; extern void abort (void) throw () __attribute__ ((__noreturn__)); extern int atexit (void (*__func) (void)) throw () __attribute__ ((__nonnull__ (1))); extern "C++" int at_quick_exit (void (*__func) (void)) throw () __asm ("at_quick_exit") __attribute__ ((__nonnull__ (1))); extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) throw () __attribute__ ((__nonnull__ (1))); extern void exit (int __status) throw () __attribute__ ((__noreturn__)); extern void quick_exit (int __status) throw () __attribute__ ((__noreturn__)); extern void _Exit (int __status) throw () __attribute__ ((__noreturn__)); extern char *getenv (const char *__name) throw () __attribute__ ((__nonnull__ (1))) ; extern char *secure_getenv (const char *__name) throw () __attribute__ ((__nonnull__ (1))) ; extern int putenv (char *__string) throw () __attribute__ ((__nonnull__ (1))); extern int setenv (const char *__name, const char *__value, int __replace) throw () __attribute__ ((__nonnull__ (2))); extern int unsetenv (const char *__name) throw () __attribute__ ((__nonnull__ (1))); extern int clearenv (void) throw (); # 567 "/usr/include/stdlib.h" 3 4 extern char *mktemp (char *__template) throw () __attribute__ ((__nonnull__ (1))); # 580 "/usr/include/stdlib.h" 3 4 extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) ; # 590 "/usr/include/stdlib.h" 3 4 extern int mkstemp64 (char *__template) __attribute__ ((__nonnull__ (1))) ; # 602 "/usr/include/stdlib.h" 3 4 extern int mkstemps (char *__template, int __suffixlen) __attribute__ ((__nonnull__ (1))) ; # 612 "/usr/include/stdlib.h" 3 4 extern int mkstemps64 (char *__template, int __suffixlen) __attribute__ ((__nonnull__ (1))) ; # 623 "/usr/include/stdlib.h" 3 4 extern char *mkdtemp (char *__template) throw () __attribute__ ((__nonnull__ (1))) ; # 634 "/usr/include/stdlib.h" 3 4 extern int mkostemp (char *__template, int __flags) __attribute__ ((__nonnull__ (1))) ; # 644 "/usr/include/stdlib.h" 3 4 extern int mkostemp64 (char *__template, int __flags) __attribute__ ((__nonnull__ (1))) ; # 654 "/usr/include/stdlib.h" 3 4 extern int mkostemps (char *__template, int __suffixlen, int __flags) __attribute__ ((__nonnull__ (1))) ; # 666 "/usr/include/stdlib.h" 3 4 extern int mkostemps64 (char *__template, int __suffixlen, int __flags) __attribute__ ((__nonnull__ (1))) ; extern int system (const char *__command) ; extern char *canonicalize_file_name (const char *__name) throw () __attribute__ ((__nonnull__ (1))) ; # 694 "/usr/include/stdlib.h" 3 4 extern char *realpath (const char *__restrict __name, char *__restrict __resolved) throw () ; typedef int (*__compar_fn_t) (const void *, const void *); typedef __compar_fn_t comparison_fn_t; typedef int (*__compar_d_fn_t) (const void *, const void *, void *); extern void *bsearch (const void *__key, const void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 2, 5))) ; extern void qsort (void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4))); extern void qsort_r (void *__base, size_t __nmemb, size_t __size, __compar_d_fn_t __compar, void *__arg) __attribute__ ((__nonnull__ (1, 4))); extern int abs (int __x) throw () __attribute__ ((__const__)) ; extern long int labs (long int __x) throw () __attribute__ ((__const__)) ; __extension__ extern long long int llabs (long long int __x) throw () __attribute__ ((__const__)) ; extern div_t div (int __numer, int __denom) throw () __attribute__ ((__const__)) ; extern ldiv_t ldiv (long int __numer, long int __denom) throw () __attribute__ ((__const__)) ; __extension__ extern lldiv_t lldiv (long long int __numer, long long int __denom) throw () __attribute__ ((__const__)) ; # 772 "/usr/include/stdlib.h" 3 4 extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) throw () __attribute__ ((__nonnull__ (3, 4))) ; extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) throw () __attribute__ ((__nonnull__ (3, 4))) ; extern char *gcvt (double __value, int __ndigit, char *__buf) throw () __attribute__ ((__nonnull__ (3))) ; extern char *qecvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) throw () __attribute__ ((__nonnull__ (3, 4))) ; extern char *qfcvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) throw () __attribute__ ((__nonnull__ (3, 4))) ; extern char *qgcvt (long double __value, int __ndigit, char *__buf) throw () __attribute__ ((__nonnull__ (3))) ; extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) throw () __attribute__ ((__nonnull__ (3, 4, 5))); extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) throw () __attribute__ ((__nonnull__ (3, 4, 5))); extern int qecvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) throw () __attribute__ ((__nonnull__ (3, 4, 5))); extern int qfcvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) throw () __attribute__ ((__nonnull__ (3, 4, 5))); extern int mblen (const char *__s, size_t __n) throw (); extern int mbtowc (wchar_t *__restrict __pwc, const char *__restrict __s, size_t __n) throw (); extern int wctomb (char *__s, wchar_t __wchar) throw (); extern size_t mbstowcs (wchar_t *__restrict __pwcs, const char *__restrict __s, size_t __n) throw (); extern size_t wcstombs (char *__restrict __s, const wchar_t *__restrict __pwcs, size_t __n) throw (); extern int rpmatch (const char *__response) throw () __attribute__ ((__nonnull__ (1))) ; # 859 "/usr/include/stdlib.h" 3 4 extern int getsubopt (char **__restrict __optionp, char *const *__restrict __tokens, char **__restrict __valuep) throw () __attribute__ ((__nonnull__ (1, 2, 3))) ; extern void setkey (const char *__key) throw () __attribute__ ((__nonnull__ (1))); extern int posix_openpt (int __oflag) ; extern int grantpt (int __fd) throw (); extern int unlockpt (int __fd) throw (); extern char *ptsname (int __fd) throw () ; extern int ptsname_r (int __fd, char *__buf, size_t __buflen) throw () __attribute__ ((__nonnull__ (2))); extern int getpt (void); extern int getloadavg (double __loadavg[], int __nelem) throw () __attribute__ ((__nonnull__ (1))); # 921 "/usr/include/stdlib.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/stdlib-float.h" 1 3 4 # 922 "/usr/include/stdlib.h" 2 3 4 # 934 "/usr/include/stdlib.h" 3 4 } # 76 "/usr/include/c++/7/cstdlib" 2 3 # 1 "/usr/include/c++/7/bits/std_abs.h" 1 3 # 33 "/usr/include/c++/7/bits/std_abs.h" 3 # 34 "/usr/include/c++/7/bits/std_abs.h" 3 # 46 "/usr/include/c++/7/bits/std_abs.h" 3 extern "C++" { namespace std __attribute__ ((__visibility__ ("default"))) { using ::abs; inline long abs(long __i) { return __builtin_labs(__i); } inline long long abs(long long __x) { return __builtin_llabs (__x); } inline constexpr double abs(double __x) { return __builtin_fabs(__x); } inline constexpr float abs(float __x) { return __builtin_fabsf(__x); } inline constexpr long double abs(long double __x) { return __builtin_fabsl(__x); } # 100 "/usr/include/c++/7/bits/std_abs.h" 3 inline constexpr __float128 abs(__float128 __x) { return __x < 0 ? -__x : __x; } } } # 78 "/usr/include/c++/7/cstdlib" 2 3 # 118 "/usr/include/c++/7/cstdlib" 3 extern "C++" { namespace std __attribute__ ((__visibility__ ("default"))) { using ::div_t; using ::ldiv_t; using ::abort; using ::atexit; using ::at_quick_exit; using ::atof; using ::atoi; using ::atol; using ::bsearch; using ::calloc; using ::div; using ::exit; using ::free; using ::getenv; using ::labs; using ::ldiv; using ::malloc; using ::mblen; using ::mbstowcs; using ::mbtowc; using ::qsort; using ::quick_exit; using ::rand; using ::realloc; using ::srand; using ::strtod; using ::strtol; using ::strtoul; using ::system; using ::wcstombs; using ::wctomb; inline ldiv_t div(long __i, long __j) { return ldiv(__i, __j); } } # 189 "/usr/include/c++/7/cstdlib" 3 namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) { using ::lldiv_t; using ::_Exit; using ::llabs; inline lldiv_t div(long long __n, long long __d) { lldiv_t __q; __q.quot = __n / __d; __q.rem = __n % __d; return __q; } using ::lldiv; # 221 "/usr/include/c++/7/cstdlib" 3 using ::atoll; using ::strtoll; using ::strtoull; using ::strtof; using ::strtold; } namespace std { using ::__gnu_cxx::lldiv_t; using ::__gnu_cxx::_Exit; using ::__gnu_cxx::llabs; using ::__gnu_cxx::div; using ::__gnu_cxx::lldiv; using ::__gnu_cxx::atoll; using ::__gnu_cxx::strtof; using ::__gnu_cxx::strtoll; using ::__gnu_cxx::strtoull; using ::__gnu_cxx::strtold; } } # 42 "/usr/include/c++/7/ext/string_conversions.h" 2 3 # 1 "/usr/include/c++/7/cwchar" 1 3 # 39 "/usr/include/c++/7/cwchar" 3 # 40 "/usr/include/c++/7/cwchar" 3 # 1 "/usr/include/wchar.h" 1 3 4 # 45 "/usr/include/c++/7/cwchar" 2 3 # 43 "/usr/include/c++/7/ext/string_conversions.h" 2 3 # 1 "/usr/include/c++/7/cstdio" 1 3 # 39 "/usr/include/c++/7/cstdio" 3 # 40 "/usr/include/c++/7/cstdio" 3 # 1 "/usr/include/stdio.h" 1 3 4 # 29 "/usr/include/stdio.h" 3 4 extern "C" { # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 34 "/usr/include/stdio.h" 2 3 4 # 74 "/usr/include/stdio.h" 3 4 # 1 "/usr/include/libio.h" 1 3 4 # 31 "/usr/include/libio.h" 3 4 # 1 "/usr/include/_G_config.h" 1 3 4 # 15 "/usr/include/_G_config.h" 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 16 "/usr/include/_G_config.h" 2 3 4 # 1 "/usr/include/wchar.h" 1 3 4 # 21 "/usr/include/_G_config.h" 2 3 4 typedef struct { __off_t __pos; __mbstate_t __state; } _G_fpos_t; typedef struct { __off64_t __pos; __mbstate_t __state; } _G_fpos64_t; # 32 "/usr/include/libio.h" 2 3 4 # 49 "/usr/include/libio.h" 3 4 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stdarg.h" 1 3 4 # 50 "/usr/include/libio.h" 2 3 4 # 144 "/usr/include/libio.h" 3 4 struct _IO_jump_t; struct _IO_FILE; typedef void _IO_lock_t; struct _IO_marker { struct _IO_marker *_next; struct _IO_FILE *_sbuf; int _pos; # 173 "/usr/include/libio.h" 3 4 }; enum __codecvt_result { __codecvt_ok, __codecvt_partial, __codecvt_error, __codecvt_noconv }; # 241 "/usr/include/libio.h" 3 4 struct _IO_FILE { int _flags; char* _IO_read_ptr; char* _IO_read_end; char* _IO_read_base; char* _IO_write_base; char* _IO_write_ptr; char* _IO_write_end; char* _IO_buf_base; char* _IO_buf_end; char *_IO_save_base; char *_IO_backup_base; char *_IO_save_end; struct _IO_marker *_markers; struct _IO_FILE *_chain; int _fileno; int _flags2; __off_t _old_offset; unsigned short _cur_column; signed char _vtable_offset; char _shortbuf[1]; _IO_lock_t *_lock; # 289 "/usr/include/libio.h" 3 4 __off64_t _offset; void *__pad1; void *__pad2; void *__pad3; void *__pad4; size_t __pad5; int _mode; char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)]; }; struct _IO_FILE_plus; extern struct _IO_FILE_plus _IO_2_1_stdin_; extern struct _IO_FILE_plus _IO_2_1_stdout_; extern struct _IO_FILE_plus _IO_2_1_stderr_; # 333 "/usr/include/libio.h" 3 4 typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes); typedef __ssize_t __io_write_fn (void *__cookie, const char *__buf, size_t __n); typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w); typedef int __io_close_fn (void *__cookie); typedef __io_read_fn cookie_read_function_t; typedef __io_write_fn cookie_write_function_t; typedef __io_seek_fn cookie_seek_function_t; typedef __io_close_fn cookie_close_function_t; typedef struct { __io_read_fn *read; __io_write_fn *write; __io_seek_fn *seek; __io_close_fn *close; } _IO_cookie_io_functions_t; typedef _IO_cookie_io_functions_t cookie_io_functions_t; struct _IO_cookie_file; extern void _IO_cookie_init (struct _IO_cookie_file *__cfile, int __read_write, void *__cookie, _IO_cookie_io_functions_t __fns); extern "C" { extern int __underflow (_IO_FILE *); extern int __uflow (_IO_FILE *); extern int __overflow (_IO_FILE *, int); # 429 "/usr/include/libio.h" 3 4 extern int _IO_getc (_IO_FILE *__fp); extern int _IO_putc (int __c, _IO_FILE *__fp); extern int _IO_feof (_IO_FILE *__fp) throw (); extern int _IO_ferror (_IO_FILE *__fp) throw (); extern int _IO_peekc_locked (_IO_FILE *__fp); extern void _IO_flockfile (_IO_FILE *) throw (); extern void _IO_funlockfile (_IO_FILE *) throw (); extern int _IO_ftrylockfile (_IO_FILE *) throw (); # 459 "/usr/include/libio.h" 3 4 extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict, __gnuc_va_list, int *__restrict); extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict, __gnuc_va_list); extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t); extern size_t _IO_sgetn (_IO_FILE *, void *, size_t); extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int); extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int); extern void _IO_free_backup_area (_IO_FILE *) throw (); # 521 "/usr/include/libio.h" 3 4 } # 75 "/usr/include/stdio.h" 2 3 4 typedef __gnuc_va_list va_list; # 110 "/usr/include/stdio.h" 3 4 typedef _G_fpos_t fpos_t; typedef _G_fpos64_t fpos64_t; # 166 "/usr/include/stdio.h" 3 4 # 1 "/usr/include/i386-linux-gnu/bits/stdio_lim.h" 1 3 4 # 167 "/usr/include/stdio.h" 2 3 4 extern struct _IO_FILE *stdin; extern struct _IO_FILE *stdout; extern struct _IO_FILE *stderr; extern int remove (const char *__filename) throw (); extern int rename (const char *__old, const char *__new) throw (); extern int renameat (int __oldfd, const char *__old, int __newfd, const char *__new) throw (); extern FILE *tmpfile (void) ; # 207 "/usr/include/stdio.h" 3 4 extern FILE *tmpfile64 (void) ; extern char *tmpnam (char *__s) throw () ; extern char *tmpnam_r (char *__s) throw () ; # 229 "/usr/include/stdio.h" 3 4 extern char *tempnam (const char *__dir, const char *__pfx) throw () __attribute__ ((__malloc__)) ; extern int fclose (FILE *__stream); extern int fflush (FILE *__stream); # 254 "/usr/include/stdio.h" 3 4 extern int fflush_unlocked (FILE *__stream); # 264 "/usr/include/stdio.h" 3 4 extern int fcloseall (void); extern FILE *fopen (const char *__restrict __filename, const char *__restrict __modes) ; extern FILE *freopen (const char *__restrict __filename, const char *__restrict __modes, FILE *__restrict __stream) ; # 297 "/usr/include/stdio.h" 3 4 extern FILE *fopen64 (const char *__restrict __filename, const char *__restrict __modes) ; extern FILE *freopen64 (const char *__restrict __filename, const char *__restrict __modes, FILE *__restrict __stream) ; extern FILE *fdopen (int __fd, const char *__modes) throw () ; extern FILE *fopencookie (void *__restrict __magic_cookie, const char *__restrict __modes, _IO_cookie_io_functions_t __io_funcs) throw () ; extern FILE *fmemopen (void *__s, size_t __len, const char *__modes) throw () ; extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) throw () ; extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) throw (); extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf, int __modes, size_t __n) throw (); extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf, size_t __size) throw (); extern void setlinebuf (FILE *__stream) throw (); extern int fprintf (FILE *__restrict __stream, const char *__restrict __format, ...); extern int printf (const char *__restrict __format, ...); extern int sprintf (char *__restrict __s, const char *__restrict __format, ...) throw (); extern int vfprintf (FILE *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg); extern int vprintf (const char *__restrict __format, __gnuc_va_list __arg); extern int vsprintf (char *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) throw (); extern int snprintf (char *__restrict __s, size_t __maxlen, const char *__restrict __format, ...) throw () __attribute__ ((__format__ (__printf__, 3, 4))); extern int vsnprintf (char *__restrict __s, size_t __maxlen, const char *__restrict __format, __gnuc_va_list __arg) throw () __attribute__ ((__format__ (__printf__, 3, 0))); extern int vasprintf (char **__restrict __ptr, const char *__restrict __f, __gnuc_va_list __arg) throw () __attribute__ ((__format__ (__printf__, 2, 0))) ; extern int __asprintf (char **__restrict __ptr, const char *__restrict __fmt, ...) throw () __attribute__ ((__format__ (__printf__, 2, 3))) ; extern int asprintf (char **__restrict __ptr, const char *__restrict __fmt, ...) throw () __attribute__ ((__format__ (__printf__, 2, 3))) ; extern int vdprintf (int __fd, const char *__restrict __fmt, __gnuc_va_list __arg) __attribute__ ((__format__ (__printf__, 2, 0))); extern int dprintf (int __fd, const char *__restrict __fmt, ...) __attribute__ ((__format__ (__printf__, 2, 3))); extern int fscanf (FILE *__restrict __stream, const char *__restrict __format, ...) ; extern int scanf (const char *__restrict __format, ...) ; extern int sscanf (const char *__restrict __s, const char *__restrict __format, ...) throw (); # 465 "/usr/include/stdio.h" 3 4 extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__format__ (__scanf__, 2, 0))) ; extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__format__ (__scanf__, 1, 0))) ; extern int vsscanf (const char *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) throw () __attribute__ ((__format__ (__scanf__, 2, 0))); # 524 "/usr/include/stdio.h" 3 4 extern int fgetc (FILE *__stream); extern int getc (FILE *__stream); extern int getchar (void); # 552 "/usr/include/stdio.h" 3 4 extern int getc_unlocked (FILE *__stream); extern int getchar_unlocked (void); # 563 "/usr/include/stdio.h" 3 4 extern int fgetc_unlocked (FILE *__stream); extern int fputc (int __c, FILE *__stream); extern int putc (int __c, FILE *__stream); extern int putchar (int __c); # 596 "/usr/include/stdio.h" 3 4 extern int fputc_unlocked (int __c, FILE *__stream); extern int putc_unlocked (int __c, FILE *__stream); extern int putchar_unlocked (int __c); extern int getw (FILE *__stream); extern int putw (int __w, FILE *__stream); extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ; # 642 "/usr/include/stdio.h" 3 4 # 651 "/usr/include/stdio.h" 3 4 extern char *fgets_unlocked (char *__restrict __s, int __n, FILE *__restrict __stream) ; # 667 "/usr/include/stdio.h" 3 4 extern __ssize_t __getdelim (char **__restrict __lineptr, size_t *__restrict __n, int __delimiter, FILE *__restrict __stream) ; extern __ssize_t getdelim (char **__restrict __lineptr, size_t *__restrict __n, int __delimiter, FILE *__restrict __stream) ; extern __ssize_t getline (char **__restrict __lineptr, size_t *__restrict __n, FILE *__restrict __stream) ; extern int fputs (const char *__restrict __s, FILE *__restrict __stream); extern int puts (const char *__s); extern int ungetc (int __c, FILE *__stream); extern size_t fread (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) ; extern size_t fwrite (const void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __s); # 728 "/usr/include/stdio.h" 3 4 extern int fputs_unlocked (const char *__restrict __s, FILE *__restrict __stream); # 739 "/usr/include/stdio.h" 3 4 extern size_t fread_unlocked (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) ; extern size_t fwrite_unlocked (const void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream); extern int fseek (FILE *__stream, long int __off, int __whence); extern long int ftell (FILE *__stream) ; extern void rewind (FILE *__stream); # 775 "/usr/include/stdio.h" 3 4 extern int fseeko (FILE *__stream, __off_t __off, int __whence); extern __off_t ftello (FILE *__stream) ; # 794 "/usr/include/stdio.h" 3 4 extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos); extern int fsetpos (FILE *__stream, const fpos_t *__pos); # 817 "/usr/include/stdio.h" 3 4 extern int fseeko64 (FILE *__stream, __off64_t __off, int __whence); extern __off64_t ftello64 (FILE *__stream) ; extern int fgetpos64 (FILE *__restrict __stream, fpos64_t *__restrict __pos); extern int fsetpos64 (FILE *__stream, const fpos64_t *__pos); extern void clearerr (FILE *__stream) throw (); extern int feof (FILE *__stream) throw () ; extern int ferror (FILE *__stream) throw () ; extern void clearerr_unlocked (FILE *__stream) throw (); extern int feof_unlocked (FILE *__stream) throw () ; extern int ferror_unlocked (FILE *__stream) throw () ; extern void perror (const char *__s); # 1 "/usr/include/i386-linux-gnu/bits/sys_errlist.h" 1 3 4 # 26 "/usr/include/i386-linux-gnu/bits/sys_errlist.h" 3 4 extern int sys_nerr; extern const char *const sys_errlist[]; extern int _sys_nerr; extern const char *const _sys_errlist[]; # 856 "/usr/include/stdio.h" 2 3 4 extern int fileno (FILE *__stream) throw () ; extern int fileno_unlocked (FILE *__stream) throw () ; # 874 "/usr/include/stdio.h" 3 4 extern FILE *popen (const char *__command, const char *__modes) ; extern int pclose (FILE *__stream); extern char *ctermid (char *__s) throw (); extern char *cuserid (char *__s); struct obstack; extern int obstack_printf (struct obstack *__restrict __obstack, const char *__restrict __format, ...) throw () __attribute__ ((__format__ (__printf__, 2, 3))); extern int obstack_vprintf (struct obstack *__restrict __obstack, const char *__restrict __format, __gnuc_va_list __args) throw () __attribute__ ((__format__ (__printf__, 2, 0))); extern void flockfile (FILE *__stream) throw (); extern int ftrylockfile (FILE *__stream) throw () ; extern void funlockfile (FILE *__stream) throw (); # 944 "/usr/include/stdio.h" 3 4 } # 43 "/usr/include/c++/7/cstdio" 2 3 # 96 "/usr/include/c++/7/cstdio" 3 namespace std { using ::FILE; using ::fpos_t; using ::clearerr; using ::fclose; using ::feof; using ::ferror; using ::fflush; using ::fgetc; using ::fgetpos; using ::fgets; using ::fopen; using ::fprintf; using ::fputc; using ::fputs; using ::fread; using ::freopen; using ::fscanf; using ::fseek; using ::fsetpos; using ::ftell; using ::fwrite; using ::getc; using ::getchar; using ::perror; using ::printf; using ::putc; using ::putchar; using ::puts; using ::remove; using ::rename; using ::rewind; using ::scanf; using ::setbuf; using ::setvbuf; using ::sprintf; using ::sscanf; using ::tmpfile; using ::tmpnam; using ::ungetc; using ::vfprintf; using ::vprintf; using ::vsprintf; } # 157 "/usr/include/c++/7/cstdio" 3 namespace __gnu_cxx { # 175 "/usr/include/c++/7/cstdio" 3 using ::snprintf; using ::vfscanf; using ::vscanf; using ::vsnprintf; using ::vsscanf; } namespace std { using ::__gnu_cxx::snprintf; using ::__gnu_cxx::vfscanf; using ::__gnu_cxx::vscanf; using ::__gnu_cxx::vsnprintf; using ::__gnu_cxx::vsscanf; } # 44 "/usr/include/c++/7/ext/string_conversions.h" 2 3 # 1 "/usr/include/c++/7/cerrno" 1 3 # 39 "/usr/include/c++/7/cerrno" 3 # 40 "/usr/include/c++/7/cerrno" 3 # 1 "/usr/include/errno.h" 1 3 4 # 31 "/usr/include/errno.h" 3 4 extern "C" { # 1 "/usr/include/i386-linux-gnu/bits/errno.h" 1 3 4 # 24 "/usr/include/i386-linux-gnu/bits/errno.h" 3 4 # 1 "/usr/include/linux/errno.h" 1 3 4 # 1 "/usr/include/i386-linux-gnu/asm/errno.h" 1 3 4 # 1 "/usr/include/asm-generic/errno.h" 1 3 4 # 1 "/usr/include/asm-generic/errno-base.h" 1 3 4 # 5 "/usr/include/asm-generic/errno.h" 2 3 4 # 1 "/usr/include/i386-linux-gnu/asm/errno.h" 2 3 4 # 1 "/usr/include/linux/errno.h" 2 3 4 # 25 "/usr/include/i386-linux-gnu/bits/errno.h" 2 3 4 # 50 "/usr/include/i386-linux-gnu/bits/errno.h" 3 4 extern int *__errno_location (void) throw () __attribute__ ((__const__)); # 36 "/usr/include/errno.h" 2 3 4 # 54 "/usr/include/errno.h" 3 4 extern char *program_invocation_name, *program_invocation_short_name; } # 68 "/usr/include/errno.h" 3 4 typedef int error_t; # 43 "/usr/include/c++/7/cerrno" 2 3 # 45 "/usr/include/c++/7/ext/string_conversions.h" 2 3 namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) { template _Ret __stoa(_TRet (*__convf) (const _CharT*, _CharT**, _Base...), const char* __name, const _CharT* __str, std::size_t* __idx, _Base... __base) { _Ret __ret; _CharT* __endptr; struct _Save_errno { _Save_errno() : _M_errno((*__errno_location ())) { (*__errno_location ()) = 0; } ~_Save_errno() { if ((*__errno_location ()) == 0) (*__errno_location ()) = _M_errno; } int _M_errno; } const __save_errno; struct _Range_chk { static bool _S_chk(_TRet, std::false_type) { return false; } static bool _S_chk(_TRet __val, std::true_type) { return __val < _TRet(__numeric_traits::__min) || __val > _TRet(__numeric_traits::__max); } }; const _TRet __tmp = __convf(__str, &__endptr, __base...); if (__endptr == __str) std::__throw_invalid_argument(__name); else if ((*__errno_location ()) == 34 || _Range_chk::_S_chk(__tmp, std::is_same<_Ret, int>{})) std::__throw_out_of_range(__name); else __ret = __tmp; if (__idx) *__idx = __endptr - __str; return __ret; } template _String __to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*, __builtin_va_list), std::size_t __n, const _CharT* __fmt, ...) { _CharT* __s = static_cast<_CharT*>(__builtin_alloca(sizeof(_CharT) * __n)); __builtin_va_list __args; __builtin_va_start(__args, __fmt); const int __len = __convf(__s, __n, __fmt, __args); __builtin_va_end(__args); return _String(__s, __s + __len); } } # 6160 "/usr/include/c++/7/bits/basic_string.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { namespace __cxx11 { inline int stoi(const string& __str, size_t* __idx = 0, int __base = 10) { return __gnu_cxx::__stoa(&std::strtol, "stoi", __str.c_str(), __idx, __base); } inline long stol(const string& __str, size_t* __idx = 0, int __base = 10) { return __gnu_cxx::__stoa(&std::strtol, "stol", __str.c_str(), __idx, __base); } inline unsigned long stoul(const string& __str, size_t* __idx = 0, int __base = 10) { return __gnu_cxx::__stoa(&std::strtoul, "stoul", __str.c_str(), __idx, __base); } inline long long stoll(const string& __str, size_t* __idx = 0, int __base = 10) { return __gnu_cxx::__stoa(&std::strtoll, "stoll", __str.c_str(), __idx, __base); } inline unsigned long long stoull(const string& __str, size_t* __idx = 0, int __base = 10) { return __gnu_cxx::__stoa(&std::strtoull, "stoull", __str.c_str(), __idx, __base); } inline float stof(const string& __str, size_t* __idx = 0) { return __gnu_cxx::__stoa(&std::strtof, "stof", __str.c_str(), __idx); } inline double stod(const string& __str, size_t* __idx = 0) { return __gnu_cxx::__stoa(&std::strtod, "stod", __str.c_str(), __idx); } inline long double stold(const string& __str, size_t* __idx = 0) { return __gnu_cxx::__stoa(&std::strtold, "stold", __str.c_str(), __idx); } inline string to_string(int __val) { return __gnu_cxx::__to_xstring(&std::vsnprintf, 4 * sizeof(int), "%d", __val); } inline string to_string(unsigned __val) { return __gnu_cxx::__to_xstring(&std::vsnprintf, 4 * sizeof(unsigned), "%u", __val); } inline string to_string(long __val) { return __gnu_cxx::__to_xstring(&std::vsnprintf, 4 * sizeof(long), "%ld", __val); } inline string to_string(unsigned long __val) { return __gnu_cxx::__to_xstring(&std::vsnprintf, 4 * sizeof(unsigned long), "%lu", __val); } inline string to_string(long long __val) { return __gnu_cxx::__to_xstring(&std::vsnprintf, 4 * sizeof(long long), "%lld", __val); } inline string to_string(unsigned long long __val) { return __gnu_cxx::__to_xstring(&std::vsnprintf, 4 * sizeof(unsigned long long), "%llu", __val); } inline string to_string(float __val) { const int __n = __gnu_cxx::__numeric_traits::__max_exponent10 + 20; return __gnu_cxx::__to_xstring(&std::vsnprintf, __n, "%f", __val); } inline string to_string(double __val) { const int __n = __gnu_cxx::__numeric_traits::__max_exponent10 + 20; return __gnu_cxx::__to_xstring(&std::vsnprintf, __n, "%f", __val); } inline string to_string(long double __val) { const int __n = __gnu_cxx::__numeric_traits::__max_exponent10 + 20; return __gnu_cxx::__to_xstring(&std::vsnprintf, __n, "%Lf", __val); } inline int stoi(const wstring& __str, size_t* __idx = 0, int __base = 10) { return __gnu_cxx::__stoa(&std::wcstol, "stoi", __str.c_str(), __idx, __base); } inline long stol(const wstring& __str, size_t* __idx = 0, int __base = 10) { return __gnu_cxx::__stoa(&std::wcstol, "stol", __str.c_str(), __idx, __base); } inline unsigned long stoul(const wstring& __str, size_t* __idx = 0, int __base = 10) { return __gnu_cxx::__stoa(&std::wcstoul, "stoul", __str.c_str(), __idx, __base); } inline long long stoll(const wstring& __str, size_t* __idx = 0, int __base = 10) { return __gnu_cxx::__stoa(&std::wcstoll, "stoll", __str.c_str(), __idx, __base); } inline unsigned long long stoull(const wstring& __str, size_t* __idx = 0, int __base = 10) { return __gnu_cxx::__stoa(&std::wcstoull, "stoull", __str.c_str(), __idx, __base); } inline float stof(const wstring& __str, size_t* __idx = 0) { return __gnu_cxx::__stoa(&std::wcstof, "stof", __str.c_str(), __idx); } inline double stod(const wstring& __str, size_t* __idx = 0) { return __gnu_cxx::__stoa(&std::wcstod, "stod", __str.c_str(), __idx); } inline long double stold(const wstring& __str, size_t* __idx = 0) { return __gnu_cxx::__stoa(&std::wcstold, "stold", __str.c_str(), __idx); } inline wstring to_wstring(int __val) { return __gnu_cxx::__to_xstring(&std::vswprintf, 4 * sizeof(int), L"%d", __val); } inline wstring to_wstring(unsigned __val) { return __gnu_cxx::__to_xstring(&std::vswprintf, 4 * sizeof(unsigned), L"%u", __val); } inline wstring to_wstring(long __val) { return __gnu_cxx::__to_xstring(&std::vswprintf, 4 * sizeof(long), L"%ld", __val); } inline wstring to_wstring(unsigned long __val) { return __gnu_cxx::__to_xstring(&std::vswprintf, 4 * sizeof(unsigned long), L"%lu", __val); } inline wstring to_wstring(long long __val) { return __gnu_cxx::__to_xstring(&std::vswprintf, 4 * sizeof(long long), L"%lld", __val); } inline wstring to_wstring(unsigned long long __val) { return __gnu_cxx::__to_xstring(&std::vswprintf, 4 * sizeof(unsigned long long), L"%llu", __val); } inline wstring to_wstring(float __val) { const int __n = __gnu_cxx::__numeric_traits::__max_exponent10 + 20; return __gnu_cxx::__to_xstring(&std::vswprintf, __n, L"%f", __val); } inline wstring to_wstring(double __val) { const int __n = __gnu_cxx::__numeric_traits::__max_exponent10 + 20; return __gnu_cxx::__to_xstring(&std::vswprintf, __n, L"%f", __val); } inline wstring to_wstring(long double __val) { const int __n = __gnu_cxx::__numeric_traits::__max_exponent10 + 20; return __gnu_cxx::__to_xstring(&std::vswprintf, __n, L"%Lf", __val); } } } # 1 "/usr/include/c++/7/bits/functional_hash.h" 1 3 # 33 "/usr/include/c++/7/bits/functional_hash.h" 3 # 34 "/usr/include/c++/7/bits/functional_hash.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 49 "/usr/include/c++/7/bits/functional_hash.h" 3 template struct __hash_base { typedef _Result result_type; typedef _Arg argument_type; }; template struct hash; template struct __poison_hash { static constexpr bool __enable_hash_call = false; private: __poison_hash(__poison_hash&&); ~__poison_hash(); }; template struct __poison_hash<_Tp, __void_t()(declval<_Tp>()))>> { static constexpr bool __enable_hash_call = true; }; template::value> struct __hash_enum { private: __hash_enum(__hash_enum&&); ~__hash_enum(); }; template struct __hash_enum<_Tp, true> : public __hash_base { size_t operator()(_Tp __val) const noexcept { using __type = typename underlying_type<_Tp>::type; return hash<__type>{}(static_cast<__type>(__val)); } }; template struct hash : __hash_enum<_Tp> { }; template struct hash<_Tp*> : public __hash_base { size_t operator()(_Tp* __p) const noexcept { return reinterpret_cast(__p); } }; # 124 "/usr/include/c++/7/bits/functional_hash.h" 3 template<> struct hash : public __hash_base { size_t operator()(bool __val) const noexcept { return static_cast(__val); } }; template<> struct hash : public __hash_base { size_t operator()(char __val) const noexcept { return static_cast(__val); } }; template<> struct hash : public __hash_base { size_t operator()(signed char __val) const noexcept { return static_cast(__val); } }; template<> struct hash : public __hash_base { size_t operator()(unsigned char __val) const noexcept { return static_cast(__val); } }; template<> struct hash : public __hash_base { size_t operator()(wchar_t __val) const noexcept { return static_cast(__val); } }; template<> struct hash : public __hash_base { size_t operator()(char16_t __val) const noexcept { return static_cast(__val); } }; template<> struct hash : public __hash_base { size_t operator()(char32_t __val) const noexcept { return static_cast(__val); } }; template<> struct hash : public __hash_base { size_t operator()(short __val) const noexcept { return static_cast(__val); } }; template<> struct hash : public __hash_base { size_t operator()(int __val) const noexcept { return static_cast(__val); } }; template<> struct hash : public __hash_base { size_t operator()(long __val) const noexcept { return static_cast(__val); } }; template<> struct hash : public __hash_base { size_t operator()(long long __val) const noexcept { return static_cast(__val); } }; template<> struct hash : public __hash_base { size_t operator()(unsigned short __val) const noexcept { return static_cast(__val); } }; template<> struct hash : public __hash_base { size_t operator()(unsigned int __val) const noexcept { return static_cast(__val); } }; template<> struct hash : public __hash_base { size_t operator()(unsigned long __val) const noexcept { return static_cast(__val); } }; template<> struct hash : public __hash_base { size_t operator()(unsigned long long __val) const noexcept { return static_cast(__val); } }; # 187 "/usr/include/c++/7/bits/functional_hash.h" 3 struct _Hash_impl { static size_t hash(const void* __ptr, size_t __clength, size_t __seed = static_cast(0xc70f6907UL)) { return _Hash_bytes(__ptr, __clength, __seed); } template static size_t hash(const _Tp& __val) { return hash(&__val, sizeof(__val)); } template static size_t __hash_combine(const _Tp& __val, size_t __hash) { return hash(&__val, sizeof(__val), __hash); } }; struct _Fnv_hash_impl { static size_t hash(const void* __ptr, size_t __clength, size_t __seed = static_cast(2166136261UL)) { return _Fnv_hash_bytes(__ptr, __clength, __seed); } template static size_t hash(const _Tp& __val) { return hash(&__val, sizeof(__val)); } template static size_t __hash_combine(const _Tp& __val, size_t __hash) { return hash(&__val, sizeof(__val), __hash); } }; template<> struct hash : public __hash_base { size_t operator()(float __val) const noexcept { return __val != 0.0f ? std::_Hash_impl::hash(__val) : 0; } }; template<> struct hash : public __hash_base { size_t operator()(double __val) const noexcept { return __val != 0.0 ? std::_Hash_impl::hash(__val) : 0; } }; template<> struct hash : public __hash_base { __attribute__ ((__pure__)) size_t operator()(long double __val) const noexcept; }; template struct __is_fast_hash : public std::true_type { }; template<> struct __is_fast_hash> : public std::false_type { }; } # 6386 "/usr/include/c++/7/bits/basic_string.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { template<> struct hash : public __hash_base { size_t operator()(const string& __s) const noexcept { return std::_Hash_impl::hash(__s.data(), __s.length()); } }; template<> struct __is_fast_hash> : std::false_type { }; template<> struct hash : public __hash_base { size_t operator()(const wstring& __s) const noexcept { return std::_Hash_impl::hash(__s.data(), __s.length() * sizeof(wchar_t)); } }; template<> struct __is_fast_hash> : std::false_type { }; template<> struct hash : public __hash_base { size_t operator()(const u16string& __s) const noexcept { return std::_Hash_impl::hash(__s.data(), __s.length() * sizeof(char16_t)); } }; template<> struct __is_fast_hash> : std::false_type { }; template<> struct hash : public __hash_base { size_t operator()(const u32string& __s) const noexcept { return std::_Hash_impl::hash(__s.data(), __s.length() * sizeof(char32_t)); } }; template<> struct __is_fast_hash> : std::false_type { }; inline namespace literals { inline namespace string_literals { __attribute ((__abi_tag__ ("cxx11"))) inline basic_string operator""s(const char* __str, size_t __len) { return basic_string{__str, __len}; } __attribute ((__abi_tag__ ("cxx11"))) inline basic_string operator""s(const wchar_t* __str, size_t __len) { return basic_string{__str, __len}; } __attribute ((__abi_tag__ ("cxx11"))) inline basic_string operator""s(const char16_t* __str, size_t __len) { return basic_string{__str, __len}; } __attribute ((__abi_tag__ ("cxx11"))) inline basic_string operator""s(const char32_t* __str, size_t __len) { return basic_string{__str, __len}; } } } } # 53 "/usr/include/c++/7/string" 2 3 # 1 "/usr/include/c++/7/bits/basic_string.tcc" 1 3 # 42 "/usr/include/c++/7/bits/basic_string.tcc" 3 # 43 "/usr/include/c++/7/bits/basic_string.tcc" 3 namespace std __attribute__ ((__visibility__ ("default"))) { template const typename basic_string<_CharT, _Traits, _Alloc>::size_type basic_string<_CharT, _Traits, _Alloc>::npos; template void basic_string<_CharT, _Traits, _Alloc>:: swap(basic_string& __s) noexcept { if (this == &__s) return; _Alloc_traits::_S_on_swap(_M_get_allocator(), __s._M_get_allocator()); if (_M_is_local()) if (__s._M_is_local()) { if (length() && __s.length()) { _CharT __tmp_data[_S_local_capacity + 1]; traits_type::copy(__tmp_data, __s._M_local_buf, _S_local_capacity + 1); traits_type::copy(__s._M_local_buf, _M_local_buf, _S_local_capacity + 1); traits_type::copy(_M_local_buf, __tmp_data, _S_local_capacity + 1); } else if (__s.length()) { traits_type::copy(_M_local_buf, __s._M_local_buf, _S_local_capacity + 1); _M_length(__s.length()); __s._M_set_length(0); return; } else if (length()) { traits_type::copy(__s._M_local_buf, _M_local_buf, _S_local_capacity + 1); __s._M_length(length()); _M_set_length(0); return; } } else { const size_type __tmp_capacity = __s._M_allocated_capacity; traits_type::copy(__s._M_local_buf, _M_local_buf, _S_local_capacity + 1); _M_data(__s._M_data()); __s._M_data(__s._M_local_buf); _M_capacity(__tmp_capacity); } else { const size_type __tmp_capacity = _M_allocated_capacity; if (__s._M_is_local()) { traits_type::copy(_M_local_buf, __s._M_local_buf, _S_local_capacity + 1); __s._M_data(_M_data()); _M_data(_M_local_buf); } else { pointer __tmp_ptr = _M_data(); _M_data(__s._M_data()); __s._M_data(__tmp_ptr); _M_capacity(__s._M_allocated_capacity); } __s._M_capacity(__tmp_capacity); } const size_type __tmp_length = length(); _M_length(__s.length()); __s._M_length(__tmp_length); } template typename basic_string<_CharT, _Traits, _Alloc>::pointer basic_string<_CharT, _Traits, _Alloc>:: _M_create(size_type& __capacity, size_type __old_capacity) { if (__capacity > max_size()) std::__throw_length_error(("basic_string::_M_create")); if (__capacity > __old_capacity && __capacity < 2 * __old_capacity) { __capacity = 2 * __old_capacity; if (__capacity > max_size()) __capacity = max_size(); } return _Alloc_traits::allocate(_M_get_allocator(), __capacity + 1); } template template void basic_string<_CharT, _Traits, _Alloc>:: _M_construct(_InIterator __beg, _InIterator __end, std::input_iterator_tag) { size_type __len = 0; size_type __capacity = size_type(_S_local_capacity); while (__beg != __end && __len < __capacity) { _M_data()[__len++] = *__beg; ++__beg; } try { while (__beg != __end) { if (__len == __capacity) { __capacity = __len + 1; pointer __another = _M_create(__capacity, __len); this->_S_copy(__another, _M_data(), __len); _M_dispose(); _M_data(__another); _M_capacity(__capacity); } _M_data()[__len++] = *__beg; ++__beg; } } catch(...) { _M_dispose(); throw; } _M_set_length(__len); } template template void basic_string<_CharT, _Traits, _Alloc>:: _M_construct(_InIterator __beg, _InIterator __end, std::forward_iterator_tag) { if (__gnu_cxx::__is_null_pointer(__beg) && __beg != __end) std::__throw_logic_error(("basic_string::" "_M_construct null not valid") ); size_type __dnew = static_cast(std::distance(__beg, __end)); if (__dnew > size_type(_S_local_capacity)) { _M_data(_M_create(__dnew, size_type(0))); _M_capacity(__dnew); } try { this->_S_copy_chars(_M_data(), __beg, __end); } catch(...) { _M_dispose(); throw; } _M_set_length(__dnew); } template void basic_string<_CharT, _Traits, _Alloc>:: _M_construct(size_type __n, _CharT __c) { if (__n > size_type(_S_local_capacity)) { _M_data(_M_create(__n, size_type(0))); _M_capacity(__n); } if (__n) this->_S_assign(_M_data(), __n, __c); _M_set_length(__n); } template void basic_string<_CharT, _Traits, _Alloc>:: _M_assign(const basic_string& __str) { if (this != &__str) { const size_type __rsize = __str.length(); const size_type __capacity = capacity(); if (__rsize > __capacity) { size_type __new_capacity = __rsize; pointer __tmp = _M_create(__new_capacity, __capacity); _M_dispose(); _M_data(__tmp); _M_capacity(__new_capacity); } if (__rsize) this->_S_copy(_M_data(), __str._M_data(), __rsize); _M_set_length(__rsize); } } template void basic_string<_CharT, _Traits, _Alloc>:: reserve(size_type __res) { if (__res < length()) __res = length(); const size_type __capacity = capacity(); if (__res != __capacity) { if (__res > __capacity || __res > size_type(_S_local_capacity)) { pointer __tmp = _M_create(__res, __capacity); this->_S_copy(__tmp, _M_data(), length() + 1); _M_dispose(); _M_data(__tmp); _M_capacity(__res); } else if (!_M_is_local()) { this->_S_copy(_M_local_data(), _M_data(), length() + 1); _M_destroy(__capacity); _M_data(_M_local_data()); } } } template void basic_string<_CharT, _Traits, _Alloc>:: _M_mutate(size_type __pos, size_type __len1, const _CharT* __s, size_type __len2) { const size_type __how_much = length() - __pos - __len1; size_type __new_capacity = length() + __len2 - __len1; pointer __r = _M_create(__new_capacity, capacity()); if (__pos) this->_S_copy(__r, _M_data(), __pos); if (__s && __len2) this->_S_copy(__r + __pos, __s, __len2); if (__how_much) this->_S_copy(__r + __pos + __len2, _M_data() + __pos + __len1, __how_much); _M_dispose(); _M_data(__r); _M_capacity(__new_capacity); } template void basic_string<_CharT, _Traits, _Alloc>:: _M_erase(size_type __pos, size_type __n) { const size_type __how_much = length() - __pos - __n; if (__how_much && __n) this->_S_move(_M_data() + __pos, _M_data() + __pos + __n, __how_much); _M_set_length(length() - __n); } template void basic_string<_CharT, _Traits, _Alloc>:: resize(size_type __n, _CharT __c) { const size_type __size = this->size(); if (__size < __n) this->append(__n - __size, __c); else if (__n < __size) this->_M_set_length(__n); } template basic_string<_CharT, _Traits, _Alloc>& basic_string<_CharT, _Traits, _Alloc>:: _M_append(const _CharT* __s, size_type __n) { const size_type __len = __n + this->size(); if (__len <= this->capacity()) { if (__n) this->_S_copy(this->_M_data() + this->size(), __s, __n); } else this->_M_mutate(this->size(), size_type(0), __s, __n); this->_M_set_length(__len); return *this; } template template basic_string<_CharT, _Traits, _Alloc>& basic_string<_CharT, _Traits, _Alloc>:: _M_replace_dispatch(const_iterator __i1, const_iterator __i2, _InputIterator __k1, _InputIterator __k2, std::__false_type) { const basic_string __s(__k1, __k2); const size_type __n1 = __i2 - __i1; return _M_replace(__i1 - begin(), __n1, __s._M_data(), __s.size()); } template basic_string<_CharT, _Traits, _Alloc>& basic_string<_CharT, _Traits, _Alloc>:: _M_replace_aux(size_type __pos1, size_type __n1, size_type __n2, _CharT __c) { _M_check_length(__n1, __n2, "basic_string::_M_replace_aux"); const size_type __old_size = this->size(); const size_type __new_size = __old_size + __n2 - __n1; if (__new_size <= this->capacity()) { pointer __p = this->_M_data() + __pos1; const size_type __how_much = __old_size - __pos1 - __n1; if (__how_much && __n1 != __n2) this->_S_move(__p + __n2, __p + __n1, __how_much); } else this->_M_mutate(__pos1, __n1, 0, __n2); if (__n2) this->_S_assign(this->_M_data() + __pos1, __n2, __c); this->_M_set_length(__new_size); return *this; } template basic_string<_CharT, _Traits, _Alloc>& basic_string<_CharT, _Traits, _Alloc>:: _M_replace(size_type __pos, size_type __len1, const _CharT* __s, const size_type __len2) { _M_check_length(__len1, __len2, "basic_string::_M_replace"); const size_type __old_size = this->size(); const size_type __new_size = __old_size + __len2 - __len1; if (__new_size <= this->capacity()) { pointer __p = this->_M_data() + __pos; const size_type __how_much = __old_size - __pos - __len1; if (_M_disjunct(__s)) { if (__how_much && __len1 != __len2) this->_S_move(__p + __len2, __p + __len1, __how_much); if (__len2) this->_S_copy(__p, __s, __len2); } else { if (__len2 && __len2 <= __len1) this->_S_move(__p, __s, __len2); if (__how_much && __len1 != __len2) this->_S_move(__p + __len2, __p + __len1, __how_much); if (__len2 > __len1) { if (__s + __len2 <= __p + __len1) this->_S_move(__p, __s, __len2); else if (__s >= __p + __len1) this->_S_copy(__p, __s + __len2 - __len1, __len2); else { const size_type __nleft = (__p + __len1) - __s; this->_S_move(__p, __s, __nleft); this->_S_copy(__p + __nleft, __p + __len2, __len2 - __nleft); } } } } else this->_M_mutate(__pos, __len1, __s, __len2); this->_M_set_length(__new_size); return *this; } template typename basic_string<_CharT, _Traits, _Alloc>::size_type basic_string<_CharT, _Traits, _Alloc>:: copy(_CharT* __s, size_type __n, size_type __pos) const { _M_check(__pos, "basic_string::copy"); __n = _M_limit(__pos, __n); ; if (__n) _S_copy(__s, _M_data() + __pos, __n); return __n; } # 1155 "/usr/include/c++/7/bits/basic_string.tcc" 3 template basic_string<_CharT, _Traits, _Alloc> operator+(const _CharT* __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs) { ; typedef basic_string<_CharT, _Traits, _Alloc> __string_type; typedef typename __string_type::size_type __size_type; const __size_type __len = _Traits::length(__lhs); __string_type __str; __str.reserve(__len + __rhs.size()); __str.append(__lhs, __len); __str.append(__rhs); return __str; } template basic_string<_CharT, _Traits, _Alloc> operator+(_CharT __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs) { typedef basic_string<_CharT, _Traits, _Alloc> __string_type; typedef typename __string_type::size_type __size_type; __string_type __str; const __size_type __len = __rhs.size(); __str.reserve(__len + 1); __str.append(__size_type(1), __lhs); __str.append(__rhs); return __str; } template typename basic_string<_CharT, _Traits, _Alloc>::size_type basic_string<_CharT, _Traits, _Alloc>:: find(const _CharT* __s, size_type __pos, size_type __n) const noexcept { ; const size_type __size = this->size(); if (__n == 0) return __pos <= __size ? __pos : npos; if (__pos >= __size) return npos; const _CharT __elem0 = __s[0]; const _CharT* const __data = data(); const _CharT* __first = __data + __pos; const _CharT* const __last = __data + __size; size_type __len = __size - __pos; while (__len >= __n) { __first = traits_type::find(__first, __len - __n + 1, __elem0); if (!__first) return npos; if (traits_type::compare(__first, __s, __n) == 0) return __first - __data; __len = __last - ++__first; } return npos; } template typename basic_string<_CharT, _Traits, _Alloc>::size_type basic_string<_CharT, _Traits, _Alloc>:: find(_CharT __c, size_type __pos) const noexcept { size_type __ret = npos; const size_type __size = this->size(); if (__pos < __size) { const _CharT* __data = _M_data(); const size_type __n = __size - __pos; const _CharT* __p = traits_type::find(__data + __pos, __n, __c); if (__p) __ret = __p - __data; } return __ret; } template typename basic_string<_CharT, _Traits, _Alloc>::size_type basic_string<_CharT, _Traits, _Alloc>:: rfind(const _CharT* __s, size_type __pos, size_type __n) const noexcept { ; const size_type __size = this->size(); if (__n <= __size) { __pos = std::min(size_type(__size - __n), __pos); const _CharT* __data = _M_data(); do { if (traits_type::compare(__data + __pos, __s, __n) == 0) return __pos; } while (__pos-- > 0); } return npos; } template typename basic_string<_CharT, _Traits, _Alloc>::size_type basic_string<_CharT, _Traits, _Alloc>:: rfind(_CharT __c, size_type __pos) const noexcept { size_type __size = this->size(); if (__size) { if (--__size > __pos) __size = __pos; for (++__size; __size-- > 0; ) if (traits_type::eq(_M_data()[__size], __c)) return __size; } return npos; } template typename basic_string<_CharT, _Traits, _Alloc>::size_type basic_string<_CharT, _Traits, _Alloc>:: find_first_of(const _CharT* __s, size_type __pos, size_type __n) const noexcept { ; for (; __n && __pos < this->size(); ++__pos) { const _CharT* __p = traits_type::find(__s, __n, _M_data()[__pos]); if (__p) return __pos; } return npos; } template typename basic_string<_CharT, _Traits, _Alloc>::size_type basic_string<_CharT, _Traits, _Alloc>:: find_last_of(const _CharT* __s, size_type __pos, size_type __n) const noexcept { ; size_type __size = this->size(); if (__size && __n) { if (--__size > __pos) __size = __pos; do { if (traits_type::find(__s, __n, _M_data()[__size])) return __size; } while (__size-- != 0); } return npos; } template typename basic_string<_CharT, _Traits, _Alloc>::size_type basic_string<_CharT, _Traits, _Alloc>:: find_first_not_of(const _CharT* __s, size_type __pos, size_type __n) const noexcept { ; for (; __pos < this->size(); ++__pos) if (!traits_type::find(__s, __n, _M_data()[__pos])) return __pos; return npos; } template typename basic_string<_CharT, _Traits, _Alloc>::size_type basic_string<_CharT, _Traits, _Alloc>:: find_first_not_of(_CharT __c, size_type __pos) const noexcept { for (; __pos < this->size(); ++__pos) if (!traits_type::eq(_M_data()[__pos], __c)) return __pos; return npos; } template typename basic_string<_CharT, _Traits, _Alloc>::size_type basic_string<_CharT, _Traits, _Alloc>:: find_last_not_of(const _CharT* __s, size_type __pos, size_type __n) const noexcept { ; size_type __size = this->size(); if (__size) { if (--__size > __pos) __size = __pos; do { if (!traits_type::find(__s, __n, _M_data()[__size])) return __size; } while (__size--); } return npos; } template typename basic_string<_CharT, _Traits, _Alloc>::size_type basic_string<_CharT, _Traits, _Alloc>:: find_last_not_of(_CharT __c, size_type __pos) const noexcept { size_type __size = this->size(); if (__size) { if (--__size > __pos) __size = __pos; do { if (!traits_type::eq(_M_data()[__size], __c)) return __size; } while (__size--); } return npos; } template int basic_string<_CharT, _Traits, _Alloc>:: compare(size_type __pos, size_type __n, const basic_string& __str) const { _M_check(__pos, "basic_string::compare"); __n = _M_limit(__pos, __n); const size_type __osize = __str.size(); const size_type __len = std::min(__n, __osize); int __r = traits_type::compare(_M_data() + __pos, __str.data(), __len); if (!__r) __r = _S_compare(__n, __osize); return __r; } template int basic_string<_CharT, _Traits, _Alloc>:: compare(size_type __pos1, size_type __n1, const basic_string& __str, size_type __pos2, size_type __n2) const { _M_check(__pos1, "basic_string::compare"); __str._M_check(__pos2, "basic_string::compare"); __n1 = _M_limit(__pos1, __n1); __n2 = __str._M_limit(__pos2, __n2); const size_type __len = std::min(__n1, __n2); int __r = traits_type::compare(_M_data() + __pos1, __str.data() + __pos2, __len); if (!__r) __r = _S_compare(__n1, __n2); return __r; } template int basic_string<_CharT, _Traits, _Alloc>:: compare(const _CharT* __s) const noexcept { ; const size_type __size = this->size(); const size_type __osize = traits_type::length(__s); const size_type __len = std::min(__size, __osize); int __r = traits_type::compare(_M_data(), __s, __len); if (!__r) __r = _S_compare(__size, __osize); return __r; } template int basic_string <_CharT, _Traits, _Alloc>:: compare(size_type __pos, size_type __n1, const _CharT* __s) const { ; _M_check(__pos, "basic_string::compare"); __n1 = _M_limit(__pos, __n1); const size_type __osize = traits_type::length(__s); const size_type __len = std::min(__n1, __osize); int __r = traits_type::compare(_M_data() + __pos, __s, __len); if (!__r) __r = _S_compare(__n1, __osize); return __r; } template int basic_string <_CharT, _Traits, _Alloc>:: compare(size_type __pos, size_type __n1, const _CharT* __s, size_type __n2) const { ; _M_check(__pos, "basic_string::compare"); __n1 = _M_limit(__pos, __n1); const size_type __len = std::min(__n1, __n2); int __r = traits_type::compare(_M_data() + __pos, __s, __len); if (!__r) __r = _S_compare(__n1, __n2); return __r; } template basic_istream<_CharT, _Traits>& operator>>(basic_istream<_CharT, _Traits>& __in, basic_string<_CharT, _Traits, _Alloc>& __str) { typedef basic_istream<_CharT, _Traits> __istream_type; typedef basic_string<_CharT, _Traits, _Alloc> __string_type; typedef typename __istream_type::ios_base __ios_base; typedef typename __istream_type::int_type __int_type; typedef typename __string_type::size_type __size_type; typedef ctype<_CharT> __ctype_type; typedef typename __ctype_type::ctype_base __ctype_base; __size_type __extracted = 0; typename __ios_base::iostate __err = __ios_base::goodbit; typename __istream_type::sentry __cerb(__in, false); if (__cerb) { try { __str.erase(); _CharT __buf[128]; __size_type __len = 0; const streamsize __w = __in.width(); const __size_type __n = __w > 0 ? static_cast<__size_type>(__w) : __str.max_size(); const __ctype_type& __ct = use_facet<__ctype_type>(__in.getloc()); const __int_type __eof = _Traits::eof(); __int_type __c = __in.rdbuf()->sgetc(); while (__extracted < __n && !_Traits::eq_int_type(__c, __eof) && !__ct.is(__ctype_base::space, _Traits::to_char_type(__c))) { if (__len == sizeof(__buf) / sizeof(_CharT)) { __str.append(__buf, sizeof(__buf) / sizeof(_CharT)); __len = 0; } __buf[__len++] = _Traits::to_char_type(__c); ++__extracted; __c = __in.rdbuf()->snextc(); } __str.append(__buf, __len); if (_Traits::eq_int_type(__c, __eof)) __err |= __ios_base::eofbit; __in.width(0); } catch(__cxxabiv1::__forced_unwind&) { __in._M_setstate(__ios_base::badbit); throw; } catch(...) { __in._M_setstate(__ios_base::badbit); } } if (!__extracted) __err |= __ios_base::failbit; if (__err) __in.setstate(__err); return __in; } template basic_istream<_CharT, _Traits>& getline(basic_istream<_CharT, _Traits>& __in, basic_string<_CharT, _Traits, _Alloc>& __str, _CharT __delim) { typedef basic_istream<_CharT, _Traits> __istream_type; typedef basic_string<_CharT, _Traits, _Alloc> __string_type; typedef typename __istream_type::ios_base __ios_base; typedef typename __istream_type::int_type __int_type; typedef typename __string_type::size_type __size_type; __size_type __extracted = 0; const __size_type __n = __str.max_size(); typename __ios_base::iostate __err = __ios_base::goodbit; typename __istream_type::sentry __cerb(__in, true); if (__cerb) { try { __str.erase(); const __int_type __idelim = _Traits::to_int_type(__delim); const __int_type __eof = _Traits::eof(); __int_type __c = __in.rdbuf()->sgetc(); while (__extracted < __n && !_Traits::eq_int_type(__c, __eof) && !_Traits::eq_int_type(__c, __idelim)) { __str += _Traits::to_char_type(__c); ++__extracted; __c = __in.rdbuf()->snextc(); } if (_Traits::eq_int_type(__c, __eof)) __err |= __ios_base::eofbit; else if (_Traits::eq_int_type(__c, __idelim)) { ++__extracted; __in.rdbuf()->sbumpc(); } else __err |= __ios_base::failbit; } catch(__cxxabiv1::__forced_unwind&) { __in._M_setstate(__ios_base::badbit); throw; } catch(...) { __in._M_setstate(__ios_base::badbit); } } if (!__extracted) __err |= __ios_base::failbit; if (__err) __in.setstate(__err); return __in; } extern template class basic_string; extern template basic_istream& operator>>(basic_istream&, string&); extern template basic_ostream& operator<<(basic_ostream&, const string&); extern template basic_istream& getline(basic_istream&, string&, char); extern template basic_istream& getline(basic_istream&, string&); extern template class basic_string; extern template basic_istream& operator>>(basic_istream&, wstring&); extern template basic_ostream& operator<<(basic_ostream&, const wstring&); extern template basic_istream& getline(basic_istream&, wstring&, wchar_t); extern template basic_istream& getline(basic_istream&, wstring&); } # 54 "/usr/include/c++/7/string" 2 3 # 40 "/usr/include/c++/7/stdexcept" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { struct __cow_string { union { const char* _M_p; char _M_bytes[sizeof(const char*)]; }; __cow_string(); __cow_string(const std::string&); __cow_string(const char*, size_t); __cow_string(const __cow_string&) noexcept; __cow_string& operator=(const __cow_string&) noexcept; ~__cow_string(); __cow_string(__cow_string&&) noexcept; __cow_string& operator=(__cow_string&&) noexcept; }; typedef basic_string __sso_string; # 113 "/usr/include/c++/7/stdexcept" 3 class logic_error : public exception { __cow_string _M_msg; public: explicit logic_error(const string& __arg) ; explicit logic_error(const char*) ; logic_error(const logic_error&) noexcept; logic_error& operator=(const logic_error&) noexcept; virtual ~logic_error() noexcept; virtual const char* what() const noexcept; }; class domain_error : public logic_error { public: explicit domain_error(const string& __arg) ; explicit domain_error(const char*) ; virtual ~domain_error() noexcept; }; class invalid_argument : public logic_error { public: explicit invalid_argument(const string& __arg) ; explicit invalid_argument(const char*) ; virtual ~invalid_argument() noexcept; }; class length_error : public logic_error { public: explicit length_error(const string& __arg) ; explicit length_error(const char*) ; virtual ~length_error() noexcept; }; class out_of_range : public logic_error { public: explicit out_of_range(const string& __arg) ; explicit out_of_range(const char*) ; virtual ~out_of_range() noexcept; }; class runtime_error : public exception { __cow_string _M_msg; public: explicit runtime_error(const string& __arg) ; explicit runtime_error(const char*) ; runtime_error(const runtime_error&) noexcept; runtime_error& operator=(const runtime_error&) noexcept; virtual ~runtime_error() noexcept; virtual const char* what() const noexcept; }; class range_error : public runtime_error { public: explicit range_error(const string& __arg) ; explicit range_error(const char*) ; virtual ~range_error() noexcept; }; class overflow_error : public runtime_error { public: explicit overflow_error(const string& __arg) ; explicit overflow_error(const char*) ; virtual ~overflow_error() noexcept; }; class underflow_error : public runtime_error { public: explicit underflow_error(const string& __arg) ; explicit underflow_error(const char*) ; virtual ~underflow_error() noexcept; }; } # 40 "/usr/include/c++/7/array" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { template struct __array_traits { typedef _Tp _Type[_Nm]; typedef __is_swappable<_Tp> _Is_swappable; typedef __is_nothrow_swappable<_Tp> _Is_nothrow_swappable; static constexpr _Tp& _S_ref(const _Type& __t, std::size_t __n) noexcept { return const_cast<_Tp&>(__t[__n]); } static constexpr _Tp* _S_ptr(const _Type& __t) noexcept { return const_cast<_Tp*>(__t); } }; template struct __array_traits<_Tp, 0> { struct _Type { }; typedef true_type _Is_swappable; typedef true_type _Is_nothrow_swappable; static constexpr _Tp& _S_ref(const _Type&, std::size_t) noexcept { return *static_cast<_Tp*>(nullptr); } static constexpr _Tp* _S_ptr(const _Type&) noexcept { return nullptr; } }; # 93 "/usr/include/c++/7/array" 3 template struct array { typedef _Tp value_type; typedef value_type* pointer; typedef const value_type* const_pointer; typedef value_type& reference; typedef const value_type& const_reference; typedef value_type* iterator; typedef const value_type* const_iterator; typedef std::size_t size_type; typedef std::ptrdiff_t difference_type; typedef std::reverse_iterator reverse_iterator; typedef std::reverse_iterator const_reverse_iterator; typedef std::__array_traits<_Tp, _Nm> _AT_Type; typename _AT_Type::_Type _M_elems; void fill(const value_type& __u) { std::fill_n(begin(), size(), __u); } void swap(array& __other) noexcept(_AT_Type::_Is_nothrow_swappable::value) { std::swap_ranges(begin(), end(), __other.begin()); } iterator begin() noexcept { return iterator(data()); } const_iterator begin() const noexcept { return const_iterator(data()); } iterator end() noexcept { return iterator(data() + _Nm); } const_iterator end() const noexcept { return const_iterator(data() + _Nm); } reverse_iterator rbegin() noexcept { return reverse_iterator(end()); } const_reverse_iterator rbegin() const noexcept { return const_reverse_iterator(end()); } reverse_iterator rend() noexcept { return reverse_iterator(begin()); } const_reverse_iterator rend() const noexcept { return const_reverse_iterator(begin()); } const_iterator cbegin() const noexcept { return const_iterator(data()); } const_iterator cend() const noexcept { return const_iterator(data() + _Nm); } const_reverse_iterator crbegin() const noexcept { return const_reverse_iterator(end()); } const_reverse_iterator crend() const noexcept { return const_reverse_iterator(begin()); } constexpr size_type size() const noexcept { return _Nm; } constexpr size_type max_size() const noexcept { return _Nm; } constexpr bool empty() const noexcept { return size() == 0; } reference operator[](size_type __n) noexcept { return _AT_Type::_S_ref(_M_elems, __n); } constexpr const_reference operator[](size_type __n) const noexcept { return _AT_Type::_S_ref(_M_elems, __n); } reference at(size_type __n) { if (__n >= _Nm) std::__throw_out_of_range_fmt(("array::at: __n (which is %zu) " ">= _Nm (which is %zu)") , __n, _Nm); return _AT_Type::_S_ref(_M_elems, __n); } constexpr const_reference at(size_type __n) const { return __n < _Nm ? _AT_Type::_S_ref(_M_elems, __n) : (std::__throw_out_of_range_fmt(("array::at: __n (which is %zu) " ">= _Nm (which is %zu)") , __n, _Nm), _AT_Type::_S_ref(_M_elems, 0)); } reference front() noexcept { return *begin(); } constexpr const_reference front() const noexcept { return _AT_Type::_S_ref(_M_elems, 0); } reference back() noexcept { return _Nm ? *(end() - 1) : *end(); } constexpr const_reference back() const noexcept { return _Nm ? _AT_Type::_S_ref(_M_elems, _Nm - 1) : _AT_Type::_S_ref(_M_elems, 0); } pointer data() noexcept { return _AT_Type::_S_ptr(_M_elems); } const_pointer data() const noexcept { return _AT_Type::_S_ptr(_M_elems); } }; # 250 "/usr/include/c++/7/array" 3 template inline bool operator==(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two) { return std::equal(__one.begin(), __one.end(), __two.begin()); } template inline bool operator!=(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two) { return !(__one == __two); } template inline bool operator<(const array<_Tp, _Nm>& __a, const array<_Tp, _Nm>& __b) { return std::lexicographical_compare(__a.begin(), __a.end(), __b.begin(), __b.end()); } template inline bool operator>(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two) { return __two < __one; } template inline bool operator<=(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two) { return !(__one > __two); } template inline bool operator>=(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two) { return !(__one < __two); } template inline typename enable_if< std::__array_traits<_Tp, _Nm>::_Is_swappable::value >::type swap(array<_Tp, _Nm>& __one, array<_Tp, _Nm>& __two) noexcept(noexcept(__one.swap(__two))) { __one.swap(__two); } template typename enable_if< !std::__array_traits<_Tp, _Nm>::_Is_swappable::value>::type swap(array<_Tp, _Nm>&, array<_Tp, _Nm>&) = delete; template constexpr _Tp& get(array<_Tp, _Nm>& __arr) noexcept { static_assert(_Int < _Nm, "array index is within bounds"); return std::__array_traits<_Tp, _Nm>:: _S_ref(__arr._M_elems, _Int); } template constexpr _Tp&& get(array<_Tp, _Nm>&& __arr) noexcept { static_assert(_Int < _Nm, "array index is within bounds"); return std::move(std::get<_Int>(__arr)); } template constexpr const _Tp& get(const array<_Tp, _Nm>& __arr) noexcept { static_assert(_Int < _Nm, "array index is within bounds"); return std::__array_traits<_Tp, _Nm>:: _S_ref(__arr._M_elems, _Int); } } namespace std __attribute__ ((__visibility__ ("default"))) { template class tuple_size; template struct tuple_size> : public integral_constant { }; template class tuple_element; template struct tuple_element<_Int, std::array<_Tp, _Nm>> { static_assert(_Int < _Nm, "index is out of bounds"); typedef _Tp type; }; template struct __is_tuple_like_impl> : true_type { }; } # 40 "/usr/include/c++/7/tuple" 2 3 # 1 "/usr/include/c++/7/bits/uses_allocator.h" 1 3 # 35 "/usr/include/c++/7/bits/uses_allocator.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { struct __erased_type { }; template using __is_erased_or_convertible = __or_, is_convertible<_Alloc, _Tp>>; struct allocator_arg_t { explicit allocator_arg_t() = default; }; constexpr allocator_arg_t allocator_arg = allocator_arg_t(); template> struct __uses_allocator_helper : false_type { }; template struct __uses_allocator_helper<_Tp, _Alloc, __void_t> : __is_erased_or_convertible<_Alloc, typename _Tp::allocator_type>::type { }; template struct uses_allocator : __uses_allocator_helper<_Tp, _Alloc>::type { }; struct __uses_alloc_base { }; struct __uses_alloc0 : __uses_alloc_base { struct _Sink { void operator=(const void*) { } } _M_a; }; template struct __uses_alloc1 : __uses_alloc_base { const _Alloc* _M_a; }; template struct __uses_alloc2 : __uses_alloc_base { const _Alloc* _M_a; }; template struct __uses_alloc; template struct __uses_alloc : conditional< is_constructible<_Tp, allocator_arg_t, _Alloc, _Args...>::value, __uses_alloc1<_Alloc>, __uses_alloc2<_Alloc>>::type { static_assert(__or_< is_constructible<_Tp, allocator_arg_t, _Alloc, _Args...>, is_constructible<_Tp, _Args..., _Alloc>>::value, "construction with" " an allocator must be possible if uses_allocator is true"); }; template struct __uses_alloc : __uses_alloc0 { }; template using __uses_alloc_t = __uses_alloc::value, _Tp, _Alloc, _Args...>; template inline __uses_alloc_t<_Tp, _Alloc, _Args...> __use_alloc(const _Alloc& __a) { __uses_alloc_t<_Tp, _Alloc, _Args...> __ret; __ret._M_a = std::__addressof(__a); return __ret; } template void __use_alloc(const _Alloc&&) = delete; template class _Predicate, typename _Tp, typename _Alloc, typename... _Args> struct __is_uses_allocator_predicate : conditional::value, __or_<_Predicate<_Tp, allocator_arg_t, _Alloc, _Args...>, _Predicate<_Tp, _Args..., _Alloc>>, _Predicate<_Tp, _Args...>>::type { }; template struct __is_uses_allocator_constructible : __is_uses_allocator_predicate { }; template constexpr bool __is_uses_allocator_constructible_v = __is_uses_allocator_constructible<_Tp, _Alloc, _Args...>::value; template struct __is_nothrow_uses_allocator_constructible : __is_uses_allocator_predicate { }; template constexpr bool __is_nothrow_uses_allocator_constructible_v = __is_nothrow_uses_allocator_constructible<_Tp, _Alloc, _Args...>::value; template void __uses_allocator_construct_impl(__uses_alloc0 __a, _Tp* __ptr, _Args&&... __args) { ::new ((void*)__ptr) _Tp(std::forward<_Args>(__args)...); } template void __uses_allocator_construct_impl(__uses_alloc1<_Alloc> __a, _Tp* __ptr, _Args&&... __args) { ::new ((void*)__ptr) _Tp(allocator_arg, *__a._M_a, std::forward<_Args>(__args)...); } template void __uses_allocator_construct_impl(__uses_alloc2<_Alloc> __a, _Tp* __ptr, _Args&&... __args) { ::new ((void*)__ptr) _Tp(std::forward<_Args>(__args)..., *__a._M_a); } template void __uses_allocator_construct(const _Alloc& __a, _Tp* __ptr, _Args&&... __args) { __uses_allocator_construct_impl(__use_alloc<_Tp, _Alloc, _Args...>(__a), __ptr, std::forward<_Args>(__args)...); } } # 41 "/usr/include/c++/7/tuple" 2 3 # 1 "/usr/include/c++/7/bits/invoke.h" 1 3 # 33 "/usr/include/c++/7/bits/invoke.h" 3 # 34 "/usr/include/c++/7/bits/invoke.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 52 "/usr/include/c++/7/bits/invoke.h" 3 template::type> constexpr _Up&& __invfwd(typename remove_reference<_Tp>::type& __t) noexcept { return static_cast<_Up&&>(__t); } template constexpr _Res __invoke_impl(__invoke_other, _Fn&& __f, _Args&&... __args) { return std::forward<_Fn>(__f)(std::forward<_Args>(__args)...); } template constexpr _Res __invoke_impl(__invoke_memfun_ref, _MemFun&& __f, _Tp&& __t, _Args&&... __args) { return (__invfwd<_Tp>(__t).*__f)(std::forward<_Args>(__args)...); } template constexpr _Res __invoke_impl(__invoke_memfun_deref, _MemFun&& __f, _Tp&& __t, _Args&&... __args) { return ((*std::forward<_Tp>(__t)).*__f)(std::forward<_Args>(__args)...); } template constexpr _Res __invoke_impl(__invoke_memobj_ref, _MemPtr&& __f, _Tp&& __t) { return __invfwd<_Tp>(__t).*__f; } template constexpr _Res __invoke_impl(__invoke_memobj_deref, _MemPtr&& __f, _Tp&& __t) { return (*std::forward<_Tp>(__t)).*__f; } template constexpr typename __invoke_result<_Callable, _Args...>::type __invoke(_Callable&& __fn, _Args&&... __args) noexcept(__is_nothrow_invocable<_Callable, _Args...>::value) { using __result = __invoke_result<_Callable, _Args...>; using __type = typename __result::type; using __tag = typename __result::__invoke_type; return std::__invoke_impl<__type>(__tag{}, std::forward<_Callable>(__fn), std::forward<_Args>(__args)...); } } # 42 "/usr/include/c++/7/tuple" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { template class tuple; template struct __is_empty_non_tuple : is_empty<_Tp> { }; template struct __is_empty_non_tuple> : false_type { }; template using __empty_not_final = typename conditional<__is_final(_Tp), false_type, __is_empty_non_tuple<_Tp>>::type; template::value> struct _Head_base; template struct _Head_base<_Idx, _Head, true> : public _Head { constexpr _Head_base() : _Head() { } constexpr _Head_base(const _Head& __h) : _Head(__h) { } constexpr _Head_base(const _Head_base&) = default; constexpr _Head_base(_Head_base&&) = default; template constexpr _Head_base(_UHead&& __h) : _Head(std::forward<_UHead>(__h)) { } _Head_base(allocator_arg_t, __uses_alloc0) : _Head() { } template _Head_base(allocator_arg_t, __uses_alloc1<_Alloc> __a) : _Head(allocator_arg, *__a._M_a) { } template _Head_base(allocator_arg_t, __uses_alloc2<_Alloc> __a) : _Head(*__a._M_a) { } template _Head_base(__uses_alloc0, _UHead&& __uhead) : _Head(std::forward<_UHead>(__uhead)) { } template _Head_base(__uses_alloc1<_Alloc> __a, _UHead&& __uhead) : _Head(allocator_arg, *__a._M_a, std::forward<_UHead>(__uhead)) { } template _Head_base(__uses_alloc2<_Alloc> __a, _UHead&& __uhead) : _Head(std::forward<_UHead>(__uhead), *__a._M_a) { } static constexpr _Head& _M_head(_Head_base& __b) noexcept { return __b; } static constexpr const _Head& _M_head(const _Head_base& __b) noexcept { return __b; } }; template struct _Head_base<_Idx, _Head, false> { constexpr _Head_base() : _M_head_impl() { } constexpr _Head_base(const _Head& __h) : _M_head_impl(__h) { } constexpr _Head_base(const _Head_base&) = default; constexpr _Head_base(_Head_base&&) = default; template constexpr _Head_base(_UHead&& __h) : _M_head_impl(std::forward<_UHead>(__h)) { } _Head_base(allocator_arg_t, __uses_alloc0) : _M_head_impl() { } template _Head_base(allocator_arg_t, __uses_alloc1<_Alloc> __a) : _M_head_impl(allocator_arg, *__a._M_a) { } template _Head_base(allocator_arg_t, __uses_alloc2<_Alloc> __a) : _M_head_impl(*__a._M_a) { } template _Head_base(__uses_alloc0, _UHead&& __uhead) : _M_head_impl(std::forward<_UHead>(__uhead)) { } template _Head_base(__uses_alloc1<_Alloc> __a, _UHead&& __uhead) : _M_head_impl(allocator_arg, *__a._M_a, std::forward<_UHead>(__uhead)) { } template _Head_base(__uses_alloc2<_Alloc> __a, _UHead&& __uhead) : _M_head_impl(std::forward<_UHead>(__uhead), *__a._M_a) { } static constexpr _Head& _M_head(_Head_base& __b) noexcept { return __b._M_head_impl; } static constexpr const _Head& _M_head(const _Head_base& __b) noexcept { return __b._M_head_impl; } _Head _M_head_impl; }; # 176 "/usr/include/c++/7/tuple" 3 template struct _Tuple_impl; template struct _Tuple_impl<_Idx, _Head, _Tail...> : public _Tuple_impl<_Idx + 1, _Tail...>, private _Head_base<_Idx, _Head> { template friend class _Tuple_impl; typedef _Tuple_impl<_Idx + 1, _Tail...> _Inherited; typedef _Head_base<_Idx, _Head> _Base; static constexpr _Head& _M_head(_Tuple_impl& __t) noexcept { return _Base::_M_head(__t); } static constexpr const _Head& _M_head(const _Tuple_impl& __t) noexcept { return _Base::_M_head(__t); } static constexpr _Inherited& _M_tail(_Tuple_impl& __t) noexcept { return __t; } static constexpr const _Inherited& _M_tail(const _Tuple_impl& __t) noexcept { return __t; } constexpr _Tuple_impl() : _Inherited(), _Base() { } explicit constexpr _Tuple_impl(const _Head& __head, const _Tail&... __tail) : _Inherited(__tail...), _Base(__head) { } template::type> explicit constexpr _Tuple_impl(_UHead&& __head, _UTail&&... __tail) : _Inherited(std::forward<_UTail>(__tail)...), _Base(std::forward<_UHead>(__head)) { } constexpr _Tuple_impl(const _Tuple_impl&) = default; constexpr _Tuple_impl(_Tuple_impl&& __in) noexcept(__and_, is_nothrow_move_constructible<_Inherited>>::value) : _Inherited(std::move(_M_tail(__in))), _Base(std::forward<_Head>(_M_head(__in))) { } template constexpr _Tuple_impl(const _Tuple_impl<_Idx, _UElements...>& __in) : _Inherited(_Tuple_impl<_Idx, _UElements...>::_M_tail(__in)), _Base(_Tuple_impl<_Idx, _UElements...>::_M_head(__in)) { } template constexpr _Tuple_impl(_Tuple_impl<_Idx, _UHead, _UTails...>&& __in) : _Inherited(std::move (_Tuple_impl<_Idx, _UHead, _UTails...>::_M_tail(__in))), _Base(std::forward<_UHead> (_Tuple_impl<_Idx, _UHead, _UTails...>::_M_head(__in))) { } template _Tuple_impl(allocator_arg_t __tag, const _Alloc& __a) : _Inherited(__tag, __a), _Base(__tag, __use_alloc<_Head>(__a)) { } template _Tuple_impl(allocator_arg_t __tag, const _Alloc& __a, const _Head& __head, const _Tail&... __tail) : _Inherited(__tag, __a, __tail...), _Base(__use_alloc<_Head, _Alloc, _Head>(__a), __head) { } template::type> _Tuple_impl(allocator_arg_t __tag, const _Alloc& __a, _UHead&& __head, _UTail&&... __tail) : _Inherited(__tag, __a, std::forward<_UTail>(__tail)...), _Base(__use_alloc<_Head, _Alloc, _UHead>(__a), std::forward<_UHead>(__head)) { } template _Tuple_impl(allocator_arg_t __tag, const _Alloc& __a, const _Tuple_impl& __in) : _Inherited(__tag, __a, _M_tail(__in)), _Base(__use_alloc<_Head, _Alloc, _Head>(__a), _M_head(__in)) { } template _Tuple_impl(allocator_arg_t __tag, const _Alloc& __a, _Tuple_impl&& __in) : _Inherited(__tag, __a, std::move(_M_tail(__in))), _Base(__use_alloc<_Head, _Alloc, _Head>(__a), std::forward<_Head>(_M_head(__in))) { } template _Tuple_impl(allocator_arg_t __tag, const _Alloc& __a, const _Tuple_impl<_Idx, _UElements...>& __in) : _Inherited(__tag, __a, _Tuple_impl<_Idx, _UElements...>::_M_tail(__in)), _Base(__use_alloc<_Head, _Alloc, _Head>(__a), _Tuple_impl<_Idx, _UElements...>::_M_head(__in)) { } template _Tuple_impl(allocator_arg_t __tag, const _Alloc& __a, _Tuple_impl<_Idx, _UHead, _UTails...>&& __in) : _Inherited(__tag, __a, std::move (_Tuple_impl<_Idx, _UHead, _UTails...>::_M_tail(__in))), _Base(__use_alloc<_Head, _Alloc, _UHead>(__a), std::forward<_UHead> (_Tuple_impl<_Idx, _UHead, _UTails...>::_M_head(__in))) { } _Tuple_impl& operator=(const _Tuple_impl& __in) { _M_head(*this) = _M_head(__in); _M_tail(*this) = _M_tail(__in); return *this; } _Tuple_impl& operator=(_Tuple_impl&& __in) noexcept(__and_, is_nothrow_move_assignable<_Inherited>>::value) { _M_head(*this) = std::forward<_Head>(_M_head(__in)); _M_tail(*this) = std::move(_M_tail(__in)); return *this; } template _Tuple_impl& operator=(const _Tuple_impl<_Idx, _UElements...>& __in) { _M_head(*this) = _Tuple_impl<_Idx, _UElements...>::_M_head(__in); _M_tail(*this) = _Tuple_impl<_Idx, _UElements...>::_M_tail(__in); return *this; } template _Tuple_impl& operator=(_Tuple_impl<_Idx, _UHead, _UTails...>&& __in) { _M_head(*this) = std::forward<_UHead> (_Tuple_impl<_Idx, _UHead, _UTails...>::_M_head(__in)); _M_tail(*this) = std::move (_Tuple_impl<_Idx, _UHead, _UTails...>::_M_tail(__in)); return *this; } protected: void _M_swap(_Tuple_impl& __in) noexcept(__is_nothrow_swappable<_Head>::value && noexcept(_M_tail(__in)._M_swap(_M_tail(__in)))) { using std::swap; swap(_M_head(*this), _M_head(__in)); _Inherited::_M_swap(_M_tail(__in)); } }; template struct _Tuple_impl<_Idx, _Head> : private _Head_base<_Idx, _Head> { template friend class _Tuple_impl; typedef _Head_base<_Idx, _Head> _Base; static constexpr _Head& _M_head(_Tuple_impl& __t) noexcept { return _Base::_M_head(__t); } static constexpr const _Head& _M_head(const _Tuple_impl& __t) noexcept { return _Base::_M_head(__t); } constexpr _Tuple_impl() : _Base() { } explicit constexpr _Tuple_impl(const _Head& __head) : _Base(__head) { } template explicit constexpr _Tuple_impl(_UHead&& __head) : _Base(std::forward<_UHead>(__head)) { } constexpr _Tuple_impl(const _Tuple_impl&) = default; constexpr _Tuple_impl(_Tuple_impl&& __in) noexcept(is_nothrow_move_constructible<_Head>::value) : _Base(std::forward<_Head>(_M_head(__in))) { } template constexpr _Tuple_impl(const _Tuple_impl<_Idx, _UHead>& __in) : _Base(_Tuple_impl<_Idx, _UHead>::_M_head(__in)) { } template constexpr _Tuple_impl(_Tuple_impl<_Idx, _UHead>&& __in) : _Base(std::forward<_UHead>(_Tuple_impl<_Idx, _UHead>::_M_head(__in))) { } template _Tuple_impl(allocator_arg_t __tag, const _Alloc& __a) : _Base(__tag, __use_alloc<_Head>(__a)) { } template _Tuple_impl(allocator_arg_t __tag, const _Alloc& __a, const _Head& __head) : _Base(__use_alloc<_Head, _Alloc, _Head>(__a), __head) { } template _Tuple_impl(allocator_arg_t __tag, const _Alloc& __a, _UHead&& __head) : _Base(__use_alloc<_Head, _Alloc, _UHead>(__a), std::forward<_UHead>(__head)) { } template _Tuple_impl(allocator_arg_t __tag, const _Alloc& __a, const _Tuple_impl& __in) : _Base(__use_alloc<_Head, _Alloc, _Head>(__a), _M_head(__in)) { } template _Tuple_impl(allocator_arg_t __tag, const _Alloc& __a, _Tuple_impl&& __in) : _Base(__use_alloc<_Head, _Alloc, _Head>(__a), std::forward<_Head>(_M_head(__in))) { } template _Tuple_impl(allocator_arg_t __tag, const _Alloc& __a, const _Tuple_impl<_Idx, _UHead>& __in) : _Base(__use_alloc<_Head, _Alloc, _Head>(__a), _Tuple_impl<_Idx, _UHead>::_M_head(__in)) { } template _Tuple_impl(allocator_arg_t __tag, const _Alloc& __a, _Tuple_impl<_Idx, _UHead>&& __in) : _Base(__use_alloc<_Head, _Alloc, _UHead>(__a), std::forward<_UHead>(_Tuple_impl<_Idx, _UHead>::_M_head(__in))) { } _Tuple_impl& operator=(const _Tuple_impl& __in) { _M_head(*this) = _M_head(__in); return *this; } _Tuple_impl& operator=(_Tuple_impl&& __in) noexcept(is_nothrow_move_assignable<_Head>::value) { _M_head(*this) = std::forward<_Head>(_M_head(__in)); return *this; } template _Tuple_impl& operator=(const _Tuple_impl<_Idx, _UHead>& __in) { _M_head(*this) = _Tuple_impl<_Idx, _UHead>::_M_head(__in); return *this; } template _Tuple_impl& operator=(_Tuple_impl<_Idx, _UHead>&& __in) { _M_head(*this) = std::forward<_UHead>(_Tuple_impl<_Idx, _UHead>::_M_head(__in)); return *this; } protected: void _M_swap(_Tuple_impl& __in) noexcept(__is_nothrow_swappable<_Head>::value) { using std::swap; swap(_M_head(*this), _M_head(__in)); } }; template struct _TC { template static constexpr bool _ConstructibleTuple() { return __and_...>::value; } template static constexpr bool _ImplicitlyConvertibleTuple() { return __and_...>::value; } template static constexpr bool _MoveConstructibleTuple() { return __and_...>::value; } template static constexpr bool _ImplicitlyMoveConvertibleTuple() { return __and_...>::value; } template static constexpr bool _NonNestedTuple() { return __and_<__not_, typename remove_cv< typename remove_reference<_SrcTuple>::type >::type>>, __not_>, __not_> >::value; } template static constexpr bool _NotSameTuple() { return __not_, typename remove_const< typename remove_reference<_UElements...>::type >::type>>::value; } }; template struct _TC { template static constexpr bool _ConstructibleTuple() { return false; } template static constexpr bool _ImplicitlyConvertibleTuple() { return false; } template static constexpr bool _MoveConstructibleTuple() { return false; } template static constexpr bool _ImplicitlyMoveConvertibleTuple() { return false; } template static constexpr bool _NonNestedTuple() { return true; } template static constexpr bool _NotSameTuple() { return true; } }; template class tuple : public _Tuple_impl<0, _Elements...> { typedef _Tuple_impl<0, _Elements...> _Inherited; template struct _TC2 { static constexpr bool _DefaultConstructibleTuple() { return __and_...>::value; } static constexpr bool _ImplicitlyDefaultConstructibleTuple() { return __and_<__is_implicitly_default_constructible<_Elements>...> ::value; } }; public: template:: _ImplicitlyDefaultConstructibleTuple(), bool>::type = true> constexpr tuple() : _Inherited() { } template:: _DefaultConstructibleTuple() && !_TC2<_Dummy>:: _ImplicitlyDefaultConstructibleTuple(), bool>::type = false> explicit constexpr tuple() : _Inherited() { } template using _TCC = _TC::value, _Elements...>; template::template _ConstructibleTuple<_Elements...>() && _TCC<_Dummy>::template _ImplicitlyConvertibleTuple<_Elements...>() && (sizeof...(_Elements) >= 1), bool>::type=true> constexpr tuple(const _Elements&... __elements) : _Inherited(__elements...) { } template::template _ConstructibleTuple<_Elements...>() && !_TCC<_Dummy>::template _ImplicitlyConvertibleTuple<_Elements...>() && (sizeof...(_Elements) >= 1), bool>::type=false> explicit constexpr tuple(const _Elements&... __elements) : _Inherited(__elements...) { } template using _TMC = _TC<(sizeof...(_Elements) == sizeof...(_UElements)) && (_TC<(sizeof...(_UElements)==1), _Elements...>:: template _NotSameTuple<_UElements...>()), _Elements...>; template using _TMCT = _TC<(sizeof...(_Elements) == sizeof...(_UElements)) && !is_same, tuple<_UElements...>>::value, _Elements...>; template::template _MoveConstructibleTuple<_UElements...>() && _TMC<_UElements...>::template _ImplicitlyMoveConvertibleTuple<_UElements...>() && (sizeof...(_Elements) >= 1), bool>::type=true> constexpr tuple(_UElements&&... __elements) : _Inherited(std::forward<_UElements>(__elements)...) { } template::template _MoveConstructibleTuple<_UElements...>() && !_TMC<_UElements...>::template _ImplicitlyMoveConvertibleTuple<_UElements...>() && (sizeof...(_Elements) >= 1), bool>::type=false> explicit constexpr tuple(_UElements&&... __elements) : _Inherited(std::forward<_UElements>(__elements)...) { } constexpr tuple(const tuple&) = default; constexpr tuple(tuple&&) = default; template using _TNTC = _TC::value && sizeof...(_Elements) == 1, _Elements...>; template::template _ConstructibleTuple<_UElements...>() && _TMCT<_UElements...>::template _ImplicitlyConvertibleTuple<_UElements...>() && _TNTC<_Dummy>::template _NonNestedTuple&>(), bool>::type=true> constexpr tuple(const tuple<_UElements...>& __in) : _Inherited(static_cast&>(__in)) { } template::template _ConstructibleTuple<_UElements...>() && !_TMCT<_UElements...>::template _ImplicitlyConvertibleTuple<_UElements...>() && _TNTC<_Dummy>::template _NonNestedTuple&>(), bool>::type=false> explicit constexpr tuple(const tuple<_UElements...>& __in) : _Inherited(static_cast&>(__in)) { } template::template _MoveConstructibleTuple<_UElements...>() && _TMCT<_UElements...>::template _ImplicitlyMoveConvertibleTuple<_UElements...>() && _TNTC<_Dummy>::template _NonNestedTuple&&>(), bool>::type=true> constexpr tuple(tuple<_UElements...>&& __in) : _Inherited(static_cast<_Tuple_impl<0, _UElements...>&&>(__in)) { } template::template _MoveConstructibleTuple<_UElements...>() && !_TMCT<_UElements...>::template _ImplicitlyMoveConvertibleTuple<_UElements...>() && _TNTC<_Dummy>::template _NonNestedTuple&&>(), bool>::type=false> explicit constexpr tuple(tuple<_UElements...>&& __in) : _Inherited(static_cast<_Tuple_impl<0, _UElements...>&&>(__in)) { } template tuple(allocator_arg_t __tag, const _Alloc& __a) : _Inherited(__tag, __a) { } template::template _ConstructibleTuple<_Elements...>() && _TCC<_Dummy>::template _ImplicitlyConvertibleTuple<_Elements...>(), bool>::type=true> tuple(allocator_arg_t __tag, const _Alloc& __a, const _Elements&... __elements) : _Inherited(__tag, __a, __elements...) { } template::template _ConstructibleTuple<_Elements...>() && !_TCC<_Dummy>::template _ImplicitlyConvertibleTuple<_Elements...>(), bool>::type=false> explicit tuple(allocator_arg_t __tag, const _Alloc& __a, const _Elements&... __elements) : _Inherited(__tag, __a, __elements...) { } template::template _MoveConstructibleTuple<_UElements...>() && _TMC<_UElements...>::template _ImplicitlyMoveConvertibleTuple<_UElements...>(), bool>::type=true> tuple(allocator_arg_t __tag, const _Alloc& __a, _UElements&&... __elements) : _Inherited(__tag, __a, std::forward<_UElements>(__elements)...) { } template::template _MoveConstructibleTuple<_UElements...>() && !_TMC<_UElements...>::template _ImplicitlyMoveConvertibleTuple<_UElements...>(), bool>::type=false> explicit tuple(allocator_arg_t __tag, const _Alloc& __a, _UElements&&... __elements) : _Inherited(__tag, __a, std::forward<_UElements>(__elements)...) { } template tuple(allocator_arg_t __tag, const _Alloc& __a, const tuple& __in) : _Inherited(__tag, __a, static_cast(__in)) { } template tuple(allocator_arg_t __tag, const _Alloc& __a, tuple&& __in) : _Inherited(__tag, __a, static_cast<_Inherited&&>(__in)) { } template::template _ConstructibleTuple<_UElements...>() && _TMCT<_UElements...>::template _ImplicitlyConvertibleTuple<_UElements...>() && _TNTC<_Dummy>::template _NonNestedTuple&&>(), bool>::type=true> tuple(allocator_arg_t __tag, const _Alloc& __a, const tuple<_UElements...>& __in) : _Inherited(__tag, __a, static_cast&>(__in)) { } template::template _ConstructibleTuple<_UElements...>() && !_TMCT<_UElements...>::template _ImplicitlyConvertibleTuple<_UElements...>() && _TNTC<_Dummy>::template _NonNestedTuple&&>(), bool>::type=false> explicit tuple(allocator_arg_t __tag, const _Alloc& __a, const tuple<_UElements...>& __in) : _Inherited(__tag, __a, static_cast&>(__in)) { } template::template _MoveConstructibleTuple<_UElements...>() && _TMCT<_UElements...>::template _ImplicitlyMoveConvertibleTuple<_UElements...>() && _TNTC<_Dummy>::template _NonNestedTuple&&>(), bool>::type=true> tuple(allocator_arg_t __tag, const _Alloc& __a, tuple<_UElements...>&& __in) : _Inherited(__tag, __a, static_cast<_Tuple_impl<0, _UElements...>&&>(__in)) { } template::template _MoveConstructibleTuple<_UElements...>() && !_TMCT<_UElements...>::template _ImplicitlyMoveConvertibleTuple<_UElements...>() && _TNTC<_Dummy>::template _NonNestedTuple&&>(), bool>::type=false> explicit tuple(allocator_arg_t __tag, const _Alloc& __a, tuple<_UElements...>&& __in) : _Inherited(__tag, __a, static_cast<_Tuple_impl<0, _UElements...>&&>(__in)) { } tuple& operator=(const tuple& __in) { static_cast<_Inherited&>(*this) = __in; return *this; } tuple& operator=(tuple&& __in) noexcept(is_nothrow_move_assignable<_Inherited>::value) { static_cast<_Inherited&>(*this) = std::move(__in); return *this; } template typename enable_if::type operator=(const tuple<_UElements...>& __in) { static_cast<_Inherited&>(*this) = __in; return *this; } template typename enable_if::type operator=(tuple<_UElements...>&& __in) { static_cast<_Inherited&>(*this) = std::move(__in); return *this; } void swap(tuple& __in) noexcept(noexcept(__in._M_swap(__in))) { _Inherited::_M_swap(__in); } }; # 889 "/usr/include/c++/7/tuple" 3 template<> class tuple<> { public: void swap(tuple&) noexcept { } tuple() = default; template tuple(allocator_arg_t, const _Alloc&) { } template tuple(allocator_arg_t, const _Alloc&, const tuple&) { } }; template class tuple<_T1, _T2> : public _Tuple_impl<0, _T1, _T2> { typedef _Tuple_impl<0, _T1, _T2> _Inherited; public: template , __is_implicitly_default_constructible<_U2>> ::value, bool>::type = true> constexpr tuple() : _Inherited() { } template , is_default_constructible<_U2>, __not_< __and_<__is_implicitly_default_constructible<_U1>, __is_implicitly_default_constructible<_U2>>>> ::value, bool>::type = false> explicit constexpr tuple() : _Inherited() { } template using _TCC = _TC::value, _T1, _T2>; template::template _ConstructibleTuple<_T1, _T2>() && _TCC<_Dummy>::template _ImplicitlyConvertibleTuple<_T1, _T2>(), bool>::type = true> constexpr tuple(const _T1& __a1, const _T2& __a2) : _Inherited(__a1, __a2) { } template::template _ConstructibleTuple<_T1, _T2>() && !_TCC<_Dummy>::template _ImplicitlyConvertibleTuple<_T1, _T2>(), bool>::type = false> explicit constexpr tuple(const _T1& __a1, const _T2& __a2) : _Inherited(__a1, __a2) { } using _TMC = _TC; template() && _TMC::template _ImplicitlyMoveConvertibleTuple<_U1, _U2>() && !is_same::type, allocator_arg_t>::value, bool>::type = true> constexpr tuple(_U1&& __a1, _U2&& __a2) : _Inherited(std::forward<_U1>(__a1), std::forward<_U2>(__a2)) { } template() && !_TMC::template _ImplicitlyMoveConvertibleTuple<_U1, _U2>() && !is_same::type, allocator_arg_t>::value, bool>::type = false> explicit constexpr tuple(_U1&& __a1, _U2&& __a2) : _Inherited(std::forward<_U1>(__a1), std::forward<_U2>(__a2)) { } constexpr tuple(const tuple&) = default; constexpr tuple(tuple&&) = default; template() && _TMC::template _ImplicitlyConvertibleTuple<_U1, _U2>(), bool>::type = true> constexpr tuple(const tuple<_U1, _U2>& __in) : _Inherited(static_cast&>(__in)) { } template() && !_TMC::template _ImplicitlyConvertibleTuple<_U1, _U2>(), bool>::type = false> explicit constexpr tuple(const tuple<_U1, _U2>& __in) : _Inherited(static_cast&>(__in)) { } template() && _TMC::template _ImplicitlyMoveConvertibleTuple<_U1, _U2>(), bool>::type = true> constexpr tuple(tuple<_U1, _U2>&& __in) : _Inherited(static_cast<_Tuple_impl<0, _U1, _U2>&&>(__in)) { } template() && !_TMC::template _ImplicitlyMoveConvertibleTuple<_U1, _U2>(), bool>::type = false> explicit constexpr tuple(tuple<_U1, _U2>&& __in) : _Inherited(static_cast<_Tuple_impl<0, _U1, _U2>&&>(__in)) { } template() && _TMC::template _ImplicitlyConvertibleTuple<_U1, _U2>(), bool>::type = true> constexpr tuple(const pair<_U1, _U2>& __in) : _Inherited(__in.first, __in.second) { } template() && !_TMC::template _ImplicitlyConvertibleTuple<_U1, _U2>(), bool>::type = false> explicit constexpr tuple(const pair<_U1, _U2>& __in) : _Inherited(__in.first, __in.second) { } template() && _TMC::template _ImplicitlyMoveConvertibleTuple<_U1, _U2>(), bool>::type = true> constexpr tuple(pair<_U1, _U2>&& __in) : _Inherited(std::forward<_U1>(__in.first), std::forward<_U2>(__in.second)) { } template() && !_TMC::template _ImplicitlyMoveConvertibleTuple<_U1, _U2>(), bool>::type = false> explicit constexpr tuple(pair<_U1, _U2>&& __in) : _Inherited(std::forward<_U1>(__in.first), std::forward<_U2>(__in.second)) { } template tuple(allocator_arg_t __tag, const _Alloc& __a) : _Inherited(__tag, __a) { } template::template _ConstructibleTuple<_T1, _T2>() && _TCC<_Dummy>::template _ImplicitlyConvertibleTuple<_T1, _T2>(), bool>::type=true> tuple(allocator_arg_t __tag, const _Alloc& __a, const _T1& __a1, const _T2& __a2) : _Inherited(__tag, __a, __a1, __a2) { } template::template _ConstructibleTuple<_T1, _T2>() && !_TCC<_Dummy>::template _ImplicitlyConvertibleTuple<_T1, _T2>(), bool>::type=false> explicit tuple(allocator_arg_t __tag, const _Alloc& __a, const _T1& __a1, const _T2& __a2) : _Inherited(__tag, __a, __a1, __a2) { } template() && _TMC::template _ImplicitlyMoveConvertibleTuple<_U1, _U2>(), bool>::type = true> tuple(allocator_arg_t __tag, const _Alloc& __a, _U1&& __a1, _U2&& __a2) : _Inherited(__tag, __a, std::forward<_U1>(__a1), std::forward<_U2>(__a2)) { } template() && !_TMC::template _ImplicitlyMoveConvertibleTuple<_U1, _U2>(), bool>::type = false> explicit tuple(allocator_arg_t __tag, const _Alloc& __a, _U1&& __a1, _U2&& __a2) : _Inherited(__tag, __a, std::forward<_U1>(__a1), std::forward<_U2>(__a2)) { } template tuple(allocator_arg_t __tag, const _Alloc& __a, const tuple& __in) : _Inherited(__tag, __a, static_cast(__in)) { } template tuple(allocator_arg_t __tag, const _Alloc& __a, tuple&& __in) : _Inherited(__tag, __a, static_cast<_Inherited&&>(__in)) { } template() && _TMC::template _ImplicitlyConvertibleTuple<_U1, _U2>(), bool>::type = true> tuple(allocator_arg_t __tag, const _Alloc& __a, const tuple<_U1, _U2>& __in) : _Inherited(__tag, __a, static_cast&>(__in)) { } template() && !_TMC::template _ImplicitlyConvertibleTuple<_U1, _U2>(), bool>::type = false> explicit tuple(allocator_arg_t __tag, const _Alloc& __a, const tuple<_U1, _U2>& __in) : _Inherited(__tag, __a, static_cast&>(__in)) { } template() && _TMC::template _ImplicitlyMoveConvertibleTuple<_U1, _U2>(), bool>::type = true> tuple(allocator_arg_t __tag, const _Alloc& __a, tuple<_U1, _U2>&& __in) : _Inherited(__tag, __a, static_cast<_Tuple_impl<0, _U1, _U2>&&>(__in)) { } template() && !_TMC::template _ImplicitlyMoveConvertibleTuple<_U1, _U2>(), bool>::type = false> explicit tuple(allocator_arg_t __tag, const _Alloc& __a, tuple<_U1, _U2>&& __in) : _Inherited(__tag, __a, static_cast<_Tuple_impl<0, _U1, _U2>&&>(__in)) { } template() && _TMC::template _ImplicitlyConvertibleTuple<_U1, _U2>(), bool>::type = true> tuple(allocator_arg_t __tag, const _Alloc& __a, const pair<_U1, _U2>& __in) : _Inherited(__tag, __a, __in.first, __in.second) { } template() && !_TMC::template _ImplicitlyConvertibleTuple<_U1, _U2>(), bool>::type = false> explicit tuple(allocator_arg_t __tag, const _Alloc& __a, const pair<_U1, _U2>& __in) : _Inherited(__tag, __a, __in.first, __in.second) { } template() && _TMC::template _ImplicitlyMoveConvertibleTuple<_U1, _U2>(), bool>::type = true> tuple(allocator_arg_t __tag, const _Alloc& __a, pair<_U1, _U2>&& __in) : _Inherited(__tag, __a, std::forward<_U1>(__in.first), std::forward<_U2>(__in.second)) { } template() && !_TMC::template _ImplicitlyMoveConvertibleTuple<_U1, _U2>(), bool>::type = false> explicit tuple(allocator_arg_t __tag, const _Alloc& __a, pair<_U1, _U2>&& __in) : _Inherited(__tag, __a, std::forward<_U1>(__in.first), std::forward<_U2>(__in.second)) { } tuple& operator=(const tuple& __in) { static_cast<_Inherited&>(*this) = __in; return *this; } tuple& operator=(tuple&& __in) noexcept(is_nothrow_move_assignable<_Inherited>::value) { static_cast<_Inherited&>(*this) = std::move(__in); return *this; } template tuple& operator=(const tuple<_U1, _U2>& __in) { static_cast<_Inherited&>(*this) = __in; return *this; } template tuple& operator=(tuple<_U1, _U2>&& __in) { static_cast<_Inherited&>(*this) = std::move(__in); return *this; } template tuple& operator=(const pair<_U1, _U2>& __in) { this->_M_head(*this) = __in.first; this->_M_tail(*this)._M_head(*this) = __in.second; return *this; } template tuple& operator=(pair<_U1, _U2>&& __in) { this->_M_head(*this) = std::forward<_U1>(__in.first); this->_M_tail(*this)._M_head(*this) = std::forward<_U2>(__in.second); return *this; } void swap(tuple& __in) noexcept(noexcept(__in._M_swap(__in))) { _Inherited::_M_swap(__in); } }; template struct tuple_size> : public integral_constant { }; # 1278 "/usr/include/c++/7/tuple" 3 template struct tuple_element<__i, tuple<_Head, _Tail...> > : tuple_element<__i - 1, tuple<_Tail...> > { }; template struct tuple_element<0, tuple<_Head, _Tail...> > { typedef _Head type; }; template struct tuple_element<__i, tuple<>> { static_assert(__i < tuple_size>::value, "tuple index is in range"); }; template constexpr _Head& __get_helper(_Tuple_impl<__i, _Head, _Tail...>& __t) noexcept { return _Tuple_impl<__i, _Head, _Tail...>::_M_head(__t); } template constexpr const _Head& __get_helper(const _Tuple_impl<__i, _Head, _Tail...>& __t) noexcept { return _Tuple_impl<__i, _Head, _Tail...>::_M_head(__t); } template constexpr __tuple_element_t<__i, tuple<_Elements...>>& get(tuple<_Elements...>& __t) noexcept { return std::__get_helper<__i>(__t); } template constexpr const __tuple_element_t<__i, tuple<_Elements...>>& get(const tuple<_Elements...>& __t) noexcept { return std::__get_helper<__i>(__t); } template constexpr __tuple_element_t<__i, tuple<_Elements...>>&& get(tuple<_Elements...>&& __t) noexcept { typedef __tuple_element_t<__i, tuple<_Elements...>> __element_type; return std::forward<__element_type&&>(std::get<__i>(__t)); } template constexpr _Head& __get_helper2(_Tuple_impl<__i, _Head, _Tail...>& __t) noexcept { return _Tuple_impl<__i, _Head, _Tail...>::_M_head(__t); } template constexpr const _Head& __get_helper2(const _Tuple_impl<__i, _Head, _Tail...>& __t) noexcept { return _Tuple_impl<__i, _Head, _Tail...>::_M_head(__t); } template constexpr _Tp& get(tuple<_Types...>& __t) noexcept { return std::__get_helper2<_Tp>(__t); } template constexpr _Tp&& get(tuple<_Types...>&& __t) noexcept { return std::forward<_Tp&&>(std::__get_helper2<_Tp>(__t)); } template constexpr const _Tp& get(const tuple<_Types...>& __t) noexcept { return std::__get_helper2<_Tp>(__t); } template struct __tuple_compare { static constexpr bool __eq(const _Tp& __t, const _Up& __u) { return bool(std::get<__i>(__t) == std::get<__i>(__u)) && __tuple_compare<_Tp, _Up, __i + 1, __size>::__eq(__t, __u); } static constexpr bool __less(const _Tp& __t, const _Up& __u) { return bool(std::get<__i>(__t) < std::get<__i>(__u)) || (!bool(std::get<__i>(__u) < std::get<__i>(__t)) && __tuple_compare<_Tp, _Up, __i + 1, __size>::__less(__t, __u)); } }; template struct __tuple_compare<_Tp, _Up, __size, __size> { static constexpr bool __eq(const _Tp&, const _Up&) { return true; } static constexpr bool __less(const _Tp&, const _Up&) { return false; } }; template constexpr bool operator==(const tuple<_TElements...>& __t, const tuple<_UElements...>& __u) { static_assert(sizeof...(_TElements) == sizeof...(_UElements), "tuple objects can only be compared if they have equal sizes."); using __compare = __tuple_compare, tuple<_UElements...>, 0, sizeof...(_TElements)>; return __compare::__eq(__t, __u); } template constexpr bool operator<(const tuple<_TElements...>& __t, const tuple<_UElements...>& __u) { static_assert(sizeof...(_TElements) == sizeof...(_UElements), "tuple objects can only be compared if they have equal sizes."); using __compare = __tuple_compare, tuple<_UElements...>, 0, sizeof...(_TElements)>; return __compare::__less(__t, __u); } template constexpr bool operator!=(const tuple<_TElements...>& __t, const tuple<_UElements...>& __u) { return !(__t == __u); } template constexpr bool operator>(const tuple<_TElements...>& __t, const tuple<_UElements...>& __u) { return __u < __t; } template constexpr bool operator<=(const tuple<_TElements...>& __t, const tuple<_UElements...>& __u) { return !(__u < __t); } template constexpr bool operator>=(const tuple<_TElements...>& __t, const tuple<_UElements...>& __u) { return !(__t < __u); } template constexpr tuple::__type...> make_tuple(_Elements&&... __args) { typedef tuple::__type...> __result_type; return __result_type(std::forward<_Elements>(__args)...); } template constexpr tuple<_Elements&&...> forward_as_tuple(_Elements&&... __args) noexcept { return tuple<_Elements&&...>(std::forward<_Elements>(__args)...); } template struct __make_tuple_impl; template struct __make_tuple_impl<_Idx, tuple<_Tp...>, _Tuple, _Nm> : __make_tuple_impl<_Idx + 1, tuple<_Tp..., __tuple_element_t<_Idx, _Tuple>>, _Tuple, _Nm> { }; template struct __make_tuple_impl<_Nm, tuple<_Tp...>, _Tuple, _Nm> { typedef tuple<_Tp...> __type; }; template struct __do_make_tuple : __make_tuple_impl<0, tuple<>, _Tuple, std::tuple_size<_Tuple>::value> { }; template struct __make_tuple : public __do_make_tuple::type>::type> { }; template struct __combine_tuples; template<> struct __combine_tuples<> { typedef tuple<> __type; }; template struct __combine_tuples> { typedef tuple<_Ts...> __type; }; template struct __combine_tuples, tuple<_T2s...>, _Rem...> { typedef typename __combine_tuples, _Rem...>::__type __type; }; template struct __tuple_cat_result { typedef typename __combine_tuples ::__type...>::__type __type; }; template struct __make_1st_indices; template<> struct __make_1st_indices<> { typedef std::_Index_tuple<> __type; }; template struct __make_1st_indices<_Tp, _Tpls...> { typedef typename std::_Build_index_tuple::type>::value>::__type __type; }; template struct __tuple_concater; template struct __tuple_concater<_Ret, std::_Index_tuple<_Is...>, _Tp, _Tpls...> { template static constexpr _Ret _S_do(_Tp&& __tp, _Tpls&&... __tps, _Us&&... __us) { typedef typename __make_1st_indices<_Tpls...>::__type __idx; typedef __tuple_concater<_Ret, __idx, _Tpls...> __next; return __next::_S_do(std::forward<_Tpls>(__tps)..., std::forward<_Us>(__us)..., std::get<_Is>(std::forward<_Tp>(__tp))...); } }; template struct __tuple_concater<_Ret, std::_Index_tuple<>> { template static constexpr _Ret _S_do(_Us&&... __us) { return _Ret(std::forward<_Us>(__us)...); } }; template...>::value>::type> constexpr auto tuple_cat(_Tpls&&... __tpls) -> typename __tuple_cat_result<_Tpls...>::__type { typedef typename __tuple_cat_result<_Tpls...>::__type __ret; typedef typename __make_1st_indices<_Tpls...>::__type __idx; typedef __tuple_concater<__ret, __idx, _Tpls...> __concater; return __concater::_S_do(std::forward<_Tpls>(__tpls)...); } template constexpr tuple<_Elements&...> tie(_Elements&... __args) noexcept { return tuple<_Elements&...>(__args...); } template inline typename enable_if<__and_<__is_swappable<_Elements>...>::value >::type swap(tuple<_Elements...>& __x, tuple<_Elements...>& __y) noexcept(noexcept(__x.swap(__y))) { __x.swap(__y); } template typename enable_if...>::value>::type swap(tuple<_Elements...>&, tuple<_Elements...>&) = delete; struct _Swallow_assign { template constexpr const _Swallow_assign& operator=(const _Tp&) const { return *this; } }; constexpr _Swallow_assign ignore{}; template struct uses_allocator, _Alloc> : true_type { }; template template inline pair<_T1, _T2>:: pair(piecewise_construct_t, tuple<_Args1...> __first, tuple<_Args2...> __second) : pair(__first, __second, typename _Build_index_tuple::__type(), typename _Build_index_tuple::__type()) { } template template inline pair<_T1, _T2>:: pair(tuple<_Args1...>& __tuple1, tuple<_Args2...>& __tuple2, _Index_tuple<_Indexes1...>, _Index_tuple<_Indexes2...>) : first(std::forward<_Args1>(std::get<_Indexes1>(__tuple1))...), second(std::forward<_Args2>(std::get<_Indexes2>(__tuple2))...) { } # 1695 "/usr/include/c++/7/tuple" 3 } # 64 "/usr/include/c++/7/bits/stl_map.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { template class multimap; # 97 "/usr/include/c++/7/bits/stl_map.h" 3 template , typename _Alloc = std::allocator > > class map { public: typedef _Key key_type; typedef _Tp mapped_type; typedef std::pair value_type; typedef _Compare key_compare; typedef _Alloc allocator_type; private: # 120 "/usr/include/c++/7/bits/stl_map.h" 3 public: class value_compare : public std::binary_function { friend class map<_Key, _Tp, _Compare, _Alloc>; protected: _Compare comp; value_compare(_Compare __c) : comp(__c) { } public: bool operator()(const value_type& __x, const value_type& __y) const { return comp(__x.first, __y.first); } }; private: typedef typename __gnu_cxx::__alloc_traits<_Alloc>::template rebind::other _Pair_alloc_type; typedef _Rb_tree, key_compare, _Pair_alloc_type> _Rep_type; _Rep_type _M_t; typedef __gnu_cxx::__alloc_traits<_Pair_alloc_type> _Alloc_traits; public: typedef typename _Alloc_traits::pointer pointer; typedef typename _Alloc_traits::const_pointer const_pointer; typedef typename _Alloc_traits::reference reference; typedef typename _Alloc_traits::const_reference const_reference; typedef typename _Rep_type::iterator iterator; typedef typename _Rep_type::const_iterator const_iterator; typedef typename _Rep_type::size_type size_type; typedef typename _Rep_type::difference_type difference_type; typedef typename _Rep_type::reverse_iterator reverse_iterator; typedef typename _Rep_type::const_reverse_iterator const_reverse_iterator; # 177 "/usr/include/c++/7/bits/stl_map.h" 3 map() = default; explicit map(const _Compare& __comp, const allocator_type& __a = allocator_type()) : _M_t(__comp, _Pair_alloc_type(__a)) { } # 199 "/usr/include/c++/7/bits/stl_map.h" 3 map(const map&) = default; map(map&&) = default; # 220 "/usr/include/c++/7/bits/stl_map.h" 3 map(initializer_list __l, const _Compare& __comp = _Compare(), const allocator_type& __a = allocator_type()) : _M_t(__comp, _Pair_alloc_type(__a)) { _M_t._M_insert_unique(__l.begin(), __l.end()); } explicit map(const allocator_type& __a) : _M_t(_Compare(), _Pair_alloc_type(__a)) { } map(const map& __m, const allocator_type& __a) : _M_t(__m._M_t, _Pair_alloc_type(__a)) { } map(map&& __m, const allocator_type& __a) noexcept(is_nothrow_copy_constructible<_Compare>::value && _Alloc_traits::_S_always_equal()) : _M_t(std::move(__m._M_t), _Pair_alloc_type(__a)) { } map(initializer_list __l, const allocator_type& __a) : _M_t(_Compare(), _Pair_alloc_type(__a)) { _M_t._M_insert_unique(__l.begin(), __l.end()); } template map(_InputIterator __first, _InputIterator __last, const allocator_type& __a) : _M_t(_Compare(), _Pair_alloc_type(__a)) { _M_t._M_insert_unique(__first, __last); } # 264 "/usr/include/c++/7/bits/stl_map.h" 3 template map(_InputIterator __first, _InputIterator __last) : _M_t() { _M_t._M_insert_unique(__first, __last); } # 281 "/usr/include/c++/7/bits/stl_map.h" 3 template map(_InputIterator __first, _InputIterator __last, const _Compare& __comp, const allocator_type& __a = allocator_type()) : _M_t(__comp, _Pair_alloc_type(__a)) { _M_t._M_insert_unique(__first, __last); } ~map() = default; # 310 "/usr/include/c++/7/bits/stl_map.h" 3 map& operator=(const map&) = default; map& operator=(map&&) = default; # 328 "/usr/include/c++/7/bits/stl_map.h" 3 map& operator=(initializer_list __l) { _M_t._M_assign_unique(__l.begin(), __l.end()); return *this; } allocator_type get_allocator() const noexcept { return allocator_type(_M_t.get_allocator()); } iterator begin() noexcept { return _M_t.begin(); } const_iterator begin() const noexcept { return _M_t.begin(); } iterator end() noexcept { return _M_t.end(); } const_iterator end() const noexcept { return _M_t.end(); } reverse_iterator rbegin() noexcept { return _M_t.rbegin(); } const_reverse_iterator rbegin() const noexcept { return _M_t.rbegin(); } reverse_iterator rend() noexcept { return _M_t.rend(); } const_reverse_iterator rend() const noexcept { return _M_t.rend(); } const_iterator cbegin() const noexcept { return _M_t.begin(); } const_iterator cend() const noexcept { return _M_t.end(); } const_reverse_iterator crbegin() const noexcept { return _M_t.rbegin(); } const_reverse_iterator crend() const noexcept { return _M_t.rend(); } bool empty() const noexcept { return _M_t.empty(); } size_type size() const noexcept { return _M_t.size(); } size_type max_size() const noexcept { return _M_t.max_size(); } # 483 "/usr/include/c++/7/bits/stl_map.h" 3 mapped_type& operator[](const key_type& __k) { iterator __i = lower_bound(__k); if (__i == end() || key_comp()(__k, (*__i).first)) __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, std::tuple(__k), std::tuple<>()); return (*__i).second; } mapped_type& operator[](key_type&& __k) { iterator __i = lower_bound(__k); if (__i == end() || key_comp()(__k, (*__i).first)) __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, std::forward_as_tuple(std::move(__k)), std::tuple<>()); return (*__i).second; } # 528 "/usr/include/c++/7/bits/stl_map.h" 3 mapped_type& at(const key_type& __k) { iterator __i = lower_bound(__k); if (__i == end() || key_comp()(__k, (*__i).first)) __throw_out_of_range(("map::at")); return (*__i).second; } const mapped_type& at(const key_type& __k) const { const_iterator __i = lower_bound(__k); if (__i == end() || key_comp()(__k, (*__i).first)) __throw_out_of_range(("map::at")); return (*__i).second; } # 566 "/usr/include/c++/7/bits/stl_map.h" 3 template std::pair emplace(_Args&&... __args) { return _M_t._M_emplace_unique(std::forward<_Args>(__args)...); } # 596 "/usr/include/c++/7/bits/stl_map.h" 3 template iterator emplace_hint(const_iterator __pos, _Args&&... __args) { return _M_t._M_emplace_hint_unique(__pos, std::forward<_Args>(__args)...); } # 794 "/usr/include/c++/7/bits/stl_map.h" 3 std::pair insert(const value_type& __x) { return _M_t._M_insert_unique(__x); } template::value>::type> std::pair insert(_Pair&& __x) { return _M_t._M_insert_unique(std::forward<_Pair>(__x)); } # 815 "/usr/include/c++/7/bits/stl_map.h" 3 void insert(std::initializer_list __list) { insert(__list.begin(), __list.end()); } # 843 "/usr/include/c++/7/bits/stl_map.h" 3 iterator insert(const_iterator __position, const value_type& __x) { return _M_t._M_insert_unique_(__position, __x); } template::value>::type> iterator insert(const_iterator __position, _Pair&& __x) { return _M_t._M_insert_unique_(__position, std::forward<_Pair>(__x)); } # 869 "/usr/include/c++/7/bits/stl_map.h" 3 template void insert(_InputIterator __first, _InputIterator __last) { _M_t._M_insert_unique(__first, __last); } # 1009 "/usr/include/c++/7/bits/stl_map.h" 3 iterator erase(const_iterator __position) { return _M_t.erase(__position); } __attribute ((__abi_tag__ ("cxx11"))) iterator erase(iterator __position) { return _M_t.erase(__position); } # 1046 "/usr/include/c++/7/bits/stl_map.h" 3 size_type erase(const key_type& __x) { return _M_t.erase(__x); } # 1066 "/usr/include/c++/7/bits/stl_map.h" 3 iterator erase(const_iterator __first, const_iterator __last) { return _M_t.erase(__first, __last); } # 1100 "/usr/include/c++/7/bits/stl_map.h" 3 void swap(map& __x) noexcept(__is_nothrow_swappable<_Compare>::value) { _M_t.swap(__x._M_t); } void clear() noexcept { _M_t.clear(); } key_compare key_comp() const { return _M_t.key_comp(); } value_compare value_comp() const { return value_compare(_M_t.key_comp()); } # 1147 "/usr/include/c++/7/bits/stl_map.h" 3 iterator find(const key_type& __x) { return _M_t.find(__x); } template auto find(const _Kt& __x) -> decltype(_M_t._M_find_tr(__x)) { return _M_t._M_find_tr(__x); } # 1172 "/usr/include/c++/7/bits/stl_map.h" 3 const_iterator find(const key_type& __x) const { return _M_t.find(__x); } template auto find(const _Kt& __x) const -> decltype(_M_t._M_find_tr(__x)) { return _M_t._M_find_tr(__x); } # 1193 "/usr/include/c++/7/bits/stl_map.h" 3 size_type count(const key_type& __x) const { return _M_t.find(__x) == _M_t.end() ? 0 : 1; } template auto count(const _Kt& __x) const -> decltype(_M_t._M_count_tr(__x)) { return _M_t._M_count_tr(__x); } # 1217 "/usr/include/c++/7/bits/stl_map.h" 3 iterator lower_bound(const key_type& __x) { return _M_t.lower_bound(__x); } template auto lower_bound(const _Kt& __x) -> decltype(iterator(_M_t._M_lower_bound_tr(__x))) { return iterator(_M_t._M_lower_bound_tr(__x)); } # 1242 "/usr/include/c++/7/bits/stl_map.h" 3 const_iterator lower_bound(const key_type& __x) const { return _M_t.lower_bound(__x); } template auto lower_bound(const _Kt& __x) const -> decltype(const_iterator(_M_t._M_lower_bound_tr(__x))) { return const_iterator(_M_t._M_lower_bound_tr(__x)); } # 1262 "/usr/include/c++/7/bits/stl_map.h" 3 iterator upper_bound(const key_type& __x) { return _M_t.upper_bound(__x); } template auto upper_bound(const _Kt& __x) -> decltype(iterator(_M_t._M_upper_bound_tr(__x))) { return iterator(_M_t._M_upper_bound_tr(__x)); } # 1282 "/usr/include/c++/7/bits/stl_map.h" 3 const_iterator upper_bound(const key_type& __x) const { return _M_t.upper_bound(__x); } template auto upper_bound(const _Kt& __x) const -> decltype(const_iterator(_M_t._M_upper_bound_tr(__x))) { return const_iterator(_M_t._M_upper_bound_tr(__x)); } # 1311 "/usr/include/c++/7/bits/stl_map.h" 3 std::pair equal_range(const key_type& __x) { return _M_t.equal_range(__x); } template auto equal_range(const _Kt& __x) -> decltype(pair(_M_t._M_equal_range_tr(__x))) { return pair(_M_t._M_equal_range_tr(__x)); } # 1340 "/usr/include/c++/7/bits/stl_map.h" 3 std::pair equal_range(const key_type& __x) const { return _M_t.equal_range(__x); } template auto equal_range(const _Kt& __x) const -> decltype(pair( _M_t._M_equal_range_tr(__x))) { return pair( _M_t._M_equal_range_tr(__x)); } template friend bool operator==(const map<_K1, _T1, _C1, _A1>&, const map<_K1, _T1, _C1, _A1>&); template friend bool operator<(const map<_K1, _T1, _C1, _A1>&, const map<_K1, _T1, _C1, _A1>&); }; # 1378 "/usr/include/c++/7/bits/stl_map.h" 3 template inline bool operator==(const map<_Key, _Tp, _Compare, _Alloc>& __x, const map<_Key, _Tp, _Compare, _Alloc>& __y) { return __x._M_t == __y._M_t; } # 1395 "/usr/include/c++/7/bits/stl_map.h" 3 template inline bool operator<(const map<_Key, _Tp, _Compare, _Alloc>& __x, const map<_Key, _Tp, _Compare, _Alloc>& __y) { return __x._M_t < __y._M_t; } template inline bool operator!=(const map<_Key, _Tp, _Compare, _Alloc>& __x, const map<_Key, _Tp, _Compare, _Alloc>& __y) { return !(__x == __y); } template inline bool operator>(const map<_Key, _Tp, _Compare, _Alloc>& __x, const map<_Key, _Tp, _Compare, _Alloc>& __y) { return __y < __x; } template inline bool operator<=(const map<_Key, _Tp, _Compare, _Alloc>& __x, const map<_Key, _Tp, _Compare, _Alloc>& __y) { return !(__y < __x); } template inline bool operator>=(const map<_Key, _Tp, _Compare, _Alloc>& __x, const map<_Key, _Tp, _Compare, _Alloc>& __y) { return !(__x < __y); } template inline void swap(map<_Key, _Tp, _Compare, _Alloc>& __x, map<_Key, _Tp, _Compare, _Alloc>& __y) noexcept(noexcept(__x.swap(__y))) { __x.swap(__y); } # 1462 "/usr/include/c++/7/bits/stl_map.h" 3 } # 62 "/usr/include/c++/7/map" 2 3 # 1 "/usr/include/c++/7/bits/stl_multimap.h" 1 3 # 64 "/usr/include/c++/7/bits/stl_multimap.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { template class map; # 95 "/usr/include/c++/7/bits/stl_multimap.h" 3 template , typename _Alloc = std::allocator > > class multimap { public: typedef _Key key_type; typedef _Tp mapped_type; typedef std::pair value_type; typedef _Compare key_compare; typedef _Alloc allocator_type; private: # 119 "/usr/include/c++/7/bits/stl_multimap.h" 3 public: class value_compare : public std::binary_function { friend class multimap<_Key, _Tp, _Compare, _Alloc>; protected: _Compare comp; value_compare(_Compare __c) : comp(__c) { } public: bool operator()(const value_type& __x, const value_type& __y) const { return comp(__x.first, __y.first); } }; private: typedef typename __gnu_cxx::__alloc_traits<_Alloc>::template rebind::other _Pair_alloc_type; typedef _Rb_tree, key_compare, _Pair_alloc_type> _Rep_type; _Rep_type _M_t; typedef __gnu_cxx::__alloc_traits<_Pair_alloc_type> _Alloc_traits; public: typedef typename _Alloc_traits::pointer pointer; typedef typename _Alloc_traits::const_pointer const_pointer; typedef typename _Alloc_traits::reference reference; typedef typename _Alloc_traits::const_reference const_reference; typedef typename _Rep_type::iterator iterator; typedef typename _Rep_type::const_iterator const_iterator; typedef typename _Rep_type::size_type size_type; typedef typename _Rep_type::difference_type difference_type; typedef typename _Rep_type::reverse_iterator reverse_iterator; typedef typename _Rep_type::const_reverse_iterator const_reverse_iterator; # 174 "/usr/include/c++/7/bits/stl_multimap.h" 3 multimap() = default; explicit multimap(const _Compare& __comp, const allocator_type& __a = allocator_type()) : _M_t(__comp, _Pair_alloc_type(__a)) { } # 196 "/usr/include/c++/7/bits/stl_multimap.h" 3 multimap(const multimap&) = default; # 205 "/usr/include/c++/7/bits/stl_multimap.h" 3 multimap(multimap&&) = default; # 217 "/usr/include/c++/7/bits/stl_multimap.h" 3 multimap(initializer_list __l, const _Compare& __comp = _Compare(), const allocator_type& __a = allocator_type()) : _M_t(__comp, _Pair_alloc_type(__a)) { _M_t._M_insert_equal(__l.begin(), __l.end()); } explicit multimap(const allocator_type& __a) : _M_t(_Compare(), _Pair_alloc_type(__a)) { } multimap(const multimap& __m, const allocator_type& __a) : _M_t(__m._M_t, _Pair_alloc_type(__a)) { } multimap(multimap&& __m, const allocator_type& __a) noexcept(is_nothrow_copy_constructible<_Compare>::value && _Alloc_traits::_S_always_equal()) : _M_t(std::move(__m._M_t), _Pair_alloc_type(__a)) { } multimap(initializer_list __l, const allocator_type& __a) : _M_t(_Compare(), _Pair_alloc_type(__a)) { _M_t._M_insert_equal(__l.begin(), __l.end()); } template multimap(_InputIterator __first, _InputIterator __last, const allocator_type& __a) : _M_t(_Compare(), _Pair_alloc_type(__a)) { _M_t._M_insert_equal(__first, __last); } # 260 "/usr/include/c++/7/bits/stl_multimap.h" 3 template multimap(_InputIterator __first, _InputIterator __last) : _M_t() { _M_t._M_insert_equal(__first, __last); } # 276 "/usr/include/c++/7/bits/stl_multimap.h" 3 template multimap(_InputIterator __first, _InputIterator __last, const _Compare& __comp, const allocator_type& __a = allocator_type()) : _M_t(__comp, _Pair_alloc_type(__a)) { _M_t._M_insert_equal(__first, __last); } ~multimap() = default; # 305 "/usr/include/c++/7/bits/stl_multimap.h" 3 multimap& operator=(const multimap&) = default; multimap& operator=(multimap&&) = default; # 323 "/usr/include/c++/7/bits/stl_multimap.h" 3 multimap& operator=(initializer_list __l) { _M_t._M_assign_equal(__l.begin(), __l.end()); return *this; } allocator_type get_allocator() const noexcept { return allocator_type(_M_t.get_allocator()); } iterator begin() noexcept { return _M_t.begin(); } const_iterator begin() const noexcept { return _M_t.begin(); } iterator end() noexcept { return _M_t.end(); } const_iterator end() const noexcept { return _M_t.end(); } reverse_iterator rbegin() noexcept { return _M_t.rbegin(); } const_reverse_iterator rbegin() const noexcept { return _M_t.rbegin(); } reverse_iterator rend() noexcept { return _M_t.rend(); } const_reverse_iterator rend() const noexcept { return _M_t.rend(); } const_iterator cbegin() const noexcept { return _M_t.begin(); } const_iterator cend() const noexcept { return _M_t.end(); } const_reverse_iterator crbegin() const noexcept { return _M_t.rbegin(); } const_reverse_iterator crend() const noexcept { return _M_t.rend(); } bool empty() const noexcept { return _M_t.empty(); } size_type size() const noexcept { return _M_t.size(); } size_type max_size() const noexcept { return _M_t.max_size(); } # 481 "/usr/include/c++/7/bits/stl_multimap.h" 3 template iterator emplace(_Args&&... __args) { return _M_t._M_emplace_equal(std::forward<_Args>(__args)...); } # 508 "/usr/include/c++/7/bits/stl_multimap.h" 3 template iterator emplace_hint(const_iterator __pos, _Args&&... __args) { return _M_t._M_emplace_hint_equal(__pos, std::forward<_Args>(__args)...); } # 529 "/usr/include/c++/7/bits/stl_multimap.h" 3 iterator insert(const value_type& __x) { return _M_t._M_insert_equal(__x); } template::value>::type> iterator insert(_Pair&& __x) { return _M_t._M_insert_equal(std::forward<_Pair>(__x)); } # 562 "/usr/include/c++/7/bits/stl_multimap.h" 3 iterator insert(const_iterator __position, const value_type& __x) { return _M_t._M_insert_equal_(__position, __x); } template::value>::type> iterator insert(const_iterator __position, _Pair&& __x) { return _M_t._M_insert_equal_(__position, std::forward<_Pair>(__x)); } # 589 "/usr/include/c++/7/bits/stl_multimap.h" 3 template void insert(_InputIterator __first, _InputIterator __last) { _M_t._M_insert_equal(__first, __last); } # 602 "/usr/include/c++/7/bits/stl_multimap.h" 3 void insert(initializer_list __l) { this->insert(__l.begin(), __l.end()); } # 679 "/usr/include/c++/7/bits/stl_multimap.h" 3 iterator erase(const_iterator __position) { return _M_t.erase(__position); } __attribute ((__abi_tag__ ("cxx11"))) iterator erase(iterator __position) { return _M_t.erase(__position); } # 716 "/usr/include/c++/7/bits/stl_multimap.h" 3 size_type erase(const key_type& __x) { return _M_t.erase(__x); } # 737 "/usr/include/c++/7/bits/stl_multimap.h" 3 iterator erase(const_iterator __first, const_iterator __last) { return _M_t.erase(__first, __last); } # 774 "/usr/include/c++/7/bits/stl_multimap.h" 3 void swap(multimap& __x) noexcept(__is_nothrow_swappable<_Compare>::value) { _M_t.swap(__x._M_t); } void clear() noexcept { _M_t.clear(); } key_compare key_comp() const { return _M_t.key_comp(); } value_compare value_comp() const { return value_compare(_M_t.key_comp()); } # 820 "/usr/include/c++/7/bits/stl_multimap.h" 3 iterator find(const key_type& __x) { return _M_t.find(__x); } template auto find(const _Kt& __x) -> decltype(_M_t._M_find_tr(__x)) { return _M_t._M_find_tr(__x); } # 844 "/usr/include/c++/7/bits/stl_multimap.h" 3 const_iterator find(const key_type& __x) const { return _M_t.find(__x); } template auto find(const _Kt& __x) const -> decltype(_M_t._M_find_tr(__x)) { return _M_t._M_find_tr(__x); } # 862 "/usr/include/c++/7/bits/stl_multimap.h" 3 size_type count(const key_type& __x) const { return _M_t.count(__x); } template auto count(const _Kt& __x) const -> decltype(_M_t._M_count_tr(__x)) { return _M_t._M_count_tr(__x); } # 886 "/usr/include/c++/7/bits/stl_multimap.h" 3 iterator lower_bound(const key_type& __x) { return _M_t.lower_bound(__x); } template auto lower_bound(const _Kt& __x) -> decltype(iterator(_M_t._M_lower_bound_tr(__x))) { return iterator(_M_t._M_lower_bound_tr(__x)); } # 911 "/usr/include/c++/7/bits/stl_multimap.h" 3 const_iterator lower_bound(const key_type& __x) const { return _M_t.lower_bound(__x); } template auto lower_bound(const _Kt& __x) const -> decltype(const_iterator(_M_t._M_lower_bound_tr(__x))) { return const_iterator(_M_t._M_lower_bound_tr(__x)); } # 931 "/usr/include/c++/7/bits/stl_multimap.h" 3 iterator upper_bound(const key_type& __x) { return _M_t.upper_bound(__x); } template auto upper_bound(const _Kt& __x) -> decltype(iterator(_M_t._M_upper_bound_tr(__x))) { return iterator(_M_t._M_upper_bound_tr(__x)); } # 951 "/usr/include/c++/7/bits/stl_multimap.h" 3 const_iterator upper_bound(const key_type& __x) const { return _M_t.upper_bound(__x); } template auto upper_bound(const _Kt& __x) const -> decltype(const_iterator(_M_t._M_upper_bound_tr(__x))) { return const_iterator(_M_t._M_upper_bound_tr(__x)); } # 978 "/usr/include/c++/7/bits/stl_multimap.h" 3 std::pair equal_range(const key_type& __x) { return _M_t.equal_range(__x); } template auto equal_range(const _Kt& __x) -> decltype(pair(_M_t._M_equal_range_tr(__x))) { return pair(_M_t._M_equal_range_tr(__x)); } # 1005 "/usr/include/c++/7/bits/stl_multimap.h" 3 std::pair equal_range(const key_type& __x) const { return _M_t.equal_range(__x); } template auto equal_range(const _Kt& __x) const -> decltype(pair( _M_t._M_equal_range_tr(__x))) { return pair( _M_t._M_equal_range_tr(__x)); } template friend bool operator==(const multimap<_K1, _T1, _C1, _A1>&, const multimap<_K1, _T1, _C1, _A1>&); template friend bool operator<(const multimap<_K1, _T1, _C1, _A1>&, const multimap<_K1, _T1, _C1, _A1>&); }; # 1043 "/usr/include/c++/7/bits/stl_multimap.h" 3 template inline bool operator==(const multimap<_Key, _Tp, _Compare, _Alloc>& __x, const multimap<_Key, _Tp, _Compare, _Alloc>& __y) { return __x._M_t == __y._M_t; } # 1060 "/usr/include/c++/7/bits/stl_multimap.h" 3 template inline bool operator<(const multimap<_Key, _Tp, _Compare, _Alloc>& __x, const multimap<_Key, _Tp, _Compare, _Alloc>& __y) { return __x._M_t < __y._M_t; } template inline bool operator!=(const multimap<_Key, _Tp, _Compare, _Alloc>& __x, const multimap<_Key, _Tp, _Compare, _Alloc>& __y) { return !(__x == __y); } template inline bool operator>(const multimap<_Key, _Tp, _Compare, _Alloc>& __x, const multimap<_Key, _Tp, _Compare, _Alloc>& __y) { return __y < __x; } template inline bool operator<=(const multimap<_Key, _Tp, _Compare, _Alloc>& __x, const multimap<_Key, _Tp, _Compare, _Alloc>& __y) { return !(__y < __x); } template inline bool operator>=(const multimap<_Key, _Tp, _Compare, _Alloc>& __x, const multimap<_Key, _Tp, _Compare, _Alloc>& __y) { return !(__x < __y); } template inline void swap(multimap<_Key, _Tp, _Compare, _Alloc>& __x, multimap<_Key, _Tp, _Compare, _Alloc>& __y) noexcept(noexcept(__x.swap(__y))) { __x.swap(__y); } # 1127 "/usr/include/c++/7/bits/stl_multimap.h" 3 } # 63 "/usr/include/c++/7/map" 2 3 # 41 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h" 2 # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stdarg.h" 1 3 4 # 44 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h" 2 # 55 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h" # 1 "/usr/include/c++/7/iostream" 1 3 # 36 "/usr/include/c++/7/iostream" 3 # 37 "/usr/include/c++/7/iostream" 3 # 1 "/usr/include/c++/7/ostream" 1 3 # 36 "/usr/include/c++/7/ostream" 3 # 37 "/usr/include/c++/7/ostream" 3 # 1 "/usr/include/c++/7/ios" 1 3 # 36 "/usr/include/c++/7/ios" 3 # 37 "/usr/include/c++/7/ios" 3 # 1 "/usr/include/c++/7/bits/ios_base.h" 1 3 # 37 "/usr/include/c++/7/bits/ios_base.h" 3 # 38 "/usr/include/c++/7/bits/ios_base.h" 3 # 1 "/usr/include/c++/7/bits/locale_classes.h" 1 3 # 37 "/usr/include/c++/7/bits/locale_classes.h" 3 # 38 "/usr/include/c++/7/bits/locale_classes.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 62 "/usr/include/c++/7/bits/locale_classes.h" 3 class locale { public: typedef int category; class facet; class id; class _Impl; friend class facet; friend class _Impl; template friend bool has_facet(const locale&) throw(); template friend const _Facet& use_facet(const locale&); template friend struct __use_cache; # 98 "/usr/include/c++/7/bits/locale_classes.h" 3 static const category none = 0; static const category ctype = 1L << 0; static const category numeric = 1L << 1; static const category collate = 1L << 2; static const category time = 1L << 3; static const category monetary = 1L << 4; static const category messages = 1L << 5; static const category all = (ctype | numeric | collate | time | monetary | messages); # 117 "/usr/include/c++/7/bits/locale_classes.h" 3 locale() throw(); # 126 "/usr/include/c++/7/bits/locale_classes.h" 3 locale(const locale& __other) throw(); # 136 "/usr/include/c++/7/bits/locale_classes.h" 3 explicit locale(const char* __s); # 151 "/usr/include/c++/7/bits/locale_classes.h" 3 locale(const locale& __base, const char* __s, category __cat); # 162 "/usr/include/c++/7/bits/locale_classes.h" 3 explicit locale(const std::string& __s) : locale(__s.c_str()) { } # 177 "/usr/include/c++/7/bits/locale_classes.h" 3 locale(const locale& __base, const std::string& __s, category __cat) : locale(__base, __s.c_str(), __cat) { } # 192 "/usr/include/c++/7/bits/locale_classes.h" 3 locale(const locale& __base, const locale& __add, category __cat); # 205 "/usr/include/c++/7/bits/locale_classes.h" 3 template locale(const locale& __other, _Facet* __f); ~locale() throw(); # 219 "/usr/include/c++/7/bits/locale_classes.h" 3 const locale& operator=(const locale& __other) throw(); # 234 "/usr/include/c++/7/bits/locale_classes.h" 3 template locale combine(const locale& __other) const; __attribute ((__abi_tag__ ("cxx11"))) string name() const; # 254 "/usr/include/c++/7/bits/locale_classes.h" 3 bool operator==(const locale& __other) const throw(); bool operator!=(const locale& __other) const throw() { return !(this->operator==(__other)); } # 282 "/usr/include/c++/7/bits/locale_classes.h" 3 template bool operator()(const basic_string<_Char, _Traits, _Alloc>& __s1, const basic_string<_Char, _Traits, _Alloc>& __s2) const; # 298 "/usr/include/c++/7/bits/locale_classes.h" 3 static locale global(const locale& __loc); static const locale& classic(); private: _Impl* _M_impl; static _Impl* _S_classic; static _Impl* _S_global; static const char* const* const _S_categories; # 333 "/usr/include/c++/7/bits/locale_classes.h" 3 enum { _S_categories_size = 6 + 6 }; static __gthread_once_t _S_once; explicit locale(_Impl*) throw(); static void _S_initialize(); static void _S_initialize_once() throw(); static category _S_normalize_category(category); void _M_coalesce(const locale& __base, const locale& __add, category __cat); static const id* const _S_twinned_facets[]; }; # 371 "/usr/include/c++/7/bits/locale_classes.h" 3 class locale::facet { private: friend class locale; friend class locale::_Impl; mutable _Atomic_word _M_refcount; static __c_locale _S_c_locale; static const char _S_c_name[2]; static __gthread_once_t _S_once; static void _S_initialize_once(); protected: # 402 "/usr/include/c++/7/bits/locale_classes.h" 3 explicit facet(size_t __refs = 0) throw() : _M_refcount(__refs ? 1 : 0) { } virtual ~facet(); static void _S_create_c_locale(__c_locale& __cloc, const char* __s, __c_locale __old = 0); static __c_locale _S_clone_c_locale(__c_locale& __cloc) throw(); static void _S_destroy_c_locale(__c_locale& __cloc); static __c_locale _S_lc_ctype_c_locale(__c_locale __cloc, const char* __s); static __c_locale _S_get_c_locale(); __attribute__ ((__const__)) static const char* _S_get_c_name() throw(); # 438 "/usr/include/c++/7/bits/locale_classes.h" 3 facet(const facet&) = delete; facet& operator=(const facet&) = delete; private: void _M_add_reference() const throw() { __gnu_cxx::__atomic_add_dispatch(&_M_refcount, 1); } void _M_remove_reference() const throw() { ; if (__gnu_cxx::__exchange_and_add_dispatch(&_M_refcount, -1) == 1) { ; try { delete this; } catch(...) { } } } const facet* _M_sso_shim(const id*) const; const facet* _M_cow_shim(const id*) const; protected: class __shim; }; # 483 "/usr/include/c++/7/bits/locale_classes.h" 3 class locale::id { private: friend class locale; friend class locale::_Impl; template friend const _Facet& use_facet(const locale&); template friend bool has_facet(const locale&) throw(); mutable size_t _M_index; static _Atomic_word _S_refcount; void operator=(const id&); id(const id&); public: id() { } size_t _M_id() const throw(); }; class locale::_Impl { public: friend class locale; friend class locale::facet; template friend bool has_facet(const locale&) throw(); template friend const _Facet& use_facet(const locale&); template friend struct __use_cache; private: _Atomic_word _M_refcount; const facet** _M_facets; size_t _M_facets_size; const facet** _M_caches; char** _M_names; static const locale::id* const _S_id_ctype[]; static const locale::id* const _S_id_numeric[]; static const locale::id* const _S_id_collate[]; static const locale::id* const _S_id_time[]; static const locale::id* const _S_id_monetary[]; static const locale::id* const _S_id_messages[]; static const locale::id* const* const _S_facet_categories[]; void _M_add_reference() throw() { __gnu_cxx::__atomic_add_dispatch(&_M_refcount, 1); } void _M_remove_reference() throw() { ; if (__gnu_cxx::__exchange_and_add_dispatch(&_M_refcount, -1) == 1) { ; try { delete this; } catch(...) { } } } _Impl(const _Impl&, size_t); _Impl(const char*, size_t); _Impl(size_t) throw(); ~_Impl() throw(); _Impl(const _Impl&); void operator=(const _Impl&); bool _M_check_same_name() { bool __ret = true; if (_M_names[1]) for (size_t __i = 0; __ret && __i < _S_categories_size - 1; ++__i) __ret = __builtin_strcmp(_M_names[__i], _M_names[__i + 1]) == 0; return __ret; } void _M_replace_categories(const _Impl*, category); void _M_replace_category(const _Impl*, const locale::id* const*); void _M_replace_facet(const _Impl*, const locale::id*); void _M_install_facet(const locale::id*, const facet*); template void _M_init_facet(_Facet* __facet) { _M_install_facet(&_Facet::id, __facet); } template void _M_init_facet_unchecked(_Facet* __facet) { __facet->_M_add_reference(); _M_facets[_Facet::id._M_id()] = __facet; } void _M_install_cache(const facet*, size_t); void _M_init_extra(facet**); void _M_init_extra(void*, void*, const char*, const char*); }; # 641 "/usr/include/c++/7/bits/locale_classes.h" 3 template class __cxx11:: collate : public locale::facet { public: typedef _CharT char_type; typedef basic_string<_CharT> string_type; protected: __c_locale _M_c_locale_collate; public: static locale::id id; # 668 "/usr/include/c++/7/bits/locale_classes.h" 3 explicit collate(size_t __refs = 0) : facet(__refs), _M_c_locale_collate(_S_get_c_locale()) { } # 682 "/usr/include/c++/7/bits/locale_classes.h" 3 explicit collate(__c_locale __cloc, size_t __refs = 0) : facet(__refs), _M_c_locale_collate(_S_clone_c_locale(__cloc)) { } # 699 "/usr/include/c++/7/bits/locale_classes.h" 3 int compare(const _CharT* __lo1, const _CharT* __hi1, const _CharT* __lo2, const _CharT* __hi2) const { return this->do_compare(__lo1, __hi1, __lo2, __hi2); } # 718 "/usr/include/c++/7/bits/locale_classes.h" 3 string_type transform(const _CharT* __lo, const _CharT* __hi) const { return this->do_transform(__lo, __hi); } # 732 "/usr/include/c++/7/bits/locale_classes.h" 3 long hash(const _CharT* __lo, const _CharT* __hi) const { return this->do_hash(__lo, __hi); } int _M_compare(const _CharT*, const _CharT*) const throw(); size_t _M_transform(_CharT*, const _CharT*, size_t) const throw(); protected: virtual ~collate() { _S_destroy_c_locale(_M_c_locale_collate); } # 761 "/usr/include/c++/7/bits/locale_classes.h" 3 virtual int do_compare(const _CharT* __lo1, const _CharT* __hi1, const _CharT* __lo2, const _CharT* __hi2) const; # 775 "/usr/include/c++/7/bits/locale_classes.h" 3 virtual string_type do_transform(const _CharT* __lo, const _CharT* __hi) const; # 788 "/usr/include/c++/7/bits/locale_classes.h" 3 virtual long do_hash(const _CharT* __lo, const _CharT* __hi) const; }; template locale::id collate<_CharT>::id; template<> int collate::_M_compare(const char*, const char*) const throw(); template<> size_t collate::_M_transform(char*, const char*, size_t) const throw(); template<> int collate::_M_compare(const wchar_t*, const wchar_t*) const throw(); template<> size_t collate::_M_transform(wchar_t*, const wchar_t*, size_t) const throw(); template class __cxx11:: collate_byname : public collate<_CharT> { public: typedef _CharT char_type; typedef basic_string<_CharT> string_type; explicit collate_byname(const char* __s, size_t __refs = 0) : collate<_CharT>(__refs) { if (__builtin_strcmp(__s, "C") != 0 && __builtin_strcmp(__s, "POSIX") != 0) { this->_S_destroy_c_locale(this->_M_c_locale_collate); this->_S_create_c_locale(this->_M_c_locale_collate, __s); } } explicit collate_byname(const string& __s, size_t __refs = 0) : collate_byname(__s.c_str(), __refs) { } protected: virtual ~collate_byname() { } }; } # 1 "/usr/include/c++/7/bits/locale_classes.tcc" 1 3 # 37 "/usr/include/c++/7/bits/locale_classes.tcc" 3 # 38 "/usr/include/c++/7/bits/locale_classes.tcc" 3 namespace std __attribute__ ((__visibility__ ("default"))) { template locale:: locale(const locale& __other, _Facet* __f) { _M_impl = new _Impl(*__other._M_impl, 1); try { _M_impl->_M_install_facet(&_Facet::id, __f); } catch(...) { _M_impl->_M_remove_reference(); throw; } delete [] _M_impl->_M_names[0]; _M_impl->_M_names[0] = 0; } template locale locale:: combine(const locale& __other) const { _Impl* __tmp = new _Impl(*_M_impl, 1); try { __tmp->_M_replace_facet(__other._M_impl, &_Facet::id); } catch(...) { __tmp->_M_remove_reference(); throw; } return locale(__tmp); } template bool locale:: operator()(const basic_string<_CharT, _Traits, _Alloc>& __s1, const basic_string<_CharT, _Traits, _Alloc>& __s2) const { typedef std::collate<_CharT> __collate_type; const __collate_type& __collate = use_facet<__collate_type>(*this); return (__collate.compare(__s1.data(), __s1.data() + __s1.length(), __s2.data(), __s2.data() + __s2.length()) < 0); } # 102 "/usr/include/c++/7/bits/locale_classes.tcc" 3 template bool has_facet(const locale& __loc) throw() { const size_t __i = _Facet::id._M_id(); const locale::facet** __facets = __loc._M_impl->_M_facets; return (__i < __loc._M_impl->_M_facets_size && dynamic_cast(__facets[__i])); } # 130 "/usr/include/c++/7/bits/locale_classes.tcc" 3 template const _Facet& use_facet(const locale& __loc) { const size_t __i = _Facet::id._M_id(); const locale::facet** __facets = __loc._M_impl->_M_facets; if (__i >= __loc._M_impl->_M_facets_size || !__facets[__i]) __throw_bad_cast(); return dynamic_cast(*__facets[__i]); } template int collate<_CharT>::_M_compare(const _CharT*, const _CharT*) const throw () { return 0; } template size_t collate<_CharT>::_M_transform(_CharT*, const _CharT*, size_t) const throw () { return 0; } template int collate<_CharT>:: do_compare(const _CharT* __lo1, const _CharT* __hi1, const _CharT* __lo2, const _CharT* __hi2) const { const string_type __one(__lo1, __hi1); const string_type __two(__lo2, __hi2); const _CharT* __p = __one.c_str(); const _CharT* __pend = __one.data() + __one.length(); const _CharT* __q = __two.c_str(); const _CharT* __qend = __two.data() + __two.length(); for (;;) { const int __res = _M_compare(__p, __q); if (__res) return __res; __p += char_traits<_CharT>::length(__p); __q += char_traits<_CharT>::length(__q); if (__p == __pend && __q == __qend) return 0; else if (__p == __pend) return -1; else if (__q == __qend) return 1; __p++; __q++; } } template typename collate<_CharT>::string_type collate<_CharT>:: do_transform(const _CharT* __lo, const _CharT* __hi) const { string_type __ret; const string_type __str(__lo, __hi); const _CharT* __p = __str.c_str(); const _CharT* __pend = __str.data() + __str.length(); size_t __len = (__hi - __lo) * 2; _CharT* __c = new _CharT[__len]; try { for (;;) { size_t __res = _M_transform(__c, __p, __len); if (__res >= __len) { __len = __res + 1; delete [] __c, __c = 0; __c = new _CharT[__len]; __res = _M_transform(__c, __p, __len); } __ret.append(__c, __res); __p += char_traits<_CharT>::length(__p); if (__p == __pend) break; __p++; __ret.push_back(_CharT()); } } catch(...) { delete [] __c; throw; } delete [] __c; return __ret; } template long collate<_CharT>:: do_hash(const _CharT* __lo, const _CharT* __hi) const { unsigned long __val = 0; for (; __lo < __hi; ++__lo) __val = *__lo + ((__val << 7) | (__val >> (__gnu_cxx::__numeric_traits:: __digits - 7))); return static_cast(__val); } extern template class collate; extern template class collate_byname; extern template const collate& use_facet >(const locale&); extern template bool has_facet >(const locale&); extern template class collate; extern template class collate_byname; extern template const collate& use_facet >(const locale&); extern template bool has_facet >(const locale&); } # 852 "/usr/include/c++/7/bits/locale_classes.h" 2 3 # 42 "/usr/include/c++/7/bits/ios_base.h" 2 3 # 1 "/usr/include/c++/7/system_error" 1 3 # 32 "/usr/include/c++/7/system_error" 3 # 33 "/usr/include/c++/7/system_error" 3 # 1 "/usr/include/i386-linux-gnu/c++/7/bits/error_constants.h" 1 3 # 34 "/usr/include/i386-linux-gnu/c++/7/bits/error_constants.h" 3 # 1 "/usr/include/c++/7/cerrno" 1 3 # 39 "/usr/include/c++/7/cerrno" 3 # 40 "/usr/include/c++/7/cerrno" 3 # 1 "/usr/include/errno.h" 1 3 4 # 43 "/usr/include/c++/7/cerrno" 2 3 # 35 "/usr/include/i386-linux-gnu/c++/7/bits/error_constants.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { enum class errc { address_family_not_supported = 97, address_in_use = 98, address_not_available = 99, already_connected = 106, argument_list_too_long = 7, argument_out_of_domain = 33, bad_address = 14, bad_file_descriptor = 9, bad_message = 74, broken_pipe = 32, connection_aborted = 103, connection_already_in_progress = 114, connection_refused = 111, connection_reset = 104, cross_device_link = 18, destination_address_required = 89, device_or_resource_busy = 16, directory_not_empty = 39, executable_format_error = 8, file_exists = 17, file_too_large = 27, filename_too_long = 36, function_not_supported = 38, host_unreachable = 113, identifier_removed = 43, illegal_byte_sequence = 84, inappropriate_io_control_operation = 25, interrupted = 4, invalid_argument = 22, invalid_seek = 29, io_error = 5, is_a_directory = 21, message_size = 90, network_down = 100, network_reset = 102, network_unreachable = 101, no_buffer_space = 105, no_child_process = 10, no_link = 67, no_lock_available = 37, no_message_available = 61, no_message = 42, no_protocol_option = 92, no_space_on_device = 28, no_stream_resources = 63, no_such_device_or_address = 6, no_such_device = 19, no_such_file_or_directory = 2, no_such_process = 3, not_a_directory = 20, not_a_socket = 88, not_a_stream = 60, not_connected = 107, not_enough_memory = 12, not_supported = 95, operation_canceled = 125, operation_in_progress = 115, operation_not_permitted = 1, operation_not_supported = 95, operation_would_block = 11, owner_dead = 130, permission_denied = 13, protocol_error = 71, protocol_not_supported = 93, read_only_file_system = 30, resource_deadlock_would_occur = 35, resource_unavailable_try_again = 11, result_out_of_range = 34, state_not_recoverable = 131, stream_timeout = 62, text_file_busy = 26, timed_out = 110, too_many_files_open_in_system = 23, too_many_files_open = 24, too_many_links = 31, too_many_symbolic_link_levels = 40, value_too_large = 75, wrong_protocol_type = 91 }; } # 40 "/usr/include/c++/7/system_error" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { class error_code; class error_condition; class system_error; template struct is_error_code_enum : public false_type { }; template struct is_error_condition_enum : public false_type { }; template<> struct is_error_condition_enum : public true_type { }; # 71 "/usr/include/c++/7/system_error" 3 inline namespace _V2 { class error_category { public: constexpr error_category() noexcept = default; virtual ~error_category(); error_category(const error_category&) = delete; error_category& operator=(const error_category&) = delete; virtual const char* name() const noexcept = 0; private: __attribute ((__abi_tag__ ("cxx11"))) virtual __cow_string _M_message(int) const; public: __attribute ((__abi_tag__ ("cxx11"))) virtual string message(int) const = 0; # 110 "/usr/include/c++/7/system_error" 3 public: virtual error_condition default_error_condition(int __i) const noexcept; virtual bool equivalent(int __i, const error_condition& __cond) const noexcept; virtual bool equivalent(const error_code& __code, int __i) const noexcept; bool operator<(const error_category& __other) const noexcept { return less()(this, &__other); } bool operator==(const error_category& __other) const noexcept { return this == &__other; } bool operator!=(const error_category& __other) const noexcept { return this != &__other; } }; __attribute__ ((__const__)) const error_category& system_category() noexcept; __attribute__ ((__const__)) const error_category& generic_category() noexcept; } error_code make_error_code(errc) noexcept; template struct hash; struct error_code { error_code() noexcept : _M_value(0), _M_cat(&system_category()) { } error_code(int __v, const error_category& __cat) noexcept : _M_value(__v), _M_cat(&__cat) { } template::value>::type> error_code(_ErrorCodeEnum __e) noexcept { *this = make_error_code(__e); } void assign(int __v, const error_category& __cat) noexcept { _M_value = __v; _M_cat = &__cat; } void clear() noexcept { assign(0, system_category()); } template typename enable_if::value, error_code&>::type operator=(_ErrorCodeEnum __e) noexcept { return *this = make_error_code(__e); } int value() const noexcept { return _M_value; } const error_category& category() const noexcept { return *_M_cat; } error_condition default_error_condition() const noexcept; __attribute ((__abi_tag__ ("cxx11"))) string message() const { return category().message(value()); } explicit operator bool() const noexcept { return _M_value != 0; } private: friend class hash; int _M_value; const error_category* _M_cat; }; inline error_code make_error_code(errc __e) noexcept { return error_code(static_cast(__e), generic_category()); } inline bool operator<(const error_code& __lhs, const error_code& __rhs) noexcept { return (__lhs.category() < __rhs.category() || (__lhs.category() == __rhs.category() && __lhs.value() < __rhs.value())); } template basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __e) { return (__os << __e.category().name() << ':' << __e.value()); } error_condition make_error_condition(errc) noexcept; struct error_condition { error_condition() noexcept : _M_value(0), _M_cat(&generic_category()) { } error_condition(int __v, const error_category& __cat) noexcept : _M_value(__v), _M_cat(&__cat) { } template::value>::type> error_condition(_ErrorConditionEnum __e) noexcept { *this = make_error_condition(__e); } void assign(int __v, const error_category& __cat) noexcept { _M_value = __v; _M_cat = &__cat; } template typename enable_if::value, error_condition&>::type operator=(_ErrorConditionEnum __e) noexcept { return *this = make_error_condition(__e); } void clear() noexcept { assign(0, generic_category()); } int value() const noexcept { return _M_value; } const error_category& category() const noexcept { return *_M_cat; } __attribute ((__abi_tag__ ("cxx11"))) string message() const { return category().message(value()); } explicit operator bool() const noexcept { return _M_value != 0; } private: int _M_value; const error_category* _M_cat; }; inline error_condition make_error_condition(errc __e) noexcept { return error_condition(static_cast(__e), generic_category()); } inline bool operator<(const error_condition& __lhs, const error_condition& __rhs) noexcept { return (__lhs.category() < __rhs.category() || (__lhs.category() == __rhs.category() && __lhs.value() < __rhs.value())); } inline bool operator==(const error_code& __lhs, const error_code& __rhs) noexcept { return (__lhs.category() == __rhs.category() && __lhs.value() == __rhs.value()); } inline bool operator==(const error_code& __lhs, const error_condition& __rhs) noexcept { return (__lhs.category().equivalent(__lhs.value(), __rhs) || __rhs.category().equivalent(__lhs, __rhs.value())); } inline bool operator==(const error_condition& __lhs, const error_code& __rhs) noexcept { return (__rhs.category().equivalent(__rhs.value(), __lhs) || __lhs.category().equivalent(__rhs, __lhs.value())); } inline bool operator==(const error_condition& __lhs, const error_condition& __rhs) noexcept { return (__lhs.category() == __rhs.category() && __lhs.value() == __rhs.value()); } inline bool operator!=(const error_code& __lhs, const error_code& __rhs) noexcept { return !(__lhs == __rhs); } inline bool operator!=(const error_code& __lhs, const error_condition& __rhs) noexcept { return !(__lhs == __rhs); } inline bool operator!=(const error_condition& __lhs, const error_code& __rhs) noexcept { return !(__lhs == __rhs); } inline bool operator!=(const error_condition& __lhs, const error_condition& __rhs) noexcept { return !(__lhs == __rhs); } class system_error : public std::runtime_error { private: error_code _M_code; public: system_error(error_code __ec = error_code()) : runtime_error(__ec.message()), _M_code(__ec) { } system_error(error_code __ec, const string& __what) : runtime_error(__what + ": " + __ec.message()), _M_code(__ec) { } system_error(error_code __ec, const char* __what) : runtime_error(__what + (": " + __ec.message())), _M_code(__ec) { } system_error(int __v, const error_category& __ecat, const char* __what) : system_error(error_code(__v, __ecat), __what) { } system_error(int __v, const error_category& __ecat) : runtime_error(error_code(__v, __ecat).message()), _M_code(__v, __ecat) { } system_error(int __v, const error_category& __ecat, const string& __what) : runtime_error(__what + ": " + error_code(__v, __ecat).message()), _M_code(__v, __ecat) { } virtual ~system_error() noexcept; const error_code& code() const noexcept { return _M_code; } }; } namespace std __attribute__ ((__visibility__ ("default"))) { template<> struct hash : public __hash_base { size_t operator()(const error_code& __e) const noexcept { const size_t __tmp = std::_Hash_impl::hash(__e._M_value); return std::_Hash_impl::__hash_combine(__e._M_cat, __tmp); } }; # 414 "/usr/include/c++/7/system_error" 3 } # 47 "/usr/include/c++/7/bits/ios_base.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { enum _Ios_Fmtflags { _S_boolalpha = 1L << 0, _S_dec = 1L << 1, _S_fixed = 1L << 2, _S_hex = 1L << 3, _S_internal = 1L << 4, _S_left = 1L << 5, _S_oct = 1L << 6, _S_right = 1L << 7, _S_scientific = 1L << 8, _S_showbase = 1L << 9, _S_showpoint = 1L << 10, _S_showpos = 1L << 11, _S_skipws = 1L << 12, _S_unitbuf = 1L << 13, _S_uppercase = 1L << 14, _S_adjustfield = _S_left | _S_right | _S_internal, _S_basefield = _S_dec | _S_oct | _S_hex, _S_floatfield = _S_scientific | _S_fixed, _S_ios_fmtflags_end = 1L << 16, _S_ios_fmtflags_max = 0x7fffffff, _S_ios_fmtflags_min = ~0x7fffffff }; inline constexpr _Ios_Fmtflags operator&(_Ios_Fmtflags __a, _Ios_Fmtflags __b) { return _Ios_Fmtflags(static_cast(__a) & static_cast(__b)); } inline constexpr _Ios_Fmtflags operator|(_Ios_Fmtflags __a, _Ios_Fmtflags __b) { return _Ios_Fmtflags(static_cast(__a) | static_cast(__b)); } inline constexpr _Ios_Fmtflags operator^(_Ios_Fmtflags __a, _Ios_Fmtflags __b) { return _Ios_Fmtflags(static_cast(__a) ^ static_cast(__b)); } inline constexpr _Ios_Fmtflags operator~(_Ios_Fmtflags __a) { return _Ios_Fmtflags(~static_cast(__a)); } inline const _Ios_Fmtflags& operator|=(_Ios_Fmtflags& __a, _Ios_Fmtflags __b) { return __a = __a | __b; } inline const _Ios_Fmtflags& operator&=(_Ios_Fmtflags& __a, _Ios_Fmtflags __b) { return __a = __a & __b; } inline const _Ios_Fmtflags& operator^=(_Ios_Fmtflags& __a, _Ios_Fmtflags __b) { return __a = __a ^ __b; } enum _Ios_Openmode { _S_app = 1L << 0, _S_ate = 1L << 1, _S_bin = 1L << 2, _S_in = 1L << 3, _S_out = 1L << 4, _S_trunc = 1L << 5, _S_ios_openmode_end = 1L << 16, _S_ios_openmode_max = 0x7fffffff, _S_ios_openmode_min = ~0x7fffffff }; inline constexpr _Ios_Openmode operator&(_Ios_Openmode __a, _Ios_Openmode __b) { return _Ios_Openmode(static_cast(__a) & static_cast(__b)); } inline constexpr _Ios_Openmode operator|(_Ios_Openmode __a, _Ios_Openmode __b) { return _Ios_Openmode(static_cast(__a) | static_cast(__b)); } inline constexpr _Ios_Openmode operator^(_Ios_Openmode __a, _Ios_Openmode __b) { return _Ios_Openmode(static_cast(__a) ^ static_cast(__b)); } inline constexpr _Ios_Openmode operator~(_Ios_Openmode __a) { return _Ios_Openmode(~static_cast(__a)); } inline const _Ios_Openmode& operator|=(_Ios_Openmode& __a, _Ios_Openmode __b) { return __a = __a | __b; } inline const _Ios_Openmode& operator&=(_Ios_Openmode& __a, _Ios_Openmode __b) { return __a = __a & __b; } inline const _Ios_Openmode& operator^=(_Ios_Openmode& __a, _Ios_Openmode __b) { return __a = __a ^ __b; } enum _Ios_Iostate { _S_goodbit = 0, _S_badbit = 1L << 0, _S_eofbit = 1L << 1, _S_failbit = 1L << 2, _S_ios_iostate_end = 1L << 16, _S_ios_iostate_max = 0x7fffffff, _S_ios_iostate_min = ~0x7fffffff }; inline constexpr _Ios_Iostate operator&(_Ios_Iostate __a, _Ios_Iostate __b) { return _Ios_Iostate(static_cast(__a) & static_cast(__b)); } inline constexpr _Ios_Iostate operator|(_Ios_Iostate __a, _Ios_Iostate __b) { return _Ios_Iostate(static_cast(__a) | static_cast(__b)); } inline constexpr _Ios_Iostate operator^(_Ios_Iostate __a, _Ios_Iostate __b) { return _Ios_Iostate(static_cast(__a) ^ static_cast(__b)); } inline constexpr _Ios_Iostate operator~(_Ios_Iostate __a) { return _Ios_Iostate(~static_cast(__a)); } inline const _Ios_Iostate& operator|=(_Ios_Iostate& __a, _Ios_Iostate __b) { return __a = __a | __b; } inline const _Ios_Iostate& operator&=(_Ios_Iostate& __a, _Ios_Iostate __b) { return __a = __a & __b; } inline const _Ios_Iostate& operator^=(_Ios_Iostate& __a, _Ios_Iostate __b) { return __a = __a ^ __b; } enum _Ios_Seekdir { _S_beg = 0, _S_cur = 1, _S_end = 2, _S_ios_seekdir_end = 1L << 16 }; enum class io_errc { stream = 1 }; template <> struct is_error_code_enum : public true_type { }; const error_category& iostream_category() noexcept; inline error_code make_error_code(io_errc __e) noexcept { return error_code(static_cast(__e), iostream_category()); } inline error_condition make_error_condition(io_errc __e) noexcept { return error_condition(static_cast(__e), iostream_category()); } # 228 "/usr/include/c++/7/bits/ios_base.h" 3 class ios_base { # 246 "/usr/include/c++/7/bits/ios_base.h" 3 public: # 255 "/usr/include/c++/7/bits/ios_base.h" 3 class __attribute ((__abi_tag__ ("cxx11"))) failure : public system_error { public: explicit failure(const string& __str); explicit failure(const string&, const error_code&); explicit failure(const char*, const error_code& = io_errc::stream); virtual ~failure() throw(); virtual const char* what() const throw(); }; # 323 "/usr/include/c++/7/bits/ios_base.h" 3 typedef _Ios_Fmtflags fmtflags; static const fmtflags boolalpha = _S_boolalpha; static const fmtflags dec = _S_dec; static const fmtflags fixed = _S_fixed; static const fmtflags hex = _S_hex; static const fmtflags internal = _S_internal; static const fmtflags left = _S_left; static const fmtflags oct = _S_oct; static const fmtflags right = _S_right; static const fmtflags scientific = _S_scientific; static const fmtflags showbase = _S_showbase; static const fmtflags showpoint = _S_showpoint; static const fmtflags showpos = _S_showpos; static const fmtflags skipws = _S_skipws; static const fmtflags unitbuf = _S_unitbuf; static const fmtflags uppercase = _S_uppercase; static const fmtflags adjustfield = _S_adjustfield; static const fmtflags basefield = _S_basefield; static const fmtflags floatfield = _S_floatfield; # 398 "/usr/include/c++/7/bits/ios_base.h" 3 typedef _Ios_Iostate iostate; static const iostate badbit = _S_badbit; static const iostate eofbit = _S_eofbit; static const iostate failbit = _S_failbit; static const iostate goodbit = _S_goodbit; # 429 "/usr/include/c++/7/bits/ios_base.h" 3 typedef _Ios_Openmode openmode; static const openmode app = _S_app; static const openmode ate = _S_ate; static const openmode binary = _S_bin; static const openmode in = _S_in; static const openmode out = _S_out; static const openmode trunc = _S_trunc; # 461 "/usr/include/c++/7/bits/ios_base.h" 3 typedef _Ios_Seekdir seekdir; static const seekdir beg = _S_beg; static const seekdir cur = _S_cur; static const seekdir end = _S_end; typedef int io_state; typedef int open_mode; typedef int seek_dir; typedef std::streampos streampos; typedef std::streamoff streamoff; # 487 "/usr/include/c++/7/bits/ios_base.h" 3 enum event { erase_event, imbue_event, copyfmt_event }; # 504 "/usr/include/c++/7/bits/ios_base.h" 3 typedef void (*event_callback) (event __e, ios_base& __b, int __i); # 516 "/usr/include/c++/7/bits/ios_base.h" 3 void register_callback(event_callback __fn, int __index); protected: streamsize _M_precision; streamsize _M_width; fmtflags _M_flags; iostate _M_exception; iostate _M_streambuf_state; struct _Callback_list { _Callback_list* _M_next; ios_base::event_callback _M_fn; int _M_index; _Atomic_word _M_refcount; _Callback_list(ios_base::event_callback __fn, int __index, _Callback_list* __cb) : _M_next(__cb), _M_fn(__fn), _M_index(__index), _M_refcount(0) { } void _M_add_reference() { __gnu_cxx::__atomic_add_dispatch(&_M_refcount, 1); } int _M_remove_reference() { ; int __res = __gnu_cxx::__exchange_and_add_dispatch(&_M_refcount, -1); if (__res == 0) { ; } return __res; } }; _Callback_list* _M_callbacks; void _M_call_callbacks(event __ev) throw(); void _M_dispose_callbacks(void) throw(); struct _Words { void* _M_pword; long _M_iword; _Words() : _M_pword(0), _M_iword(0) { } }; _Words _M_word_zero; enum { _S_local_word_size = 8 }; _Words _M_local_word[_S_local_word_size]; int _M_word_size; _Words* _M_word; _Words& _M_grow_words(int __index, bool __iword); locale _M_ios_locale; void _M_init() throw(); public: class Init { friend class ios_base; public: Init(); ~Init(); private: static _Atomic_word _S_refcount; static bool _S_synced_with_stdio; }; fmtflags flags() const { return _M_flags; } # 629 "/usr/include/c++/7/bits/ios_base.h" 3 fmtflags flags(fmtflags __fmtfl) { fmtflags __old = _M_flags; _M_flags = __fmtfl; return __old; } # 645 "/usr/include/c++/7/bits/ios_base.h" 3 fmtflags setf(fmtflags __fmtfl) { fmtflags __old = _M_flags; _M_flags |= __fmtfl; return __old; } # 662 "/usr/include/c++/7/bits/ios_base.h" 3 fmtflags setf(fmtflags __fmtfl, fmtflags __mask) { fmtflags __old = _M_flags; _M_flags &= ~__mask; _M_flags |= (__fmtfl & __mask); return __old; } void unsetf(fmtflags __mask) { _M_flags &= ~__mask; } # 688 "/usr/include/c++/7/bits/ios_base.h" 3 streamsize precision() const { return _M_precision; } streamsize precision(streamsize __prec) { streamsize __old = _M_precision; _M_precision = __prec; return __old; } streamsize width() const { return _M_width; } streamsize width(streamsize __wide) { streamsize __old = _M_width; _M_width = __wide; return __old; } # 739 "/usr/include/c++/7/bits/ios_base.h" 3 static bool sync_with_stdio(bool __sync = true); # 751 "/usr/include/c++/7/bits/ios_base.h" 3 locale imbue(const locale& __loc) throw(); # 762 "/usr/include/c++/7/bits/ios_base.h" 3 locale getloc() const { return _M_ios_locale; } # 773 "/usr/include/c++/7/bits/ios_base.h" 3 const locale& _M_getloc() const { return _M_ios_locale; } # 792 "/usr/include/c++/7/bits/ios_base.h" 3 static int xalloc() throw(); # 808 "/usr/include/c++/7/bits/ios_base.h" 3 long& iword(int __ix) { _Words& __word = (__ix < _M_word_size) ? _M_word[__ix] : _M_grow_words(__ix, true); return __word._M_iword; } # 829 "/usr/include/c++/7/bits/ios_base.h" 3 void*& pword(int __ix) { _Words& __word = (__ix < _M_word_size) ? _M_word[__ix] : _M_grow_words(__ix, false); return __word._M_pword; } # 846 "/usr/include/c++/7/bits/ios_base.h" 3 virtual ~ios_base(); protected: ios_base() throw (); # 860 "/usr/include/c++/7/bits/ios_base.h" 3 public: ios_base(const ios_base&) = delete; ios_base& operator=(const ios_base&) = delete; protected: void _M_move(ios_base&) noexcept; void _M_swap(ios_base& __rhs) noexcept; }; inline ios_base& boolalpha(ios_base& __base) { __base.setf(ios_base::boolalpha); return __base; } inline ios_base& noboolalpha(ios_base& __base) { __base.unsetf(ios_base::boolalpha); return __base; } inline ios_base& showbase(ios_base& __base) { __base.setf(ios_base::showbase); return __base; } inline ios_base& noshowbase(ios_base& __base) { __base.unsetf(ios_base::showbase); return __base; } inline ios_base& showpoint(ios_base& __base) { __base.setf(ios_base::showpoint); return __base; } inline ios_base& noshowpoint(ios_base& __base) { __base.unsetf(ios_base::showpoint); return __base; } inline ios_base& showpos(ios_base& __base) { __base.setf(ios_base::showpos); return __base; } inline ios_base& noshowpos(ios_base& __base) { __base.unsetf(ios_base::showpos); return __base; } inline ios_base& skipws(ios_base& __base) { __base.setf(ios_base::skipws); return __base; } inline ios_base& noskipws(ios_base& __base) { __base.unsetf(ios_base::skipws); return __base; } inline ios_base& uppercase(ios_base& __base) { __base.setf(ios_base::uppercase); return __base; } inline ios_base& nouppercase(ios_base& __base) { __base.unsetf(ios_base::uppercase); return __base; } inline ios_base& unitbuf(ios_base& __base) { __base.setf(ios_base::unitbuf); return __base; } inline ios_base& nounitbuf(ios_base& __base) { __base.unsetf(ios_base::unitbuf); return __base; } inline ios_base& internal(ios_base& __base) { __base.setf(ios_base::internal, ios_base::adjustfield); return __base; } inline ios_base& left(ios_base& __base) { __base.setf(ios_base::left, ios_base::adjustfield); return __base; } inline ios_base& right(ios_base& __base) { __base.setf(ios_base::right, ios_base::adjustfield); return __base; } inline ios_base& dec(ios_base& __base) { __base.setf(ios_base::dec, ios_base::basefield); return __base; } inline ios_base& hex(ios_base& __base) { __base.setf(ios_base::hex, ios_base::basefield); return __base; } inline ios_base& oct(ios_base& __base) { __base.setf(ios_base::oct, ios_base::basefield); return __base; } inline ios_base& fixed(ios_base& __base) { __base.setf(ios_base::fixed, ios_base::floatfield); return __base; } inline ios_base& scientific(ios_base& __base) { __base.setf(ios_base::scientific, ios_base::floatfield); return __base; } inline ios_base& hexfloat(ios_base& __base) { __base.setf(ios_base::fixed | ios_base::scientific, ios_base::floatfield); return __base; } inline ios_base& defaultfloat(ios_base& __base) { __base.unsetf(ios_base::floatfield); return __base; } } # 43 "/usr/include/c++/7/ios" 2 3 # 1 "/usr/include/c++/7/streambuf" 1 3 # 36 "/usr/include/c++/7/streambuf" 3 # 37 "/usr/include/c++/7/streambuf" 3 # 45 "/usr/include/c++/7/streambuf" 3 namespace std __attribute__ ((__visibility__ ("default"))) { template streamsize __copy_streambufs_eof(basic_streambuf<_CharT, _Traits>*, basic_streambuf<_CharT, _Traits>*, bool&); # 119 "/usr/include/c++/7/streambuf" 3 template class basic_streambuf { public: typedef _CharT char_type; typedef _Traits traits_type; typedef typename traits_type::int_type int_type; typedef typename traits_type::pos_type pos_type; typedef typename traits_type::off_type off_type; typedef basic_streambuf __streambuf_type; friend class basic_ios; friend class basic_istream; friend class basic_ostream; friend class istreambuf_iterator; friend class ostreambuf_iterator; friend streamsize __copy_streambufs_eof<>(basic_streambuf*, basic_streambuf*, bool&); template friend typename __gnu_cxx::__enable_if<__is_char<_CharT2>::__value, _CharT2*>::__type __copy_move_a2(istreambuf_iterator<_CharT2>, istreambuf_iterator<_CharT2>, _CharT2*); template friend typename __gnu_cxx::__enable_if<__is_char<_CharT2>::__value, istreambuf_iterator<_CharT2> >::__type find(istreambuf_iterator<_CharT2>, istreambuf_iterator<_CharT2>, const _CharT2&); template friend basic_istream<_CharT2, _Traits2>& operator>>(basic_istream<_CharT2, _Traits2>&, _CharT2*); template friend basic_istream<_CharT2, _Traits2>& operator>>(basic_istream<_CharT2, _Traits2>&, basic_string<_CharT2, _Traits2, _Alloc>&); template friend basic_istream<_CharT2, _Traits2>& getline(basic_istream<_CharT2, _Traits2>&, basic_string<_CharT2, _Traits2, _Alloc>&, _CharT2); protected: char_type* _M_in_beg; char_type* _M_in_cur; char_type* _M_in_end; char_type* _M_out_beg; char_type* _M_out_cur; char_type* _M_out_end; locale _M_buf_locale; public: virtual ~basic_streambuf() { } # 208 "/usr/include/c++/7/streambuf" 3 locale pubimbue(const locale& __loc) { locale __tmp(this->getloc()); this->imbue(__loc); _M_buf_locale = __loc; return __tmp; } # 225 "/usr/include/c++/7/streambuf" 3 locale getloc() const { return _M_buf_locale; } # 238 "/usr/include/c++/7/streambuf" 3 basic_streambuf* pubsetbuf(char_type* __s, streamsize __n) { return this->setbuf(__s, __n); } # 250 "/usr/include/c++/7/streambuf" 3 pos_type pubseekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode __mode = ios_base::in | ios_base::out) { return this->seekoff(__off, __way, __mode); } # 262 "/usr/include/c++/7/streambuf" 3 pos_type pubseekpos(pos_type __sp, ios_base::openmode __mode = ios_base::in | ios_base::out) { return this->seekpos(__sp, __mode); } int pubsync() { return this->sync(); } # 283 "/usr/include/c++/7/streambuf" 3 streamsize in_avail() { const streamsize __ret = this->egptr() - this->gptr(); return __ret ? __ret : this->showmanyc(); } # 297 "/usr/include/c++/7/streambuf" 3 int_type snextc() { int_type __ret = traits_type::eof(); if (__builtin_expect(!traits_type::eq_int_type(this->sbumpc(), __ret), true)) __ret = this->sgetc(); return __ret; } # 315 "/usr/include/c++/7/streambuf" 3 int_type sbumpc() { int_type __ret; if (__builtin_expect(this->gptr() < this->egptr(), true)) { __ret = traits_type::to_int_type(*this->gptr()); this->gbump(1); } else __ret = this->uflow(); return __ret; } # 337 "/usr/include/c++/7/streambuf" 3 int_type sgetc() { int_type __ret; if (__builtin_expect(this->gptr() < this->egptr(), true)) __ret = traits_type::to_int_type(*this->gptr()); else __ret = this->underflow(); return __ret; } # 356 "/usr/include/c++/7/streambuf" 3 streamsize sgetn(char_type* __s, streamsize __n) { return this->xsgetn(__s, __n); } # 371 "/usr/include/c++/7/streambuf" 3 int_type sputbackc(char_type __c) { int_type __ret; const bool __testpos = this->eback() < this->gptr(); if (__builtin_expect(!__testpos || !traits_type::eq(__c, this->gptr()[-1]), false)) __ret = this->pbackfail(traits_type::to_int_type(__c)); else { this->gbump(-1); __ret = traits_type::to_int_type(*this->gptr()); } return __ret; } # 396 "/usr/include/c++/7/streambuf" 3 int_type sungetc() { int_type __ret; if (__builtin_expect(this->eback() < this->gptr(), true)) { this->gbump(-1); __ret = traits_type::to_int_type(*this->gptr()); } else __ret = this->pbackfail(); return __ret; } # 423 "/usr/include/c++/7/streambuf" 3 int_type sputc(char_type __c) { int_type __ret; if (__builtin_expect(this->pptr() < this->epptr(), true)) { *this->pptr() = __c; this->pbump(1); __ret = traits_type::to_int_type(__c); } else __ret = this->overflow(traits_type::to_int_type(__c)); return __ret; } # 449 "/usr/include/c++/7/streambuf" 3 streamsize sputn(const char_type* __s, streamsize __n) { return this->xsputn(__s, __n); } protected: # 463 "/usr/include/c++/7/streambuf" 3 basic_streambuf() : _M_in_beg(0), _M_in_cur(0), _M_in_end(0), _M_out_beg(0), _M_out_cur(0), _M_out_end(0), _M_buf_locale(locale()) { } # 481 "/usr/include/c++/7/streambuf" 3 char_type* eback() const { return _M_in_beg; } char_type* gptr() const { return _M_in_cur; } char_type* egptr() const { return _M_in_end; } # 497 "/usr/include/c++/7/streambuf" 3 void gbump(int __n) { _M_in_cur += __n; } # 508 "/usr/include/c++/7/streambuf" 3 void setg(char_type* __gbeg, char_type* __gnext, char_type* __gend) { _M_in_beg = __gbeg; _M_in_cur = __gnext; _M_in_end = __gend; } # 528 "/usr/include/c++/7/streambuf" 3 char_type* pbase() const { return _M_out_beg; } char_type* pptr() const { return _M_out_cur; } char_type* epptr() const { return _M_out_end; } # 544 "/usr/include/c++/7/streambuf" 3 void pbump(int __n) { _M_out_cur += __n; } # 554 "/usr/include/c++/7/streambuf" 3 void setp(char_type* __pbeg, char_type* __pend) { _M_out_beg = _M_out_cur = __pbeg; _M_out_end = __pend; } # 575 "/usr/include/c++/7/streambuf" 3 virtual void imbue(const locale& __loc) { } # 590 "/usr/include/c++/7/streambuf" 3 virtual basic_streambuf* setbuf(char_type*, streamsize) { return this; } # 601 "/usr/include/c++/7/streambuf" 3 virtual pos_type seekoff(off_type, ios_base::seekdir, ios_base::openmode = ios_base::in | ios_base::out) { return pos_type(off_type(-1)); } # 613 "/usr/include/c++/7/streambuf" 3 virtual pos_type seekpos(pos_type, ios_base::openmode = ios_base::in | ios_base::out) { return pos_type(off_type(-1)); } # 626 "/usr/include/c++/7/streambuf" 3 virtual int sync() { return 0; } # 648 "/usr/include/c++/7/streambuf" 3 virtual streamsize showmanyc() { return 0; } # 664 "/usr/include/c++/7/streambuf" 3 virtual streamsize xsgetn(char_type* __s, streamsize __n); # 686 "/usr/include/c++/7/streambuf" 3 virtual int_type underflow() { return traits_type::eof(); } # 699 "/usr/include/c++/7/streambuf" 3 virtual int_type uflow() { int_type __ret = traits_type::eof(); const bool __testeof = traits_type::eq_int_type(this->underflow(), __ret); if (!__testeof) { __ret = traits_type::to_int_type(*this->gptr()); this->gbump(1); } return __ret; } # 723 "/usr/include/c++/7/streambuf" 3 virtual int_type pbackfail(int_type __c = traits_type::eof()) { return traits_type::eof(); } # 741 "/usr/include/c++/7/streambuf" 3 virtual streamsize xsputn(const char_type* __s, streamsize __n); # 767 "/usr/include/c++/7/streambuf" 3 virtual int_type overflow(int_type __c = traits_type::eof()) { return traits_type::eof(); } public: # 782 "/usr/include/c++/7/streambuf" 3 void stossc() { if (this->gptr() < this->egptr()) this->gbump(1); else this->uflow(); } void __safe_gbump(streamsize __n) { _M_in_cur += __n; } void __safe_pbump(streamsize __n) { _M_out_cur += __n; } protected: basic_streambuf(const basic_streambuf&); basic_streambuf& operator=(const basic_streambuf&); void swap(basic_streambuf& __sb) { std::swap(_M_in_beg, __sb._M_in_beg); std::swap(_M_in_cur, __sb._M_in_cur); std::swap(_M_in_end, __sb._M_in_end); std::swap(_M_out_beg, __sb._M_out_beg); std::swap(_M_out_cur, __sb._M_out_cur); std::swap(_M_out_end, __sb._M_out_end); std::swap(_M_buf_locale, __sb._M_buf_locale); } }; template std::basic_streambuf<_CharT, _Traits>:: basic_streambuf(const basic_streambuf&) = default; template std::basic_streambuf<_CharT, _Traits>& std::basic_streambuf<_CharT, _Traits>:: operator=(const basic_streambuf&) = default; template<> streamsize __copy_streambufs_eof(basic_streambuf* __sbin, basic_streambuf* __sbout, bool& __ineof); template<> streamsize __copy_streambufs_eof(basic_streambuf* __sbin, basic_streambuf* __sbout, bool& __ineof); } # 1 "/usr/include/c++/7/bits/streambuf.tcc" 1 3 # 37 "/usr/include/c++/7/bits/streambuf.tcc" 3 # 38 "/usr/include/c++/7/bits/streambuf.tcc" 3 namespace std __attribute__ ((__visibility__ ("default"))) { template streamsize basic_streambuf<_CharT, _Traits>:: xsgetn(char_type* __s, streamsize __n) { streamsize __ret = 0; while (__ret < __n) { const streamsize __buf_len = this->egptr() - this->gptr(); if (__buf_len) { const streamsize __remaining = __n - __ret; const streamsize __len = std::min(__buf_len, __remaining); traits_type::copy(__s, this->gptr(), __len); __ret += __len; __s += __len; this->__safe_gbump(__len); } if (__ret < __n) { const int_type __c = this->uflow(); if (!traits_type::eq_int_type(__c, traits_type::eof())) { traits_type::assign(*__s++, traits_type::to_char_type(__c)); ++__ret; } else break; } } return __ret; } template streamsize basic_streambuf<_CharT, _Traits>:: xsputn(const char_type* __s, streamsize __n) { streamsize __ret = 0; while (__ret < __n) { const streamsize __buf_len = this->epptr() - this->pptr(); if (__buf_len) { const streamsize __remaining = __n - __ret; const streamsize __len = std::min(__buf_len, __remaining); traits_type::copy(this->pptr(), __s, __len); __ret += __len; __s += __len; this->__safe_pbump(__len); } if (__ret < __n) { int_type __c = this->overflow(traits_type::to_int_type(*__s)); if (!traits_type::eq_int_type(__c, traits_type::eof())) { ++__ret; ++__s; } else break; } } return __ret; } template streamsize __copy_streambufs_eof(basic_streambuf<_CharT, _Traits>* __sbin, basic_streambuf<_CharT, _Traits>* __sbout, bool& __ineof) { streamsize __ret = 0; __ineof = true; typename _Traits::int_type __c = __sbin->sgetc(); while (!_Traits::eq_int_type(__c, _Traits::eof())) { __c = __sbout->sputc(_Traits::to_char_type(__c)); if (_Traits::eq_int_type(__c, _Traits::eof())) { __ineof = false; break; } ++__ret; __c = __sbin->snextc(); } return __ret; } template inline streamsize __copy_streambufs(basic_streambuf<_CharT, _Traits>* __sbin, basic_streambuf<_CharT, _Traits>* __sbout) { bool __ineof; return __copy_streambufs_eof(__sbin, __sbout, __ineof); } extern template class basic_streambuf; extern template streamsize __copy_streambufs(basic_streambuf*, basic_streambuf*); extern template streamsize __copy_streambufs_eof(basic_streambuf*, basic_streambuf*, bool&); extern template class basic_streambuf; extern template streamsize __copy_streambufs(basic_streambuf*, basic_streambuf*); extern template streamsize __copy_streambufs_eof(basic_streambuf*, basic_streambuf*, bool&); } # 851 "/usr/include/c++/7/streambuf" 2 3 # 44 "/usr/include/c++/7/ios" 2 3 # 1 "/usr/include/c++/7/bits/basic_ios.h" 1 3 # 33 "/usr/include/c++/7/bits/basic_ios.h" 3 # 34 "/usr/include/c++/7/bits/basic_ios.h" 3 # 1 "/usr/include/c++/7/bits/locale_facets.h" 1 3 # 37 "/usr/include/c++/7/bits/locale_facets.h" 3 # 38 "/usr/include/c++/7/bits/locale_facets.h" 3 # 1 "/usr/include/c++/7/cwctype" 1 3 # 39 "/usr/include/c++/7/cwctype" 3 # 40 "/usr/include/c++/7/cwctype" 3 # 50 "/usr/include/c++/7/cwctype" 3 # 1 "/usr/include/wctype.h" 1 3 4 # 33 "/usr/include/wctype.h" 3 4 # 1 "/usr/include/wchar.h" 1 3 4 # 34 "/usr/include/wctype.h" 2 3 4 # 49 "/usr/include/wctype.h" 3 4 typedef unsigned long int wctype_t; # 71 "/usr/include/wctype.h" 3 4 enum { __ISwupper = 0, __ISwlower = 1, __ISwalpha = 2, __ISwdigit = 3, __ISwxdigit = 4, __ISwspace = 5, __ISwprint = 6, __ISwgraph = 7, __ISwblank = 8, __ISwcntrl = 9, __ISwpunct = 10, __ISwalnum = 11, _ISwupper = ((__ISwupper) < 8 ? (int) ((1UL << (__ISwupper)) << 24) : ((__ISwupper) < 16 ? (int) ((1UL << (__ISwupper)) << 8) : ((__ISwupper) < 24 ? (int) ((1UL << (__ISwupper)) >> 8) : (int) ((1UL << (__ISwupper)) >> 24)))), _ISwlower = ((__ISwlower) < 8 ? (int) ((1UL << (__ISwlower)) << 24) : ((__ISwlower) < 16 ? (int) ((1UL << (__ISwlower)) << 8) : ((__ISwlower) < 24 ? (int) ((1UL << (__ISwlower)) >> 8) : (int) ((1UL << (__ISwlower)) >> 24)))), _ISwalpha = ((__ISwalpha) < 8 ? (int) ((1UL << (__ISwalpha)) << 24) : ((__ISwalpha) < 16 ? (int) ((1UL << (__ISwalpha)) << 8) : ((__ISwalpha) < 24 ? (int) ((1UL << (__ISwalpha)) >> 8) : (int) ((1UL << (__ISwalpha)) >> 24)))), _ISwdigit = ((__ISwdigit) < 8 ? (int) ((1UL << (__ISwdigit)) << 24) : ((__ISwdigit) < 16 ? (int) ((1UL << (__ISwdigit)) << 8) : ((__ISwdigit) < 24 ? (int) ((1UL << (__ISwdigit)) >> 8) : (int) ((1UL << (__ISwdigit)) >> 24)))), _ISwxdigit = ((__ISwxdigit) < 8 ? (int) ((1UL << (__ISwxdigit)) << 24) : ((__ISwxdigit) < 16 ? (int) ((1UL << (__ISwxdigit)) << 8) : ((__ISwxdigit) < 24 ? (int) ((1UL << (__ISwxdigit)) >> 8) : (int) ((1UL << (__ISwxdigit)) >> 24)))), _ISwspace = ((__ISwspace) < 8 ? (int) ((1UL << (__ISwspace)) << 24) : ((__ISwspace) < 16 ? (int) ((1UL << (__ISwspace)) << 8) : ((__ISwspace) < 24 ? (int) ((1UL << (__ISwspace)) >> 8) : (int) ((1UL << (__ISwspace)) >> 24)))), _ISwprint = ((__ISwprint) < 8 ? (int) ((1UL << (__ISwprint)) << 24) : ((__ISwprint) < 16 ? (int) ((1UL << (__ISwprint)) << 8) : ((__ISwprint) < 24 ? (int) ((1UL << (__ISwprint)) >> 8) : (int) ((1UL << (__ISwprint)) >> 24)))), _ISwgraph = ((__ISwgraph) < 8 ? (int) ((1UL << (__ISwgraph)) << 24) : ((__ISwgraph) < 16 ? (int) ((1UL << (__ISwgraph)) << 8) : ((__ISwgraph) < 24 ? (int) ((1UL << (__ISwgraph)) >> 8) : (int) ((1UL << (__ISwgraph)) >> 24)))), _ISwblank = ((__ISwblank) < 8 ? (int) ((1UL << (__ISwblank)) << 24) : ((__ISwblank) < 16 ? (int) ((1UL << (__ISwblank)) << 8) : ((__ISwblank) < 24 ? (int) ((1UL << (__ISwblank)) >> 8) : (int) ((1UL << (__ISwblank)) >> 24)))), _ISwcntrl = ((__ISwcntrl) < 8 ? (int) ((1UL << (__ISwcntrl)) << 24) : ((__ISwcntrl) < 16 ? (int) ((1UL << (__ISwcntrl)) << 8) : ((__ISwcntrl) < 24 ? (int) ((1UL << (__ISwcntrl)) >> 8) : (int) ((1UL << (__ISwcntrl)) >> 24)))), _ISwpunct = ((__ISwpunct) < 8 ? (int) ((1UL << (__ISwpunct)) << 24) : ((__ISwpunct) < 16 ? (int) ((1UL << (__ISwpunct)) << 8) : ((__ISwpunct) < 24 ? (int) ((1UL << (__ISwpunct)) >> 8) : (int) ((1UL << (__ISwpunct)) >> 24)))), _ISwalnum = ((__ISwalnum) < 8 ? (int) ((1UL << (__ISwalnum)) << 24) : ((__ISwalnum) < 16 ? (int) ((1UL << (__ISwalnum)) << 8) : ((__ISwalnum) < 24 ? (int) ((1UL << (__ISwalnum)) >> 8) : (int) ((1UL << (__ISwalnum)) >> 24)))) }; extern "C" { extern int iswalnum (wint_t __wc) throw (); extern int iswalpha (wint_t __wc) throw (); extern int iswcntrl (wint_t __wc) throw (); extern int iswdigit (wint_t __wc) throw (); extern int iswgraph (wint_t __wc) throw (); extern int iswlower (wint_t __wc) throw (); extern int iswprint (wint_t __wc) throw (); extern int iswpunct (wint_t __wc) throw (); extern int iswspace (wint_t __wc) throw (); extern int iswupper (wint_t __wc) throw (); extern int iswxdigit (wint_t __wc) throw (); extern int iswblank (wint_t __wc) throw (); # 171 "/usr/include/wctype.h" 3 4 extern wctype_t wctype (const char *__property) throw (); extern int iswctype (wint_t __wc, wctype_t __desc) throw (); typedef const __int32_t *wctrans_t; extern wint_t towlower (wint_t __wc) throw (); extern wint_t towupper (wint_t __wc) throw (); } # 213 "/usr/include/wctype.h" 3 4 extern "C" { extern wctrans_t wctrans (const char *__property) throw (); extern wint_t towctrans (wint_t __wc, wctrans_t __desc) throw (); extern int iswalnum_l (wint_t __wc, __locale_t __locale) throw (); extern int iswalpha_l (wint_t __wc, __locale_t __locale) throw (); extern int iswcntrl_l (wint_t __wc, __locale_t __locale) throw (); extern int iswdigit_l (wint_t __wc, __locale_t __locale) throw (); extern int iswgraph_l (wint_t __wc, __locale_t __locale) throw (); extern int iswlower_l (wint_t __wc, __locale_t __locale) throw (); extern int iswprint_l (wint_t __wc, __locale_t __locale) throw (); extern int iswpunct_l (wint_t __wc, __locale_t __locale) throw (); extern int iswspace_l (wint_t __wc, __locale_t __locale) throw (); extern int iswupper_l (wint_t __wc, __locale_t __locale) throw (); extern int iswxdigit_l (wint_t __wc, __locale_t __locale) throw (); extern int iswblank_l (wint_t __wc, __locale_t __locale) throw (); extern wctype_t wctype_l (const char *__property, __locale_t __locale) throw (); extern int iswctype_l (wint_t __wc, wctype_t __desc, __locale_t __locale) throw (); extern wint_t towlower_l (wint_t __wc, __locale_t __locale) throw (); extern wint_t towupper_l (wint_t __wc, __locale_t __locale) throw (); extern wctrans_t wctrans_l (const char *__property, __locale_t __locale) throw (); extern wint_t towctrans_l (wint_t __wc, wctrans_t __desc, __locale_t __locale) throw (); } # 51 "/usr/include/c++/7/cwctype" 2 3 # 80 "/usr/include/c++/7/cwctype" 3 namespace std { using ::wctrans_t; using ::wctype_t; using ::wint_t; using ::iswalnum; using ::iswalpha; using ::iswblank; using ::iswcntrl; using ::iswctype; using ::iswdigit; using ::iswgraph; using ::iswlower; using ::iswprint; using ::iswpunct; using ::iswspace; using ::iswupper; using ::iswxdigit; using ::towctrans; using ::towlower; using ::towupper; using ::wctrans; using ::wctype; } # 40 "/usr/include/c++/7/bits/locale_facets.h" 2 3 # 1 "/usr/include/c++/7/cctype" 1 3 # 39 "/usr/include/c++/7/cctype" 3 # 40 "/usr/include/c++/7/cctype" 3 # 41 "/usr/include/c++/7/bits/locale_facets.h" 2 3 # 1 "/usr/include/i386-linux-gnu/c++/7/bits/ctype_base.h" 1 3 # 36 "/usr/include/i386-linux-gnu/c++/7/bits/ctype_base.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { struct ctype_base { typedef const int* __to_type; typedef unsigned short mask; static const mask upper = _ISupper; static const mask lower = _ISlower; static const mask alpha = _ISalpha; static const mask digit = _ISdigit; static const mask xdigit = _ISxdigit; static const mask space = _ISspace; static const mask print = _ISprint; static const mask graph = _ISalpha | _ISdigit | _ISpunct; static const mask cntrl = _IScntrl; static const mask punct = _ISpunct; static const mask alnum = _ISalpha | _ISdigit; static const mask blank = _ISblank; }; } # 42 "/usr/include/c++/7/bits/locale_facets.h" 2 3 # 1 "/usr/include/c++/7/bits/streambuf_iterator.h" 1 3 # 33 "/usr/include/c++/7/bits/streambuf_iterator.h" 3 # 34 "/usr/include/c++/7/bits/streambuf_iterator.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 49 "/usr/include/c++/7/bits/streambuf_iterator.h" 3 template class istreambuf_iterator : public iterator { public: typedef _CharT char_type; typedef _Traits traits_type; typedef typename _Traits::int_type int_type; typedef basic_streambuf<_CharT, _Traits> streambuf_type; typedef basic_istream<_CharT, _Traits> istream_type; template friend typename __gnu_cxx::__enable_if<__is_char<_CharT2>::__value, ostreambuf_iterator<_CharT2> >::__type copy(istreambuf_iterator<_CharT2>, istreambuf_iterator<_CharT2>, ostreambuf_iterator<_CharT2>); template friend typename __gnu_cxx::__enable_if<__is_char<_CharT2>::__value, _CharT2*>::__type __copy_move_a2(istreambuf_iterator<_CharT2>, istreambuf_iterator<_CharT2>, _CharT2*); template friend typename __gnu_cxx::__enable_if<__is_char<_CharT2>::__value, istreambuf_iterator<_CharT2> >::__type find(istreambuf_iterator<_CharT2>, istreambuf_iterator<_CharT2>, const _CharT2&); private: mutable streambuf_type* _M_sbuf; mutable int_type _M_c; public: constexpr istreambuf_iterator() noexcept : _M_sbuf(0), _M_c(traits_type::eof()) { } istreambuf_iterator(const istreambuf_iterator&) noexcept = default; ~istreambuf_iterator() = default; istreambuf_iterator(istream_type& __s) noexcept : _M_sbuf(__s.rdbuf()), _M_c(traits_type::eof()) { } istreambuf_iterator(streambuf_type* __s) noexcept : _M_sbuf(__s), _M_c(traits_type::eof()) { } char_type operator*() const { return traits_type::to_char_type(_M_get()); } istreambuf_iterator& operator++() { ; if (_M_sbuf) { _M_sbuf->sbumpc(); _M_c = traits_type::eof(); } return *this; } istreambuf_iterator operator++(int) { ; istreambuf_iterator __old = *this; if (_M_sbuf) { __old._M_c = _M_sbuf->sbumpc(); _M_c = traits_type::eof(); } return __old; } bool equal(const istreambuf_iterator& __b) const { return _M_at_eof() == __b._M_at_eof(); } private: int_type _M_get() const { const int_type __eof = traits_type::eof(); int_type __ret = __eof; if (_M_sbuf) { if (!traits_type::eq_int_type(_M_c, __eof)) __ret = _M_c; else if (!traits_type::eq_int_type((__ret = _M_sbuf->sgetc()), __eof)) _M_c = __ret; else _M_sbuf = 0; } return __ret; } bool _M_at_eof() const { const int_type __eof = traits_type::eof(); return traits_type::eq_int_type(_M_get(), __eof); } }; template inline bool operator==(const istreambuf_iterator<_CharT, _Traits>& __a, const istreambuf_iterator<_CharT, _Traits>& __b) { return __a.equal(__b); } template inline bool operator!=(const istreambuf_iterator<_CharT, _Traits>& __a, const istreambuf_iterator<_CharT, _Traits>& __b) { return !__a.equal(__b); } template class ostreambuf_iterator : public iterator { public: typedef _CharT char_type; typedef _Traits traits_type; typedef basic_streambuf<_CharT, _Traits> streambuf_type; typedef basic_ostream<_CharT, _Traits> ostream_type; template friend typename __gnu_cxx::__enable_if<__is_char<_CharT2>::__value, ostreambuf_iterator<_CharT2> >::__type copy(istreambuf_iterator<_CharT2>, istreambuf_iterator<_CharT2>, ostreambuf_iterator<_CharT2>); private: streambuf_type* _M_sbuf; bool _M_failed; public: ostreambuf_iterator(ostream_type& __s) noexcept : _M_sbuf(__s.rdbuf()), _M_failed(!_M_sbuf) { } ostreambuf_iterator(streambuf_type* __s) noexcept : _M_sbuf(__s), _M_failed(!_M_sbuf) { } ostreambuf_iterator& operator=(_CharT __c) { if (!_M_failed && _Traits::eq_int_type(_M_sbuf->sputc(__c), _Traits::eof())) _M_failed = true; return *this; } ostreambuf_iterator& operator*() { return *this; } ostreambuf_iterator& operator++(int) { return *this; } ostreambuf_iterator& operator++() { return *this; } bool failed() const noexcept { return _M_failed; } ostreambuf_iterator& _M_put(const _CharT* __ws, streamsize __len) { if (__builtin_expect(!_M_failed, true) && __builtin_expect(this->_M_sbuf->sputn(__ws, __len) != __len, false)) _M_failed = true; return *this; } }; template typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value, ostreambuf_iterator<_CharT> >::__type copy(istreambuf_iterator<_CharT> __first, istreambuf_iterator<_CharT> __last, ostreambuf_iterator<_CharT> __result) { if (__first._M_sbuf && !__last._M_sbuf && !__result._M_failed) { bool __ineof; __copy_streambufs_eof(__first._M_sbuf, __result._M_sbuf, __ineof); if (!__ineof) __result._M_failed = true; } return __result; } template typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value, ostreambuf_iterator<_CharT> >::__type __copy_move_a2(_CharT* __first, _CharT* __last, ostreambuf_iterator<_CharT> __result) { const streamsize __num = __last - __first; if (__num > 0) __result._M_put(__first, __num); return __result; } template typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value, ostreambuf_iterator<_CharT> >::__type __copy_move_a2(const _CharT* __first, const _CharT* __last, ostreambuf_iterator<_CharT> __result) { const streamsize __num = __last - __first; if (__num > 0) __result._M_put(__first, __num); return __result; } template typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value, _CharT*>::__type __copy_move_a2(istreambuf_iterator<_CharT> __first, istreambuf_iterator<_CharT> __last, _CharT* __result) { typedef istreambuf_iterator<_CharT> __is_iterator_type; typedef typename __is_iterator_type::traits_type traits_type; typedef typename __is_iterator_type::streambuf_type streambuf_type; typedef typename traits_type::int_type int_type; if (__first._M_sbuf && !__last._M_sbuf) { streambuf_type* __sb = __first._M_sbuf; int_type __c = __sb->sgetc(); while (!traits_type::eq_int_type(__c, traits_type::eof())) { const streamsize __n = __sb->egptr() - __sb->gptr(); if (__n > 1) { traits_type::copy(__result, __sb->gptr(), __n); __sb->__safe_gbump(__n); __result += __n; __c = __sb->underflow(); } else { *__result++ = traits_type::to_char_type(__c); __c = __sb->snextc(); } } } return __result; } template typename __gnu_cxx::__enable_if<__is_char<_CharT>::__value, istreambuf_iterator<_CharT> >::__type find(istreambuf_iterator<_CharT> __first, istreambuf_iterator<_CharT> __last, const _CharT& __val) { typedef istreambuf_iterator<_CharT> __is_iterator_type; typedef typename __is_iterator_type::traits_type traits_type; typedef typename __is_iterator_type::streambuf_type streambuf_type; typedef typename traits_type::int_type int_type; if (__first._M_sbuf && !__last._M_sbuf) { const int_type __ival = traits_type::to_int_type(__val); streambuf_type* __sb = __first._M_sbuf; int_type __c = __sb->sgetc(); while (!traits_type::eq_int_type(__c, traits_type::eof()) && !traits_type::eq_int_type(__c, __ival)) { streamsize __n = __sb->egptr() - __sb->gptr(); if (__n > 1) { const _CharT* __p = traits_type::find(__sb->gptr(), __n, __val); if (__p) __n = __p - __sb->gptr(); __sb->__safe_gbump(__n); __c = __sb->sgetc(); } else __c = __sb->snextc(); } if (!traits_type::eq_int_type(__c, traits_type::eof())) __first._M_c = __c; else __first._M_sbuf = 0; } return __first; } } # 49 "/usr/include/c++/7/bits/locale_facets.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 71 "/usr/include/c++/7/bits/locale_facets.h" 3 template void __convert_to_v(const char*, _Tp&, ios_base::iostate&, const __c_locale&) throw(); template<> void __convert_to_v(const char*, float&, ios_base::iostate&, const __c_locale&) throw(); template<> void __convert_to_v(const char*, double&, ios_base::iostate&, const __c_locale&) throw(); template<> void __convert_to_v(const char*, long double&, ios_base::iostate&, const __c_locale&) throw(); template struct __pad { static void _S_pad(ios_base& __io, _CharT __fill, _CharT* __news, const _CharT* __olds, streamsize __newlen, streamsize __oldlen); }; template _CharT* __add_grouping(_CharT* __s, _CharT __sep, const char* __gbeg, size_t __gsize, const _CharT* __first, const _CharT* __last); template inline ostreambuf_iterator<_CharT> __write(ostreambuf_iterator<_CharT> __s, const _CharT* __ws, int __len) { __s._M_put(__ws, __len); return __s; } template inline _OutIter __write(_OutIter __s, const _CharT* __ws, int __len) { for (int __j = 0; __j < __len; __j++, ++__s) *__s = __ws[__j]; return __s; } # 149 "/usr/include/c++/7/bits/locale_facets.h" 3 template class __ctype_abstract_base : public locale::facet, public ctype_base { public: typedef _CharT char_type; # 168 "/usr/include/c++/7/bits/locale_facets.h" 3 bool is(mask __m, char_type __c) const { return this->do_is(__m, __c); } # 185 "/usr/include/c++/7/bits/locale_facets.h" 3 const char_type* is(const char_type *__lo, const char_type *__hi, mask *__vec) const { return this->do_is(__lo, __hi, __vec); } # 201 "/usr/include/c++/7/bits/locale_facets.h" 3 const char_type* scan_is(mask __m, const char_type* __lo, const char_type* __hi) const { return this->do_scan_is(__m, __lo, __hi); } # 217 "/usr/include/c++/7/bits/locale_facets.h" 3 const char_type* scan_not(mask __m, const char_type* __lo, const char_type* __hi) const { return this->do_scan_not(__m, __lo, __hi); } # 231 "/usr/include/c++/7/bits/locale_facets.h" 3 char_type toupper(char_type __c) const { return this->do_toupper(__c); } # 246 "/usr/include/c++/7/bits/locale_facets.h" 3 const char_type* toupper(char_type *__lo, const char_type* __hi) const { return this->do_toupper(__lo, __hi); } # 260 "/usr/include/c++/7/bits/locale_facets.h" 3 char_type tolower(char_type __c) const { return this->do_tolower(__c); } # 275 "/usr/include/c++/7/bits/locale_facets.h" 3 const char_type* tolower(char_type* __lo, const char_type* __hi) const { return this->do_tolower(__lo, __hi); } # 292 "/usr/include/c++/7/bits/locale_facets.h" 3 char_type widen(char __c) const { return this->do_widen(__c); } # 311 "/usr/include/c++/7/bits/locale_facets.h" 3 const char* widen(const char* __lo, const char* __hi, char_type* __to) const { return this->do_widen(__lo, __hi, __to); } # 330 "/usr/include/c++/7/bits/locale_facets.h" 3 char narrow(char_type __c, char __dfault) const { return this->do_narrow(__c, __dfault); } # 352 "/usr/include/c++/7/bits/locale_facets.h" 3 const char_type* narrow(const char_type* __lo, const char_type* __hi, char __dfault, char* __to) const { return this->do_narrow(__lo, __hi, __dfault, __to); } protected: explicit __ctype_abstract_base(size_t __refs = 0): facet(__refs) { } virtual ~__ctype_abstract_base() { } # 377 "/usr/include/c++/7/bits/locale_facets.h" 3 virtual bool do_is(mask __m, char_type __c) const = 0; # 396 "/usr/include/c++/7/bits/locale_facets.h" 3 virtual const char_type* do_is(const char_type* __lo, const char_type* __hi, mask* __vec) const = 0; # 415 "/usr/include/c++/7/bits/locale_facets.h" 3 virtual const char_type* do_scan_is(mask __m, const char_type* __lo, const char_type* __hi) const = 0; # 434 "/usr/include/c++/7/bits/locale_facets.h" 3 virtual const char_type* do_scan_not(mask __m, const char_type* __lo, const char_type* __hi) const = 0; # 452 "/usr/include/c++/7/bits/locale_facets.h" 3 virtual char_type do_toupper(char_type __c) const = 0; # 469 "/usr/include/c++/7/bits/locale_facets.h" 3 virtual const char_type* do_toupper(char_type* __lo, const char_type* __hi) const = 0; # 485 "/usr/include/c++/7/bits/locale_facets.h" 3 virtual char_type do_tolower(char_type __c) const = 0; # 502 "/usr/include/c++/7/bits/locale_facets.h" 3 virtual const char_type* do_tolower(char_type* __lo, const char_type* __hi) const = 0; # 521 "/usr/include/c++/7/bits/locale_facets.h" 3 virtual char_type do_widen(char __c) const = 0; # 542 "/usr/include/c++/7/bits/locale_facets.h" 3 virtual const char* do_widen(const char* __lo, const char* __hi, char_type* __to) const = 0; # 563 "/usr/include/c++/7/bits/locale_facets.h" 3 virtual char do_narrow(char_type __c, char __dfault) const = 0; # 588 "/usr/include/c++/7/bits/locale_facets.h" 3 virtual const char_type* do_narrow(const char_type* __lo, const char_type* __hi, char __dfault, char* __to) const = 0; }; # 611 "/usr/include/c++/7/bits/locale_facets.h" 3 template class ctype : public __ctype_abstract_base<_CharT> { public: typedef _CharT char_type; typedef typename __ctype_abstract_base<_CharT>::mask mask; static locale::id id; explicit ctype(size_t __refs = 0) : __ctype_abstract_base<_CharT>(__refs) { } protected: virtual ~ctype(); virtual bool do_is(mask __m, char_type __c) const; virtual const char_type* do_is(const char_type* __lo, const char_type* __hi, mask* __vec) const; virtual const char_type* do_scan_is(mask __m, const char_type* __lo, const char_type* __hi) const; virtual const char_type* do_scan_not(mask __m, const char_type* __lo, const char_type* __hi) const; virtual char_type do_toupper(char_type __c) const; virtual const char_type* do_toupper(char_type* __lo, const char_type* __hi) const; virtual char_type do_tolower(char_type __c) const; virtual const char_type* do_tolower(char_type* __lo, const char_type* __hi) const; virtual char_type do_widen(char __c) const; virtual const char* do_widen(const char* __lo, const char* __hi, char_type* __dest) const; virtual char do_narrow(char_type, char __dfault) const; virtual const char_type* do_narrow(const char_type* __lo, const char_type* __hi, char __dfault, char* __to) const; }; template locale::id ctype<_CharT>::id; # 680 "/usr/include/c++/7/bits/locale_facets.h" 3 template<> class ctype : public locale::facet, public ctype_base { public: typedef char char_type; protected: __c_locale _M_c_locale_ctype; bool _M_del; __to_type _M_toupper; __to_type _M_tolower; const mask* _M_table; mutable char _M_widen_ok; mutable char _M_widen[1 + static_cast(-1)]; mutable char _M_narrow[1 + static_cast(-1)]; mutable char _M_narrow_ok; public: static locale::id id; static const size_t table_size = 1 + static_cast(-1); # 717 "/usr/include/c++/7/bits/locale_facets.h" 3 explicit ctype(const mask* __table = 0, bool __del = false, size_t __refs = 0); # 730 "/usr/include/c++/7/bits/locale_facets.h" 3 explicit ctype(__c_locale __cloc, const mask* __table = 0, bool __del = false, size_t __refs = 0); # 743 "/usr/include/c++/7/bits/locale_facets.h" 3 inline bool is(mask __m, char __c) const; # 758 "/usr/include/c++/7/bits/locale_facets.h" 3 inline const char* is(const char* __lo, const char* __hi, mask* __vec) const; # 772 "/usr/include/c++/7/bits/locale_facets.h" 3 inline const char* scan_is(mask __m, const char* __lo, const char* __hi) const; # 786 "/usr/include/c++/7/bits/locale_facets.h" 3 inline const char* scan_not(mask __m, const char* __lo, const char* __hi) const; # 801 "/usr/include/c++/7/bits/locale_facets.h" 3 char_type toupper(char_type __c) const { return this->do_toupper(__c); } # 818 "/usr/include/c++/7/bits/locale_facets.h" 3 const char_type* toupper(char_type *__lo, const char_type* __hi) const { return this->do_toupper(__lo, __hi); } # 834 "/usr/include/c++/7/bits/locale_facets.h" 3 char_type tolower(char_type __c) const { return this->do_tolower(__c); } # 851 "/usr/include/c++/7/bits/locale_facets.h" 3 const char_type* tolower(char_type* __lo, const char_type* __hi) const { return this->do_tolower(__lo, __hi); } # 871 "/usr/include/c++/7/bits/locale_facets.h" 3 char_type widen(char __c) const { if (_M_widen_ok) return _M_widen[static_cast(__c)]; this->_M_widen_init(); return this->do_widen(__c); } # 898 "/usr/include/c++/7/bits/locale_facets.h" 3 const char* widen(const char* __lo, const char* __hi, char_type* __to) const { if (_M_widen_ok == 1) { __builtin_memcpy(__to, __lo, __hi - __lo); return __hi; } if (!_M_widen_ok) _M_widen_init(); return this->do_widen(__lo, __hi, __to); } # 929 "/usr/include/c++/7/bits/locale_facets.h" 3 char narrow(char_type __c, char __dfault) const { if (_M_narrow[static_cast(__c)]) return _M_narrow[static_cast(__c)]; const char __t = do_narrow(__c, __dfault); if (__t != __dfault) _M_narrow[static_cast(__c)] = __t; return __t; } # 962 "/usr/include/c++/7/bits/locale_facets.h" 3 const char_type* narrow(const char_type* __lo, const char_type* __hi, char __dfault, char* __to) const { if (__builtin_expect(_M_narrow_ok == 1, true)) { __builtin_memcpy(__to, __lo, __hi - __lo); return __hi; } if (!_M_narrow_ok) _M_narrow_init(); return this->do_narrow(__lo, __hi, __dfault, __to); } const mask* table() const throw() { return _M_table; } static const mask* classic_table() throw(); protected: virtual ~ctype(); # 1011 "/usr/include/c++/7/bits/locale_facets.h" 3 virtual char_type do_toupper(char_type __c) const; # 1028 "/usr/include/c++/7/bits/locale_facets.h" 3 virtual const char_type* do_toupper(char_type* __lo, const char_type* __hi) const; # 1044 "/usr/include/c++/7/bits/locale_facets.h" 3 virtual char_type do_tolower(char_type __c) const; # 1061 "/usr/include/c++/7/bits/locale_facets.h" 3 virtual const char_type* do_tolower(char_type* __lo, const char_type* __hi) const; # 1081 "/usr/include/c++/7/bits/locale_facets.h" 3 virtual char_type do_widen(char __c) const { return __c; } # 1104 "/usr/include/c++/7/bits/locale_facets.h" 3 virtual const char* do_widen(const char* __lo, const char* __hi, char_type* __to) const { __builtin_memcpy(__to, __lo, __hi - __lo); return __hi; } # 1130 "/usr/include/c++/7/bits/locale_facets.h" 3 virtual char do_narrow(char_type __c, char __dfault __attribute__((__unused__))) const { return __c; } # 1156 "/usr/include/c++/7/bits/locale_facets.h" 3 virtual const char_type* do_narrow(const char_type* __lo, const char_type* __hi, char __dfault __attribute__((__unused__)), char* __to) const { __builtin_memcpy(__to, __lo, __hi - __lo); return __hi; } private: void _M_narrow_init() const; void _M_widen_init() const; }; # 1181 "/usr/include/c++/7/bits/locale_facets.h" 3 template<> class ctype : public __ctype_abstract_base { public: typedef wchar_t char_type; typedef wctype_t __wmask_type; protected: __c_locale _M_c_locale_ctype; bool _M_narrow_ok; char _M_narrow[128]; wint_t _M_widen[1 + static_cast(-1)]; mask _M_bit[16]; __wmask_type _M_wmask[16]; public: static locale::id id; # 1214 "/usr/include/c++/7/bits/locale_facets.h" 3 explicit ctype(size_t __refs = 0); # 1225 "/usr/include/c++/7/bits/locale_facets.h" 3 explicit ctype(__c_locale __cloc, size_t __refs = 0); protected: __wmask_type _M_convert_to_wmask(const mask __m) const throw(); virtual ~ctype(); # 1249 "/usr/include/c++/7/bits/locale_facets.h" 3 virtual bool do_is(mask __m, char_type __c) const; # 1268 "/usr/include/c++/7/bits/locale_facets.h" 3 virtual const char_type* do_is(const char_type* __lo, const char_type* __hi, mask* __vec) const; # 1286 "/usr/include/c++/7/bits/locale_facets.h" 3 virtual const char_type* do_scan_is(mask __m, const char_type* __lo, const char_type* __hi) const; # 1304 "/usr/include/c++/7/bits/locale_facets.h" 3 virtual const char_type* do_scan_not(mask __m, const char_type* __lo, const char_type* __hi) const; # 1321 "/usr/include/c++/7/bits/locale_facets.h" 3 virtual char_type do_toupper(char_type __c) const; # 1338 "/usr/include/c++/7/bits/locale_facets.h" 3 virtual const char_type* do_toupper(char_type* __lo, const char_type* __hi) const; # 1354 "/usr/include/c++/7/bits/locale_facets.h" 3 virtual char_type do_tolower(char_type __c) const; # 1371 "/usr/include/c++/7/bits/locale_facets.h" 3 virtual const char_type* do_tolower(char_type* __lo, const char_type* __hi) const; # 1391 "/usr/include/c++/7/bits/locale_facets.h" 3 virtual char_type do_widen(char __c) const; # 1413 "/usr/include/c++/7/bits/locale_facets.h" 3 virtual const char* do_widen(const char* __lo, const char* __hi, char_type* __to) const; # 1436 "/usr/include/c++/7/bits/locale_facets.h" 3 virtual char do_narrow(char_type __c, char __dfault) const; # 1462 "/usr/include/c++/7/bits/locale_facets.h" 3 virtual const char_type* do_narrow(const char_type* __lo, const char_type* __hi, char __dfault, char* __to) const; void _M_initialize_ctype() throw(); }; template class ctype_byname : public ctype<_CharT> { public: typedef typename ctype<_CharT>::mask mask; explicit ctype_byname(const char* __s, size_t __refs = 0); explicit ctype_byname(const string& __s, size_t __refs = 0) : ctype_byname(__s.c_str(), __refs) { } protected: virtual ~ctype_byname() { }; }; template<> class ctype_byname : public ctype { public: explicit ctype_byname(const char* __s, size_t __refs = 0); explicit ctype_byname(const string& __s, size_t __refs = 0); protected: virtual ~ctype_byname(); }; template<> class ctype_byname : public ctype { public: explicit ctype_byname(const char* __s, size_t __refs = 0); explicit ctype_byname(const string& __s, size_t __refs = 0); protected: virtual ~ctype_byname(); }; } # 1 "/usr/include/i386-linux-gnu/c++/7/bits/ctype_inline.h" 1 3 # 37 "/usr/include/i386-linux-gnu/c++/7/bits/ctype_inline.h" 3 namespace std __attribute__ ((__visibility__ ("default"))) { bool ctype:: is(mask __m, char __c) const { return _M_table[static_cast(__c)] & __m; } const char* ctype:: is(const char* __low, const char* __high, mask* __vec) const { while (__low < __high) *__vec++ = _M_table[static_cast(*__low++)]; return __high; } const char* ctype:: scan_is(mask __m, const char* __low, const char* __high) const { while (__low < __high && !(_M_table[static_cast(*__low)] & __m)) ++__low; return __low; } const char* ctype:: scan_not(mask __m, const char* __low, const char* __high) const { while (__low < __high && (_M_table[static_cast(*__low)] & __m) != 0) ++__low; return __low; } } # 1535 "/usr/include/c++/7/bits/locale_facets.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { class __num_base { public: enum { _S_ominus, _S_oplus, _S_ox, _S_oX, _S_odigits, _S_odigits_end = _S_odigits + 16, _S_oudigits = _S_odigits_end, _S_oudigits_end = _S_oudigits + 16, _S_oe = _S_odigits + 14, _S_oE = _S_oudigits + 14, _S_oend = _S_oudigits_end }; static const char* _S_atoms_out; static const char* _S_atoms_in; enum { _S_iminus, _S_iplus, _S_ix, _S_iX, _S_izero, _S_ie = _S_izero + 14, _S_iE = _S_izero + 20, _S_iend = 26 }; static void _S_format_float(const ios_base& __io, char* __fptr, char __mod) throw(); }; template struct __numpunct_cache : public locale::facet { const char* _M_grouping; size_t _M_grouping_size; bool _M_use_grouping; const _CharT* _M_truename; size_t _M_truename_size; const _CharT* _M_falsename; size_t _M_falsename_size; _CharT _M_decimal_point; _CharT _M_thousands_sep; _CharT _M_atoms_out[__num_base::_S_oend]; _CharT _M_atoms_in[__num_base::_S_iend]; bool _M_allocated; __numpunct_cache(size_t __refs = 0) : facet(__refs), _M_grouping(0), _M_grouping_size(0), _M_use_grouping(false), _M_truename(0), _M_truename_size(0), _M_falsename(0), _M_falsename_size(0), _M_decimal_point(_CharT()), _M_thousands_sep(_CharT()), _M_allocated(false) { } ~__numpunct_cache(); void _M_cache(const locale& __loc); private: __numpunct_cache& operator=(const __numpunct_cache&); explicit __numpunct_cache(const __numpunct_cache&); }; template __numpunct_cache<_CharT>::~__numpunct_cache() { if (_M_allocated) { delete [] _M_grouping; delete [] _M_truename; delete [] _M_falsename; } } namespace __cxx11 { # 1665 "/usr/include/c++/7/bits/locale_facets.h" 3 template class numpunct : public locale::facet { public: typedef _CharT char_type; typedef basic_string<_CharT> string_type; typedef __numpunct_cache<_CharT> __cache_type; protected: __cache_type* _M_data; public: static locale::id id; explicit numpunct(size_t __refs = 0) : facet(__refs), _M_data(0) { _M_initialize_numpunct(); } # 1703 "/usr/include/c++/7/bits/locale_facets.h" 3 explicit numpunct(__cache_type* __cache, size_t __refs = 0) : facet(__refs), _M_data(__cache) { _M_initialize_numpunct(); } # 1717 "/usr/include/c++/7/bits/locale_facets.h" 3 explicit numpunct(__c_locale __cloc, size_t __refs = 0) : facet(__refs), _M_data(0) { _M_initialize_numpunct(__cloc); } # 1731 "/usr/include/c++/7/bits/locale_facets.h" 3 char_type decimal_point() const { return this->do_decimal_point(); } # 1744 "/usr/include/c++/7/bits/locale_facets.h" 3 char_type thousands_sep() const { return this->do_thousands_sep(); } # 1775 "/usr/include/c++/7/bits/locale_facets.h" 3 string grouping() const { return this->do_grouping(); } # 1788 "/usr/include/c++/7/bits/locale_facets.h" 3 string_type truename() const { return this->do_truename(); } # 1801 "/usr/include/c++/7/bits/locale_facets.h" 3 string_type falsename() const { return this->do_falsename(); } protected: virtual ~numpunct(); # 1818 "/usr/include/c++/7/bits/locale_facets.h" 3 virtual char_type do_decimal_point() const { return _M_data->_M_decimal_point; } # 1830 "/usr/include/c++/7/bits/locale_facets.h" 3 virtual char_type do_thousands_sep() const { return _M_data->_M_thousands_sep; } # 1843 "/usr/include/c++/7/bits/locale_facets.h" 3 virtual string do_grouping() const { return _M_data->_M_grouping; } # 1856 "/usr/include/c++/7/bits/locale_facets.h" 3 virtual string_type do_truename() const { return _M_data->_M_truename; } # 1869 "/usr/include/c++/7/bits/locale_facets.h" 3 virtual string_type do_falsename() const { return _M_data->_M_falsename; } void _M_initialize_numpunct(__c_locale __cloc = 0); }; template locale::id numpunct<_CharT>::id; template<> numpunct::~numpunct(); template<> void numpunct::_M_initialize_numpunct(__c_locale __cloc); template<> numpunct::~numpunct(); template<> void numpunct::_M_initialize_numpunct(__c_locale __cloc); template class numpunct_byname : public numpunct<_CharT> { public: typedef _CharT char_type; typedef basic_string<_CharT> string_type; explicit numpunct_byname(const char* __s, size_t __refs = 0) : numpunct<_CharT>(__refs) { if (__builtin_strcmp(__s, "C") != 0 && __builtin_strcmp(__s, "POSIX") != 0) { __c_locale __tmp; this->_S_create_c_locale(__tmp, __s); this->_M_initialize_numpunct(__tmp); this->_S_destroy_c_locale(__tmp); } } explicit numpunct_byname(const string& __s, size_t __refs = 0) : numpunct_byname(__s.c_str(), __refs) { } protected: virtual ~numpunct_byname() { } }; } # 1947 "/usr/include/c++/7/bits/locale_facets.h" 3 template class num_get : public locale::facet { public: typedef _CharT char_type; typedef _InIter iter_type; static locale::id id; # 1968 "/usr/include/c++/7/bits/locale_facets.h" 3 explicit num_get(size_t __refs = 0) : facet(__refs) { } # 1994 "/usr/include/c++/7/bits/locale_facets.h" 3 iter_type get(iter_type __in, iter_type __end, ios_base& __io, ios_base::iostate& __err, bool& __v) const { return this->do_get(__in, __end, __io, __err, __v); } # 2031 "/usr/include/c++/7/bits/locale_facets.h" 3 iter_type get(iter_type __in, iter_type __end, ios_base& __io, ios_base::iostate& __err, long& __v) const { return this->do_get(__in, __end, __io, __err, __v); } iter_type get(iter_type __in, iter_type __end, ios_base& __io, ios_base::iostate& __err, unsigned short& __v) const { return this->do_get(__in, __end, __io, __err, __v); } iter_type get(iter_type __in, iter_type __end, ios_base& __io, ios_base::iostate& __err, unsigned int& __v) const { return this->do_get(__in, __end, __io, __err, __v); } iter_type get(iter_type __in, iter_type __end, ios_base& __io, ios_base::iostate& __err, unsigned long& __v) const { return this->do_get(__in, __end, __io, __err, __v); } iter_type get(iter_type __in, iter_type __end, ios_base& __io, ios_base::iostate& __err, long long& __v) const { return this->do_get(__in, __end, __io, __err, __v); } iter_type get(iter_type __in, iter_type __end, ios_base& __io, ios_base::iostate& __err, unsigned long long& __v) const { return this->do_get(__in, __end, __io, __err, __v); } # 2091 "/usr/include/c++/7/bits/locale_facets.h" 3 iter_type get(iter_type __in, iter_type __end, ios_base& __io, ios_base::iostate& __err, float& __v) const { return this->do_get(__in, __end, __io, __err, __v); } iter_type get(iter_type __in, iter_type __end, ios_base& __io, ios_base::iostate& __err, double& __v) const { return this->do_get(__in, __end, __io, __err, __v); } iter_type get(iter_type __in, iter_type __end, ios_base& __io, ios_base::iostate& __err, long double& __v) const { return this->do_get(__in, __end, __io, __err, __v); } # 2134 "/usr/include/c++/7/bits/locale_facets.h" 3 iter_type get(iter_type __in, iter_type __end, ios_base& __io, ios_base::iostate& __err, void*& __v) const { return this->do_get(__in, __end, __io, __err, __v); } protected: virtual ~num_get() { } __attribute ((__abi_tag__ ("cxx11"))) iter_type _M_extract_float(iter_type, iter_type, ios_base&, ios_base::iostate&, string&) const; template __attribute ((__abi_tag__ ("cxx11"))) iter_type _M_extract_int(iter_type, iter_type, ios_base&, ios_base::iostate&, _ValueT&) const; template typename __gnu_cxx::__enable_if<__is_char<_CharT2>::__value, int>::__type _M_find(const _CharT2*, size_t __len, _CharT2 __c) const { int __ret = -1; if (__len <= 10) { if (__c >= _CharT2('0') && __c < _CharT2(_CharT2('0') + __len)) __ret = __c - _CharT2('0'); } else { if (__c >= _CharT2('0') && __c <= _CharT2('9')) __ret = __c - _CharT2('0'); else if (__c >= _CharT2('a') && __c <= _CharT2('f')) __ret = 10 + (__c - _CharT2('a')); else if (__c >= _CharT2('A') && __c <= _CharT2('F')) __ret = 10 + (__c - _CharT2('A')); } return __ret; } template typename __gnu_cxx::__enable_if::__value, int>::__type _M_find(const _CharT2* __zero, size_t __len, _CharT2 __c) const { int __ret = -1; const char_type* __q = char_traits<_CharT2>::find(__zero, __len, __c); if (__q) { __ret = __q - __zero; if (__ret > 15) __ret -= 6; } return __ret; } # 2207 "/usr/include/c++/7/bits/locale_facets.h" 3 virtual iter_type do_get(iter_type, iter_type, ios_base&, ios_base::iostate&, bool&) const; virtual iter_type do_get(iter_type __beg, iter_type __end, ios_base& __io, ios_base::iostate& __err, long& __v) const { return _M_extract_int(__beg, __end, __io, __err, __v); } virtual iter_type do_get(iter_type __beg, iter_type __end, ios_base& __io, ios_base::iostate& __err, unsigned short& __v) const { return _M_extract_int(__beg, __end, __io, __err, __v); } virtual iter_type do_get(iter_type __beg, iter_type __end, ios_base& __io, ios_base::iostate& __err, unsigned int& __v) const { return _M_extract_int(__beg, __end, __io, __err, __v); } virtual iter_type do_get(iter_type __beg, iter_type __end, ios_base& __io, ios_base::iostate& __err, unsigned long& __v) const { return _M_extract_int(__beg, __end, __io, __err, __v); } virtual iter_type do_get(iter_type __beg, iter_type __end, ios_base& __io, ios_base::iostate& __err, long long& __v) const { return _M_extract_int(__beg, __end, __io, __err, __v); } virtual iter_type do_get(iter_type __beg, iter_type __end, ios_base& __io, ios_base::iostate& __err, unsigned long long& __v) const { return _M_extract_int(__beg, __end, __io, __err, __v); } virtual iter_type do_get(iter_type, iter_type, ios_base&, ios_base::iostate&, float&) const; virtual iter_type do_get(iter_type, iter_type, ios_base&, ios_base::iostate&, double&) const; virtual iter_type do_get(iter_type, iter_type, ios_base&, ios_base::iostate&, long double&) const; virtual iter_type do_get(iter_type, iter_type, ios_base&, ios_base::iostate&, void*&) const; # 2270 "/usr/include/c++/7/bits/locale_facets.h" 3 }; template locale::id num_get<_CharT, _InIter>::id; # 2288 "/usr/include/c++/7/bits/locale_facets.h" 3 template class num_put : public locale::facet { public: typedef _CharT char_type; typedef _OutIter iter_type; static locale::id id; # 2309 "/usr/include/c++/7/bits/locale_facets.h" 3 explicit num_put(size_t __refs = 0) : facet(__refs) { } # 2327 "/usr/include/c++/7/bits/locale_facets.h" 3 iter_type put(iter_type __s, ios_base& __io, char_type __fill, bool __v) const { return this->do_put(__s, __io, __fill, __v); } # 2369 "/usr/include/c++/7/bits/locale_facets.h" 3 iter_type put(iter_type __s, ios_base& __io, char_type __fill, long __v) const { return this->do_put(__s, __io, __fill, __v); } iter_type put(iter_type __s, ios_base& __io, char_type __fill, unsigned long __v) const { return this->do_put(__s, __io, __fill, __v); } iter_type put(iter_type __s, ios_base& __io, char_type __fill, long long __v) const { return this->do_put(__s, __io, __fill, __v); } iter_type put(iter_type __s, ios_base& __io, char_type __fill, unsigned long long __v) const { return this->do_put(__s, __io, __fill, __v); } # 2432 "/usr/include/c++/7/bits/locale_facets.h" 3 iter_type put(iter_type __s, ios_base& __io, char_type __fill, double __v) const { return this->do_put(__s, __io, __fill, __v); } iter_type put(iter_type __s, ios_base& __io, char_type __fill, long double __v) const { return this->do_put(__s, __io, __fill, __v); } # 2457 "/usr/include/c++/7/bits/locale_facets.h" 3 iter_type put(iter_type __s, ios_base& __io, char_type __fill, const void* __v) const { return this->do_put(__s, __io, __fill, __v); } protected: template iter_type _M_insert_float(iter_type, ios_base& __io, char_type __fill, char __mod, _ValueT __v) const; void _M_group_float(const char* __grouping, size_t __grouping_size, char_type __sep, const char_type* __p, char_type* __new, char_type* __cs, int& __len) const; template iter_type _M_insert_int(iter_type, ios_base& __io, char_type __fill, _ValueT __v) const; void _M_group_int(const char* __grouping, size_t __grouping_size, char_type __sep, ios_base& __io, char_type* __new, char_type* __cs, int& __len) const; void _M_pad(char_type __fill, streamsize __w, ios_base& __io, char_type* __new, const char_type* __cs, int& __len) const; virtual ~num_put() { }; # 2505 "/usr/include/c++/7/bits/locale_facets.h" 3 virtual iter_type do_put(iter_type __s, ios_base& __io, char_type __fill, bool __v) const; virtual iter_type do_put(iter_type __s, ios_base& __io, char_type __fill, long __v) const { return _M_insert_int(__s, __io, __fill, __v); } virtual iter_type do_put(iter_type __s, ios_base& __io, char_type __fill, unsigned long __v) const { return _M_insert_int(__s, __io, __fill, __v); } virtual iter_type do_put(iter_type __s, ios_base& __io, char_type __fill, long long __v) const { return _M_insert_int(__s, __io, __fill, __v); } virtual iter_type do_put(iter_type __s, ios_base& __io, char_type __fill, unsigned long long __v) const { return _M_insert_int(__s, __io, __fill, __v); } virtual iter_type do_put(iter_type, ios_base&, char_type, double) const; virtual iter_type do_put(iter_type, ios_base&, char_type, long double) const; virtual iter_type do_put(iter_type, ios_base&, char_type, const void*) const; }; template locale::id num_put<_CharT, _OutIter>::id; template inline bool isspace(_CharT __c, const locale& __loc) { return use_facet >(__loc).is(ctype_base::space, __c); } template inline bool isprint(_CharT __c, const locale& __loc) { return use_facet >(__loc).is(ctype_base::print, __c); } template inline bool iscntrl(_CharT __c, const locale& __loc) { return use_facet >(__loc).is(ctype_base::cntrl, __c); } template inline bool isupper(_CharT __c, const locale& __loc) { return use_facet >(__loc).is(ctype_base::upper, __c); } template inline bool islower(_CharT __c, const locale& __loc) { return use_facet >(__loc).is(ctype_base::lower, __c); } template inline bool isalpha(_CharT __c, const locale& __loc) { return use_facet >(__loc).is(ctype_base::alpha, __c); } template inline bool isdigit(_CharT __c, const locale& __loc) { return use_facet >(__loc).is(ctype_base::digit, __c); } template inline bool ispunct(_CharT __c, const locale& __loc) { return use_facet >(__loc).is(ctype_base::punct, __c); } template inline bool isxdigit(_CharT __c, const locale& __loc) { return use_facet >(__loc).is(ctype_base::xdigit, __c); } template inline bool isalnum(_CharT __c, const locale& __loc) { return use_facet >(__loc).is(ctype_base::alnum, __c); } template inline bool isgraph(_CharT __c, const locale& __loc) { return use_facet >(__loc).is(ctype_base::graph, __c); } template inline bool isblank(_CharT __c, const locale& __loc) { return use_facet >(__loc).is(ctype_base::blank, __c); } template inline _CharT toupper(_CharT __c, const locale& __loc) { return use_facet >(__loc).toupper(__c); } template inline _CharT tolower(_CharT __c, const locale& __loc) { return use_facet >(__loc).tolower(__c); } } # 1 "/usr/include/c++/7/bits/locale_facets.tcc" 1 3 # 33 "/usr/include/c++/7/bits/locale_facets.tcc" 3 # 34 "/usr/include/c++/7/bits/locale_facets.tcc" 3 namespace std __attribute__ ((__visibility__ ("default"))) { template struct __use_cache { const _Facet* operator() (const locale& __loc) const; }; template struct __use_cache<__numpunct_cache<_CharT> > { const __numpunct_cache<_CharT>* operator() (const locale& __loc) const { const size_t __i = numpunct<_CharT>::id._M_id(); const locale::facet** __caches = __loc._M_impl->_M_caches; if (!__caches[__i]) { __numpunct_cache<_CharT>* __tmp = 0; try { __tmp = new __numpunct_cache<_CharT>; __tmp->_M_cache(__loc); } catch(...) { delete __tmp; throw; } __loc._M_impl->_M_install_cache(__tmp, __i); } return static_cast*>(__caches[__i]); } }; template void __numpunct_cache<_CharT>::_M_cache(const locale& __loc) { const numpunct<_CharT>& __np = use_facet >(__loc); char* __grouping = 0; _CharT* __truename = 0; _CharT* __falsename = 0; try { const string& __g = __np.grouping(); _M_grouping_size = __g.size(); __grouping = new char[_M_grouping_size]; __g.copy(__grouping, _M_grouping_size); _M_use_grouping = (_M_grouping_size && static_cast(__grouping[0]) > 0 && (__grouping[0] != __gnu_cxx::__numeric_traits::__max)); const basic_string<_CharT>& __tn = __np.truename(); _M_truename_size = __tn.size(); __truename = new _CharT[_M_truename_size]; __tn.copy(__truename, _M_truename_size); const basic_string<_CharT>& __fn = __np.falsename(); _M_falsename_size = __fn.size(); __falsename = new _CharT[_M_falsename_size]; __fn.copy(__falsename, _M_falsename_size); _M_decimal_point = __np.decimal_point(); _M_thousands_sep = __np.thousands_sep(); const ctype<_CharT>& __ct = use_facet >(__loc); __ct.widen(__num_base::_S_atoms_out, __num_base::_S_atoms_out + __num_base::_S_oend, _M_atoms_out); __ct.widen(__num_base::_S_atoms_in, __num_base::_S_atoms_in + __num_base::_S_iend, _M_atoms_in); _M_grouping = __grouping; _M_truename = __truename; _M_falsename = __falsename; _M_allocated = true; } catch(...) { delete [] __grouping; delete [] __truename; delete [] __falsename; throw; } } # 139 "/usr/include/c++/7/bits/locale_facets.tcc" 3 __attribute__ ((__pure__)) bool __verify_grouping(const char* __grouping, size_t __grouping_size, const string& __grouping_tmp) throw (); template __attribute ((__abi_tag__ ("cxx11"))) _InIter num_get<_CharT, _InIter>:: _M_extract_float(_InIter __beg, _InIter __end, ios_base& __io, ios_base::iostate& __err, string& __xtrc) const { typedef char_traits<_CharT> __traits_type; typedef __numpunct_cache<_CharT> __cache_type; __use_cache<__cache_type> __uc; const locale& __loc = __io._M_getloc(); const __cache_type* __lc = __uc(__loc); const _CharT* __lit = __lc->_M_atoms_in; char_type __c = char_type(); bool __testeof = __beg == __end; if (!__testeof) { __c = *__beg; const bool __plus = __c == __lit[__num_base::_S_iplus]; if ((__plus || __c == __lit[__num_base::_S_iminus]) && !(__lc->_M_use_grouping && __c == __lc->_M_thousands_sep) && !(__c == __lc->_M_decimal_point)) { __xtrc += __plus ? '+' : '-'; if (++__beg != __end) __c = *__beg; else __testeof = true; } } bool __found_mantissa = false; int __sep_pos = 0; while (!__testeof) { if ((__lc->_M_use_grouping && __c == __lc->_M_thousands_sep) || __c == __lc->_M_decimal_point) break; else if (__c == __lit[__num_base::_S_izero]) { if (!__found_mantissa) { __xtrc += '0'; __found_mantissa = true; } ++__sep_pos; if (++__beg != __end) __c = *__beg; else __testeof = true; } else break; } bool __found_dec = false; bool __found_sci = false; string __found_grouping; if (__lc->_M_use_grouping) __found_grouping.reserve(32); const char_type* __lit_zero = __lit + __num_base::_S_izero; if (!__lc->_M_allocated) while (!__testeof) { const int __digit = _M_find(__lit_zero, 10, __c); if (__digit != -1) { __xtrc += '0' + __digit; __found_mantissa = true; } else if (__c == __lc->_M_decimal_point && !__found_dec && !__found_sci) { __xtrc += '.'; __found_dec = true; } else if ((__c == __lit[__num_base::_S_ie] || __c == __lit[__num_base::_S_iE]) && !__found_sci && __found_mantissa) { __xtrc += 'e'; __found_sci = true; if (++__beg != __end) { __c = *__beg; const bool __plus = __c == __lit[__num_base::_S_iplus]; if (__plus || __c == __lit[__num_base::_S_iminus]) __xtrc += __plus ? '+' : '-'; else continue; } else { __testeof = true; break; } } else break; if (++__beg != __end) __c = *__beg; else __testeof = true; } else while (!__testeof) { if (__lc->_M_use_grouping && __c == __lc->_M_thousands_sep) { if (!__found_dec && !__found_sci) { if (__sep_pos) { __found_grouping += static_cast(__sep_pos); __sep_pos = 0; } else { __xtrc.clear(); break; } } else break; } else if (__c == __lc->_M_decimal_point) { if (!__found_dec && !__found_sci) { if (__found_grouping.size()) __found_grouping += static_cast(__sep_pos); __xtrc += '.'; __found_dec = true; } else break; } else { const char_type* __q = __traits_type::find(__lit_zero, 10, __c); if (__q) { __xtrc += '0' + (__q - __lit_zero); __found_mantissa = true; ++__sep_pos; } else if ((__c == __lit[__num_base::_S_ie] || __c == __lit[__num_base::_S_iE]) && !__found_sci && __found_mantissa) { if (__found_grouping.size() && !__found_dec) __found_grouping += static_cast(__sep_pos); __xtrc += 'e'; __found_sci = true; if (++__beg != __end) { __c = *__beg; const bool __plus = __c == __lit[__num_base::_S_iplus]; if ((__plus || __c == __lit[__num_base::_S_iminus]) && !(__lc->_M_use_grouping && __c == __lc->_M_thousands_sep) && !(__c == __lc->_M_decimal_point)) __xtrc += __plus ? '+' : '-'; else continue; } else { __testeof = true; break; } } else break; } if (++__beg != __end) __c = *__beg; else __testeof = true; } if (__found_grouping.size()) { if (!__found_dec && !__found_sci) __found_grouping += static_cast(__sep_pos); if (!std::__verify_grouping(__lc->_M_grouping, __lc->_M_grouping_size, __found_grouping)) __err = ios_base::failbit; } return __beg; } template template __attribute ((__abi_tag__ ("cxx11"))) _InIter num_get<_CharT, _InIter>:: _M_extract_int(_InIter __beg, _InIter __end, ios_base& __io, ios_base::iostate& __err, _ValueT& __v) const { typedef char_traits<_CharT> __traits_type; using __gnu_cxx::__add_unsigned; typedef typename __add_unsigned<_ValueT>::__type __unsigned_type; typedef __numpunct_cache<_CharT> __cache_type; __use_cache<__cache_type> __uc; const locale& __loc = __io._M_getloc(); const __cache_type* __lc = __uc(__loc); const _CharT* __lit = __lc->_M_atoms_in; char_type __c = char_type(); const ios_base::fmtflags __basefield = __io.flags() & ios_base::basefield; const bool __oct = __basefield == ios_base::oct; int __base = __oct ? 8 : (__basefield == ios_base::hex ? 16 : 10); bool __testeof = __beg == __end; bool __negative = false; if (!__testeof) { __c = *__beg; __negative = __c == __lit[__num_base::_S_iminus]; if ((__negative || __c == __lit[__num_base::_S_iplus]) && !(__lc->_M_use_grouping && __c == __lc->_M_thousands_sep) && !(__c == __lc->_M_decimal_point)) { if (++__beg != __end) __c = *__beg; else __testeof = true; } } bool __found_zero = false; int __sep_pos = 0; while (!__testeof) { if ((__lc->_M_use_grouping && __c == __lc->_M_thousands_sep) || __c == __lc->_M_decimal_point) break; else if (__c == __lit[__num_base::_S_izero] && (!__found_zero || __base == 10)) { __found_zero = true; ++__sep_pos; if (__basefield == 0) __base = 8; if (__base == 8) __sep_pos = 0; } else if (__found_zero && (__c == __lit[__num_base::_S_ix] || __c == __lit[__num_base::_S_iX])) { if (__basefield == 0) __base = 16; if (__base == 16) { __found_zero = false; __sep_pos = 0; } else break; } else break; if (++__beg != __end) { __c = *__beg; if (!__found_zero) break; } else __testeof = true; } const size_t __len = (__base == 16 ? __num_base::_S_iend - __num_base::_S_izero : __base); string __found_grouping; if (__lc->_M_use_grouping) __found_grouping.reserve(32); bool __testfail = false; bool __testoverflow = false; const __unsigned_type __max = (__negative && __gnu_cxx::__numeric_traits<_ValueT>::__is_signed) ? -__gnu_cxx::__numeric_traits<_ValueT>::__min : __gnu_cxx::__numeric_traits<_ValueT>::__max; const __unsigned_type __smax = __max / __base; __unsigned_type __result = 0; int __digit = 0; const char_type* __lit_zero = __lit + __num_base::_S_izero; if (!__lc->_M_allocated) while (!__testeof) { __digit = _M_find(__lit_zero, __len, __c); if (__digit == -1) break; if (__result > __smax) __testoverflow = true; else { __result *= __base; __testoverflow |= __result > __max - __digit; __result += __digit; ++__sep_pos; } if (++__beg != __end) __c = *__beg; else __testeof = true; } else while (!__testeof) { if (__lc->_M_use_grouping && __c == __lc->_M_thousands_sep) { if (__sep_pos) { __found_grouping += static_cast(__sep_pos); __sep_pos = 0; } else { __testfail = true; break; } } else if (__c == __lc->_M_decimal_point) break; else { const char_type* __q = __traits_type::find(__lit_zero, __len, __c); if (!__q) break; __digit = __q - __lit_zero; if (__digit > 15) __digit -= 6; if (__result > __smax) __testoverflow = true; else { __result *= __base; __testoverflow |= __result > __max - __digit; __result += __digit; ++__sep_pos; } } if (++__beg != __end) __c = *__beg; else __testeof = true; } if (__found_grouping.size()) { __found_grouping += static_cast(__sep_pos); if (!std::__verify_grouping(__lc->_M_grouping, __lc->_M_grouping_size, __found_grouping)) __err = ios_base::failbit; } if ((!__sep_pos && !__found_zero && !__found_grouping.size()) || __testfail) { __v = 0; __err = ios_base::failbit; } else if (__testoverflow) { if (__negative && __gnu_cxx::__numeric_traits<_ValueT>::__is_signed) __v = __gnu_cxx::__numeric_traits<_ValueT>::__min; else __v = __gnu_cxx::__numeric_traits<_ValueT>::__max; __err = ios_base::failbit; } else __v = __negative ? -__result : __result; if (__testeof) __err |= ios_base::eofbit; return __beg; } template _InIter num_get<_CharT, _InIter>:: do_get(iter_type __beg, iter_type __end, ios_base& __io, ios_base::iostate& __err, bool& __v) const { if (!(__io.flags() & ios_base::boolalpha)) { long __l = -1; __beg = _M_extract_int(__beg, __end, __io, __err, __l); if (__l == 0 || __l == 1) __v = bool(__l); else { __v = true; __err = ios_base::failbit; if (__beg == __end) __err |= ios_base::eofbit; } } else { typedef __numpunct_cache<_CharT> __cache_type; __use_cache<__cache_type> __uc; const locale& __loc = __io._M_getloc(); const __cache_type* __lc = __uc(__loc); bool __testf = true; bool __testt = true; bool __donef = __lc->_M_falsename_size == 0; bool __donet = __lc->_M_truename_size == 0; bool __testeof = false; size_t __n = 0; while (!__donef || !__donet) { if (__beg == __end) { __testeof = true; break; } const char_type __c = *__beg; if (!__donef) __testf = __c == __lc->_M_falsename[__n]; if (!__testf && __donet) break; if (!__donet) __testt = __c == __lc->_M_truename[__n]; if (!__testt && __donef) break; if (!__testt && !__testf) break; ++__n; ++__beg; __donef = !__testf || __n >= __lc->_M_falsename_size; __donet = !__testt || __n >= __lc->_M_truename_size; } if (__testf && __n == __lc->_M_falsename_size && __n) { __v = false; if (__testt && __n == __lc->_M_truename_size) __err = ios_base::failbit; else __err = __testeof ? ios_base::eofbit : ios_base::goodbit; } else if (__testt && __n == __lc->_M_truename_size && __n) { __v = true; __err = __testeof ? ios_base::eofbit : ios_base::goodbit; } else { __v = false; __err = ios_base::failbit; if (__testeof) __err |= ios_base::eofbit; } } return __beg; } template _InIter num_get<_CharT, _InIter>:: do_get(iter_type __beg, iter_type __end, ios_base& __io, ios_base::iostate& __err, float& __v) const { string __xtrc; __xtrc.reserve(32); __beg = _M_extract_float(__beg, __end, __io, __err, __xtrc); std::__convert_to_v(__xtrc.c_str(), __v, __err, _S_get_c_locale()); if (__beg == __end) __err |= ios_base::eofbit; return __beg; } template _InIter num_get<_CharT, _InIter>:: do_get(iter_type __beg, iter_type __end, ios_base& __io, ios_base::iostate& __err, double& __v) const { string __xtrc; __xtrc.reserve(32); __beg = _M_extract_float(__beg, __end, __io, __err, __xtrc); std::__convert_to_v(__xtrc.c_str(), __v, __err, _S_get_c_locale()); if (__beg == __end) __err |= ios_base::eofbit; return __beg; } # 735 "/usr/include/c++/7/bits/locale_facets.tcc" 3 template _InIter num_get<_CharT, _InIter>:: do_get(iter_type __beg, iter_type __end, ios_base& __io, ios_base::iostate& __err, long double& __v) const { string __xtrc; __xtrc.reserve(32); __beg = _M_extract_float(__beg, __end, __io, __err, __xtrc); std::__convert_to_v(__xtrc.c_str(), __v, __err, _S_get_c_locale()); if (__beg == __end) __err |= ios_base::eofbit; return __beg; } template _InIter num_get<_CharT, _InIter>:: do_get(iter_type __beg, iter_type __end, ios_base& __io, ios_base::iostate& __err, void*& __v) const { typedef ios_base::fmtflags fmtflags; const fmtflags __fmt = __io.flags(); __io.flags((__fmt & ~ios_base::basefield) | ios_base::hex); typedef __gnu_cxx::__conditional_type<(sizeof(void*) <= sizeof(unsigned long)), unsigned long, unsigned long long>::__type _UIntPtrType; _UIntPtrType __ul; __beg = _M_extract_int(__beg, __end, __io, __err, __ul); __io.flags(__fmt); __v = reinterpret_cast(__ul); return __beg; } template void num_put<_CharT, _OutIter>:: _M_pad(_CharT __fill, streamsize __w, ios_base& __io, _CharT* __new, const _CharT* __cs, int& __len) const { __pad<_CharT, char_traits<_CharT> >::_S_pad(__io, __fill, __new, __cs, __w, __len); __len = static_cast(__w); } template int __int_to_char(_CharT* __bufend, _ValueT __v, const _CharT* __lit, ios_base::fmtflags __flags, bool __dec) { _CharT* __buf = __bufend; if (__builtin_expect(__dec, true)) { do { *--__buf = __lit[(__v % 10) + __num_base::_S_odigits]; __v /= 10; } while (__v != 0); } else if ((__flags & ios_base::basefield) == ios_base::oct) { do { *--__buf = __lit[(__v & 0x7) + __num_base::_S_odigits]; __v >>= 3; } while (__v != 0); } else { const bool __uppercase = __flags & ios_base::uppercase; const int __case_offset = __uppercase ? __num_base::_S_oudigits : __num_base::_S_odigits; do { *--__buf = __lit[(__v & 0xf) + __case_offset]; __v >>= 4; } while (__v != 0); } return __bufend - __buf; } template void num_put<_CharT, _OutIter>:: _M_group_int(const char* __grouping, size_t __grouping_size, _CharT __sep, ios_base&, _CharT* __new, _CharT* __cs, int& __len) const { _CharT* __p = std::__add_grouping(__new, __sep, __grouping, __grouping_size, __cs, __cs + __len); __len = __p - __new; } template template _OutIter num_put<_CharT, _OutIter>:: _M_insert_int(_OutIter __s, ios_base& __io, _CharT __fill, _ValueT __v) const { using __gnu_cxx::__add_unsigned; typedef typename __add_unsigned<_ValueT>::__type __unsigned_type; typedef __numpunct_cache<_CharT> __cache_type; __use_cache<__cache_type> __uc; const locale& __loc = __io._M_getloc(); const __cache_type* __lc = __uc(__loc); const _CharT* __lit = __lc->_M_atoms_out; const ios_base::fmtflags __flags = __io.flags(); const int __ilen = 5 * sizeof(_ValueT); _CharT* __cs = static_cast<_CharT*>(__builtin_alloca(sizeof(_CharT) * __ilen)); const ios_base::fmtflags __basefield = __flags & ios_base::basefield; const bool __dec = (__basefield != ios_base::oct && __basefield != ios_base::hex); const __unsigned_type __u = ((__v > 0 || !__dec) ? __unsigned_type(__v) : -__unsigned_type(__v)); int __len = __int_to_char(__cs + __ilen, __u, __lit, __flags, __dec); __cs += __ilen - __len; if (__lc->_M_use_grouping) { _CharT* __cs2 = static_cast<_CharT*>(__builtin_alloca(sizeof(_CharT) * (__len + 1) * 2)); _M_group_int(__lc->_M_grouping, __lc->_M_grouping_size, __lc->_M_thousands_sep, __io, __cs2 + 2, __cs, __len); __cs = __cs2 + 2; } if (__builtin_expect(__dec, true)) { if (__v >= 0) { if (bool(__flags & ios_base::showpos) && __gnu_cxx::__numeric_traits<_ValueT>::__is_signed) *--__cs = __lit[__num_base::_S_oplus], ++__len; } else *--__cs = __lit[__num_base::_S_ominus], ++__len; } else if (bool(__flags & ios_base::showbase) && __v) { if (__basefield == ios_base::oct) *--__cs = __lit[__num_base::_S_odigits], ++__len; else { const bool __uppercase = __flags & ios_base::uppercase; *--__cs = __lit[__num_base::_S_ox + __uppercase]; *--__cs = __lit[__num_base::_S_odigits]; __len += 2; } } const streamsize __w = __io.width(); if (__w > static_cast(__len)) { _CharT* __cs3 = static_cast<_CharT*>(__builtin_alloca(sizeof(_CharT) * __w)); _M_pad(__fill, __w, __io, __cs3, __cs, __len); __cs = __cs3; } __io.width(0); return std::__write(__s, __cs, __len); } template void num_put<_CharT, _OutIter>:: _M_group_float(const char* __grouping, size_t __grouping_size, _CharT __sep, const _CharT* __p, _CharT* __new, _CharT* __cs, int& __len) const { const int __declen = __p ? __p - __cs : __len; _CharT* __p2 = std::__add_grouping(__new, __sep, __grouping, __grouping_size, __cs, __cs + __declen); int __newlen = __p2 - __new; if (__p) { char_traits<_CharT>::copy(__p2, __p, __len - __declen); __newlen += __len - __declen; } __len = __newlen; } # 971 "/usr/include/c++/7/bits/locale_facets.tcc" 3 template template _OutIter num_put<_CharT, _OutIter>:: _M_insert_float(_OutIter __s, ios_base& __io, _CharT __fill, char __mod, _ValueT __v) const { typedef __numpunct_cache<_CharT> __cache_type; __use_cache<__cache_type> __uc; const locale& __loc = __io._M_getloc(); const __cache_type* __lc = __uc(__loc); const streamsize __prec = __io.precision() < 0 ? 6 : __io.precision(); const int __max_digits = __gnu_cxx::__numeric_traits<_ValueT>::__digits10; int __len; char __fbuf[16]; __num_base::_S_format_float(__io, __fbuf, __mod); const bool __use_prec = (__io.flags() & ios_base::floatfield) != ios_base::floatfield; int __cs_size = __max_digits * 3; char* __cs = static_cast(__builtin_alloca(__cs_size)); if (__use_prec) __len = std::__convert_from_v(_S_get_c_locale(), __cs, __cs_size, __fbuf, __prec, __v); else __len = std::__convert_from_v(_S_get_c_locale(), __cs, __cs_size, __fbuf, __v); if (__len >= __cs_size) { __cs_size = __len + 1; __cs = static_cast(__builtin_alloca(__cs_size)); if (__use_prec) __len = std::__convert_from_v(_S_get_c_locale(), __cs, __cs_size, __fbuf, __prec, __v); else __len = std::__convert_from_v(_S_get_c_locale(), __cs, __cs_size, __fbuf, __v); } # 1044 "/usr/include/c++/7/bits/locale_facets.tcc" 3 const ctype<_CharT>& __ctype = use_facet >(__loc); _CharT* __ws = static_cast<_CharT*>(__builtin_alloca(sizeof(_CharT) * __len)); __ctype.widen(__cs, __cs + __len, __ws); _CharT* __wp = 0; const char* __p = char_traits::find(__cs, __len, '.'); if (__p) { __wp = __ws + (__p - __cs); *__wp = __lc->_M_decimal_point; } if (__lc->_M_use_grouping && (__wp || __len < 3 || (__cs[1] <= '9' && __cs[2] <= '9' && __cs[1] >= '0' && __cs[2] >= '0'))) { _CharT* __ws2 = static_cast<_CharT*>(__builtin_alloca(sizeof(_CharT) * __len * 2)); streamsize __off = 0; if (__cs[0] == '-' || __cs[0] == '+') { __off = 1; __ws2[0] = __ws[0]; __len -= 1; } _M_group_float(__lc->_M_grouping, __lc->_M_grouping_size, __lc->_M_thousands_sep, __wp, __ws2 + __off, __ws + __off, __len); __len += __off; __ws = __ws2; } const streamsize __w = __io.width(); if (__w > static_cast(__len)) { _CharT* __ws3 = static_cast<_CharT*>(__builtin_alloca(sizeof(_CharT) * __w)); _M_pad(__fill, __w, __io, __ws3, __ws, __len); __ws = __ws3; } __io.width(0); return std::__write(__s, __ws, __len); } template _OutIter num_put<_CharT, _OutIter>:: do_put(iter_type __s, ios_base& __io, char_type __fill, bool __v) const { const ios_base::fmtflags __flags = __io.flags(); if ((__flags & ios_base::boolalpha) == 0) { const long __l = __v; __s = _M_insert_int(__s, __io, __fill, __l); } else { typedef __numpunct_cache<_CharT> __cache_type; __use_cache<__cache_type> __uc; const locale& __loc = __io._M_getloc(); const __cache_type* __lc = __uc(__loc); const _CharT* __name = __v ? __lc->_M_truename : __lc->_M_falsename; int __len = __v ? __lc->_M_truename_size : __lc->_M_falsename_size; const streamsize __w = __io.width(); if (__w > static_cast(__len)) { const streamsize __plen = __w - __len; _CharT* __ps = static_cast<_CharT*>(__builtin_alloca(sizeof(_CharT) * __plen)); char_traits<_CharT>::assign(__ps, __plen, __fill); __io.width(0); if ((__flags & ios_base::adjustfield) == ios_base::left) { __s = std::__write(__s, __name, __len); __s = std::__write(__s, __ps, __plen); } else { __s = std::__write(__s, __ps, __plen); __s = std::__write(__s, __name, __len); } return __s; } __io.width(0); __s = std::__write(__s, __name, __len); } return __s; } template _OutIter num_put<_CharT, _OutIter>:: do_put(iter_type __s, ios_base& __io, char_type __fill, double __v) const { return _M_insert_float(__s, __io, __fill, char(), __v); } # 1169 "/usr/include/c++/7/bits/locale_facets.tcc" 3 template _OutIter num_put<_CharT, _OutIter>:: do_put(iter_type __s, ios_base& __io, char_type __fill, long double __v) const { return _M_insert_float(__s, __io, __fill, 'L', __v); } template _OutIter num_put<_CharT, _OutIter>:: do_put(iter_type __s, ios_base& __io, char_type __fill, const void* __v) const { const ios_base::fmtflags __flags = __io.flags(); const ios_base::fmtflags __fmt = ~(ios_base::basefield | ios_base::uppercase); __io.flags((__flags & __fmt) | (ios_base::hex | ios_base::showbase)); typedef __gnu_cxx::__conditional_type<(sizeof(const void*) <= sizeof(unsigned long)), unsigned long, unsigned long long>::__type _UIntPtrType; __s = _M_insert_int(__s, __io, __fill, reinterpret_cast<_UIntPtrType>(__v)); __io.flags(__flags); return __s; } # 1206 "/usr/include/c++/7/bits/locale_facets.tcc" 3 template void __pad<_CharT, _Traits>::_S_pad(ios_base& __io, _CharT __fill, _CharT* __news, const _CharT* __olds, streamsize __newlen, streamsize __oldlen) { const size_t __plen = static_cast(__newlen - __oldlen); const ios_base::fmtflags __adjust = __io.flags() & ios_base::adjustfield; if (__adjust == ios_base::left) { _Traits::copy(__news, __olds, __oldlen); _Traits::assign(__news + __oldlen, __plen, __fill); return; } size_t __mod = 0; if (__adjust == ios_base::internal) { const locale& __loc = __io._M_getloc(); const ctype<_CharT>& __ctype = use_facet >(__loc); if (__ctype.widen('-') == __olds[0] || __ctype.widen('+') == __olds[0]) { __news[0] = __olds[0]; __mod = 1; ++__news; } else if (__ctype.widen('0') == __olds[0] && __oldlen > 1 && (__ctype.widen('x') == __olds[1] || __ctype.widen('X') == __olds[1])) { __news[0] = __olds[0]; __news[1] = __olds[1]; __mod = 2; __news += 2; } } _Traits::assign(__news, __plen, __fill); _Traits::copy(__news + __plen, __olds + __mod, __oldlen - __mod); } template _CharT* __add_grouping(_CharT* __s, _CharT __sep, const char* __gbeg, size_t __gsize, const _CharT* __first, const _CharT* __last) { size_t __idx = 0; size_t __ctr = 0; while (__last - __first > __gbeg[__idx] && static_cast(__gbeg[__idx]) > 0 && __gbeg[__idx] != __gnu_cxx::__numeric_traits::__max) { __last -= __gbeg[__idx]; __idx < __gsize - 1 ? ++__idx : ++__ctr; } while (__first != __last) *__s++ = *__first++; while (__ctr--) { *__s++ = __sep; for (char __i = __gbeg[__idx]; __i > 0; --__i) *__s++ = *__first++; } while (__idx--) { *__s++ = __sep; for (char __i = __gbeg[__idx]; __i > 0; --__i) *__s++ = *__first++; } return __s; } extern template class __cxx11:: numpunct; extern template class __cxx11:: numpunct_byname; extern template class num_get; extern template class num_put; extern template class ctype_byname; extern template const ctype& use_facet >(const locale&); extern template const numpunct& use_facet >(const locale&); extern template const num_put& use_facet >(const locale&); extern template const num_get& use_facet >(const locale&); extern template bool has_facet >(const locale&); extern template bool has_facet >(const locale&); extern template bool has_facet >(const locale&); extern template bool has_facet >(const locale&); extern template class __cxx11:: numpunct; extern template class __cxx11:: numpunct_byname; extern template class num_get; extern template class num_put; extern template class ctype_byname; extern template const ctype& use_facet >(const locale&); extern template const numpunct& use_facet >(const locale&); extern template const num_put& use_facet >(const locale&); extern template const num_get& use_facet >(const locale&); extern template bool has_facet >(const locale&); extern template bool has_facet >(const locale&); extern template bool has_facet >(const locale&); extern template bool has_facet >(const locale&); } # 2652 "/usr/include/c++/7/bits/locale_facets.h" 2 3 # 38 "/usr/include/c++/7/bits/basic_ios.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { template inline const _Facet& __check_facet(const _Facet* __f) { if (!__f) __throw_bad_cast(); return *__f; } # 66 "/usr/include/c++/7/bits/basic_ios.h" 3 template class basic_ios : public ios_base { public: typedef _CharT char_type; typedef typename _Traits::int_type int_type; typedef typename _Traits::pos_type pos_type; typedef typename _Traits::off_type off_type; typedef _Traits traits_type; typedef ctype<_CharT> __ctype_type; typedef num_put<_CharT, ostreambuf_iterator<_CharT, _Traits> > __num_put_type; typedef num_get<_CharT, istreambuf_iterator<_CharT, _Traits> > __num_get_type; protected: basic_ostream<_CharT, _Traits>* _M_tie; mutable char_type _M_fill; mutable bool _M_fill_init; basic_streambuf<_CharT, _Traits>* _M_streambuf; const __ctype_type* _M_ctype; const __num_put_type* _M_num_put; const __num_get_type* _M_num_get; public: # 117 "/usr/include/c++/7/bits/basic_ios.h" 3 explicit operator bool() const { return !this->fail(); } bool operator!() const { return this->fail(); } # 136 "/usr/include/c++/7/bits/basic_ios.h" 3 iostate rdstate() const { return _M_streambuf_state; } # 147 "/usr/include/c++/7/bits/basic_ios.h" 3 void clear(iostate __state = goodbit); void setstate(iostate __state) { this->clear(this->rdstate() | __state); } void _M_setstate(iostate __state) { _M_streambuf_state |= __state; if (this->exceptions() & __state) throw; } bool good() const { return this->rdstate() == 0; } bool eof() const { return (this->rdstate() & eofbit) != 0; } # 200 "/usr/include/c++/7/bits/basic_ios.h" 3 bool fail() const { return (this->rdstate() & (badbit | failbit)) != 0; } bool bad() const { return (this->rdstate() & badbit) != 0; } # 221 "/usr/include/c++/7/bits/basic_ios.h" 3 iostate exceptions() const { return _M_exception; } # 256 "/usr/include/c++/7/bits/basic_ios.h" 3 void exceptions(iostate __except) { _M_exception = __except; this->clear(_M_streambuf_state); } explicit basic_ios(basic_streambuf<_CharT, _Traits>* __sb) : ios_base(), _M_tie(0), _M_fill(), _M_fill_init(false), _M_streambuf(0), _M_ctype(0), _M_num_put(0), _M_num_get(0) { this->init(__sb); } virtual ~basic_ios() { } # 294 "/usr/include/c++/7/bits/basic_ios.h" 3 basic_ostream<_CharT, _Traits>* tie() const { return _M_tie; } # 306 "/usr/include/c++/7/bits/basic_ios.h" 3 basic_ostream<_CharT, _Traits>* tie(basic_ostream<_CharT, _Traits>* __tiestr) { basic_ostream<_CharT, _Traits>* __old = _M_tie; _M_tie = __tiestr; return __old; } basic_streambuf<_CharT, _Traits>* rdbuf() const { return _M_streambuf; } # 346 "/usr/include/c++/7/bits/basic_ios.h" 3 basic_streambuf<_CharT, _Traits>* rdbuf(basic_streambuf<_CharT, _Traits>* __sb); # 360 "/usr/include/c++/7/bits/basic_ios.h" 3 basic_ios& copyfmt(const basic_ios& __rhs); char_type fill() const { if (!_M_fill_init) { _M_fill = this->widen(' '); _M_fill_init = true; } return _M_fill; } # 389 "/usr/include/c++/7/bits/basic_ios.h" 3 char_type fill(char_type __ch) { char_type __old = this->fill(); _M_fill = __ch; return __old; } # 409 "/usr/include/c++/7/bits/basic_ios.h" 3 locale imbue(const locale& __loc); # 429 "/usr/include/c++/7/bits/basic_ios.h" 3 char narrow(char_type __c, char __dfault) const { return __check_facet(_M_ctype).narrow(__c, __dfault); } # 448 "/usr/include/c++/7/bits/basic_ios.h" 3 char_type widen(char __c) const { return __check_facet(_M_ctype).widen(__c); } protected: basic_ios() : ios_base(), _M_tie(0), _M_fill(char_type()), _M_fill_init(false), _M_streambuf(0), _M_ctype(0), _M_num_put(0), _M_num_get(0) { } void init(basic_streambuf<_CharT, _Traits>* __sb); basic_ios(const basic_ios&) = delete; basic_ios& operator=(const basic_ios&) = delete; void move(basic_ios& __rhs) { ios_base::_M_move(__rhs); _M_cache_locale(_M_ios_locale); this->tie(__rhs.tie(nullptr)); _M_fill = __rhs._M_fill; _M_fill_init = __rhs._M_fill_init; _M_streambuf = nullptr; } void move(basic_ios&& __rhs) { this->move(__rhs); } void swap(basic_ios& __rhs) noexcept { ios_base::_M_swap(__rhs); _M_cache_locale(_M_ios_locale); __rhs._M_cache_locale(__rhs._M_ios_locale); std::swap(_M_tie, __rhs._M_tie); std::swap(_M_fill, __rhs._M_fill); std::swap(_M_fill_init, __rhs._M_fill_init); } void set_rdbuf(basic_streambuf<_CharT, _Traits>* __sb) { _M_streambuf = __sb; } void _M_cache_locale(const locale& __loc); }; } # 1 "/usr/include/c++/7/bits/basic_ios.tcc" 1 3 # 33 "/usr/include/c++/7/bits/basic_ios.tcc" 3 # 34 "/usr/include/c++/7/bits/basic_ios.tcc" 3 namespace std __attribute__ ((__visibility__ ("default"))) { template void basic_ios<_CharT, _Traits>::clear(iostate __state) { if (this->rdbuf()) _M_streambuf_state = __state; else _M_streambuf_state = __state | badbit; if (this->exceptions() & this->rdstate()) __throw_ios_failure(("basic_ios::clear")); } template basic_streambuf<_CharT, _Traits>* basic_ios<_CharT, _Traits>::rdbuf(basic_streambuf<_CharT, _Traits>* __sb) { basic_streambuf<_CharT, _Traits>* __old = _M_streambuf; _M_streambuf = __sb; this->clear(); return __old; } template basic_ios<_CharT, _Traits>& basic_ios<_CharT, _Traits>::copyfmt(const basic_ios& __rhs) { if (this != &__rhs) { _Words* __words = (__rhs._M_word_size <= _S_local_word_size) ? _M_local_word : new _Words[__rhs._M_word_size]; _Callback_list* __cb = __rhs._M_callbacks; if (__cb) __cb->_M_add_reference(); _M_call_callbacks(erase_event); if (_M_word != _M_local_word) { delete [] _M_word; _M_word = 0; } _M_dispose_callbacks(); _M_callbacks = __cb; for (int __i = 0; __i < __rhs._M_word_size; ++__i) __words[__i] = __rhs._M_word[__i]; _M_word = __words; _M_word_size = __rhs._M_word_size; this->flags(__rhs.flags()); this->width(__rhs.width()); this->precision(__rhs.precision()); this->tie(__rhs.tie()); this->fill(__rhs.fill()); _M_ios_locale = __rhs.getloc(); _M_cache_locale(_M_ios_locale); _M_call_callbacks(copyfmt_event); this->exceptions(__rhs.exceptions()); } return *this; } template locale basic_ios<_CharT, _Traits>::imbue(const locale& __loc) { locale __old(this->getloc()); ios_base::imbue(__loc); _M_cache_locale(__loc); if (this->rdbuf() != 0) this->rdbuf()->pubimbue(__loc); return __old; } template void basic_ios<_CharT, _Traits>::init(basic_streambuf<_CharT, _Traits>* __sb) { ios_base::_M_init(); _M_cache_locale(_M_ios_locale); # 146 "/usr/include/c++/7/bits/basic_ios.tcc" 3 _M_fill = _CharT(); _M_fill_init = false; _M_tie = 0; _M_exception = goodbit; _M_streambuf = __sb; _M_streambuf_state = __sb ? goodbit : badbit; } template void basic_ios<_CharT, _Traits>::_M_cache_locale(const locale& __loc) { if (__builtin_expect(has_facet<__ctype_type>(__loc), true)) _M_ctype = std::__addressof(use_facet<__ctype_type>(__loc)); else _M_ctype = 0; if (__builtin_expect(has_facet<__num_put_type>(__loc), true)) _M_num_put = std::__addressof(use_facet<__num_put_type>(__loc)); else _M_num_put = 0; if (__builtin_expect(has_facet<__num_get_type>(__loc), true)) _M_num_get = std::__addressof(use_facet<__num_get_type>(__loc)); else _M_num_get = 0; } extern template class basic_ios; extern template class basic_ios; } # 517 "/usr/include/c++/7/bits/basic_ios.h" 2 3 # 45 "/usr/include/c++/7/ios" 2 3 # 39 "/usr/include/c++/7/ostream" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 57 "/usr/include/c++/7/ostream" 3 template class basic_ostream : virtual public basic_ios<_CharT, _Traits> { public: typedef _CharT char_type; typedef typename _Traits::int_type int_type; typedef typename _Traits::pos_type pos_type; typedef typename _Traits::off_type off_type; typedef _Traits traits_type; typedef basic_streambuf<_CharT, _Traits> __streambuf_type; typedef basic_ios<_CharT, _Traits> __ios_type; typedef basic_ostream<_CharT, _Traits> __ostream_type; typedef num_put<_CharT, ostreambuf_iterator<_CharT, _Traits> > __num_put_type; typedef ctype<_CharT> __ctype_type; # 83 "/usr/include/c++/7/ostream" 3 explicit basic_ostream(__streambuf_type* __sb) { this->init(__sb); } virtual ~basic_ostream() { } class sentry; friend class sentry; # 107 "/usr/include/c++/7/ostream" 3 __ostream_type& operator<<(__ostream_type& (*__pf)(__ostream_type&)) { return __pf(*this); } __ostream_type& operator<<(__ios_type& (*__pf)(__ios_type&)) { __pf(*this); return *this; } __ostream_type& operator<<(ios_base& (*__pf) (ios_base&)) { __pf(*this); return *this; } # 165 "/usr/include/c++/7/ostream" 3 __ostream_type& operator<<(long __n) { return _M_insert(__n); } __ostream_type& operator<<(unsigned long __n) { return _M_insert(__n); } __ostream_type& operator<<(bool __n) { return _M_insert(__n); } __ostream_type& operator<<(short __n); __ostream_type& operator<<(unsigned short __n) { return _M_insert(static_cast(__n)); } __ostream_type& operator<<(int __n); __ostream_type& operator<<(unsigned int __n) { return _M_insert(static_cast(__n)); } __ostream_type& operator<<(long long __n) { return _M_insert(__n); } __ostream_type& operator<<(unsigned long long __n) { return _M_insert(__n); } # 219 "/usr/include/c++/7/ostream" 3 __ostream_type& operator<<(double __f) { return _M_insert(__f); } __ostream_type& operator<<(float __f) { return _M_insert(static_cast(__f)); } __ostream_type& operator<<(long double __f) { return _M_insert(__f); } # 244 "/usr/include/c++/7/ostream" 3 __ostream_type& operator<<(const void* __p) { return _M_insert(__p); } # 269 "/usr/include/c++/7/ostream" 3 __ostream_type& operator<<(__streambuf_type* __sb); # 302 "/usr/include/c++/7/ostream" 3 __ostream_type& put(char_type __c); void _M_write(const char_type* __s, streamsize __n) { const streamsize __put = this->rdbuf()->sputn(__s, __n); if (__put != __n) this->setstate(ios_base::badbit); } # 334 "/usr/include/c++/7/ostream" 3 __ostream_type& write(const char_type* __s, streamsize __n); # 347 "/usr/include/c++/7/ostream" 3 __ostream_type& flush(); # 357 "/usr/include/c++/7/ostream" 3 pos_type tellp(); # 368 "/usr/include/c++/7/ostream" 3 __ostream_type& seekp(pos_type); # 380 "/usr/include/c++/7/ostream" 3 __ostream_type& seekp(off_type, ios_base::seekdir); protected: basic_ostream() { this->init(0); } basic_ostream(basic_iostream<_CharT, _Traits>&) { } basic_ostream(const basic_ostream&) = delete; basic_ostream(basic_ostream&& __rhs) : __ios_type() { __ios_type::move(__rhs); } basic_ostream& operator=(const basic_ostream&) = delete; basic_ostream& operator=(basic_ostream&& __rhs) { swap(__rhs); return *this; } void swap(basic_ostream& __rhs) { __ios_type::swap(__rhs); } template __ostream_type& _M_insert(_ValueT __v); }; # 425 "/usr/include/c++/7/ostream" 3 template class basic_ostream<_CharT, _Traits>::sentry { bool _M_ok; basic_ostream<_CharT, _Traits>& _M_os; public: # 444 "/usr/include/c++/7/ostream" 3 explicit sentry(basic_ostream<_CharT, _Traits>& __os); # 454 "/usr/include/c++/7/ostream" 3 ~sentry() { if (bool(_M_os.flags() & ios_base::unitbuf) && !uncaught_exception()) { if (_M_os.rdbuf() && _M_os.rdbuf()->pubsync() == -1) _M_os.setstate(ios_base::badbit); } } # 473 "/usr/include/c++/7/ostream" 3 explicit operator bool() const { return _M_ok; } }; # 495 "/usr/include/c++/7/ostream" 3 template inline basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __out, _CharT __c) { return __ostream_insert(__out, &__c, 1); } template inline basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __out, char __c) { return (__out << __out.widen(__c)); } template inline basic_ostream& operator<<(basic_ostream& __out, char __c) { return __ostream_insert(__out, &__c, 1); } template inline basic_ostream& operator<<(basic_ostream& __out, signed char __c) { return (__out << static_cast(__c)); } template inline basic_ostream& operator<<(basic_ostream& __out, unsigned char __c) { return (__out << static_cast(__c)); } # 537 "/usr/include/c++/7/ostream" 3 template inline basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __out, const _CharT* __s) { if (!__s) __out.setstate(ios_base::badbit); else __ostream_insert(__out, __s, static_cast(_Traits::length(__s))); return __out; } template basic_ostream<_CharT, _Traits> & operator<<(basic_ostream<_CharT, _Traits>& __out, const char* __s); template inline basic_ostream& operator<<(basic_ostream& __out, const char* __s) { if (!__s) __out.setstate(ios_base::badbit); else __ostream_insert(__out, __s, static_cast(_Traits::length(__s))); return __out; } template inline basic_ostream& operator<<(basic_ostream& __out, const signed char* __s) { return (__out << reinterpret_cast(__s)); } template inline basic_ostream & operator<<(basic_ostream& __out, const unsigned char* __s) { return (__out << reinterpret_cast(__s)); } # 588 "/usr/include/c++/7/ostream" 3 template inline basic_ostream<_CharT, _Traits>& endl(basic_ostream<_CharT, _Traits>& __os) { return flush(__os.put(__os.widen('\n'))); } # 600 "/usr/include/c++/7/ostream" 3 template inline basic_ostream<_CharT, _Traits>& ends(basic_ostream<_CharT, _Traits>& __os) { return __os.put(_CharT()); } template inline basic_ostream<_CharT, _Traits>& flush(basic_ostream<_CharT, _Traits>& __os) { return __os.flush(); } template basic_ostream<_Ch, _Up>& __is_convertible_to_basic_ostream_test(basic_ostream<_Ch, _Up>*); template struct __is_convertible_to_basic_ostream_impl { using __ostream_type = void; }; template using __do_is_convertible_to_basic_ostream_impl = decltype(__is_convertible_to_basic_ostream_test (declval::type*>())); template struct __is_convertible_to_basic_ostream_impl <_Tp, __void_t<__do_is_convertible_to_basic_ostream_impl<_Tp>>> { using __ostream_type = __do_is_convertible_to_basic_ostream_impl<_Tp>; }; template struct __is_convertible_to_basic_ostream : __is_convertible_to_basic_ostream_impl<_Tp> { public: using type = __not_::__ostream_type>>; constexpr static bool value = type::value; }; template struct __is_insertable : false_type {}; template struct __is_insertable<_Ostream, _Tp, __void_t() << declval())>> : true_type {}; template using __rvalue_ostream_type = typename __is_convertible_to_basic_ostream< _Ostream>::__ostream_type; # 674 "/usr/include/c++/7/ostream" 3 template inline typename enable_if<__and_<__not_>, __is_convertible_to_basic_ostream<_Ostream>, __is_insertable< __rvalue_ostream_type<_Ostream>, const _Tp&>>::value, __rvalue_ostream_type<_Ostream>>::type operator<<(_Ostream&& __os, const _Tp& __x) { __rvalue_ostream_type<_Ostream> __ret_os = __os; __ret_os << __x; return __ret_os; } } # 1 "/usr/include/c++/7/bits/ostream.tcc" 1 3 # 37 "/usr/include/c++/7/bits/ostream.tcc" 3 # 38 "/usr/include/c++/7/bits/ostream.tcc" 3 namespace std __attribute__ ((__visibility__ ("default"))) { template basic_ostream<_CharT, _Traits>::sentry:: sentry(basic_ostream<_CharT, _Traits>& __os) : _M_ok(false), _M_os(__os) { if (__os.tie() && __os.good()) __os.tie()->flush(); if (__os.good()) _M_ok = true; else __os.setstate(ios_base::failbit); } template template basic_ostream<_CharT, _Traits>& basic_ostream<_CharT, _Traits>:: _M_insert(_ValueT __v) { sentry __cerb(*this); if (__cerb) { ios_base::iostate __err = ios_base::goodbit; try { const __num_put_type& __np = __check_facet(this->_M_num_put); if (__np.put(*this, *this, this->fill(), __v).failed()) __err |= ios_base::badbit; } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); } return *this; } template basic_ostream<_CharT, _Traits>& basic_ostream<_CharT, _Traits>:: operator<<(short __n) { const ios_base::fmtflags __fmt = this->flags() & ios_base::basefield; if (__fmt == ios_base::oct || __fmt == ios_base::hex) return _M_insert(static_cast(static_cast(__n))); else return _M_insert(static_cast(__n)); } template basic_ostream<_CharT, _Traits>& basic_ostream<_CharT, _Traits>:: operator<<(int __n) { const ios_base::fmtflags __fmt = this->flags() & ios_base::basefield; if (__fmt == ios_base::oct || __fmt == ios_base::hex) return _M_insert(static_cast(static_cast(__n))); else return _M_insert(static_cast(__n)); } template basic_ostream<_CharT, _Traits>& basic_ostream<_CharT, _Traits>:: operator<<(__streambuf_type* __sbin) { ios_base::iostate __err = ios_base::goodbit; sentry __cerb(*this); if (__cerb && __sbin) { try { if (!__copy_streambufs(__sbin, this->rdbuf())) __err |= ios_base::failbit; } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::failbit); } } else if (!__sbin) __err |= ios_base::badbit; if (__err) this->setstate(__err); return *this; } template basic_ostream<_CharT, _Traits>& basic_ostream<_CharT, _Traits>:: put(char_type __c) { sentry __cerb(*this); if (__cerb) { ios_base::iostate __err = ios_base::goodbit; try { const int_type __put = this->rdbuf()->sputc(__c); if (traits_type::eq_int_type(__put, traits_type::eof())) __err |= ios_base::badbit; } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); } return *this; } template basic_ostream<_CharT, _Traits>& basic_ostream<_CharT, _Traits>:: write(const _CharT* __s, streamsize __n) { sentry __cerb(*this); if (__cerb) { try { _M_write(__s, __n); } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } } return *this; } template basic_ostream<_CharT, _Traits>& basic_ostream<_CharT, _Traits>:: flush() { ios_base::iostate __err = ios_base::goodbit; try { if (this->rdbuf() && this->rdbuf()->pubsync() == -1) __err |= ios_base::badbit; } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); return *this; } template typename basic_ostream<_CharT, _Traits>::pos_type basic_ostream<_CharT, _Traits>:: tellp() { pos_type __ret = pos_type(-1); try { if (!this->fail()) __ret = this->rdbuf()->pubseekoff(0, ios_base::cur, ios_base::out); } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } return __ret; } template basic_ostream<_CharT, _Traits>& basic_ostream<_CharT, _Traits>:: seekp(pos_type __pos) { ios_base::iostate __err = ios_base::goodbit; try { if (!this->fail()) { const pos_type __p = this->rdbuf()->pubseekpos(__pos, ios_base::out); if (__p == pos_type(off_type(-1))) __err |= ios_base::failbit; } } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); return *this; } template basic_ostream<_CharT, _Traits>& basic_ostream<_CharT, _Traits>:: seekp(off_type __off, ios_base::seekdir __dir) { ios_base::iostate __err = ios_base::goodbit; try { if (!this->fail()) { const pos_type __p = this->rdbuf()->pubseekoff(__off, __dir, ios_base::out); if (__p == pos_type(off_type(-1))) __err |= ios_base::failbit; } } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); return *this; } template basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __out, const char* __s) { if (!__s) __out.setstate(ios_base::badbit); else { const size_t __clen = char_traits::length(__s); try { struct __ptr_guard { _CharT *__p; __ptr_guard (_CharT *__ip): __p(__ip) { } ~__ptr_guard() { delete[] __p; } _CharT* __get() { return __p; } } __pg (new _CharT[__clen]); _CharT *__ws = __pg.__get(); for (size_t __i = 0; __i < __clen; ++__i) __ws[__i] = __out.widen(__s[__i]); __ostream_insert(__out, __ws, __clen); } catch(__cxxabiv1::__forced_unwind&) { __out._M_setstate(ios_base::badbit); throw; } catch(...) { __out._M_setstate(ios_base::badbit); } } return __out; } extern template class basic_ostream; extern template ostream& endl(ostream&); extern template ostream& ends(ostream&); extern template ostream& flush(ostream&); extern template ostream& operator<<(ostream&, char); extern template ostream& operator<<(ostream&, unsigned char); extern template ostream& operator<<(ostream&, signed char); extern template ostream& operator<<(ostream&, const char*); extern template ostream& operator<<(ostream&, const unsigned char*); extern template ostream& operator<<(ostream&, const signed char*); extern template ostream& ostream::_M_insert(long); extern template ostream& ostream::_M_insert(unsigned long); extern template ostream& ostream::_M_insert(bool); extern template ostream& ostream::_M_insert(long long); extern template ostream& ostream::_M_insert(unsigned long long); extern template ostream& ostream::_M_insert(double); extern template ostream& ostream::_M_insert(long double); extern template ostream& ostream::_M_insert(const void*); extern template class basic_ostream; extern template wostream& endl(wostream&); extern template wostream& ends(wostream&); extern template wostream& flush(wostream&); extern template wostream& operator<<(wostream&, wchar_t); extern template wostream& operator<<(wostream&, char); extern template wostream& operator<<(wostream&, const wchar_t*); extern template wostream& operator<<(wostream&, const char*); extern template wostream& wostream::_M_insert(long); extern template wostream& wostream::_M_insert(unsigned long); extern template wostream& wostream::_M_insert(bool); extern template wostream& wostream::_M_insert(long long); extern template wostream& wostream::_M_insert(unsigned long long); extern template wostream& wostream::_M_insert(double); extern template wostream& wostream::_M_insert(long double); extern template wostream& wostream::_M_insert(const void*); } # 694 "/usr/include/c++/7/ostream" 2 3 # 40 "/usr/include/c++/7/iostream" 2 3 # 1 "/usr/include/c++/7/istream" 1 3 # 36 "/usr/include/c++/7/istream" 3 # 37 "/usr/include/c++/7/istream" 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 57 "/usr/include/c++/7/istream" 3 template class basic_istream : virtual public basic_ios<_CharT, _Traits> { public: typedef _CharT char_type; typedef typename _Traits::int_type int_type; typedef typename _Traits::pos_type pos_type; typedef typename _Traits::off_type off_type; typedef _Traits traits_type; typedef basic_streambuf<_CharT, _Traits> __streambuf_type; typedef basic_ios<_CharT, _Traits> __ios_type; typedef basic_istream<_CharT, _Traits> __istream_type; typedef num_get<_CharT, istreambuf_iterator<_CharT, _Traits> > __num_get_type; typedef ctype<_CharT> __ctype_type; protected: streamsize _M_gcount; public: explicit basic_istream(__streambuf_type* __sb) : _M_gcount(streamsize(0)) { this->init(__sb); } virtual ~basic_istream() { _M_gcount = streamsize(0); } class sentry; friend class sentry; # 119 "/usr/include/c++/7/istream" 3 __istream_type& operator>>(__istream_type& (*__pf)(__istream_type&)) { return __pf(*this); } __istream_type& operator>>(__ios_type& (*__pf)(__ios_type&)) { __pf(*this); return *this; } __istream_type& operator>>(ios_base& (*__pf)(ios_base&)) { __pf(*this); return *this; } # 167 "/usr/include/c++/7/istream" 3 __istream_type& operator>>(bool& __n) { return _M_extract(__n); } __istream_type& operator>>(short& __n); __istream_type& operator>>(unsigned short& __n) { return _M_extract(__n); } __istream_type& operator>>(int& __n); __istream_type& operator>>(unsigned int& __n) { return _M_extract(__n); } __istream_type& operator>>(long& __n) { return _M_extract(__n); } __istream_type& operator>>(unsigned long& __n) { return _M_extract(__n); } __istream_type& operator>>(long long& __n) { return _M_extract(__n); } __istream_type& operator>>(unsigned long long& __n) { return _M_extract(__n); } # 213 "/usr/include/c++/7/istream" 3 __istream_type& operator>>(float& __f) { return _M_extract(__f); } __istream_type& operator>>(double& __f) { return _M_extract(__f); } __istream_type& operator>>(long double& __f) { return _M_extract(__f); } # 234 "/usr/include/c++/7/istream" 3 __istream_type& operator>>(void*& __p) { return _M_extract(__p); } # 258 "/usr/include/c++/7/istream" 3 __istream_type& operator>>(__streambuf_type* __sb); # 268 "/usr/include/c++/7/istream" 3 streamsize gcount() const { return _M_gcount; } # 301 "/usr/include/c++/7/istream" 3 int_type get(); # 315 "/usr/include/c++/7/istream" 3 __istream_type& get(char_type& __c); # 342 "/usr/include/c++/7/istream" 3 __istream_type& get(char_type* __s, streamsize __n, char_type __delim); # 353 "/usr/include/c++/7/istream" 3 __istream_type& get(char_type* __s, streamsize __n) { return this->get(__s, __n, this->widen('\n')); } # 376 "/usr/include/c++/7/istream" 3 __istream_type& get(__streambuf_type& __sb, char_type __delim); # 386 "/usr/include/c++/7/istream" 3 __istream_type& get(__streambuf_type& __sb) { return this->get(__sb, this->widen('\n')); } # 415 "/usr/include/c++/7/istream" 3 __istream_type& getline(char_type* __s, streamsize __n, char_type __delim); # 426 "/usr/include/c++/7/istream" 3 __istream_type& getline(char_type* __s, streamsize __n) { return this->getline(__s, __n, this->widen('\n')); } # 450 "/usr/include/c++/7/istream" 3 __istream_type& ignore(streamsize __n, int_type __delim); __istream_type& ignore(streamsize __n); __istream_type& ignore(); # 467 "/usr/include/c++/7/istream" 3 int_type peek(); # 485 "/usr/include/c++/7/istream" 3 __istream_type& read(char_type* __s, streamsize __n); # 504 "/usr/include/c++/7/istream" 3 streamsize readsome(char_type* __s, streamsize __n); # 521 "/usr/include/c++/7/istream" 3 __istream_type& putback(char_type __c); # 537 "/usr/include/c++/7/istream" 3 __istream_type& unget(); # 555 "/usr/include/c++/7/istream" 3 int sync(); # 570 "/usr/include/c++/7/istream" 3 pos_type tellg(); # 585 "/usr/include/c++/7/istream" 3 __istream_type& seekg(pos_type); # 601 "/usr/include/c++/7/istream" 3 __istream_type& seekg(off_type, ios_base::seekdir); protected: basic_istream() : _M_gcount(streamsize(0)) { this->init(0); } basic_istream(const basic_istream&) = delete; basic_istream(basic_istream&& __rhs) : __ios_type(), _M_gcount(__rhs._M_gcount) { __ios_type::move(__rhs); __rhs._M_gcount = 0; } basic_istream& operator=(const basic_istream&) = delete; basic_istream& operator=(basic_istream&& __rhs) { swap(__rhs); return *this; } void swap(basic_istream& __rhs) { __ios_type::swap(__rhs); std::swap(_M_gcount, __rhs._M_gcount); } template __istream_type& _M_extract(_ValueT& __v); }; template<> basic_istream& basic_istream:: getline(char_type* __s, streamsize __n, char_type __delim); template<> basic_istream& basic_istream:: ignore(streamsize __n); template<> basic_istream& basic_istream:: ignore(streamsize __n, int_type __delim); template<> basic_istream& basic_istream:: getline(char_type* __s, streamsize __n, char_type __delim); template<> basic_istream& basic_istream:: ignore(streamsize __n); template<> basic_istream& basic_istream:: ignore(streamsize __n, int_type __delim); # 685 "/usr/include/c++/7/istream" 3 template class basic_istream<_CharT, _Traits>::sentry { bool _M_ok; public: typedef _Traits traits_type; typedef basic_streambuf<_CharT, _Traits> __streambuf_type; typedef basic_istream<_CharT, _Traits> __istream_type; typedef typename __istream_type::__ctype_type __ctype_type; typedef typename _Traits::int_type __int_type; # 721 "/usr/include/c++/7/istream" 3 explicit sentry(basic_istream<_CharT, _Traits>& __is, bool __noskipws = false); # 732 "/usr/include/c++/7/istream" 3 explicit operator bool() const { return _M_ok; } }; # 750 "/usr/include/c++/7/istream" 3 template basic_istream<_CharT, _Traits>& operator>>(basic_istream<_CharT, _Traits>& __in, _CharT& __c); template inline basic_istream& operator>>(basic_istream& __in, unsigned char& __c) { return (__in >> reinterpret_cast(__c)); } template inline basic_istream& operator>>(basic_istream& __in, signed char& __c) { return (__in >> reinterpret_cast(__c)); } # 792 "/usr/include/c++/7/istream" 3 template basic_istream<_CharT, _Traits>& operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s); template<> basic_istream& operator>>(basic_istream& __in, char* __s); template inline basic_istream& operator>>(basic_istream& __in, unsigned char* __s) { return (__in >> reinterpret_cast(__s)); } template inline basic_istream& operator>>(basic_istream& __in, signed char* __s) { return (__in >> reinterpret_cast(__s)); } # 823 "/usr/include/c++/7/istream" 3 template class basic_iostream : public basic_istream<_CharT, _Traits>, public basic_ostream<_CharT, _Traits> { public: typedef _CharT char_type; typedef typename _Traits::int_type int_type; typedef typename _Traits::pos_type pos_type; typedef typename _Traits::off_type off_type; typedef _Traits traits_type; typedef basic_istream<_CharT, _Traits> __istream_type; typedef basic_ostream<_CharT, _Traits> __ostream_type; explicit basic_iostream(basic_streambuf<_CharT, _Traits>* __sb) : __istream_type(__sb), __ostream_type(__sb) { } virtual ~basic_iostream() { } protected: basic_iostream() : __istream_type(), __ostream_type() { } basic_iostream(const basic_iostream&) = delete; basic_iostream(basic_iostream&& __rhs) : __istream_type(std::move(__rhs)), __ostream_type(*this) { } basic_iostream& operator=(const basic_iostream&) = delete; basic_iostream& operator=(basic_iostream&& __rhs) { swap(__rhs); return *this; } void swap(basic_iostream& __rhs) { __istream_type::swap(__rhs); } }; # 906 "/usr/include/c++/7/istream" 3 template basic_istream<_CharT, _Traits>& ws(basic_istream<_CharT, _Traits>& __is); template basic_istream<_Ch, _Up>& __is_convertible_to_basic_istream_test(basic_istream<_Ch, _Up>*); template struct __is_convertible_to_basic_istream_impl { using __istream_type = void; }; template using __do_is_convertible_to_basic_istream_impl = decltype(__is_convertible_to_basic_istream_test (declval::type*>())); template struct __is_convertible_to_basic_istream_impl <_Tp, __void_t<__do_is_convertible_to_basic_istream_impl<_Tp>>> { using __istream_type = __do_is_convertible_to_basic_istream_impl<_Tp>; }; template struct __is_convertible_to_basic_istream : __is_convertible_to_basic_istream_impl<_Tp> { public: using type = __not_::__istream_type>>; constexpr static bool value = type::value; }; template struct __is_extractable : false_type {}; template struct __is_extractable<_Istream, _Tp, __void_t() >> declval<_Tp>())>> : true_type {}; template using __rvalue_istream_type = typename __is_convertible_to_basic_istream< _Istream>::__istream_type; # 972 "/usr/include/c++/7/istream" 3 template inline typename enable_if<__and_<__not_>, __is_convertible_to_basic_istream<_Istream>, __is_extractable< __rvalue_istream_type<_Istream>, _Tp&&>>::value, __rvalue_istream_type<_Istream>>::type operator>>(_Istream&& __is, _Tp&& __x) { __rvalue_istream_type<_Istream> __ret_is = __is; __ret_is >> std::forward<_Tp>(__x); return __ret_is; } } # 1 "/usr/include/c++/7/bits/istream.tcc" 1 3 # 37 "/usr/include/c++/7/bits/istream.tcc" 3 # 38 "/usr/include/c++/7/bits/istream.tcc" 3 namespace std __attribute__ ((__visibility__ ("default"))) { template basic_istream<_CharT, _Traits>::sentry:: sentry(basic_istream<_CharT, _Traits>& __in, bool __noskip) : _M_ok(false) { ios_base::iostate __err = ios_base::goodbit; if (__in.good()) try { if (__in.tie()) __in.tie()->flush(); if (!__noskip && bool(__in.flags() & ios_base::skipws)) { const __int_type __eof = traits_type::eof(); __streambuf_type* __sb = __in.rdbuf(); __int_type __c = __sb->sgetc(); const __ctype_type& __ct = __check_facet(__in._M_ctype); while (!traits_type::eq_int_type(__c, __eof) && __ct.is(ctype_base::space, traits_type::to_char_type(__c))) __c = __sb->snextc(); if (traits_type::eq_int_type(__c, __eof)) __err |= ios_base::eofbit; } } catch(__cxxabiv1::__forced_unwind&) { __in._M_setstate(ios_base::badbit); throw; } catch(...) { __in._M_setstate(ios_base::badbit); } if (__in.good() && __err == ios_base::goodbit) _M_ok = true; else { __err |= ios_base::failbit; __in.setstate(__err); } } template template basic_istream<_CharT, _Traits>& basic_istream<_CharT, _Traits>:: _M_extract(_ValueT& __v) { sentry __cerb(*this, false); if (__cerb) { ios_base::iostate __err = ios_base::goodbit; try { const __num_get_type& __ng = __check_facet(this->_M_num_get); __ng.get(*this, 0, *this, __err, __v); } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); } return *this; } template basic_istream<_CharT, _Traits>& basic_istream<_CharT, _Traits>:: operator>>(short& __n) { sentry __cerb(*this, false); if (__cerb) { ios_base::iostate __err = ios_base::goodbit; try { long __l; const __num_get_type& __ng = __check_facet(this->_M_num_get); __ng.get(*this, 0, *this, __err, __l); if (__l < __gnu_cxx::__numeric_traits::__min) { __err |= ios_base::failbit; __n = __gnu_cxx::__numeric_traits::__min; } else if (__l > __gnu_cxx::__numeric_traits::__max) { __err |= ios_base::failbit; __n = __gnu_cxx::__numeric_traits::__max; } else __n = short(__l); } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); } return *this; } template basic_istream<_CharT, _Traits>& basic_istream<_CharT, _Traits>:: operator>>(int& __n) { sentry __cerb(*this, false); if (__cerb) { ios_base::iostate __err = ios_base::goodbit; try { long __l; const __num_get_type& __ng = __check_facet(this->_M_num_get); __ng.get(*this, 0, *this, __err, __l); if (__l < __gnu_cxx::__numeric_traits::__min) { __err |= ios_base::failbit; __n = __gnu_cxx::__numeric_traits::__min; } else if (__l > __gnu_cxx::__numeric_traits::__max) { __err |= ios_base::failbit; __n = __gnu_cxx::__numeric_traits::__max; } else __n = int(__l); } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); } return *this; } template basic_istream<_CharT, _Traits>& basic_istream<_CharT, _Traits>:: operator>>(__streambuf_type* __sbout) { ios_base::iostate __err = ios_base::goodbit; sentry __cerb(*this, false); if (__cerb && __sbout) { try { bool __ineof; if (!__copy_streambufs_eof(this->rdbuf(), __sbout, __ineof)) __err |= ios_base::failbit; if (__ineof) __err |= ios_base::eofbit; } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::failbit); throw; } catch(...) { this->_M_setstate(ios_base::failbit); } } else if (!__sbout) __err |= ios_base::failbit; if (__err) this->setstate(__err); return *this; } template typename basic_istream<_CharT, _Traits>::int_type basic_istream<_CharT, _Traits>:: get(void) { const int_type __eof = traits_type::eof(); int_type __c = __eof; _M_gcount = 0; ios_base::iostate __err = ios_base::goodbit; sentry __cerb(*this, true); if (__cerb) { try { __c = this->rdbuf()->sbumpc(); if (!traits_type::eq_int_type(__c, __eof)) _M_gcount = 1; else __err |= ios_base::eofbit; } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } } if (!_M_gcount) __err |= ios_base::failbit; if (__err) this->setstate(__err); return __c; } template basic_istream<_CharT, _Traits>& basic_istream<_CharT, _Traits>:: get(char_type& __c) { _M_gcount = 0; ios_base::iostate __err = ios_base::goodbit; sentry __cerb(*this, true); if (__cerb) { try { const int_type __cb = this->rdbuf()->sbumpc(); if (!traits_type::eq_int_type(__cb, traits_type::eof())) { _M_gcount = 1; __c = traits_type::to_char_type(__cb); } else __err |= ios_base::eofbit; } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } } if (!_M_gcount) __err |= ios_base::failbit; if (__err) this->setstate(__err); return *this; } template basic_istream<_CharT, _Traits>& basic_istream<_CharT, _Traits>:: get(char_type* __s, streamsize __n, char_type __delim) { _M_gcount = 0; ios_base::iostate __err = ios_base::goodbit; sentry __cerb(*this, true); if (__cerb) { try { const int_type __idelim = traits_type::to_int_type(__delim); const int_type __eof = traits_type::eof(); __streambuf_type* __sb = this->rdbuf(); int_type __c = __sb->sgetc(); while (_M_gcount + 1 < __n && !traits_type::eq_int_type(__c, __eof) && !traits_type::eq_int_type(__c, __idelim)) { *__s++ = traits_type::to_char_type(__c); ++_M_gcount; __c = __sb->snextc(); } if (traits_type::eq_int_type(__c, __eof)) __err |= ios_base::eofbit; } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } } if (__n > 0) *__s = char_type(); if (!_M_gcount) __err |= ios_base::failbit; if (__err) this->setstate(__err); return *this; } template basic_istream<_CharT, _Traits>& basic_istream<_CharT, _Traits>:: get(__streambuf_type& __sb, char_type __delim) { _M_gcount = 0; ios_base::iostate __err = ios_base::goodbit; sentry __cerb(*this, true); if (__cerb) { try { const int_type __idelim = traits_type::to_int_type(__delim); const int_type __eof = traits_type::eof(); __streambuf_type* __this_sb = this->rdbuf(); int_type __c = __this_sb->sgetc(); char_type __c2 = traits_type::to_char_type(__c); while (!traits_type::eq_int_type(__c, __eof) && !traits_type::eq_int_type(__c, __idelim) && !traits_type::eq_int_type(__sb.sputc(__c2), __eof)) { ++_M_gcount; __c = __this_sb->snextc(); __c2 = traits_type::to_char_type(__c); } if (traits_type::eq_int_type(__c, __eof)) __err |= ios_base::eofbit; } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } } if (!_M_gcount) __err |= ios_base::failbit; if (__err) this->setstate(__err); return *this; } template basic_istream<_CharT, _Traits>& basic_istream<_CharT, _Traits>:: getline(char_type* __s, streamsize __n, char_type __delim) { _M_gcount = 0; ios_base::iostate __err = ios_base::goodbit; sentry __cerb(*this, true); if (__cerb) { try { const int_type __idelim = traits_type::to_int_type(__delim); const int_type __eof = traits_type::eof(); __streambuf_type* __sb = this->rdbuf(); int_type __c = __sb->sgetc(); while (_M_gcount + 1 < __n && !traits_type::eq_int_type(__c, __eof) && !traits_type::eq_int_type(__c, __idelim)) { *__s++ = traits_type::to_char_type(__c); __c = __sb->snextc(); ++_M_gcount; } if (traits_type::eq_int_type(__c, __eof)) __err |= ios_base::eofbit; else { if (traits_type::eq_int_type(__c, __idelim)) { __sb->sbumpc(); ++_M_gcount; } else __err |= ios_base::failbit; } } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } } if (__n > 0) *__s = char_type(); if (!_M_gcount) __err |= ios_base::failbit; if (__err) this->setstate(__err); return *this; } template basic_istream<_CharT, _Traits>& basic_istream<_CharT, _Traits>:: ignore(void) { _M_gcount = 0; sentry __cerb(*this, true); if (__cerb) { ios_base::iostate __err = ios_base::goodbit; try { const int_type __eof = traits_type::eof(); __streambuf_type* __sb = this->rdbuf(); if (traits_type::eq_int_type(__sb->sbumpc(), __eof)) __err |= ios_base::eofbit; else _M_gcount = 1; } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); } return *this; } template basic_istream<_CharT, _Traits>& basic_istream<_CharT, _Traits>:: ignore(streamsize __n) { _M_gcount = 0; sentry __cerb(*this, true); if (__cerb && __n > 0) { ios_base::iostate __err = ios_base::goodbit; try { const int_type __eof = traits_type::eof(); __streambuf_type* __sb = this->rdbuf(); int_type __c = __sb->sgetc(); # 521 "/usr/include/c++/7/bits/istream.tcc" 3 bool __large_ignore = false; while (true) { while (_M_gcount < __n && !traits_type::eq_int_type(__c, __eof)) { ++_M_gcount; __c = __sb->snextc(); } if (__n == __gnu_cxx::__numeric_traits::__max && !traits_type::eq_int_type(__c, __eof)) { _M_gcount = __gnu_cxx::__numeric_traits::__min; __large_ignore = true; } else break; } if (__large_ignore) _M_gcount = __gnu_cxx::__numeric_traits::__max; if (traits_type::eq_int_type(__c, __eof)) __err |= ios_base::eofbit; } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); } return *this; } template basic_istream<_CharT, _Traits>& basic_istream<_CharT, _Traits>:: ignore(streamsize __n, int_type __delim) { _M_gcount = 0; sentry __cerb(*this, true); if (__cerb && __n > 0) { ios_base::iostate __err = ios_base::goodbit; try { const int_type __eof = traits_type::eof(); __streambuf_type* __sb = this->rdbuf(); int_type __c = __sb->sgetc(); bool __large_ignore = false; while (true) { while (_M_gcount < __n && !traits_type::eq_int_type(__c, __eof) && !traits_type::eq_int_type(__c, __delim)) { ++_M_gcount; __c = __sb->snextc(); } if (__n == __gnu_cxx::__numeric_traits::__max && !traits_type::eq_int_type(__c, __eof) && !traits_type::eq_int_type(__c, __delim)) { _M_gcount = __gnu_cxx::__numeric_traits::__min; __large_ignore = true; } else break; } if (__large_ignore) _M_gcount = __gnu_cxx::__numeric_traits::__max; if (traits_type::eq_int_type(__c, __eof)) __err |= ios_base::eofbit; else if (traits_type::eq_int_type(__c, __delim)) { if (_M_gcount < __gnu_cxx::__numeric_traits::__max) ++_M_gcount; __sb->sbumpc(); } } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); } return *this; } template typename basic_istream<_CharT, _Traits>::int_type basic_istream<_CharT, _Traits>:: peek(void) { int_type __c = traits_type::eof(); _M_gcount = 0; sentry __cerb(*this, true); if (__cerb) { ios_base::iostate __err = ios_base::goodbit; try { __c = this->rdbuf()->sgetc(); if (traits_type::eq_int_type(__c, traits_type::eof())) __err |= ios_base::eofbit; } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); } return __c; } template basic_istream<_CharT, _Traits>& basic_istream<_CharT, _Traits>:: read(char_type* __s, streamsize __n) { _M_gcount = 0; sentry __cerb(*this, true); if (__cerb) { ios_base::iostate __err = ios_base::goodbit; try { _M_gcount = this->rdbuf()->sgetn(__s, __n); if (_M_gcount != __n) __err |= (ios_base::eofbit | ios_base::failbit); } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); } return *this; } template streamsize basic_istream<_CharT, _Traits>:: readsome(char_type* __s, streamsize __n) { _M_gcount = 0; sentry __cerb(*this, true); if (__cerb) { ios_base::iostate __err = ios_base::goodbit; try { const streamsize __num = this->rdbuf()->in_avail(); if (__num > 0) _M_gcount = this->rdbuf()->sgetn(__s, std::min(__num, __n)); else if (__num == -1) __err |= ios_base::eofbit; } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); } return _M_gcount; } template basic_istream<_CharT, _Traits>& basic_istream<_CharT, _Traits>:: putback(char_type __c) { _M_gcount = 0; this->clear(this->rdstate() & ~ios_base::eofbit); sentry __cerb(*this, true); if (__cerb) { ios_base::iostate __err = ios_base::goodbit; try { const int_type __eof = traits_type::eof(); __streambuf_type* __sb = this->rdbuf(); if (!__sb || traits_type::eq_int_type(__sb->sputbackc(__c), __eof)) __err |= ios_base::badbit; } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); } return *this; } template basic_istream<_CharT, _Traits>& basic_istream<_CharT, _Traits>:: unget(void) { _M_gcount = 0; this->clear(this->rdstate() & ~ios_base::eofbit); sentry __cerb(*this, true); if (__cerb) { ios_base::iostate __err = ios_base::goodbit; try { const int_type __eof = traits_type::eof(); __streambuf_type* __sb = this->rdbuf(); if (!__sb || traits_type::eq_int_type(__sb->sungetc(), __eof)) __err |= ios_base::badbit; } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); } return *this; } template int basic_istream<_CharT, _Traits>:: sync(void) { int __ret = -1; sentry __cerb(*this, true); if (__cerb) { ios_base::iostate __err = ios_base::goodbit; try { __streambuf_type* __sb = this->rdbuf(); if (__sb) { if (__sb->pubsync() == -1) __err |= ios_base::badbit; else __ret = 0; } } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); } return __ret; } template typename basic_istream<_CharT, _Traits>::pos_type basic_istream<_CharT, _Traits>:: tellg(void) { pos_type __ret = pos_type(-1); sentry __cerb(*this, true); if (__cerb) { try { if (!this->fail()) __ret = this->rdbuf()->pubseekoff(0, ios_base::cur, ios_base::in); } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } } return __ret; } template basic_istream<_CharT, _Traits>& basic_istream<_CharT, _Traits>:: seekg(pos_type __pos) { this->clear(this->rdstate() & ~ios_base::eofbit); sentry __cerb(*this, true); if (__cerb) { ios_base::iostate __err = ios_base::goodbit; try { if (!this->fail()) { const pos_type __p = this->rdbuf()->pubseekpos(__pos, ios_base::in); if (__p == pos_type(off_type(-1))) __err |= ios_base::failbit; } } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); } return *this; } template basic_istream<_CharT, _Traits>& basic_istream<_CharT, _Traits>:: seekg(off_type __off, ios_base::seekdir __dir) { this->clear(this->rdstate() & ~ios_base::eofbit); sentry __cerb(*this, true); if (__cerb) { ios_base::iostate __err = ios_base::goodbit; try { if (!this->fail()) { const pos_type __p = this->rdbuf()->pubseekoff(__off, __dir, ios_base::in); if (__p == pos_type(off_type(-1))) __err |= ios_base::failbit; } } catch(__cxxabiv1::__forced_unwind&) { this->_M_setstate(ios_base::badbit); throw; } catch(...) { this->_M_setstate(ios_base::badbit); } if (__err) this->setstate(__err); } return *this; } template basic_istream<_CharT, _Traits>& operator>>(basic_istream<_CharT, _Traits>& __in, _CharT& __c) { typedef basic_istream<_CharT, _Traits> __istream_type; typedef typename __istream_type::int_type __int_type; typename __istream_type::sentry __cerb(__in, false); if (__cerb) { ios_base::iostate __err = ios_base::goodbit; try { const __int_type __cb = __in.rdbuf()->sbumpc(); if (!_Traits::eq_int_type(__cb, _Traits::eof())) __c = _Traits::to_char_type(__cb); else __err |= (ios_base::eofbit | ios_base::failbit); } catch(__cxxabiv1::__forced_unwind&) { __in._M_setstate(ios_base::badbit); throw; } catch(...) { __in._M_setstate(ios_base::badbit); } if (__err) __in.setstate(__err); } return __in; } template basic_istream<_CharT, _Traits>& operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s) { typedef basic_istream<_CharT, _Traits> __istream_type; typedef basic_streambuf<_CharT, _Traits> __streambuf_type; typedef typename _Traits::int_type int_type; typedef _CharT char_type; typedef ctype<_CharT> __ctype_type; streamsize __extracted = 0; ios_base::iostate __err = ios_base::goodbit; typename __istream_type::sentry __cerb(__in, false); if (__cerb) { try { streamsize __num = __in.width(); if (__num <= 0) __num = __gnu_cxx::__numeric_traits::__max; const __ctype_type& __ct = use_facet<__ctype_type>(__in.getloc()); const int_type __eof = _Traits::eof(); __streambuf_type* __sb = __in.rdbuf(); int_type __c = __sb->sgetc(); while (__extracted < __num - 1 && !_Traits::eq_int_type(__c, __eof) && !__ct.is(ctype_base::space, _Traits::to_char_type(__c))) { *__s++ = _Traits::to_char_type(__c); ++__extracted; __c = __sb->snextc(); } if (_Traits::eq_int_type(__c, __eof)) __err |= ios_base::eofbit; *__s = char_type(); __in.width(0); } catch(__cxxabiv1::__forced_unwind&) { __in._M_setstate(ios_base::badbit); throw; } catch(...) { __in._M_setstate(ios_base::badbit); } } if (!__extracted) __err |= ios_base::failbit; if (__err) __in.setstate(__err); return __in; } template basic_istream<_CharT, _Traits>& ws(basic_istream<_CharT, _Traits>& __in) { typedef basic_istream<_CharT, _Traits> __istream_type; typedef basic_streambuf<_CharT, _Traits> __streambuf_type; typedef typename __istream_type::int_type __int_type; typedef ctype<_CharT> __ctype_type; const __ctype_type& __ct = use_facet<__ctype_type>(__in.getloc()); const __int_type __eof = _Traits::eof(); __streambuf_type* __sb = __in.rdbuf(); __int_type __c = __sb->sgetc(); while (!_Traits::eq_int_type(__c, __eof) && __ct.is(ctype_base::space, _Traits::to_char_type(__c))) __c = __sb->snextc(); if (_Traits::eq_int_type(__c, __eof)) __in.setstate(ios_base::eofbit); return __in; } extern template class basic_istream; extern template istream& ws(istream&); extern template istream& operator>>(istream&, char&); extern template istream& operator>>(istream&, char*); extern template istream& operator>>(istream&, unsigned char&); extern template istream& operator>>(istream&, signed char&); extern template istream& operator>>(istream&, unsigned char*); extern template istream& operator>>(istream&, signed char*); extern template istream& istream::_M_extract(unsigned short&); extern template istream& istream::_M_extract(unsigned int&); extern template istream& istream::_M_extract(long&); extern template istream& istream::_M_extract(unsigned long&); extern template istream& istream::_M_extract(bool&); extern template istream& istream::_M_extract(long long&); extern template istream& istream::_M_extract(unsigned long long&); extern template istream& istream::_M_extract(float&); extern template istream& istream::_M_extract(double&); extern template istream& istream::_M_extract(long double&); extern template istream& istream::_M_extract(void*&); extern template class basic_iostream; extern template class basic_istream; extern template wistream& ws(wistream&); extern template wistream& operator>>(wistream&, wchar_t&); extern template wistream& operator>>(wistream&, wchar_t*); extern template wistream& wistream::_M_extract(unsigned short&); extern template wistream& wistream::_M_extract(unsigned int&); extern template wistream& wistream::_M_extract(long&); extern template wistream& wistream::_M_extract(unsigned long&); extern template wistream& wistream::_M_extract(bool&); extern template wistream& wistream::_M_extract(long long&); extern template wistream& wistream::_M_extract(unsigned long long&); extern template wistream& wistream::_M_extract(float&); extern template wistream& wistream::_M_extract(double&); extern template wistream& wistream::_M_extract(long double&); extern template wistream& wistream::_M_extract(void*&); extern template class basic_iostream; } # 992 "/usr/include/c++/7/istream" 2 3 # 41 "/usr/include/c++/7/iostream" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { # 60 "/usr/include/c++/7/iostream" 3 extern istream cin; extern ostream cout; extern ostream cerr; extern ostream clog; extern wistream wcin; extern wostream wcout; extern wostream wcerr; extern wostream wclog; static ios_base::Init __ioinit; } # 56 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h" 2 # 57 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h" static const int ompi_stdio_seek_set = # 57 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h" 3 4 0 # 57 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h" ; static const int ompi_stdio_seek_cur = # 58 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h" 3 4 1 # 58 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h" ; static const int ompi_stdio_seek_end = # 59 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h" 3 4 2 # 59 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h" ; # 69 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h" static const int SEEK_SET = ompi_stdio_seek_set; static const int SEEK_CUR = ompi_stdio_seek_cur; static const int SEEK_END = ompi_stdio_seek_end; # 95 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h" struct opal_mutex_t; extern "C" void ompi_mpi_cxx_op_intercept(void *invec, void *outvec, int *len, MPI_Datatype *datatype, MPI_User_function *fn); enum CommType { eIntracomm, eIntercomm, eCartcomm, eGraphcomm}; extern "C" int ompi_mpi_cxx_comm_copy_attr_intercept(MPI_Comm oldcomm, int keyval, void *extra_state, void *attribute_val_in, void *attribute_val_out, int *flag, MPI_Comm newcomm); extern "C" int ompi_mpi_cxx_comm_delete_attr_intercept(MPI_Comm comm, int keyval, void *attribute_val, void *extra_state); extern "C" int ompi_mpi_cxx_type_copy_attr_intercept(MPI_Datatype oldtype, int keyval, void *extra_state, void *attribute_val_in, void *attribute_val_out, int *flag); extern "C" int ompi_mpi_cxx_type_delete_attr_intercept(MPI_Datatype type, int keyval, void *attribute_val, void *extra_state); extern "C" int ompi_mpi_cxx_win_copy_attr_intercept(MPI_Win oldwin, int keyval, void *extra_state, void *attribute_val_in, void *attribute_val_out, int *flag); extern "C" int ompi_mpi_cxx_win_delete_attr_intercept(MPI_Win win, int keyval, void *attribute_val, void *extra_state); extern "C" int ompi_mpi_cxx_grequest_query_fn_intercept(void *state, MPI_Status *status); extern "C" int ompi_mpi_cxx_grequest_free_fn_intercept(void *state); extern "C" int ompi_mpi_cxx_grequest_cancel_fn_intercept(void *state, int canceled); # 157 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h" namespace MPI { extern int mpi_errno; class Comm_Null; class Comm; class Intracomm; class Intercomm; class Graphcomm; class Cartcomm; class Datatype; class Errhandler; class Group; class Op; class Request; class Grequest; class Status; class Info; class Win; class File; typedef MPI_Aint Aint; typedef int Fint; typedef MPI_Offset Offset; # 1 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/constants.h" 1 # 23 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/constants.h" static const int SUCCESS = 0; static const int ERR_BUFFER = 1; static const int ERR_COUNT = 2; static const int ERR_TYPE = 3; static const int ERR_TAG = 4 ; static const int ERR_COMM = 5; static const int ERR_RANK = 6; static const int ERR_REQUEST = 7; static const int ERR_ROOT = 8; static const int ERR_GROUP = 9; static const int ERR_OP = 10; static const int ERR_TOPOLOGY = 11; static const int ERR_DIMS = 12; static const int ERR_ARG = 13; static const int ERR_UNKNOWN = 14; static const int ERR_TRUNCATE = 15; static const int ERR_OTHER = 16; static const int ERR_INTERN = 17; static const int ERR_PENDING = 19; static const int ERR_IN_STATUS = 18; static const int ERR_ACCESS = 20; static const int ERR_AMODE = 21; static const int ERR_ASSERT = 22; static const int ERR_BAD_FILE = 23; static const int ERR_BASE = 24; static const int ERR_CONVERSION = 25; static const int ERR_DISP = 26; static const int ERR_DUP_DATAREP = 27; static const int ERR_FILE_EXISTS = 28; static const int ERR_FILE_IN_USE = 29; static const int ERR_FILE = 30; static const int ERR_INFO_KEY = 31; static const int ERR_INFO_NOKEY = 32; static const int ERR_INFO_VALUE = 33; static const int ERR_INFO = 34; static const int ERR_IO = 35; static const int ERR_KEYVAL = 36; static const int ERR_LOCKTYPE = 37; static const int ERR_NAME = 38; static const int ERR_NO_MEM = 39; static const int ERR_NOT_SAME = 40; static const int ERR_NO_SPACE = 41; static const int ERR_NO_SUCH_FILE = 42; static const int ERR_PORT = 43; static const int ERR_QUOTA = 44; static const int ERR_READ_ONLY = 45; static const int ERR_RMA_CONFLICT = 46; static const int ERR_RMA_SYNC = 47; static const int ERR_SERVICE = 48; static const int ERR_SIZE = 49; static const int ERR_SPAWN = 50; static const int ERR_UNSUPPORTED_DATAREP = 51; static const int ERR_UNSUPPORTED_OPERATION = 52; static const int ERR_WIN = 53; static const int ERR_LASTCODE = 92; __attribute__((visibility("default"))) extern void* const BOTTOM; __attribute__((visibility("default"))) extern void* const IN_PLACE; static const int PROC_NULL = -2; static const int ANY_SOURCE = -1; static const int ROOT = -4; static const int ANY_TAG = -1; static const int UNDEFINED = -32766; static const int BSEND_OVERHEAD = 128; static const int KEYVAL_INVALID = -1; static const int ORDER_C = 0; static const int ORDER_FORTRAN = 1; static const int DISTRIBUTE_BLOCK = 0; static const int DISTRIBUTE_CYCLIC = 1; static const int DISTRIBUTE_NONE = 2; static const int DISTRIBUTE_DFLT_DARG = (-1); __attribute__((visibility("default"))) extern const Errhandler ERRORS_ARE_FATAL; __attribute__((visibility("default"))) extern const Errhandler ERRORS_RETURN; __attribute__((visibility("default"))) extern const Errhandler ERRORS_THROW_EXCEPTIONS; static const int TYPECLASS_INTEGER = 1; static const int TYPECLASS_REAL = 2; static const int TYPECLASS_COMPLEX = 3; static const int MAX_PROCESSOR_NAME = 256; static const int MAX_ERROR_STRING = 256; static const int MAX_INFO_KEY = 36; static const int MAX_INFO_VAL = 256; static const int MAX_PORT_NAME = 1024; static const int MAX_OBJECT_NAME = 64; __attribute__((visibility("default"))) extern const Datatype CHAR; __attribute__((visibility("default"))) extern const Datatype SHORT; __attribute__((visibility("default"))) extern const Datatype INT; __attribute__((visibility("default"))) extern const Datatype LONG; __attribute__((visibility("default"))) extern const Datatype SIGNED_CHAR; __attribute__((visibility("default"))) extern const Datatype UNSIGNED_CHAR; __attribute__((visibility("default"))) extern const Datatype UNSIGNED_SHORT; __attribute__((visibility("default"))) extern const Datatype UNSIGNED; __attribute__((visibility("default"))) extern const Datatype UNSIGNED_LONG; __attribute__((visibility("default"))) extern const Datatype FLOAT; __attribute__((visibility("default"))) extern const Datatype DOUBLE; __attribute__((visibility("default"))) extern const Datatype LONG_DOUBLE; __attribute__((visibility("default"))) extern const Datatype BYTE; __attribute__((visibility("default"))) extern const Datatype PACKED; __attribute__((visibility("default"))) extern const Datatype WCHAR; __attribute__((visibility("default"))) extern const Datatype FLOAT_INT; __attribute__((visibility("default"))) extern const Datatype DOUBLE_INT; __attribute__((visibility("default"))) extern const Datatype LONG_INT; __attribute__((visibility("default"))) extern const Datatype TWOINT; __attribute__((visibility("default"))) extern const Datatype SHORT_INT; __attribute__((visibility("default"))) extern const Datatype LONG_DOUBLE_INT; __attribute__((visibility("default"))) extern const Datatype INTEGER; __attribute__((visibility("default"))) extern const Datatype REAL; __attribute__((visibility("default"))) extern const Datatype DOUBLE_PRECISION; __attribute__((visibility("default"))) extern const Datatype F_COMPLEX; __attribute__((visibility("default"))) extern const Datatype LOGICAL; __attribute__((visibility("default"))) extern const Datatype CHARACTER; __attribute__((visibility("default"))) extern const Datatype TWOREAL; __attribute__((visibility("default"))) extern const Datatype TWODOUBLE_PRECISION; __attribute__((visibility("default"))) extern const Datatype TWOINTEGER; __attribute__((visibility("default"))) extern const Datatype INTEGER1; __attribute__((visibility("default"))) extern const Datatype INTEGER2; __attribute__((visibility("default"))) extern const Datatype INTEGER4; __attribute__((visibility("default"))) extern const Datatype REAL2; __attribute__((visibility("default"))) extern const Datatype REAL4; __attribute__((visibility("default"))) extern const Datatype REAL8; __attribute__((visibility("default"))) extern const Datatype LONG_LONG; __attribute__((visibility("default"))) extern const Datatype LONG_LONG_INT; __attribute__((visibility("default"))) extern const Datatype UNSIGNED_LONG_LONG; __attribute__((visibility("default"))) extern const Datatype BOOL; __attribute__((visibility("default"))) extern const Datatype COMPLEX; __attribute__((visibility("default"))) extern const Datatype DOUBLE_COMPLEX; __attribute__((visibility("default"))) extern const Datatype F_DOUBLE_COMPLEX; __attribute__((visibility("default"))) extern const Datatype LONG_DOUBLE_COMPLEX; __attribute__((visibility("default"))) extern const Datatype UB; __attribute__((visibility("default"))) extern const Datatype LB; static const int COMBINER_NAMED = MPI_COMBINER_NAMED; static const int COMBINER_DUP = MPI_COMBINER_DUP; static const int COMBINER_CONTIGUOUS = MPI_COMBINER_CONTIGUOUS; static const int COMBINER_VECTOR = MPI_COMBINER_VECTOR; static const int COMBINER_HVECTOR_INTEGER = MPI_COMBINER_HVECTOR_INTEGER; static const int COMBINER_HVECTOR = MPI_COMBINER_HVECTOR; static const int COMBINER_INDEXED = MPI_COMBINER_INDEXED; static const int COMBINER_HINDEXED_INTEGER = MPI_COMBINER_HINDEXED_INTEGER; static const int COMBINER_HINDEXED = MPI_COMBINER_HINDEXED; static const int COMBINER_INDEXED_BLOCK = MPI_COMBINER_INDEXED_BLOCK; static const int COMBINER_STRUCT_INTEGER = MPI_COMBINER_STRUCT_INTEGER; static const int COMBINER_STRUCT = MPI_COMBINER_STRUCT; static const int COMBINER_SUBARRAY = MPI_COMBINER_SUBARRAY; static const int COMBINER_DARRAY = MPI_COMBINER_DARRAY; static const int COMBINER_F90_REAL = MPI_COMBINER_F90_REAL; static const int COMBINER_F90_COMPLEX = MPI_COMBINER_F90_COMPLEX; static const int COMBINER_F90_INTEGER = MPI_COMBINER_F90_INTEGER; static const int COMBINER_RESIZED = MPI_COMBINER_RESIZED; static const int THREAD_SINGLE = MPI_THREAD_SINGLE; static const int THREAD_FUNNELED = MPI_THREAD_FUNNELED; static const int THREAD_SERIALIZED = MPI_THREAD_SERIALIZED; static const int THREAD_MULTIPLE = MPI_THREAD_MULTIPLE; __attribute__((visibility("default"))) extern Intracomm COMM_WORLD; __attribute__((visibility("default"))) extern Intracomm COMM_SELF; static const int IDENT = MPI_IDENT; static const int CONGRUENT = MPI_CONGRUENT; static const int SIMILAR = MPI_SIMILAR; static const int UNEQUAL = MPI_UNEQUAL; static const int TAG_UB = MPI_TAG_UB; static const int HOST = MPI_HOST; static const int IO = MPI_IO; static const int WTIME_IS_GLOBAL = MPI_WTIME_IS_GLOBAL; static const int APPNUM = MPI_APPNUM; static const int LASTUSEDCODE = MPI_LASTUSEDCODE; static const int UNIVERSE_SIZE = MPI_UNIVERSE_SIZE; static const int WIN_BASE = MPI_WIN_BASE; static const int WIN_SIZE = MPI_WIN_SIZE; static const int WIN_DISP_UNIT = MPI_WIN_DISP_UNIT; __attribute__((visibility("default"))) extern const Op MAX; __attribute__((visibility("default"))) extern const Op MIN; __attribute__((visibility("default"))) extern const Op SUM; __attribute__((visibility("default"))) extern const Op PROD; __attribute__((visibility("default"))) extern const Op MAXLOC; __attribute__((visibility("default"))) extern const Op MINLOC; __attribute__((visibility("default"))) extern const Op BAND; __attribute__((visibility("default"))) extern const Op BOR; __attribute__((visibility("default"))) extern const Op BXOR; __attribute__((visibility("default"))) extern const Op LAND; __attribute__((visibility("default"))) extern const Op LOR; __attribute__((visibility("default"))) extern const Op LXOR; __attribute__((visibility("default"))) extern const Op REPLACE; __attribute__((visibility("default"))) extern const Group GROUP_NULL; __attribute__((visibility("default"))) extern const Win WIN_NULL; __attribute__((visibility("default"))) extern const Info INFO_NULL; __attribute__((visibility("default"))) extern Comm_Null COMM_NULL; __attribute__((visibility("default"))) extern const Datatype DATATYPE_NULL; __attribute__((visibility("default"))) extern Request REQUEST_NULL; __attribute__((visibility("default"))) extern const Op OP_NULL; __attribute__((visibility("default"))) extern const Errhandler ERRHANDLER_NULL; __attribute__((visibility("default"))) extern const File FILE_NULL; __attribute__((visibility("default"))) extern const char** ARGV_NULL; __attribute__((visibility("default"))) extern const char*** ARGVS_NULL; __attribute__((visibility("default"))) extern const Group GROUP_EMPTY; static const int GRAPH = 2; static const int CART = 1; static const int MODE_CREATE = 1; static const int MODE_RDONLY = 2; static const int MODE_WRONLY = 4; static const int MODE_RDWR = 8; static const int MODE_DELETE_ON_CLOSE = 16; static const int MODE_UNIQUE_OPEN = 32; static const int MODE_EXCL = 64; static const int MODE_APPEND = 128; static const int MODE_SEQUENTIAL = 256; static const int DISPLACEMENT_CURRENT = -54278278; static const int SEEK_SET = ::SEEK_SET; static const int SEEK_CUR = ::SEEK_CUR; static const int SEEK_END = ::SEEK_END; static const int MAX_DATAREP_STRING = 128; static const int MODE_NOCHECK = 1; static const int MODE_NOPRECEDE = 2; static const int MODE_NOPUT = 4; static const int MODE_NOSTORE = 8; static const int MODE_NOSUCCEED = 16; static const int LOCK_EXCLUSIVE = 1; static const int LOCK_SHARED = 2; # 192 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h" 2 # 1 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/functions.h" 1 # 26 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/functions.h" void Attach_buffer(void* buffer, int size); int Detach_buffer(void*& buffer); void Compute_dims(int nnodes, int ndims, int dims[]); int Add_error_class(); int Add_error_code(int errorclass); void Add_error_string(int errorcode, const char* string); void Get_processor_name(char* name, int& resultlen); void Get_error_string(int errorcode, char* string, int& resultlen); int Get_error_class(int errorcode); double Wtime(); double Wtick(); void Init(int& argc, char**& argv); void Init(); __attribute__((visibility("default"))) void InitializeIntercepts(); void Real_init(); void Finalize(); bool Is_initialized(); bool Is_finalized(); int Init_thread(int &argc, char**&argv, int required); int Init_thread(int required); bool Is_thread_main(); int Query_thread(); void* Alloc_mem(Aint size, const Info& info); void Free_mem(void* base); void Close_port(const char* port_name); void Lookup_name(const char* service_name, const Info& info, char* port_name); void Open_port(const Info& info, char* port_name); void Publish_name(const char* service_name, const Info& info, const char* port_name); void Unpublish_name(const char* service_name, const Info& info, const char* port_name); void Pcontrol(const int level, ...); void Get_version(int& version, int& subversion); MPI::Aint Get_address(void* location); # 193 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h" 2 # 1 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/datatype.h" 1 # 24 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/datatype.h" class Datatype { public: # 69 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/datatype.h" inline Datatype() : mpi_datatype(((MPI_Datatype) ((void *) &(ompi_mpi_datatype_null)))) { } inline virtual ~Datatype() {} inline Datatype(MPI_Datatype i) : mpi_datatype(i) { } inline Datatype(const Datatype& dt) : mpi_datatype(dt.mpi_datatype) { } inline Datatype& operator=(const Datatype& dt) { mpi_datatype = dt.mpi_datatype; return *this; } inline bool operator== (const Datatype &a) const { return (bool) (mpi_datatype == a.mpi_datatype); } inline bool operator!= (const Datatype &a) const { return (bool) !(*this == a); } inline Datatype& operator= (const MPI_Datatype &i) { mpi_datatype = i; return *this; } inline operator MPI_Datatype () const { return mpi_datatype; } typedef int Copy_attr_function(const Datatype& oldtype, int type_keyval, void* extra_state, const void* attribute_val_in, void* attribute_val_out, bool& flag); typedef int Delete_attr_function(Datatype& type, int type_keyval, void* attribute_val, void* extra_state); virtual Datatype Create_contiguous(int count) const; virtual Datatype Create_vector(int count, int blocklength, int stride) const; virtual Datatype Create_indexed(int count, const int array_of_blocklengths[], const int array_of_displacements[]) const; static Datatype Create_struct(int count, const int array_of_blocklengths[], const Aint array_of_displacements[], const Datatype array_if_types[]); virtual Datatype Create_hindexed(int count, const int array_of_blocklengths[], const Aint array_of_displacements[]) const; virtual Datatype Create_hvector(int count, int blocklength, Aint stride) const; virtual Datatype Create_indexed_block(int count, int blocklength, const int array_of_blocklengths[]) const; virtual Datatype Create_resized(const Aint lb, const Aint extent) const; virtual int Get_size() const; virtual void Get_extent(Aint& lb, Aint& extent) const; virtual void Get_true_extent(Aint&, Aint&) const; virtual void Commit(); virtual void Free(); virtual void Pack(const void* inbuf, int incount, void *outbuf, int outsize, int& position, const Comm &comm) const; virtual void Unpack(const void* inbuf, int insize, void *outbuf, int outcount, int& position, const Comm& comm) const; virtual int Pack_size(int incount, const Comm& comm) const; virtual void Pack_external(const char* datarep, const void* inbuf, int incount, void* outbuf, Aint outsize, Aint& position) const; virtual Aint Pack_external_size(const char* datarep, int incount) const; virtual void Unpack_external(const char* datarep, const void* inbuf, Aint insize, Aint& position, void* outbuf, int outcount) const; virtual Datatype Create_subarray(int ndims, const int array_of_sizes[], const int array_of_subsizes[], const int array_of_starts[], int order) const; virtual Datatype Create_darray(int size, int rank, int ndims, const int array_of_gsizes[], const int array_of_distribs[], const int array_of_dargs[], const int array_of_psizes[], int order) const; static Datatype Create_f90_complex(int p, int r); static Datatype Create_f90_integer(int r); static Datatype Create_f90_real(int p, int r); static Datatype Match_size(int typeclass, int size); virtual Datatype Dup() const; static int Create_keyval(Copy_attr_function* type_copy_attr_fn, Delete_attr_function* type_delete_attr_fn, void* extra_state); static int Create_keyval(MPI_Type_copy_attr_function* type_copy_attr_fn, MPI_Type_delete_attr_function* type_delete_attr_fn, void* extra_state); static int Create_keyval(Copy_attr_function* type_copy_attr_fn, MPI_Type_delete_attr_function* type_delete_attr_fn, void* extra_state); static int Create_keyval(MPI_Type_copy_attr_function* type_copy_attr_fn, Delete_attr_function* type_delete_attr_fn, void* extra_state); protected: static int do_create_keyval(MPI_Type_copy_attr_function* c_copy_fn, MPI_Type_delete_attr_function* c_delete_fn, Copy_attr_function* cxx_copy_fn, Delete_attr_function* cxx_delete_fn, void* extra_state, int &keyval); public: virtual void Delete_attr(int type_keyval); static void Free_keyval(int& type_keyval); virtual bool Get_attr(int type_keyval, void* attribute_val) const; virtual void Get_contents(int max_integers, int max_addresses, int max_datatypes, int array_of_integers[], Aint array_of_addresses[], Datatype array_of_datatypes[]) const; virtual void Get_envelope(int& num_integers, int& num_addresses, int& num_datatypes, int& combiner) const; virtual void Get_name(char* type_name, int& resultlen) const; virtual void Set_attr(int type_keyval, const void* attribute_val); virtual void Set_name(const char* type_name); protected: MPI_Datatype mpi_datatype; public: struct keyval_intercept_data_t { MPI_Type_copy_attr_function *c_copy_fn; MPI_Type_delete_attr_function *c_delete_fn; Copy_attr_function* cxx_copy_fn; Delete_attr_function* cxx_delete_fn; void *extra_state; }; static opal_mutex_t cxx_extra_states_lock; }; # 194 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h" 2 typedef void User_function(const void* invec, void* inoutvec, int len, const Datatype& datatype); # 219 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h" # 1 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/exception.h" 1 # 20 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/exception.h" class Exception { public: # 35 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/exception.h" inline Exception(int ec) : error_code(ec), error_string(0), error_class(-1) { (void)MPI_Error_class(error_code, &error_class); int resultlen; error_string = new char[MAX_ERROR_STRING]; (void)MPI_Error_string(error_code, error_string, &resultlen); } inline ~Exception() { delete[] error_string; } inline Exception(const Exception& a) : error_code(a.error_code), error_class(a.error_class) { error_string = new char[MAX_ERROR_STRING]; for (int i = 0; i < MAX_ERROR_STRING; i++) error_string[i] = a.error_string[i]; } inline int Get_error_code() const { return error_code; } inline int Get_error_class() const { return error_class; } inline const char* Get_error_string() const { return error_string; } protected: int error_code; char* error_string; int error_class; }; # 220 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h" 2 # 1 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/op.h" 1 # 21 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/op.h" class Op { public: Op(); Op(MPI_Op i); Op(const Op& op); virtual ~Op(); Op& operator=(const Op& op); Op& operator= (const MPI_Op &i); inline bool operator== (const Op &a); inline bool operator!= (const Op &a); inline operator MPI_Op () const; virtual void Init(User_function *func, bool commute); virtual void Free(); virtual void Reduce_local(const void *inbuf, void *inoutbuf, int count, const MPI::Datatype& datatype) const; virtual bool Is_commutative(void) const; protected: MPI_Op mpi_op; }; # 221 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h" 2 # 1 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/status.h" 1 # 22 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/status.h" class Status { friend class MPI::Comm; friend class MPI::Request; friend class MPI::File; public: # 58 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/status.h" Status() : mpi_status() { } Status(const Status& data) : mpi_status(data.mpi_status) { } Status(const MPI_Status &i) : mpi_status(i) { } virtual ~Status() {} Status& operator=(const Status& data) { mpi_status = data.mpi_status; return *this; } Status& operator= (const MPI_Status &i) { mpi_status = i; return *this; } operator MPI_Status () const { return mpi_status; } # 83 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/status.h" virtual int Get_count(const Datatype& datatype) const; virtual bool Is_cancelled() const; virtual int Get_elements(const Datatype& datatype) const; virtual int Get_source() const; virtual void Set_source(int source); virtual int Get_tag() const; virtual void Set_tag(int tag); virtual int Get_error() const; virtual void Set_error(int error); virtual void Set_elements(const MPI::Datatype& datatype, int count); virtual void Set_cancelled(bool flag); protected: MPI_Status mpi_status; }; # 222 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h" 2 # 1 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/request.h" 1 # 22 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/request.h" class Request { public: # 60 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/request.h" Request() : mpi_request(((MPI_Request) ((void *) &(ompi_request_null)))) { } virtual ~Request() {} Request(MPI_Request i) : mpi_request(i) { } Request(const Request& r) : mpi_request(r.mpi_request) { } Request& operator=(const Request& r) { mpi_request = r.mpi_request; return *this; } bool operator== (const Request &a) { return (bool)(mpi_request == a.mpi_request); } bool operator!= (const Request &a) { return (bool)!(*this == a); } Request& operator= (const MPI_Request &i) { mpi_request = i; return *this; } operator MPI_Request () const { return mpi_request; } # 88 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/request.h" virtual void Wait(Status &status); virtual void Wait(); virtual bool Test(Status &status); virtual bool Test(); virtual void Free(void); static int Waitany(int count, Request array[], Status& status); static int Waitany(int count, Request array[]); static bool Testany(int count, Request array[], int& index, Status& status); static bool Testany(int count, Request array[], int& index); static void Waitall(int count, Request req_array[], Status stat_array[]); static void Waitall(int count, Request req_array[]); static bool Testall(int count, Request req_array[], Status stat_array[]); static bool Testall(int count, Request req_array[]); static int Waitsome(int incount, Request req_array[], int array_of_indices[], Status stat_array[]) ; static int Waitsome(int incount, Request req_array[], int array_of_indices[]); static int Testsome(int incount, Request req_array[], int array_of_indices[], Status stat_array[]); static int Testsome(int incount, Request req_array[], int array_of_indices[]); virtual void Cancel(void) const; virtual bool Get_status(Status& status) const; virtual bool Get_status() const; protected: MPI_Request mpi_request; private: }; class Prequest : public Request { public: Prequest() { } # 173 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/request.h" Prequest(const Request& p) : Request(p) { } Prequest(const MPI_Request &i) : Request(i) { } virtual ~Prequest() { } Prequest& operator=(const Request& r) { mpi_request = r; return *this; } Prequest& operator=(const Prequest& r) { mpi_request = r.mpi_request; return *this; } virtual void Start(); static void Startall(int count, Prequest array_of_requests[]); }; class Grequest : public MPI::Request { public: typedef int Query_function(void *, Status&); typedef int Free_function(void *); typedef int Cancel_function(void *, bool); Grequest() {} Grequest(const Request& req) : Request(req) {} Grequest(const MPI_Request &req) : Request(req) {} virtual ~Grequest() {} Grequest& operator=(const Request& req) { mpi_request = req; return(*this); } Grequest& operator=(const Grequest& req) { mpi_request = req.mpi_request; return(*this); } static Grequest Start(Query_function *, Free_function *, Cancel_function *, void *); virtual void Complete(); struct Intercept_data_t { void *id_extra; Grequest::Query_function *id_cxx_query_fn; Grequest::Free_function *id_cxx_free_fn; Grequest::Cancel_function *id_cxx_cancel_fn; }; }; # 223 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h" 2 # 1 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/group.h" 1 # 21 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/group.h" class Group { public: # 61 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/group.h" inline Group() : mpi_group(((MPI_Group) ((void *) &(ompi_mpi_group_null)))) { } inline Group(MPI_Group i) : mpi_group(i) { } inline Group(const Group& g) : mpi_group(g.mpi_group) { } inline virtual ~Group() {} inline Group& operator=(const Group& g) { mpi_group = g.mpi_group; return *this; } inline bool operator== (const Group &a) { return (bool)(mpi_group == a.mpi_group); } inline bool operator!= (const Group &a) { return (bool)!(*this == a); } inline Group& operator= (const MPI_Group &i) { mpi_group = i; return *this; } inline operator MPI_Group () const { return mpi_group; } inline MPI_Group mpi() const { return mpi_group; } virtual int Get_size() const; virtual int Get_rank() const; static void Translate_ranks (const Group& group1, int n, const int ranks1[], const Group& group2, int ranks2[]); static int Compare(const Group& group1, const Group& group2); static Group Union(const Group &group1, const Group &group2); static Group Intersect(const Group &group1, const Group &group2); static Group Difference(const Group &group1, const Group &group2); virtual Group Incl(int n, const int ranks[]) const; virtual Group Excl(int n, const int ranks[]) const; virtual Group Range_incl(int n, const int ranges[][3]) const; virtual Group Range_excl(int n, const int ranges[][3]) const; virtual void Free(); protected: MPI_Group mpi_group; }; # 224 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h" 2 # 1 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/comm.h" 1 # 22 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/comm.h" class Comm_Null { public: # 62 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/comm.h" inline Comm_Null() : mpi_comm(((MPI_Comm) ((void *) &(ompi_mpi_comm_null)))) { } inline Comm_Null(const Comm_Null& data) : mpi_comm(data.mpi_comm) { } inline Comm_Null(MPI_Comm data) : mpi_comm(data) { } virtual inline ~Comm_Null() { } inline bool operator==(const Comm_Null& data) const { return (bool) (mpi_comm == data.mpi_comm); } inline bool operator!=(const Comm_Null& data) const { return (bool) !(*this == data);} inline operator MPI_Comm() const { return mpi_comm; } protected: MPI_Comm mpi_comm; }; class Comm : public Comm_Null { public: typedef void Errhandler_function(Comm&, int*, ...); typedef Errhandler_function Errhandler_fn ; typedef int Copy_attr_function(const Comm& oldcomm, int comm_keyval, void* extra_state, void* attribute_val_in, void* attribute_val_out, bool& flag); typedef int Delete_attr_function(Comm& comm, int comm_keyval, void* attribute_val, void* extra_state); Comm(); Comm(const Comm_Null& data); # 156 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/comm.h" Comm(const Comm& data) : Comm_Null(data.mpi_comm) { } Comm(MPI_Comm data) : Comm_Null(data) { } virtual void Send(const void *buf, int count, const Datatype & datatype, int dest, int tag) const; virtual void Recv(void *buf, int count, const Datatype & datatype, int source, int tag, Status & status) const; virtual void Recv(void *buf, int count, const Datatype & datatype, int source, int tag) const; virtual void Bsend(const void *buf, int count, const Datatype & datatype, int dest, int tag) const; virtual void Ssend(const void *buf, int count, const Datatype & datatype, int dest, int tag) const ; virtual void Rsend(const void *buf, int count, const Datatype & datatype, int dest, int tag) const; virtual Request Isend(const void *buf, int count, const Datatype & datatype, int dest, int tag) const; virtual Request Ibsend(const void *buf, int count, const Datatype & datatype, int dest, int tag) const; virtual Request Issend(const void *buf, int count, const Datatype & datatype, int dest, int tag) const; virtual Request Irsend(const void *buf, int count, const Datatype & datatype, int dest, int tag) const; virtual Request Irecv(void *buf, int count, const Datatype & datatype, int source, int tag) const; virtual bool Iprobe(int source, int tag, Status & status) const; virtual bool Iprobe(int source, int tag) const; virtual void Probe(int source, int tag, Status & status) const; virtual void Probe(int source, int tag) const; virtual Prequest Send_init(const void *buf, int count, const Datatype & datatype, int dest, int tag) const; virtual Prequest Bsend_init(const void *buf, int count, const Datatype & datatype, int dest, int tag) const; virtual Prequest Ssend_init(const void *buf, int count, const Datatype & datatype, int dest, int tag) const; virtual Prequest Rsend_init(const void *buf, int count, const Datatype & datatype, int dest, int tag) const; virtual Prequest Recv_init(void *buf, int count, const Datatype & datatype, int source, int tag) const; virtual void Sendrecv(const void *sendbuf, int sendcount, const Datatype & sendtype, int dest, int sendtag, void *recvbuf, int recvcount, const Datatype & recvtype, int source, int recvtag, Status & status) const; virtual void Sendrecv(const void *sendbuf, int sendcount, const Datatype & sendtype, int dest, int sendtag, void *recvbuf, int recvcount, const Datatype & recvtype, int source, int recvtag) const; virtual void Sendrecv_replace(void *buf, int count, const Datatype & datatype, int dest, int sendtag, int source, int recvtag, Status & status) const; virtual void Sendrecv_replace(void *buf, int count, const Datatype & datatype, int dest, int sendtag, int source, int recvtag) const; virtual Group Get_group() const; virtual int Get_size() const; virtual int Get_rank() const; static int Compare(const Comm & comm1, const Comm & comm2); virtual Comm& Clone() const = 0; virtual void Free(void); virtual bool Is_inter() const; # 277 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/comm.h" virtual void Barrier() const; virtual void Bcast(void *buffer, int count, const Datatype& datatype, int root) const; virtual void Gather(const void *sendbuf, int sendcount, const Datatype & sendtype, void *recvbuf, int recvcount, const Datatype & recvtype, int root) const; virtual void Gatherv(const void *sendbuf, int sendcount, const Datatype & sendtype, void *recvbuf, const int recvcounts[], const int displs[], const Datatype & recvtype, int root) const; virtual void Scatter(const void *sendbuf, int sendcount, const Datatype & sendtype, void *recvbuf, int recvcount, const Datatype & recvtype, int root) const; virtual void Scatterv(const void *sendbuf, const int sendcounts[], const int displs[], const Datatype & sendtype, void *recvbuf, int recvcount, const Datatype & recvtype, int root) const; virtual void Allgather(const void *sendbuf, int sendcount, const Datatype & sendtype, void *recvbuf, int recvcount, const Datatype & recvtype) const; virtual void Allgatherv(const void *sendbuf, int sendcount, const Datatype & sendtype, void *recvbuf, const int recvcounts[], const int displs[], const Datatype & recvtype) const; virtual void Alltoall(const void *sendbuf, int sendcount, const Datatype & sendtype, void *recvbuf, int recvcount, const Datatype & recvtype) const; virtual void Alltoallv(const void *sendbuf, const int sendcounts[], const int sdispls[], const Datatype & sendtype, void *recvbuf, const int recvcounts[], const int rdispls[], const Datatype & recvtype) const; virtual void Alltoallw(const void *sendbuf, const int sendcounts[], const int sdispls[], const Datatype sendtypes[], void *recvbuf, const int recvcounts[], const int rdispls[], const Datatype recvtypes[]) const; virtual void Reduce(const void *sendbuf, void *recvbuf, int count, const Datatype & datatype, const Op & op, int root) const; virtual void Allreduce(const void *sendbuf, void *recvbuf, int count, const Datatype & datatype, const Op & op) const; virtual void Reduce_scatter(const void *sendbuf, void *recvbuf, int recvcounts[], const Datatype & datatype, const Op & op) const; virtual void Disconnect(); static Intercomm Get_parent(); static Intercomm Join(const int fd); virtual void Get_name(char * comm_name, int& resultlen) const; virtual void Set_name(const char* comm_name); virtual int Get_topology() const; virtual void Abort(int errorcode); static Errhandler Create_errhandler(Comm::Errhandler_function* function); virtual void Set_errhandler(const Errhandler& errhandler); virtual Errhandler Get_errhandler() const; void Call_errhandler(int errorcode) const; # 401 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/comm.h" static int Create_keyval(Copy_attr_function* comm_copy_attr_fn, Delete_attr_function* comm_delete_attr_fn, void* extra_state); static int Create_keyval(MPI_Comm_copy_attr_function* comm_copy_attr_fn, MPI_Comm_delete_attr_function* comm_delete_attr_fn, void* extra_state); static int Create_keyval(Copy_attr_function* comm_copy_attr_fn, MPI_Comm_delete_attr_function* comm_delete_attr_fn, void* extra_state); static int Create_keyval(MPI_Comm_copy_attr_function* comm_copy_attr_fn, Delete_attr_function* comm_delete_attr_fn, void* extra_state); protected: static int do_create_keyval(MPI_Comm_copy_attr_function* c_copy_fn, MPI_Comm_delete_attr_function* c_delete_fn, Copy_attr_function* cxx_copy_fn, Delete_attr_function* cxx_delete_fn, void* extra_state, int &keyval); public: static void Free_keyval(int& comm_keyval); virtual void Set_attr(int comm_keyval, const void* attribute_val) const; virtual bool Get_attr(int comm_keyval, void* attribute_val) const; virtual void Delete_attr(int comm_keyval); static int NULL_COPY_FN(const Comm& oldcomm, int comm_keyval, void* extra_state, void* attribute_val_in, void* attribute_val_out, bool& flag); static int DUP_FN(const Comm& oldcomm, int comm_keyval, void* extra_state, void* attribute_val_in, void* attribute_val_out, bool& flag); static int NULL_DELETE_FN(Comm& comm, int comm_keyval, void* attribute_val, void* extra_state); private: public: struct keyval_intercept_data_t { MPI_Comm_copy_attr_function *c_copy_fn; MPI_Comm_delete_attr_function *c_delete_fn; Copy_attr_function* cxx_copy_fn; Delete_attr_function* cxx_delete_fn; void *extra_state; }; static opal_mutex_t cxx_extra_states_lock; }; # 225 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h" 2 # 1 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/win.h" 1 # 23 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/win.h" class Win { friend class MPI::Comm; friend class MPI::Request; public: # 57 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/win.h" Win() : mpi_win(((MPI_Win) ((void *) &(ompi_mpi_win_null)))) { } Win(const Win& data) : mpi_win(data.mpi_win) { } Win(MPI_Win i) : mpi_win(i) { } virtual ~Win() { } Win& operator=(const Win& data) { mpi_win = data.mpi_win; return *this; } Win& operator= (const MPI_Win &i) { mpi_win = i; return *this; } operator MPI_Win () const { return mpi_win; } typedef int Copy_attr_function(const Win& oldwin, int win_keyval, void* extra_state, void* attribute_val_in, void* attribute_val_out, bool& flag); typedef int Delete_attr_function(Win& win, int win_keyval, void* attribute_val, void* extra_state); typedef void Errhandler_function(Win &, int *, ... ); typedef Errhandler_function Errhandler_fn ; static MPI::Errhandler Create_errhandler(Errhandler_function* function); virtual void Set_errhandler(const MPI::Errhandler& errhandler) const; virtual MPI::Errhandler Get_errhandler() const; virtual void Accumulate(const void* origin_addr, int origin_count, const MPI::Datatype& origin_datatype, int target_rank, MPI::Aint target_disp, int target_count, const MPI::Datatype& target_datatype, const MPI::Op& op) const; virtual void Complete() const; static Win Create(const void* base, MPI::Aint size, int disp_unit, const MPI::Info& info, const MPI::Intracomm& comm); virtual void Fence(int assert) const; virtual void Free(); virtual void Get(const void *origin_addr, int origin_count, const MPI::Datatype& origin_datatype, int target_rank, MPI::Aint target_disp, int target_count, const MPI::Datatype& target_datatype) const; virtual MPI::Group Get_group() const; virtual void Lock(int lock_type, int rank, int assert) const; virtual void Post(const MPI::Group& group, int assert) const; virtual void Put(const void* origin_addr, int origin_count, const MPI::Datatype& origin_datatype, int target_rank, MPI::Aint target_disp, int target_count, const MPI::Datatype& target_datatype) const; virtual void Start(const MPI::Group& group, int assert) const; virtual bool Test() const; virtual void Unlock(int rank) const; virtual void Wait() const; virtual void Call_errhandler(int errorcode) const; static int Create_keyval(Copy_attr_function* win_copy_attr_fn, Delete_attr_function* win_delete_attr_fn, void* extra_state); static int Create_keyval(MPI_Win_copy_attr_function* win_copy_attr_fn, MPI_Win_delete_attr_function* win_delete_attr_fn, void* extra_state); static int Create_keyval(Copy_attr_function* win_copy_attr_fn, MPI_Win_delete_attr_function* win_delete_attr_fn, void* extra_state); static int Create_keyval(MPI_Win_copy_attr_function* win_copy_attr_fn, Delete_attr_function* win_delete_attr_fn, void* extra_state); protected: static int do_create_keyval(MPI_Win_copy_attr_function* c_copy_fn, MPI_Win_delete_attr_function* c_delete_fn, Copy_attr_function* cxx_copy_fn, Delete_attr_function* cxx_delete_fn, void* extra_state, int &keyval); public: virtual void Delete_attr(int win_keyval); static void Free_keyval(int& win_keyval); bool Get_attr(const Win& win, int win_keyval, void* attribute_val) const; bool Get_attr(int win_keyval, void* attribute_val) const; virtual void Get_name(char* win_name, int& resultlen) const; virtual void Set_attr(int win_keyval, const void* attribute_val); virtual void Set_name(const char* win_name); struct keyval_intercept_data_t { MPI_Win_copy_attr_function *c_copy_fn; MPI_Win_delete_attr_function *c_delete_fn; Copy_attr_function* cxx_copy_fn; Delete_attr_function* cxx_delete_fn; void *extra_state; }; static opal_mutex_t cxx_extra_states_lock; protected: MPI_Win mpi_win; }; # 226 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h" 2 # 1 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/file.h" 1 # 22 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/file.h" typedef void Datarep_extent_function(const Datatype& datatype, Aint& file_extent, void* extra_state); typedef void Datarep_conversion_function(void* userbuf, Datatype& datatype, int count, void* filebuf, Offset position, void* extra_state); void Register_datarep(const char* datarep, Datarep_conversion_function* read_conversion_fn, Datarep_conversion_function* write_conversion_fn, Datarep_extent_function* dtype_file_extent_fn, void* extra_state); void Register_datarep(const char* datarep, MPI_Datarep_conversion_function* read_conversion_fn, Datarep_conversion_function* write_conversion_fn, Datarep_extent_function* dtype_file_extent_fn, void* extra_state); void Register_datarep(const char* datarep, Datarep_conversion_function* read_conversion_fn, MPI_Datarep_conversion_function* write_conversion_fn, Datarep_extent_function* dtype_file_extent_fn, void* extra_state); void Register_datarep(const char* datarep, MPI_Datarep_conversion_function* read_conversion_fn, MPI_Datarep_conversion_function* write_conversion_fn, Datarep_extent_function* dtype_file_extent_fn, void* extra_state); class File { friend class MPI::Comm; friend class MPI::Request; public: # 91 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/file.h" File() : mpi_file(((MPI_File) ((void *) &(ompi_mpi_file_null)))) { } File(const File& data) : mpi_file(data.mpi_file) { } File(MPI_File i) : mpi_file(i) { } virtual ~File() { } File& operator=(const File& data) { mpi_file = data.mpi_file; return *this; } File& operator= (const MPI_File &i) { mpi_file = i; return *this; } operator MPI_File () const { return mpi_file; } void Close(); static void Delete(const char* filename, const MPI::Info& info); int Get_amode() const; bool Get_atomicity() const; MPI::Offset Get_byte_offset(const MPI::Offset disp) const; MPI::Group Get_group() const; MPI::Info Get_info() const; MPI::Offset Get_position() const; MPI::Offset Get_position_shared() const; MPI::Offset Get_size() const; MPI::Aint Get_type_extent(const MPI::Datatype& datatype) const; void Get_view(MPI::Offset& disp, MPI::Datatype& etype, MPI::Datatype& filetype, char* datarep) const; MPI::Request Iread(void* buf, int count, const MPI::Datatype& datatype); MPI::Request Iread_at(MPI::Offset offset, void* buf, int count, const MPI::Datatype& datatype); MPI::Request Iread_shared(void* buf, int count, const MPI::Datatype& datatype); MPI::Request Iwrite(const void* buf, int count, const MPI::Datatype& datatype); MPI::Request Iwrite_at(MPI::Offset offset, const void* buf, int count, const MPI::Datatype& datatype); MPI::Request Iwrite_shared(const void* buf, int count, const MPI::Datatype& datatype); static MPI::File Open(const MPI::Intracomm& comm, const char* filename, int amode, const MPI::Info& info); void Preallocate(MPI::Offset size); void Read(void* buf, int count, const MPI::Datatype& datatype); void Read(void* buf, int count, const MPI::Datatype& datatype, MPI::Status& status); void Read_all(void* buf, int count, const MPI::Datatype& datatype); void Read_all(void* buf, int count, const MPI::Datatype& datatype, MPI::Status& status); void Read_all_begin(void* buf, int count, const MPI::Datatype& datatype); void Read_all_end(void* buf); void Read_all_end(void* buf, MPI::Status& status); void Read_at(MPI::Offset offset, void* buf, int count, const MPI::Datatype& datatype); void Read_at(MPI::Offset offset, void* buf, int count, const MPI::Datatype& datatype, MPI::Status& status); void Read_at_all(MPI::Offset offset, void* buf, int count, const MPI::Datatype& datatype); void Read_at_all(MPI::Offset offset, void* buf, int count, const MPI::Datatype& datatype, MPI::Status& status); void Read_at_all_begin(MPI::Offset offset, void* buf, int count, const MPI::Datatype& datatype); void Read_at_all_end(void* buf); void Read_at_all_end(void* buf, MPI::Status& status); void Read_ordered(void* buf, int count, const MPI::Datatype& datatype); void Read_ordered(void* buf, int count, const MPI::Datatype& datatype, MPI::Status& status); void Read_ordered_begin(void* buf, int count, const MPI::Datatype& datatype); void Read_ordered_end(void* buf); void Read_ordered_end(void* buf, MPI::Status& status); void Read_shared(void* buf, int count, const MPI::Datatype& datatype); void Read_shared(void* buf, int count, const MPI::Datatype& datatype, MPI::Status& status); void Seek(MPI::Offset offset, int whence); void Seek_shared(MPI::Offset offset, int whence); void Set_atomicity(bool flag); void Set_info(const MPI::Info& info); void Set_size(MPI::Offset size); void Set_view(MPI::Offset disp, const MPI::Datatype& etype, const MPI::Datatype& filetype, const char* datarep, const MPI::Info& info); void Sync(); void Write(const void* buf, int count, const MPI::Datatype& datatype); void Write(const void* buf, int count, const MPI::Datatype& datatype, MPI::Status& status); void Write_all(const void* buf, int count, const MPI::Datatype& datatype); void Write_all(const void* buf, int count, const MPI::Datatype& datatype, MPI::Status& status); void Write_all_begin(const void* buf, int count, const MPI::Datatype& datatype); void Write_all_end(const void* buf); void Write_all_end(const void* buf, MPI::Status& status); void Write_at(MPI::Offset offset, const void* buf, int count, const MPI::Datatype& datatype); void Write_at(MPI::Offset offset, const void* buf, int count, const MPI::Datatype& datatype, MPI::Status& status); void Write_at_all(MPI::Offset offset, const void* buf, int count, const MPI::Datatype& datatype); void Write_at_all(MPI::Offset offset, const void* buf, int count, const MPI::Datatype& datatype, MPI::Status& status); void Write_at_all_begin(MPI::Offset offset, const void* buf, int count, const MPI::Datatype& datatype); void Write_at_all_end(const void* buf); void Write_at_all_end(const void* buf, MPI::Status& status); void Write_ordered(const void* buf, int count, const MPI::Datatype& datatype); void Write_ordered(const void* buf, int count, const MPI::Datatype& datatype, MPI::Status& status); void Write_ordered_begin(const void* buf, int count, const MPI::Datatype& datatype); void Write_ordered_end(const void* buf); void Write_ordered_end(const void* buf, MPI::Status& status); void Write_shared(const void* buf, int count, const MPI::Datatype& datatype); void Write_shared(const void* buf, int count, const MPI::Datatype& datatype, MPI::Status& status); typedef void Errhandler_function(MPI::File &, int *, ... ); typedef Errhandler_function Errhandler_fn ; static MPI::Errhandler Create_errhandler(Errhandler_function* function); MPI::Errhandler Get_errhandler() const; void Set_errhandler(const MPI::Errhandler& errhandler) const; void Call_errhandler(int errorcode) const; protected: MPI_File mpi_file; }; # 228 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h" 2 # 1 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/errhandler.h" 1 # 21 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/errhandler.h" class Errhandler { public: inline Errhandler() : mpi_errhandler(((MPI_Errhandler) ((void *) &(ompi_mpi_errhandler_null)))) {} inline virtual ~Errhandler() { } inline Errhandler(MPI_Errhandler i) : mpi_errhandler(i) {} inline Errhandler(const Errhandler& e) : mpi_errhandler(e.mpi_errhandler) { } inline Errhandler& operator=(const Errhandler& e) { mpi_errhandler = e.mpi_errhandler; return *this; } inline bool operator==(const Errhandler &a) { return (bool)(mpi_errhandler == a.mpi_errhandler); } inline bool operator!=(const Errhandler &a) { return (bool)!(*this == a); } inline Errhandler& operator= (const MPI_Errhandler &i) { mpi_errhandler = i; return *this; } inline operator MPI_Errhandler() const { return mpi_errhandler; } virtual void Free(); private: MPI_Errhandler mpi_errhandler; }; # 230 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h" 2 # 1 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/intracomm.h" 1 # 21 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/intracomm.h" class Intracomm : public Comm { public: Intracomm() { } Intracomm(const Comm_Null& data) : Comm(data) { } # 62 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/intracomm.h" Intracomm(const Intracomm& data) : Comm(data.mpi_comm) { } inline Intracomm(MPI_Comm data); Intracomm& operator=(const Intracomm& data) { mpi_comm = data.mpi_comm; return *this; } Intracomm& operator=(const Comm_Null& data) { mpi_comm = data; return *this; } Intracomm& operator=(const MPI_Comm& data) { mpi_comm = data; return *this; } # 87 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/intracomm.h" virtual void Scan(const void *sendbuf, void *recvbuf, int count, const Datatype & datatype, const Op & op) const; virtual void Exscan(const void *sendbuf, void *recvbuf, int count, const Datatype & datatype, const Op & op) const; Intracomm Dup() const; virtual Intracomm& Clone() const; virtual Intracomm Create(const Group& group) const; virtual Intracomm Split(int color, int key) const; virtual Intercomm Create_intercomm(int local_leader, const Comm& peer_comm, int remote_leader, int tag) const; virtual Cartcomm Create_cart(int ndims, const int dims[], const bool periods[], bool reorder) const; virtual Graphcomm Create_graph(int nnodes, const int index[], const int edges[], bool reorder) const; virtual Intercomm Accept(const char* port_name, const Info& info, int root) const; virtual Intercomm Connect(const char* port_name, const Info& info, int root) const; virtual Intercomm Spawn(const char* command, const char* argv[], int maxprocs, const Info& info, int root) const; virtual Intercomm Spawn(const char* command, const char* argv[], int maxprocs, const Info& info, int root, int array_of_errcodes[]) const; virtual Intercomm Spawn_multiple(int count, const char* array_of_commands[], const char** array_of_argv[], const int array_of_maxprocs[], const Info array_of_info[], int root); virtual Intercomm Spawn_multiple(int count, const char* array_of_commands[], const char** array_of_argv[], const int array_of_maxprocs[], const Info array_of_info[], int root, int array_of_errcodes[]); protected: # 164 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/intracomm.h" static inline MPI_Info *convert_info_to_mpi_info(int p_nbr, const Info p_info_tbl[]); }; # 231 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h" 2 # 1 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/topology.h" 1 # 22 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/topology.h" class Cartcomm : public Intracomm { public: Cartcomm() { } Cartcomm(const Comm_Null& data) : Intracomm(data) { } inline Cartcomm(const MPI_Comm& data); # 49 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/topology.h" Cartcomm(const Cartcomm& data) : Intracomm(data.mpi_comm) { } Cartcomm& operator=(const Cartcomm& data) { mpi_comm = data.mpi_comm; return *this; } Cartcomm& operator=(const Comm_Null& data) { mpi_comm = data; return *this; } Cartcomm& operator=(const MPI_Comm& data) { mpi_comm = data; return *this; } Cartcomm Dup() const; virtual Cartcomm& Clone() const; virtual int Get_dim() const; virtual void Get_topo(int maxdims, int dims[], bool periods[], int coords[]) const; virtual int Get_cart_rank(const int coords[]) const; virtual void Get_coords(int rank, int maxdims, int coords[]) const; virtual void Shift(int direction, int disp, int &rank_source, int &rank_dest) const; virtual Cartcomm Sub(const bool remain_dims[]) const; virtual int Map(int ndims, const int dims[], const bool periods[]) const; }; class Graphcomm : public Intracomm { public: Graphcomm() { } Graphcomm(const Comm_Null& data) : Intracomm(data) { } inline Graphcomm(const MPI_Comm& data); # 126 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/topology.h" Graphcomm(const Graphcomm& data) : Intracomm(data.mpi_comm) { } Graphcomm& operator=(const Graphcomm& data) { mpi_comm = data.mpi_comm; return *this; } Graphcomm& operator=(const Comm_Null& data) { mpi_comm = data; return *this; } Graphcomm& operator=(const MPI_Comm& data) { mpi_comm = data; return *this; } Graphcomm Dup() const; virtual Graphcomm& Clone() const; virtual void Get_dims(int nnodes[], int nedges[]) const; virtual void Get_topo(int maxindex, int maxedges, int index[], int edges[]) const; virtual int Get_neighbors_count(int rank) const; virtual void Get_neighbors(int rank, int maxneighbors, int neighbors[]) const; virtual int Map(int nnodes, const int index[], const int edges[]) const; }; # 232 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h" 2 # 1 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/intercomm.h" 1 # 23 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/intercomm.h" class Intercomm : public Comm { public: Intercomm() : Comm(((MPI_Comm) ((void *) &(ompi_mpi_comm_null)))) { } Intercomm(const Comm_Null& data) : Comm(data) { } Intercomm(MPI_Comm data) : Comm(data) { } # 56 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/intercomm.h" Intercomm(const Intercomm& data) : Comm(data.mpi_comm) { } Intercomm& operator=(const Intercomm& data) { mpi_comm = data.mpi_comm; return *this; } Intercomm& operator=(const Comm_Null& data) { mpi_comm = data; return *this; } Intercomm& operator=(const MPI_Comm& data) { mpi_comm = data; return *this; } # 73 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/intercomm.h" Intercomm Dup() const; virtual Intercomm& Clone() const; virtual int Get_remote_size() const; virtual Group Get_remote_group() const; virtual Intracomm Merge(bool high) const; virtual Intercomm Create(const Group& group) const; virtual Intercomm Split(int color, int key) const; }; # 233 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h" 2 # 1 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/info.h" 1 # 22 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/info.h" class Info { friend class MPI::Comm; friend class MPI::Request; public: # 57 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/info.h" Info() : mpi_info(((MPI_Info) ((void *) &(ompi_mpi_info_null)))) { } Info(const Info& data) : mpi_info(data.mpi_info) { } Info(MPI_Info i) : mpi_info(i) { } virtual ~Info() {} Info& operator=(const Info& data) { mpi_info = data.mpi_info; return *this; } Info& operator= (const MPI_Info &i) { mpi_info = i; return *this; } operator MPI_Info () const { return mpi_info; } static Info Create(); virtual void Delete(const char* key); virtual Info Dup() const; virtual void Free(); virtual bool Get(const char* key, int valuelen, char* value) const; virtual int Get_nkeys() const; virtual void Get_nthkey(int n, char* key) const; virtual bool Get_valuelen(const char* key, int& valuelen) const; virtual void Set(const char* key, const char* value); protected: MPI_Info mpi_info; }; # 234 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h" 2 extern const char ompi_libcxx_version_string[]; } # 275 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h" # 1 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/datatype_inln.h" 1 # 28 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/datatype_inln.h" inline MPI::Datatype MPI::Datatype::Create_contiguous(int count) const { MPI_Datatype newtype; (void)MPI_Type_contiguous(count, mpi_datatype, &newtype); return newtype; } inline MPI::Datatype MPI::Datatype::Create_vector(int count, int blocklength, int stride) const { MPI_Datatype newtype; (void)MPI_Type_vector(count, blocklength, stride, mpi_datatype, &newtype); return newtype; } inline MPI::Datatype MPI::Datatype::Create_indexed(int count, const int array_of_blocklengths[], const int array_of_displacements[]) const { MPI_Datatype newtype; (void)MPI_Type_indexed(count, const_cast(array_of_blocklengths), const_cast(array_of_displacements), mpi_datatype, &newtype); return newtype; } inline MPI::Datatype MPI::Datatype::Create_struct(int count, const int array_of_blocklengths[], const MPI::Aint array_of_displacements[], const MPI::Datatype array_of_types[]) { MPI_Datatype newtype; int i; MPI_Datatype* type_array = new MPI_Datatype[count]; for (i=0; i < count; i++) type_array[i] = array_of_types[i]; (void)MPI_Type_create_struct(count, const_cast(array_of_blocklengths), const_cast(array_of_displacements), type_array, &newtype); delete[] type_array; return newtype; } inline MPI::Datatype MPI::Datatype::Create_hindexed(int count, const int array_of_blocklengths[], const MPI::Aint array_of_displacements[]) const { MPI_Datatype newtype; (void)MPI_Type_create_hindexed(count, const_cast(array_of_blocklengths), const_cast(array_of_displacements), mpi_datatype, &newtype) ; return newtype; } inline MPI::Datatype MPI::Datatype::Create_hvector(int count, int blocklength, MPI::Aint stride) const { MPI_Datatype newtype; (void)MPI_Type_create_hvector(count, blocklength, (MPI_Aint)stride, mpi_datatype, &newtype); return newtype; } inline MPI::Datatype MPI::Datatype::Create_indexed_block(int count, int blocklength, const int array_of_displacements[]) const { MPI_Datatype newtype; (void)MPI_Type_create_indexed_block(count, blocklength, const_cast(array_of_displacements), mpi_datatype, &newtype); return newtype; } inline MPI::Datatype MPI::Datatype::Create_resized(const MPI::Aint lb, const MPI::Aint extent) const { MPI_Datatype newtype; (void) MPI_Type_create_resized(mpi_datatype, lb, extent, &newtype); return(newtype); } inline int MPI::Datatype::Get_size() const { int size; (void)MPI_Type_size(mpi_datatype, &size); return size; } inline void MPI::Datatype::Get_extent(MPI::Aint& lb, MPI::Aint& extent) const { (void)MPI_Type_get_extent(mpi_datatype, &lb, &extent); } inline void MPI::Datatype::Get_true_extent(MPI::Aint& lb, MPI::Aint& extent) const { (void) MPI_Type_get_true_extent(mpi_datatype, &lb, &extent); } inline void MPI::Datatype::Commit() { (void)MPI_Type_commit(&mpi_datatype); } inline void MPI::Datatype::Pack(const void* inbuf, int incount, void *outbuf, int outsize, int& position, const MPI::Comm &comm) const { (void)MPI_Pack(const_cast(inbuf), incount, mpi_datatype, outbuf, outsize, &position, comm); } inline void MPI::Datatype::Unpack(const void* inbuf, int insize, void *outbuf, int outcount, int& position, const MPI::Comm& comm) const { (void)MPI_Unpack(const_cast(inbuf), insize, &position, outbuf, outcount, mpi_datatype, comm); } inline int MPI::Datatype::Pack_size(int incount, const MPI::Comm& comm) const { int size; (void)MPI_Pack_size(incount, mpi_datatype, comm, &size); return size; } inline void MPI::Datatype::Pack_external(const char* datarep, const void* inbuf, int incount, void* outbuf, MPI::Aint outsize, MPI::Aint& position) const { (void)MPI_Pack_external(const_cast(datarep), const_cast(inbuf), incount, mpi_datatype, outbuf, outsize, &position); } inline MPI::Aint MPI::Datatype::Pack_external_size(const char* datarep, int incount) const { MPI_Aint addr; (void)MPI_Pack_external_size(const_cast(datarep), incount, mpi_datatype, &addr); return addr; } inline void MPI::Datatype::Unpack_external(const char* datarep, const void* inbuf, MPI::Aint insize, MPI::Aint& position, void* outbuf, int outcount) const { (void)MPI_Unpack_external(const_cast(datarep), const_cast(inbuf), insize, &position, outbuf, outcount, mpi_datatype); } inline MPI::Datatype MPI::Datatype::Create_subarray(int ndims, const int array_of_sizes[], const int array_of_subsizes[], const int array_of_starts[], int order) const { MPI_Datatype type; (void) MPI_Type_create_subarray(ndims, const_cast(array_of_sizes), const_cast(array_of_subsizes), const_cast(array_of_starts), order, mpi_datatype, &type); return type; } inline MPI::Datatype MPI::Datatype::Create_darray(int size, int rank, int ndims, const int array_of_gsizes[], const int array_of_distribs[], const int array_of_dargs[], const int array_of_psizes[], int order) const { MPI_Datatype type; (void) MPI_Type_create_darray(size, rank, ndims, const_cast(array_of_gsizes), const_cast(array_of_distribs), const_cast(array_of_dargs), const_cast(array_of_psizes), order, mpi_datatype, &type); return type; } inline MPI::Datatype MPI::Datatype::Create_f90_complex(int p, int r) { MPI_Datatype type; (void) MPI_Type_create_f90_complex(p, r, &type); return type; } inline MPI::Datatype MPI::Datatype::Create_f90_integer(int r) { MPI_Datatype type; (void) MPI_Type_create_f90_integer(r, &type); return type; } inline MPI::Datatype MPI::Datatype::Create_f90_real(int p, int r) { MPI_Datatype type; (void) MPI_Type_create_f90_real(p, r, &type); return type; } inline MPI::Datatype MPI::Datatype::Match_size(int typeclass, int size) { MPI_Datatype type; (void) MPI_Type_match_size(typeclass, size, &type); return type; } inline MPI::Datatype MPI::Datatype::Dup() const { MPI_Datatype type; (void) MPI_Type_dup(mpi_datatype, &type); return type; } inline int MPI::Datatype::Create_keyval(MPI::Datatype::Copy_attr_function* type_copy_attr_fn, MPI::Datatype::Delete_attr_function* type_delete_attr_fn, void* extra_state) { int ret, keyval; ret = do_create_keyval( # 280 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/datatype_inln.h" 3 4 __null # 280 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/datatype_inln.h" , # 280 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/datatype_inln.h" 3 4 __null # 280 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/datatype_inln.h" , type_copy_attr_fn, type_delete_attr_fn, extra_state, keyval); return (0 == ret) ? keyval : ret; } inline int MPI::Datatype::Create_keyval(MPI_Type_copy_attr_function* type_copy_attr_fn, MPI_Type_delete_attr_function* type_delete_attr_fn, void* extra_state) { int ret, keyval; ret = do_create_keyval(type_copy_attr_fn, type_delete_attr_fn, # 296 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/datatype_inln.h" 3 4 __null # 296 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/datatype_inln.h" , # 296 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/datatype_inln.h" 3 4 __null # 296 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/datatype_inln.h" , extra_state, keyval); return (0 == ret) ? keyval : ret; } inline int MPI::Datatype::Create_keyval(MPI::Datatype::Copy_attr_function* type_copy_attr_fn, MPI_Type_delete_attr_function* type_delete_attr_fn, void* extra_state) { int ret, keyval; ret = do_create_keyval( # 310 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/datatype_inln.h" 3 4 __null # 310 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/datatype_inln.h" , type_delete_attr_fn, type_copy_attr_fn, # 311 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/datatype_inln.h" 3 4 __null # 311 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/datatype_inln.h" , extra_state, keyval); return (0 == ret) ? keyval : ret; } inline int MPI::Datatype::Create_keyval(MPI_Type_copy_attr_function* type_copy_attr_fn, MPI::Datatype::Delete_attr_function* type_delete_attr_fn, void* extra_state) { int ret, keyval; ret = do_create_keyval(type_copy_attr_fn, # 325 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/datatype_inln.h" 3 4 __null # 325 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/datatype_inln.h" , # 326 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/datatype_inln.h" 3 4 __null # 326 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/datatype_inln.h" , type_delete_attr_fn, extra_state, keyval); return (0 == ret) ? keyval : ret; } inline void MPI::Datatype::Delete_attr(int type_keyval) { (void) MPI_Type_delete_attr(mpi_datatype, type_keyval); } inline void MPI::Datatype::Free_keyval(int& type_keyval) { (void) MPI_Type_free_keyval(&type_keyval); } inline bool MPI::Datatype::Get_attr(int type_keyval, void* attribute_val) const { int ret; (void) MPI_Type_get_attr(mpi_datatype, type_keyval, attribute_val, &ret); return ((bool)(ret)); } inline void MPI::Datatype::Get_contents(int max_integers, int max_addresses, int max_datatypes, int array_of_integers[], MPI::Aint array_of_addresses[], MPI::Datatype array_of_datatypes[]) const { int i; MPI_Datatype *c_datatypes = new MPI_Datatype[max_datatypes]; (void) MPI_Type_get_contents(mpi_datatype, max_integers, max_addresses, max_datatypes, const_cast(array_of_integers), const_cast(array_of_addresses), c_datatypes); for (i = 0; i < max_datatypes; ++i) { array_of_datatypes[i] = c_datatypes[i]; } delete[] c_datatypes; } inline void MPI::Datatype::Get_envelope(int& num_integers, int& num_addresses, int& num_datatypes, int& combiner) const { (void) MPI_Type_get_envelope(mpi_datatype, &num_integers, &num_addresses, &num_datatypes, &combiner); } inline void MPI::Datatype::Get_name(char* type_name, int& resultlen) const { (void) MPI_Type_get_name(mpi_datatype, type_name, &resultlen); } inline void MPI::Datatype::Set_attr(int type_keyval, const void* attribute_val) { (void) MPI_Type_set_attr(mpi_datatype, type_keyval, const_cast(attribute_val)); } inline void MPI::Datatype::Set_name(const char* type_name) { (void) MPI_Type_set_name(mpi_datatype, const_cast(type_name)); } # 276 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h" 2 # 1 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/functions_inln.h" 1 # 22 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/functions_inln.h" # 1 "/usr/include/string.h" 1 3 4 # 27 "/usr/include/string.h" 3 4 # 27 "/usr/include/string.h" 3 4 extern "C" { # 1 "/usr/lib/gcc/i686-linux-gnu/7/include/stddef.h" 1 3 4 # 33 "/usr/include/string.h" 2 3 4 extern void *memcpy (void *__restrict __dest, const void *__restrict __src, size_t __n) throw () __attribute__ ((__nonnull__ (1, 2))); extern void *memmove (void *__dest, const void *__src, size_t __n) throw () __attribute__ ((__nonnull__ (1, 2))); extern void *memccpy (void *__restrict __dest, const void *__restrict __src, int __c, size_t __n) throw () __attribute__ ((__nonnull__ (1, 2))); extern void *memset (void *__s, int __c, size_t __n) throw () __attribute__ ((__nonnull__ (1))); extern int memcmp (const void *__s1, const void *__s2, size_t __n) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern "C++" { extern void *memchr (void *__s, int __c, size_t __n) throw () __asm ("memchr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern const void *memchr (const void *__s, int __c, size_t __n) throw () __asm ("memchr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 90 "/usr/include/string.h" 3 4 } extern "C++" void *rawmemchr (void *__s, int __c) throw () __asm ("rawmemchr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern "C++" const void *rawmemchr (const void *__s, int __c) throw () __asm ("rawmemchr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern "C++" void *memrchr (void *__s, int __c, size_t __n) throw () __asm ("memrchr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern "C++" const void *memrchr (const void *__s, int __c, size_t __n) throw () __asm ("memrchr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern char *strcpy (char *__restrict __dest, const char *__restrict __src) throw () __attribute__ ((__nonnull__ (1, 2))); extern char *strncpy (char *__restrict __dest, const char *__restrict __src, size_t __n) throw () __attribute__ ((__nonnull__ (1, 2))); extern char *strcat (char *__restrict __dest, const char *__restrict __src) throw () __attribute__ ((__nonnull__ (1, 2))); extern char *strncat (char *__restrict __dest, const char *__restrict __src, size_t __n) throw () __attribute__ ((__nonnull__ (1, 2))); extern int strcmp (const char *__s1, const char *__s2) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strncmp (const char *__s1, const char *__s2, size_t __n) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strcoll (const char *__s1, const char *__s2) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern size_t strxfrm (char *__restrict __dest, const char *__restrict __src, size_t __n) throw () __attribute__ ((__nonnull__ (2))); # 162 "/usr/include/string.h" 3 4 extern int strcoll_l (const char *__s1, const char *__s2, __locale_t __l) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3))); extern size_t strxfrm_l (char *__dest, const char *__src, size_t __n, __locale_t __l) throw () __attribute__ ((__nonnull__ (2, 4))); extern char *strdup (const char *__s) throw () __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); extern char *strndup (const char *__string, size_t __n) throw () __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); # 206 "/usr/include/string.h" 3 4 extern "C++" { extern char *strchr (char *__s, int __c) throw () __asm ("strchr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern const char *strchr (const char *__s, int __c) throw () __asm ("strchr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 229 "/usr/include/string.h" 3 4 } extern "C++" { extern char *strrchr (char *__s, int __c) throw () __asm ("strrchr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern const char *strrchr (const char *__s, int __c) throw () __asm ("strrchr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 256 "/usr/include/string.h" 3 4 } extern "C++" char *strchrnul (char *__s, int __c) throw () __asm ("strchrnul") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern "C++" const char *strchrnul (const char *__s, int __c) throw () __asm ("strchrnul") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern size_t strcspn (const char *__s, const char *__reject) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern size_t strspn (const char *__s, const char *__accept) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern "C++" { extern char *strpbrk (char *__s, const char *__accept) throw () __asm ("strpbrk") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern const char *strpbrk (const char *__s, const char *__accept) throw () __asm ("strpbrk") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 308 "/usr/include/string.h" 3 4 } extern "C++" { extern char *strstr (char *__haystack, const char *__needle) throw () __asm ("strstr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern const char *strstr (const char *__haystack, const char *__needle) throw () __asm ("strstr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 335 "/usr/include/string.h" 3 4 } extern char *strtok (char *__restrict __s, const char *__restrict __delim) throw () __attribute__ ((__nonnull__ (2))); extern char *__strtok_r (char *__restrict __s, const char *__restrict __delim, char **__restrict __save_ptr) throw () __attribute__ ((__nonnull__ (2, 3))); extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, char **__restrict __save_ptr) throw () __attribute__ ((__nonnull__ (2, 3))); extern "C++" char *strcasestr (char *__haystack, const char *__needle) throw () __asm ("strcasestr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern "C++" const char *strcasestr (const char *__haystack, const char *__needle) throw () __asm ("strcasestr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 377 "/usr/include/string.h" 3 4 extern void *memmem (const void *__haystack, size_t __haystacklen, const void *__needle, size_t __needlelen) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 3))); extern void *__mempcpy (void *__restrict __dest, const void *__restrict __src, size_t __n) throw () __attribute__ ((__nonnull__ (1, 2))); extern void *mempcpy (void *__restrict __dest, const void *__restrict __src, size_t __n) throw () __attribute__ ((__nonnull__ (1, 2))); extern size_t strlen (const char *__s) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern size_t strnlen (const char *__string, size_t __maxlen) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern char *strerror (int __errnum) throw (); # 433 "/usr/include/string.h" 3 4 extern char *strerror_r (int __errnum, char *__buf, size_t __buflen) throw () __attribute__ ((__nonnull__ (2))) ; extern char *strerror_l (int __errnum, __locale_t __l) throw (); extern void __bzero (void *__s, size_t __n) throw () __attribute__ ((__nonnull__ (1))); extern void bcopy (const void *__src, void *__dest, size_t __n) throw () __attribute__ ((__nonnull__ (1, 2))); extern void bzero (void *__s, size_t __n) throw () __attribute__ ((__nonnull__ (1))); extern int bcmp (const void *__s1, const void *__s2, size_t __n) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern "C++" { extern char *index (char *__s, int __c) throw () __asm ("index") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern const char *index (const char *__s, int __c) throw () __asm ("index") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 482 "/usr/include/string.h" 3 4 } extern "C++" { extern char *rindex (char *__s, int __c) throw () __asm ("rindex") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern const char *rindex (const char *__s, int __c) throw () __asm ("rindex") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 510 "/usr/include/string.h" 3 4 } extern int ffs (int __i) throw () __attribute__ ((__const__)); extern int ffsl (long int __l) throw () __attribute__ ((__const__)); __extension__ extern int ffsll (long long int __ll) throw () __attribute__ ((__const__)); extern int strcasecmp (const char *__s1, const char *__s2) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strcasecmp_l (const char *__s1, const char *__s2, __locale_t __loc) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3))); extern int strncasecmp_l (const char *__s1, const char *__s2, size_t __n, __locale_t __loc) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 4))); extern char *strsep (char **__restrict __stringp, const char *__restrict __delim) throw () __attribute__ ((__nonnull__ (1, 2))); extern char *strsignal (int __sig) throw (); extern char *__stpcpy (char *__restrict __dest, const char *__restrict __src) throw () __attribute__ ((__nonnull__ (1, 2))); extern char *stpcpy (char *__restrict __dest, const char *__restrict __src) throw () __attribute__ ((__nonnull__ (1, 2))); extern char *__stpncpy (char *__restrict __dest, const char *__restrict __src, size_t __n) throw () __attribute__ ((__nonnull__ (1, 2))); extern char *stpncpy (char *__restrict __dest, const char *__restrict __src, size_t __n) throw () __attribute__ ((__nonnull__ (1, 2))); extern int strverscmp (const char *__s1, const char *__s2) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strfry (char *__string) throw () __attribute__ ((__nonnull__ (1))); extern void *memfrob (void *__s, size_t __n) throw () __attribute__ ((__nonnull__ (1))); extern "C++" char *basename (char *__filename) throw () __asm ("basename") __attribute__ ((__nonnull__ (1))); extern "C++" const char *basename (const char *__filename) throw () __asm ("basename") __attribute__ ((__nonnull__ (1))); # 656 "/usr/include/string.h" 3 4 } # 23 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/functions_inln.h" 2 # 28 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/functions_inln.h" inline void MPI::Attach_buffer(void* buffer, int size) { (void)MPI_Buffer_attach(buffer, size); } inline int MPI::Detach_buffer(void*& buffer) { int size; (void)MPI_Buffer_detach(&buffer, &size); return size; } inline void MPI::Compute_dims(int nnodes, int ndims, int dims[]) { (void)MPI_Dims_create(nnodes, ndims, dims); } inline int MPI::Add_error_class() { int errcls; (void)MPI_Add_error_class(&errcls); return errcls; } inline int MPI::Add_error_code(int errorclass) { int errcode; (void)MPI_Add_error_code(errorclass, &errcode); return errcode; } inline void MPI::Add_error_string(int errorcode, const char* string) { (void)MPI_Add_error_string(errorcode, const_cast(string)); } inline void MPI::Get_processor_name(char* name, int& resultlen) { (void)MPI_Get_processor_name(name, &resultlen); } inline void MPI::Get_error_string(int errorcode, char* string, int& resultlen) { (void)MPI_Error_string(errorcode, string, &resultlen); } inline int MPI::Get_error_class(int errorcode) { int errorclass; (void)MPI_Error_class(errorcode, &errorclass); return errorclass; } inline double MPI::Wtime() { return (MPI_Wtime()); } inline double MPI::Wtick() { return (MPI_Wtick()); } inline void MPI::Real_init() { MPI::InitializeIntercepts(); } inline void MPI::Init(int& argc, char**& argv) { (void)MPI_Init(&argc, &argv); Real_init(); } inline void MPI::Init() { (void)MPI_Init(0, 0); Real_init(); } inline void MPI::Finalize() { (void)MPI_Finalize(); } inline bool MPI::Is_initialized() { int t; (void)MPI_Initialized(&t); return ((bool)(t)); } inline bool MPI::Is_finalized() { int t; (void)MPI_Finalized(&t); return ((bool)(t)); } inline int MPI::Init_thread(int required) { int provided; (void) MPI_Init_thread(0, # 163 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/functions_inln.h" 3 4 __null # 163 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/functions_inln.h" , required, &provided); Real_init(); return provided; } inline int MPI::Init_thread(int& argc, char**& argv, int required) { int provided; (void) MPI_Init_thread(&argc, &argv, required, &provided); Real_init(); return provided; } inline bool MPI::Is_thread_main() { int flag; (void) MPI_Is_thread_main(&flag); return ((bool)(flag == 1)); } inline int MPI::Query_thread() { int provided; (void) MPI_Query_thread(&provided); return provided; } inline void* MPI::Alloc_mem(MPI::Aint size, const MPI::Info& info) { void* baseptr; (void) MPI_Alloc_mem(size, info, &baseptr); return baseptr; } inline void MPI::Free_mem(void* base) { (void) MPI_Free_mem(base); } inline void MPI::Close_port(const char* port_name) { (void) MPI_Close_port(const_cast(port_name)); } inline void MPI::Lookup_name(const char * service_name, const MPI::Info& info, char* port_name) { (void) MPI_Lookup_name(const_cast(service_name), info, port_name); } inline void MPI::Open_port(const MPI::Info& info, char* port_name) { (void) MPI_Open_port(info, port_name); } inline void MPI::Publish_name(const char* service_name, const MPI::Info& info, const char* port_name) { (void) MPI_Publish_name(const_cast(service_name), info, const_cast(port_name)); } inline void MPI::Unpublish_name(const char* service_name, const MPI::Info& info, const char* port_name) { (void)MPI_Unpublish_name(const_cast(service_name), info, const_cast(port_name)); } inline void MPI::Pcontrol(const int level, ...) { va_list ap; # 275 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/functions_inln.h" 3 4 __builtin_va_start( # 275 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/functions_inln.h" ap # 275 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/functions_inln.h" 3 4 , # 275 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/functions_inln.h" level # 275 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/functions_inln.h" 3 4 ) # 275 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/functions_inln.h" ; (void)MPI_Pcontrol(level, ap); # 278 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/functions_inln.h" 3 4 __builtin_va_end( # 278 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/functions_inln.h" ap # 278 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/functions_inln.h" 3 4 ) # 278 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/functions_inln.h" ; } inline void MPI::Get_version(int& version, int& subversion) { (void)MPI_Get_version(&version, &subversion); } inline MPI::Aint MPI::Get_address(void* location) { MPI::Aint ret; MPI_Get_address(location, &ret); return ret; } # 277 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h" 2 # 1 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/request_inln.h" 1 # 26 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/request_inln.h" inline void MPI::Request::Wait(MPI::Status &status) { (void)MPI_Wait(&mpi_request, &status.mpi_status); } inline void MPI::Request::Wait() { (void)MPI_Wait(&mpi_request, ((MPI_Status *) 0)); } inline void MPI::Request::Free() { (void)MPI_Request_free(&mpi_request); } inline bool MPI::Request::Test(MPI::Status &status) { int t; (void)MPI_Test(&mpi_request, &t, &status.mpi_status); return ((bool)(t)); } inline bool MPI::Request::Test() { int t; (void)MPI_Test(&mpi_request, &t, ((MPI_Status *) 0)); return ((bool)(t)); } inline int MPI::Request::Waitany(int count, MPI::Request array[], MPI::Status& status) { int index, i; MPI_Request* array_of_requests = new MPI_Request[count]; for (i=0; i < count; i++) { array_of_requests[i] = array[i]; } (void)MPI_Waitany(count, array_of_requests, &index, &status.mpi_status); for (i=0; i < count; i++) { array[i] = array_of_requests[i]; } delete [] array_of_requests; return index; } inline int MPI::Request::Waitany(int count, MPI::Request array[]) { int index, i; MPI_Request* array_of_requests = new MPI_Request[count]; for (i=0; i < count; i++) { array_of_requests[i] = array[i]; } (void)MPI_Waitany(count, array_of_requests, &index, ((MPI_Status *) 0)); for (i=0; i < count; i++) { array[i] = array_of_requests[i]; } delete [] array_of_requests; return index; } inline bool MPI::Request::Testany(int count, MPI::Request array[], int& index, MPI::Status& status) { int i, flag; MPI_Request* array_of_requests = new MPI_Request[count]; for (i=0; i < count; i++) { array_of_requests[i] = array[i]; } (void)MPI_Testany(count, array_of_requests, &index, &flag, &status.mpi_status); for (i=0; i < count; i++) { array[i] = array_of_requests[i]; } delete [] array_of_requests; return (bool)(flag != 0 ? true : false); } inline bool MPI::Request::Testany(int count, MPI::Request array[], int& index) { int i, flag; MPI_Request* array_of_requests = new MPI_Request[count]; for (i=0; i < count; i++) { array_of_requests[i] = array[i]; } (void)MPI_Testany(count, array_of_requests, &index, &flag, ((MPI_Status *) 0)); for (i=0; i < count; i++) { array[i] = array_of_requests[i]; } delete [] array_of_requests; return ((bool)(flag)); } inline void MPI::Request::Waitall(int count, MPI::Request req_array[], MPI::Status stat_array[]) { int i; MPI_Request* array_of_requests = new MPI_Request[count]; MPI_Status* array_of_statuses = new MPI_Status[count]; for (i=0; i < count; i++) { array_of_requests[i] = req_array[i]; } (void)MPI_Waitall(count, array_of_requests, array_of_statuses); for (i=0; i < count; i++) { req_array[i] = array_of_requests[i]; stat_array[i] = array_of_statuses[i]; } delete [] array_of_requests; delete [] array_of_statuses; } inline void MPI::Request::Waitall(int count, MPI::Request req_array[]) { int i; MPI_Request* array_of_requests = new MPI_Request[count]; for (i=0; i < count; i++) { array_of_requests[i] = req_array[i]; } (void)MPI_Waitall(count, array_of_requests, ((MPI_Status *) 0)); for (i=0; i < count; i++) { req_array[i] = array_of_requests[i]; } delete [] array_of_requests; } inline bool MPI::Request::Testall(int count, MPI::Request req_array[], MPI::Status stat_array[]) { int i, flag; MPI_Request* array_of_requests = new MPI_Request[count]; MPI_Status* array_of_statuses = new MPI_Status[count]; for (i=0; i < count; i++) { array_of_requests[i] = req_array[i]; } (void)MPI_Testall(count, array_of_requests, &flag, array_of_statuses); for (i=0; i < count; i++) { req_array[i] = array_of_requests[i]; stat_array[i] = array_of_statuses[i]; } delete [] array_of_requests; delete [] array_of_statuses; return ((bool)(flag)); } inline bool MPI::Request::Testall(int count, MPI::Request req_array[]) { int i, flag; MPI_Request* array_of_requests = new MPI_Request[count]; for (i=0; i < count; i++) { array_of_requests[i] = req_array[i]; } (void)MPI_Testall(count, array_of_requests, &flag, ((MPI_Status *) 0)); for (i=0; i < count; i++) { req_array[i] = array_of_requests[i]; } delete [] array_of_requests; return ((bool)(flag)); } inline int MPI::Request::Waitsome(int incount, MPI::Request req_array[], int array_of_indices[], MPI::Status stat_array[]) { int i, outcount; MPI_Request* array_of_requests = new MPI_Request[incount]; MPI_Status* array_of_statuses = new MPI_Status[incount]; for (i=0; i < incount; i++) { array_of_requests[i] = req_array[i]; } (void)MPI_Waitsome(incount, array_of_requests, &outcount, array_of_indices, array_of_statuses); for (i=0; i < incount; i++) { req_array[i] = array_of_requests[i]; stat_array[i] = array_of_statuses[i]; } delete [] array_of_requests; delete [] array_of_statuses; return outcount; } inline int MPI::Request::Waitsome(int incount, MPI::Request req_array[], int array_of_indices[]) { int i, outcount; MPI_Request* array_of_requests = new MPI_Request[incount]; for (i=0; i < incount; i++) { array_of_requests[i] = req_array[i]; } (void)MPI_Waitsome(incount, array_of_requests, &outcount, array_of_indices, ((MPI_Status *) 0)); for (i=0; i < incount; i++) { req_array[i] = array_of_requests[i]; } delete [] array_of_requests; return outcount; } inline int MPI::Request::Testsome(int incount, MPI::Request req_array[], int array_of_indices[], MPI::Status stat_array[]) { int i, outcount; MPI_Request* array_of_requests = new MPI_Request[incount]; MPI_Status* array_of_statuses = new MPI_Status[incount]; for (i=0; i < incount; i++) { array_of_requests[i] = req_array[i]; } (void)MPI_Testsome(incount, array_of_requests, &outcount, array_of_indices, array_of_statuses); for (i=0; i < incount; i++) { req_array[i] = array_of_requests[i]; stat_array[i] = array_of_statuses[i]; } delete [] array_of_requests; delete [] array_of_statuses; return outcount; } inline int MPI::Request::Testsome(int incount, MPI::Request req_array[], int array_of_indices[]) { int i, outcount; MPI_Request* array_of_requests = new MPI_Request[incount]; for (i=0; i < incount; i++) { array_of_requests[i] = req_array[i]; } (void)MPI_Testsome(incount, array_of_requests, &outcount, array_of_indices, ((MPI_Status *) 0)); for (i=0; i < incount; i++) { req_array[i] = array_of_requests[i]; } delete [] array_of_requests; return outcount; } inline void MPI::Request::Cancel(void) const { (void)MPI_Cancel(const_cast(&mpi_request)); } inline void MPI::Prequest::Start() { (void)MPI_Start(&mpi_request); } inline void MPI::Prequest::Startall(int count, MPI:: Prequest array_of_requests[]) { MPI_Request* mpi_requests = new MPI_Request[count]; int i; for (i=0; i < count; i++) { mpi_requests[i] = array_of_requests[i]; } (void)MPI_Startall(count, mpi_requests); for (i=0; i < count; i++) { array_of_requests[i].mpi_request = mpi_requests[i] ; } delete [] mpi_requests; } inline bool MPI::Request::Get_status(MPI::Status& status) const { int flag = 0; MPI_Status c_status; (void)MPI_Request_get_status(mpi_request, &flag, &c_status); if (flag) { status = c_status; } return ((bool)(flag)); } inline bool MPI::Request::Get_status() const { int flag; (void)MPI_Request_get_status(mpi_request, &flag, ((MPI_Status *) 0)); return ((bool)(flag)); } inline MPI::Grequest MPI::Grequest::Start(Query_function *query_fn, Free_function *free_fn, Cancel_function *cancel_fn, void *extra) { MPI_Request grequest = 0; Intercept_data_t *new_extra = new MPI::Grequest::Intercept_data_t; new_extra->id_extra = extra; new_extra->id_cxx_query_fn = query_fn; new_extra->id_cxx_free_fn = free_fn; new_extra->id_cxx_cancel_fn = cancel_fn; (void) MPI_Grequest_start(ompi_mpi_cxx_grequest_query_fn_intercept, ompi_mpi_cxx_grequest_free_fn_intercept, ompi_mpi_cxx_grequest_cancel_fn_intercept, new_extra, &grequest); return(grequest); } inline void MPI::Grequest::Complete() { (void) MPI_Grequest_complete(mpi_request); } # 278 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h" 2 # 1 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/comm_inln.h" 1 # 26 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/comm_inln.h" inline void MPI::Comm::Send(const void *buf, int count, const MPI::Datatype & datatype, int dest, int tag) const { (void)MPI_Send(const_cast(buf), count, datatype, dest, tag, mpi_comm); } inline void MPI::Comm::Recv(void *buf, int count, const MPI::Datatype & datatype, int source, int tag, MPI::Status & status) const { (void)MPI_Recv(buf, count, datatype, source, tag, mpi_comm, &status.mpi_status); } inline void MPI::Comm::Recv(void *buf, int count, const MPI::Datatype & datatype, int source, int tag) const { (void)MPI_Recv(buf, count, datatype, source, tag, mpi_comm, ((MPI_Status *) 0)); } inline void MPI::Comm::Bsend(const void *buf, int count, const MPI::Datatype & datatype, int dest, int tag) const { (void)MPI_Bsend(const_cast(buf), count, datatype, dest, tag, mpi_comm); } inline void MPI::Comm::Ssend(const void *buf, int count, const MPI::Datatype & datatype, int dest, int tag) const { (void)MPI_Ssend(const_cast(buf), count, datatype, dest, tag, mpi_comm); } inline void MPI::Comm::Rsend(const void *buf, int count, const MPI::Datatype & datatype, int dest, int tag) const { (void)MPI_Rsend(const_cast(buf), count, datatype, dest, tag, mpi_comm); } inline MPI::Request MPI::Comm::Isend(const void *buf, int count, const MPI::Datatype & datatype, int dest, int tag) const { MPI_Request request; (void)MPI_Isend(const_cast(buf), count, datatype, dest, tag, mpi_comm, &request); return request; } inline MPI::Request MPI::Comm::Ibsend(const void *buf, int count, const MPI::Datatype & datatype, int dest, int tag) const { MPI_Request request; (void)MPI_Ibsend(const_cast(buf), count, datatype, dest, tag, mpi_comm, &request); return request; } inline MPI::Request MPI::Comm::Issend(const void *buf, int count, const MPI::Datatype & datatype, int dest, int tag) const { MPI_Request request; (void)MPI_Issend(const_cast(buf), count, datatype, dest, tag, mpi_comm, &request); return request; } inline MPI::Request MPI::Comm::Irsend(const void *buf, int count, const MPI::Datatype & datatype, int dest, int tag) const { MPI_Request request; (void)MPI_Irsend(const_cast(buf), count, datatype, dest, tag, mpi_comm, &request); return request; } inline MPI::Request MPI::Comm::Irecv(void *buf, int count, const MPI::Datatype & datatype, int source, int tag) const { MPI_Request request; (void)MPI_Irecv(buf, count, datatype, source, tag, mpi_comm, &request); return request; } inline bool MPI::Comm::Iprobe(int source, int tag, MPI::Status & status) const { int t; (void)MPI_Iprobe(source, tag, mpi_comm, &t, &status.mpi_status); return ((bool)(t)); } inline bool MPI::Comm::Iprobe(int source, int tag) const { int t; (void)MPI_Iprobe(source, tag, mpi_comm, &t, ((MPI_Status *) 0)); return ((bool)(t)); } inline void MPI::Comm::Probe(int source, int tag, MPI::Status & status) const { (void)MPI_Probe(source, tag, mpi_comm, &status.mpi_status); } inline void MPI::Comm::Probe(int source, int tag) const { (void)MPI_Probe(source, tag, mpi_comm, ((MPI_Status *) 0)); } inline MPI::Prequest MPI::Comm::Send_init(const void *buf, int count, const MPI::Datatype & datatype, int dest, int tag) const { MPI_Request request; (void)MPI_Send_init(const_cast(buf), count, datatype, dest, tag, mpi_comm, &request); return request; } inline MPI::Prequest MPI::Comm::Bsend_init(const void *buf, int count, const MPI::Datatype & datatype, int dest, int tag) const { MPI_Request request; (void)MPI_Bsend_init(const_cast(buf), count, datatype, dest, tag, mpi_comm, &request); return request; } inline MPI::Prequest MPI::Comm::Ssend_init(const void *buf, int count, const MPI::Datatype & datatype, int dest, int tag) const { MPI_Request request; (void)MPI_Ssend_init(const_cast(buf), count, datatype, dest, tag, mpi_comm, &request); return request; } inline MPI::Prequest MPI::Comm::Rsend_init(const void *buf, int count, const MPI::Datatype & datatype, int dest, int tag) const { MPI_Request request; (void)MPI_Rsend_init(const_cast(buf), count, datatype, dest, tag, mpi_comm, &request); return request; } inline MPI::Prequest MPI::Comm::Recv_init(void *buf, int count, const MPI::Datatype & datatype, int source, int tag) const { MPI_Request request; (void)MPI_Recv_init(buf, count, datatype, source, tag, mpi_comm, &request); return request; } inline void MPI::Comm::Sendrecv(const void *sendbuf, int sendcount, const MPI::Datatype & sendtype, int dest, int sendtag, void *recvbuf, int recvcount, const MPI::Datatype & recvtype, int source, int recvtag, MPI::Status & status) const { (void)MPI_Sendrecv(const_cast(sendbuf), sendcount, sendtype, dest, sendtag, recvbuf, recvcount, recvtype, source, recvtag, mpi_comm, &status.mpi_status); } inline void MPI::Comm::Sendrecv(const void *sendbuf, int sendcount, const MPI::Datatype & sendtype, int dest, int sendtag, void *recvbuf, int recvcount, const MPI::Datatype & recvtype, int source, int recvtag) const { (void)MPI_Sendrecv(const_cast(sendbuf), sendcount, sendtype, dest, sendtag, recvbuf, recvcount, recvtype, source, recvtag, mpi_comm, ((MPI_Status *) 0)); } inline void MPI::Comm::Sendrecv_replace(void *buf, int count, const MPI::Datatype & datatype, int dest, int sendtag, int source, int recvtag, MPI::Status & status) const { (void)MPI_Sendrecv_replace(buf, count, datatype, dest, sendtag, source, recvtag, mpi_comm, &status.mpi_status); } inline void MPI::Comm::Sendrecv_replace(void *buf, int count, const MPI::Datatype & datatype, int dest, int sendtag, int source, int recvtag) const { (void)MPI_Sendrecv_replace(buf, count, datatype, dest, sendtag, source, recvtag, mpi_comm, ((MPI_Status *) 0)); } inline MPI::Group MPI::Comm::Get_group() const { MPI_Group group; (void)MPI_Comm_group(mpi_comm, &group); return group; } inline int MPI::Comm::Get_size() const { int size; (void)MPI_Comm_size (mpi_comm, &size); return size; } inline int MPI::Comm::Get_rank() const { int myrank; (void)MPI_Comm_rank (mpi_comm, &myrank); return myrank; } inline int MPI::Comm::Compare(const MPI::Comm & comm1, const MPI::Comm & comm2) { int result; (void)MPI_Comm_compare(comm1, comm2, &result); return result; } inline void MPI::Comm::Free(void) { (void)MPI_Comm_free(&mpi_comm); } inline bool MPI::Comm::Is_inter() const { int t; (void)MPI_Comm_test_inter(mpi_comm, &t); return ((bool)(t)); } inline void MPI::Comm::Barrier() const { (void)MPI_Barrier(mpi_comm); } inline void MPI::Comm::Bcast(void *buffer, int count, const MPI::Datatype& datatype, int root) const { (void)MPI_Bcast(buffer, count, datatype, root, mpi_comm); } inline void MPI::Comm::Gather(const void *sendbuf, int sendcount, const MPI::Datatype & sendtype, void *recvbuf, int recvcount, const MPI::Datatype & recvtype, int root) const { (void)MPI_Gather(const_cast(sendbuf), sendcount, sendtype, recvbuf, recvcount, recvtype, root, mpi_comm); } inline void MPI::Comm::Gatherv(const void *sendbuf, int sendcount, const MPI::Datatype & sendtype, void *recvbuf, const int recvcounts[], const int displs[], const MPI::Datatype & recvtype, int root) const { (void)MPI_Gatherv(const_cast(sendbuf), sendcount, sendtype, recvbuf, const_cast(recvcounts), const_cast(displs), recvtype, root, mpi_comm); } inline void MPI::Comm::Scatter(const void *sendbuf, int sendcount, const MPI::Datatype & sendtype, void *recvbuf, int recvcount, const MPI::Datatype & recvtype, int root) const { (void)MPI_Scatter(const_cast(sendbuf), sendcount, sendtype, recvbuf, recvcount, recvtype, root, mpi_comm); } inline void MPI::Comm::Scatterv(const void *sendbuf, const int sendcounts[], const int displs[], const MPI::Datatype & sendtype, void *recvbuf, int recvcount, const MPI::Datatype & recvtype, int root) const { (void)MPI_Scatterv(const_cast(sendbuf), const_cast(sendcounts), const_cast(displs), sendtype, recvbuf, recvcount, recvtype, root, mpi_comm); } inline void MPI::Comm::Allgather(const void *sendbuf, int sendcount, const MPI::Datatype & sendtype, void *recvbuf, int recvcount, const MPI::Datatype & recvtype) const { (void)MPI_Allgather(const_cast(sendbuf), sendcount, sendtype, recvbuf, recvcount, recvtype, mpi_comm); } inline void MPI::Comm::Allgatherv(const void *sendbuf, int sendcount, const MPI::Datatype & sendtype, void *recvbuf, const int recvcounts[], const int displs[], const MPI::Datatype & recvtype) const { (void)MPI_Allgatherv(const_cast(sendbuf), sendcount, sendtype, recvbuf, const_cast(recvcounts), const_cast(displs), recvtype, mpi_comm); } inline void MPI::Comm::Alltoall(const void *sendbuf, int sendcount, const MPI::Datatype & sendtype, void *recvbuf, int recvcount, const MPI::Datatype & recvtype) const { (void)MPI_Alltoall(const_cast(sendbuf), sendcount, sendtype, recvbuf, recvcount, recvtype, mpi_comm); } inline void MPI::Comm::Alltoallv(const void *sendbuf, const int sendcounts[], const int sdispls[], const MPI::Datatype & sendtype, void *recvbuf, const int recvcounts[], const int rdispls[], const MPI::Datatype & recvtype) const { (void)MPI_Alltoallv(const_cast(sendbuf), const_cast(sendcounts), const_cast(sdispls), sendtype, recvbuf, const_cast(recvcounts), const_cast(rdispls), recvtype,mpi_comm); } inline void MPI::Comm::Alltoallw(const void *sendbuf, const int sendcounts[], const int sdispls[], const MPI::Datatype sendtypes[], void *recvbuf, const int recvcounts[], const int rdispls[], const MPI::Datatype recvtypes[]) const { const int comm_size = Get_size(); MPI_Datatype *const data_type_tbl = new MPI_Datatype [2*comm_size]; for (int i_rank=0; i_rank < comm_size; i_rank++) { data_type_tbl[i_rank] = sendtypes[i_rank]; data_type_tbl[i_rank + comm_size] = recvtypes[i_rank]; } (void)MPI_Alltoallw(const_cast(sendbuf), const_cast(sendcounts), const_cast(sdispls), data_type_tbl, recvbuf, const_cast(recvcounts), const_cast(rdispls), &data_type_tbl[comm_size], mpi_comm); delete[] data_type_tbl; } inline void MPI::Comm::Reduce(const void *sendbuf, void *recvbuf, int count, const MPI::Datatype & datatype, const MPI::Op& op, int root) const { (void)MPI_Reduce(const_cast(sendbuf), recvbuf, count, datatype, op, root, mpi_comm); } inline void MPI::Comm::Allreduce(const void *sendbuf, void *recvbuf, int count, const MPI::Datatype & datatype, const MPI::Op& op) const { (void)MPI_Allreduce (const_cast(sendbuf), recvbuf, count, datatype, op, mpi_comm); } inline void MPI::Comm::Reduce_scatter(const void *sendbuf, void *recvbuf, int recvcounts[], const MPI::Datatype & datatype, const MPI::Op& op) const { (void)MPI_Reduce_scatter(const_cast(sendbuf), recvbuf, recvcounts, datatype, op, mpi_comm); } inline void MPI::Comm::Disconnect() { (void) MPI_Comm_disconnect(&mpi_comm); } inline MPI::Intercomm MPI::Comm::Get_parent() { MPI_Comm parent; MPI_Comm_get_parent(&parent); return parent; } inline MPI::Intercomm MPI::Comm::Join(const int fd) { MPI_Comm newcomm; (void) MPI_Comm_join((int) fd, &newcomm); return newcomm; } inline void MPI::Comm::Get_name(char* comm_name, int& resultlen) const { (void) MPI_Comm_get_name(mpi_comm, comm_name, &resultlen); } inline void MPI::Comm::Set_name(const char* comm_name) { (void) MPI_Comm_set_name(mpi_comm, const_cast(comm_name)); } inline int MPI::Comm::Get_topology() const { int status; (void)MPI_Topo_test(mpi_comm, &status); return status; } inline void MPI::Comm::Abort(int errorcode) { (void)MPI_Abort(mpi_comm, errorcode); } inline MPI::Errhandler MPI::Comm::Get_errhandler() const { MPI_Errhandler errhandler; MPI_Comm_get_errhandler(mpi_comm, &errhandler); return errhandler; } inline void MPI::Comm::Set_errhandler(const MPI::Errhandler& errhandler) { (void)MPI_Comm_set_errhandler(mpi_comm, errhandler); } inline void MPI::Comm::Call_errhandler(int errorcode) const { (void) MPI_Comm_call_errhandler(mpi_comm, errorcode); } inline int MPI::Comm::Create_keyval(MPI::Comm::Copy_attr_function* comm_copy_attr_fn, MPI::Comm::Delete_attr_function* comm_delete_attr_fn, void* extra_state) { int ret, keyval; ret = do_create_keyval( # 567 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/comm_inln.h" 3 4 __null # 567 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/comm_inln.h" , # 567 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/comm_inln.h" 3 4 __null # 567 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/comm_inln.h" , comm_copy_attr_fn, comm_delete_attr_fn, extra_state, keyval); return (0 == ret) ? keyval : ret; } inline int MPI::Comm::Create_keyval(MPI_Comm_copy_attr_function* comm_copy_attr_fn, MPI_Comm_delete_attr_function* comm_delete_attr_fn, void* extra_state) { int ret, keyval; ret = do_create_keyval(comm_copy_attr_fn, comm_delete_attr_fn, # 583 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/comm_inln.h" 3 4 __null # 583 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/comm_inln.h" , # 583 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/comm_inln.h" 3 4 __null # 583 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/comm_inln.h" , extra_state, keyval); return (0 == ret) ? keyval : ret; } inline int MPI::Comm::Create_keyval(MPI::Comm::Copy_attr_function* comm_copy_attr_fn, MPI_Comm_delete_attr_function* comm_delete_attr_fn, void* extra_state) { int ret, keyval; ret = do_create_keyval( # 597 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/comm_inln.h" 3 4 __null # 597 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/comm_inln.h" , comm_delete_attr_fn, comm_copy_attr_fn, # 598 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/comm_inln.h" 3 4 __null # 598 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/comm_inln.h" , extra_state, keyval); return (0 == ret) ? keyval : ret; } inline int MPI::Comm::Create_keyval(MPI_Comm_copy_attr_function* comm_copy_attr_fn, MPI::Comm::Delete_attr_function* comm_delete_attr_fn, void* extra_state) { int ret, keyval; ret = do_create_keyval(comm_copy_attr_fn, # 612 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/comm_inln.h" 3 4 __null # 612 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/comm_inln.h" , # 613 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/comm_inln.h" 3 4 __null # 613 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/comm_inln.h" , comm_delete_attr_fn, extra_state, keyval); return (0 == ret) ? keyval : ret; } inline void MPI::Comm::Free_keyval(int& comm_keyval) { (void) MPI_Comm_free_keyval(&comm_keyval); } inline void MPI::Comm::Set_attr(int comm_keyval, const void* attribute_val) const { (void)MPI_Comm_set_attr(mpi_comm, comm_keyval, const_cast(attribute_val)); } inline bool MPI::Comm::Get_attr(int comm_keyval, void* attribute_val) const { int flag; (void)MPI_Comm_get_attr(mpi_comm, comm_keyval, attribute_val, &flag); return ((bool)(flag)); } inline void MPI::Comm::Delete_attr(int comm_keyval) { (void)MPI_Comm_delete_attr(mpi_comm, comm_keyval); } inline int MPI::Comm::NULL_COPY_FN(const MPI::Comm& , int , void* , void* , void* , bool& flag) { flag = false; return 0; } inline int MPI::Comm::DUP_FN(const MPI::Comm& oldcomm, int comm_keyval, void* extra_state, void* attribute_val_in, void* attribute_val_out, bool& flag) { if (sizeof(bool) != sizeof(int)) { int f = (int)flag; int ret; ret = OMPI_C_MPI_COMM_DUP_FN(oldcomm, comm_keyval, extra_state, attribute_val_in, attribute_val_out, &f); flag = ((bool)(f)); return ret; } else { return OMPI_C_MPI_COMM_DUP_FN(oldcomm, comm_keyval, extra_state, attribute_val_in, attribute_val_out, (int*)&flag); } } inline int MPI::Comm::NULL_DELETE_FN(MPI::Comm& , int , void* , void* ) { return 0; } # 279 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h" 2 # 1 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/intracomm_inln.h" 1 # 22 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/intracomm_inln.h" inline MPI::Intracomm::Intracomm(MPI_Comm data) { int flag = 0; if (MPI::Is_initialized() && (data != ((MPI_Comm) ((void *) &(ompi_mpi_comm_null))))) { (void)MPI_Comm_test_inter(data, &flag); if (flag) { mpi_comm = ((MPI_Comm) ((void *) &(ompi_mpi_comm_null))); } else { mpi_comm = data; } } else { mpi_comm = data; } } inline void MPI::Intracomm::Scan(const void *sendbuf, void *recvbuf, int count, const MPI::Datatype & datatype, const MPI::Op& op) const { (void)MPI_Scan(const_cast(sendbuf), recvbuf, count, datatype, op, mpi_comm); } inline void MPI::Intracomm::Exscan(const void *sendbuf, void *recvbuf, int count, const MPI::Datatype & datatype, const MPI::Op& op) const { (void)MPI_Exscan(const_cast(sendbuf), recvbuf, count, datatype, op, mpi_comm); } inline MPI::Intracomm MPI::Intracomm::Dup() const { MPI_Comm newcomm; (void)MPI_Comm_dup(mpi_comm, &newcomm); return newcomm; } inline MPI::Intracomm& MPI::Intracomm::Clone() const { MPI_Comm newcomm; (void)MPI_Comm_dup(mpi_comm, &newcomm); MPI::Intracomm* dup = new MPI::Intracomm(newcomm); return *dup; } inline MPI::Intracomm MPI::Intracomm::Create(const MPI::Group& group) const { MPI_Comm newcomm; (void)MPI_Comm_create(mpi_comm, group, &newcomm); return newcomm; } inline MPI::Intracomm MPI::Intracomm::Split(int color, int key) const { MPI_Comm newcomm; (void)MPI_Comm_split(mpi_comm, color, key, &newcomm); return newcomm; } inline MPI::Intercomm MPI::Intracomm::Create_intercomm(int local_leader, const MPI::Comm& peer_comm, int remote_leader, int tag) const { MPI_Comm newintercomm; (void)MPI_Intercomm_create(mpi_comm, local_leader, peer_comm, remote_leader, tag, &newintercomm); return newintercomm; } inline MPI::Cartcomm MPI::Intracomm::Create_cart(int ndims, const int dims[], const bool periods[], bool reorder) const { int *int_periods = new int [ndims]; for (int i=0; i(dims), int_periods, (int)reorder, &newcomm); delete [] int_periods; return newcomm; } inline MPI::Graphcomm MPI::Intracomm::Create_graph(int nnodes, const int index[], const int edges[], bool reorder) const { MPI_Comm newcomm; (void)MPI_Graph_create(mpi_comm, nnodes, const_cast(index), const_cast(edges), (int)reorder, &newcomm); return newcomm; } inline MPI::Intercomm MPI::Intracomm::Accept(const char* port_name, const MPI::Info& info, int root) const { MPI_Comm newcomm; (void) MPI_Comm_accept(const_cast(port_name), info, root, mpi_comm, &newcomm); return newcomm; } inline MPI::Intercomm MPI::Intracomm::Connect(const char* port_name, const MPI::Info& info, int root) const { MPI_Comm newcomm; (void) MPI_Comm_connect(const_cast(port_name), info, root, mpi_comm, &newcomm); return newcomm; } inline MPI::Intercomm MPI::Intracomm::Spawn(const char* command, const char* argv[], int maxprocs, const MPI::Info& info, int root) const { MPI_Comm newcomm; (void) MPI_Comm_spawn(const_cast(command), const_cast(argv), maxprocs, info, root, mpi_comm, &newcomm, (int *)((int *) 0)); return newcomm; } inline MPI::Intercomm MPI::Intracomm::Spawn(const char* command, const char* argv[], int maxprocs, const MPI::Info& info, int root, int array_of_errcodes[]) const { MPI_Comm newcomm; (void) MPI_Comm_spawn(const_cast(command), const_cast(argv), maxprocs, info, root, mpi_comm, &newcomm, array_of_errcodes); return newcomm; } inline MPI::Intercomm MPI::Intracomm::Spawn_multiple(int count, const char* array_of_commands[], const char** array_of_argv[], const int array_of_maxprocs[], const Info array_of_info[], int root) { MPI_Comm newcomm; MPI_Info *const array_of_mpi_info = convert_info_to_mpi_info(count, array_of_info); MPI_Comm_spawn_multiple(count, const_cast(array_of_commands), const_cast(array_of_argv), const_cast(array_of_maxprocs), array_of_mpi_info, root, mpi_comm, &newcomm, (int *)((int *) 0)); delete[] array_of_mpi_info; return newcomm; } inline MPI_Info * MPI::Intracomm::convert_info_to_mpi_info(int p_nbr, const Info p_info_tbl[]) { MPI_Info *const mpi_info_tbl = new MPI_Info [p_nbr]; for (int i_tbl=0; i_tbl < p_nbr; i_tbl++) { mpi_info_tbl[i_tbl] = p_info_tbl[i_tbl]; } return mpi_info_tbl; } inline MPI::Intercomm MPI::Intracomm::Spawn_multiple(int count, const char* array_of_commands[], const char** array_of_argv[], const int array_of_maxprocs[], const Info array_of_info[], int root, int array_of_errcodes[]) { MPI_Comm newcomm; MPI_Info *const array_of_mpi_info = convert_info_to_mpi_info(count, array_of_info); MPI_Comm_spawn_multiple(count, const_cast(array_of_commands), const_cast(array_of_argv), const_cast(array_of_maxprocs), array_of_mpi_info, root, mpi_comm, &newcomm, array_of_errcodes); delete[] array_of_mpi_info; return newcomm; } # 280 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h" 2 # 1 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/topology_inln.h" 1 # 27 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/topology_inln.h" inline MPI::Cartcomm::Cartcomm(const MPI_Comm& data) { int status = 0; if (MPI::Is_initialized() && (data != ((MPI_Comm) ((void *) &(ompi_mpi_comm_null))))) { (void)MPI_Topo_test(data, &status) ; if (status == 1) mpi_comm = data; else mpi_comm = ((MPI_Comm) ((void *) &(ompi_mpi_comm_null))); } else { mpi_comm = data; } } inline MPI::Cartcomm MPI::Cartcomm::Dup() const { MPI_Comm newcomm; (void)MPI_Comm_dup(mpi_comm, &newcomm); return newcomm; } inline int MPI::Cartcomm::Get_dim() const { int ndims; (void)MPI_Cartdim_get(mpi_comm, &ndims); return ndims; } inline void MPI::Cartcomm::Get_topo(int maxdims, int dims[], bool periods[], int coords[]) const { int *int_periods = new int [maxdims]; int i; for (i=0; i(coords), &myrank); return myrank; } inline void MPI::Cartcomm::Get_coords(int rank, int maxdims, int coords[]) const { (void)MPI_Cart_coords(mpi_comm, rank, maxdims, coords); } inline void MPI::Cartcomm::Shift(int direction, int disp, int &rank_source, int &rank_dest) const { (void)MPI_Cart_shift(mpi_comm, direction, disp, &rank_source, &rank_dest); } inline MPI::Cartcomm MPI::Cartcomm::Sub(const bool remain_dims[]) const { int ndims; MPI_Cartdim_get(mpi_comm, &ndims); int* int_remain_dims = new int[ndims]; for (int i=0; i(dims), int_periods, &newrank); delete [] int_periods; return newrank; } inline MPI::Cartcomm& MPI::Cartcomm::Clone() const { MPI_Comm newcomm; (void)MPI_Comm_dup(mpi_comm, &newcomm); MPI::Cartcomm* dup = new MPI::Cartcomm(newcomm); return *dup; } inline MPI::Graphcomm::Graphcomm(const MPI_Comm& data) { int status = 0; if (MPI::Is_initialized() && (data != ((MPI_Comm) ((void *) &(ompi_mpi_comm_null))))) { (void)MPI_Topo_test(data, &status) ; if (status == 2) mpi_comm = data; else mpi_comm = ((MPI_Comm) ((void *) &(ompi_mpi_comm_null))); } else { mpi_comm = data; } } inline MPI::Graphcomm MPI::Graphcomm::Dup() const { MPI_Comm newcomm; (void)MPI_Comm_dup(mpi_comm, &newcomm); return newcomm; } inline void MPI::Graphcomm::Get_dims(int nnodes[], int nedges[]) const { (void)MPI_Graphdims_get(mpi_comm, nnodes, nedges); } inline void MPI::Graphcomm::Get_topo(int maxindex, int maxedges, int index[], int edges[]) const { (void)MPI_Graph_get(mpi_comm, maxindex, maxedges, index, edges); } inline int MPI::Graphcomm::Get_neighbors_count(int rank) const { int nneighbors; (void)MPI_Graph_neighbors_count(mpi_comm, rank, &nneighbors); return nneighbors; } inline void MPI::Graphcomm::Get_neighbors(int rank, int maxneighbors, int neighbors[]) const { (void)MPI_Graph_neighbors(mpi_comm, rank, maxneighbors, neighbors); } inline int MPI::Graphcomm::Map(int nnodes, const int index[], const int edges[]) const { int newrank; (void)MPI_Graph_map(mpi_comm, nnodes, const_cast(index), const_cast(edges), &newrank); return newrank; } inline MPI::Graphcomm& MPI::Graphcomm::Clone() const { MPI_Comm newcomm; (void)MPI_Comm_dup(mpi_comm, &newcomm); MPI::Graphcomm* dup = new MPI::Graphcomm(newcomm); return *dup; } # 281 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h" 2 # 1 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/intercomm_inln.h" 1 # 21 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/intercomm_inln.h" inline MPI::Intercomm MPI::Intercomm::Dup() const { MPI_Comm newcomm; (void)MPI_Comm_dup(mpi_comm, &newcomm); return newcomm; } inline MPI::Intercomm& MPI::Intercomm::Clone() const { MPI_Comm newcomm; (void)MPI_Comm_dup(mpi_comm, &newcomm); MPI::Intercomm* dup = new MPI::Intercomm(newcomm); return *dup; } inline int MPI::Intercomm::Get_remote_size() const { int size; (void)MPI_Comm_remote_size(mpi_comm, &size); return size; } inline MPI::Group MPI::Intercomm::Get_remote_group() const { MPI_Group group; (void)MPI_Comm_remote_group(mpi_comm, &group); return group; } inline MPI::Intracomm MPI::Intercomm::Merge(bool high) const { MPI_Comm newcomm; (void)MPI_Intercomm_merge(mpi_comm, (int)high, &newcomm); return newcomm; } inline MPI::Intercomm MPI::Intercomm::Create(const Group& group) const { MPI_Comm newcomm; (void) MPI_Comm_create(mpi_comm, (MPI_Group) group, &newcomm); return newcomm; } inline MPI::Intercomm MPI::Intercomm::Split(int color, int key) const { MPI_Comm newcomm; (void) MPI_Comm_split(mpi_comm, color, key, &newcomm); return newcomm; } # 282 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h" 2 # 1 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/group_inln.h" 1 # 25 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/group_inln.h" inline int MPI::Group::Get_size() const { int size; (void)MPI_Group_size(mpi_group, &size); return size; } inline int MPI::Group::Get_rank() const { int myrank; (void)MPI_Group_rank(mpi_group, &myrank); return myrank; } inline void MPI::Group::Translate_ranks (const MPI::Group& group1, int n, const int ranks1[], const MPI::Group& group2, int ranks2[]) { (void)MPI_Group_translate_ranks(group1, n, const_cast(ranks1), group2, const_cast(ranks2)); } inline int MPI::Group::Compare(const MPI::Group& group1, const MPI::Group& group2) { int result; (void)MPI_Group_compare(group1, group2, &result); return result; } inline MPI::Group MPI::Group::Union(const MPI::Group &group1, const MPI::Group &group2) { MPI_Group newgroup; (void)MPI_Group_union(group1, group2, &newgroup); return newgroup; } inline MPI::Group MPI::Group::Intersect(const MPI::Group &group1, const MPI::Group &group2) { MPI_Group newgroup; (void)MPI_Group_intersection( group1, group2, &newgroup); return newgroup; } inline MPI::Group MPI::Group::Difference(const MPI::Group &group1, const MPI::Group &group2) { MPI_Group newgroup; (void)MPI_Group_difference(group1, group2, &newgroup); return newgroup; } inline MPI::Group MPI::Group::Incl(int n, const int ranks[]) const { MPI_Group newgroup; (void)MPI_Group_incl(mpi_group, n, const_cast(ranks), &newgroup); return newgroup; } inline MPI::Group MPI::Group::Excl(int n, const int ranks[]) const { MPI_Group newgroup; (void)MPI_Group_excl(mpi_group, n, const_cast(ranks), &newgroup); return newgroup; } inline MPI::Group MPI::Group::Range_incl(int n, const int ranges[][3]) const { MPI_Group newgroup; (void)MPI_Group_range_incl(mpi_group, n, const_cast(ranges), &newgroup); return newgroup; } inline MPI::Group MPI::Group::Range_excl(int n, const int ranges[][3]) const { MPI_Group newgroup; (void)MPI_Group_range_excl(mpi_group, n, const_cast(ranges), &newgroup); return newgroup; } inline void MPI::Group::Free() { (void)MPI_Group_free(&mpi_group); } # 283 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h" 2 # 1 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/op_inln.h" 1 # 65 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/op_inln.h" inline MPI::Op::Op() : mpi_op(((MPI_Op) ((void *) &(ompi_mpi_op_null)))) { } inline MPI::Op::Op(MPI_Op i) : mpi_op(i) { } inline MPI::Op::Op(const MPI::Op& op) : mpi_op(op.mpi_op) { } inline MPI::Op::~Op() { } inline MPI::Op& MPI::Op::operator=(const MPI::Op& op) { mpi_op = op.mpi_op; return *this; } inline bool MPI::Op::operator== (const MPI::Op &a) { return (bool)(mpi_op == a.mpi_op); } inline bool MPI::Op::operator!= (const MPI::Op &a) { return (bool)!(*this == a); } inline MPI::Op& MPI::Op::operator= (const MPI_Op &i) { mpi_op = i; return *this; } inline MPI::Op::operator MPI_Op () const { return mpi_op; } # 113 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/op_inln.h" extern "C" void ompi_op_set_cxx_callback(MPI_Op op, MPI_User_function*); inline void MPI::Op::Init(MPI::User_function *func, bool commute) { (void)MPI_Op_create((MPI_User_function*) ompi_mpi_cxx_op_intercept, (int) commute, &mpi_op); ompi_op_set_cxx_callback(mpi_op, (MPI_User_function*) func); } inline void MPI::Op::Free() { (void)MPI_Op_free(&mpi_op); } inline void MPI::Op::Reduce_local(const void *inbuf, void *inoutbuf, int count, const MPI::Datatype& datatype) const { (void)MPI_Reduce_local(const_cast(inbuf), inoutbuf, count, datatype, mpi_op); } inline bool MPI::Op::Is_commutative(void) const { int commute; (void)MPI_Op_commutative(mpi_op, &commute); return (bool) commute; } # 284 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h" 2 # 1 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/errhandler_inln.h" 1 # 41 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/errhandler_inln.h" inline void MPI::Errhandler::Free() { (void)MPI_Errhandler_free(&mpi_errhandler); } # 285 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h" 2 # 1 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/status_inln.h" 1 # 25 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/status_inln.h" inline int MPI::Status::Get_count(const MPI::Datatype& datatype) const { int count; (void)MPI_Get_count(const_cast(&mpi_status), datatype, &count); return count; } inline bool MPI::Status::Is_cancelled() const { int t; (void)MPI_Test_cancelled(const_cast(&mpi_status), &t); return ((bool)(t)); } inline int MPI::Status::Get_elements(const MPI::Datatype& datatype) const { int count; (void)MPI_Get_elements(const_cast(&mpi_status), datatype, &count); return count; } inline int MPI::Status::Get_source() const { int source; source = mpi_status.MPI_SOURCE; return source; } inline void MPI::Status::Set_source(int source) { mpi_status.MPI_SOURCE = source; } inline int MPI::Status::Get_tag() const { int tag; tag = mpi_status.MPI_TAG; return tag; } inline void MPI::Status::Set_tag(int tag) { mpi_status.MPI_TAG = tag; } inline int MPI::Status::Get_error() const { int error; error = mpi_status.MPI_ERROR; return error; } inline void MPI::Status::Set_error(int error) { mpi_status.MPI_ERROR = error; } inline void MPI::Status::Set_elements(const MPI::Datatype& datatype, int count) { MPI_Status_set_elements(&mpi_status, datatype, count); } inline void MPI::Status::Set_cancelled(bool flag) { MPI_Status_set_cancelled(&mpi_status, (int) flag); } # 286 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h" 2 # 1 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/info_inln.h" 1 # 21 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/info_inln.h" inline MPI::Info MPI::Info::Create() { MPI_Info newinfo; (void) MPI_Info_create(&newinfo); return newinfo; } inline void MPI::Info::Delete(const char* key) { (void)MPI_Info_delete(mpi_info, const_cast(key)); } inline MPI::Info MPI::Info::Dup() const { MPI_Info newinfo; (void)MPI_Info_dup(mpi_info, &newinfo); return newinfo; } inline void MPI::Info::Free() { (void) MPI_Info_free(&mpi_info); } inline bool MPI::Info::Get(const char* key, int valuelen, char* value) const { int flag; (void)MPI_Info_get(mpi_info, const_cast(key), valuelen, value, &flag); return ((bool)(flag)); } inline int MPI::Info::Get_nkeys() const { int nkeys; MPI_Info_get_nkeys(mpi_info, &nkeys); return nkeys; } inline void MPI::Info::Get_nthkey(int n, char* key) const { (void) MPI_Info_get_nthkey(mpi_info, n, key); } inline bool MPI::Info::Get_valuelen(const char* key, int& valuelen) const { int flag; (void) MPI_Info_get_valuelen(mpi_info, const_cast(key), &valuelen, &flag); return ((bool)(flag)); } inline void MPI::Info::Set(const char* key, const char* value) { (void) MPI_Info_set(mpi_info, const_cast(key), const_cast(value)); } # 287 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h" 2 # 1 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/win_inln.h" 1 # 29 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/win_inln.h" inline MPI::Errhandler MPI::Win:: Get_errhandler() const { MPI_Errhandler errhandler; MPI_Win_get_errhandler(mpi_win, &errhandler); return errhandler; } inline void MPI::Win::Set_errhandler(const MPI::Errhandler& errhandler) const { (void)MPI_Win_set_errhandler(mpi_win, errhandler); } inline void MPI::Win::Accumulate(const void* origin_addr, int origin_count, const MPI::Datatype& origin_datatype, int target_rank, MPI::Aint target_disp, int target_count, const MPI::Datatype& target_datatype, const MPI::Op& op) const { (void) MPI_Accumulate(const_cast(origin_addr), origin_count, origin_datatype, target_rank, target_disp, target_count, target_datatype, op, mpi_win); } inline void MPI::Win::Complete() const { (void) MPI_Win_complete(mpi_win); } inline MPI::Win MPI::Win::Create(const void* base, MPI::Aint size, int disp_unit, const MPI::Info& info, const MPI::Intracomm& comm) { MPI_Win newwin; (void) MPI_Win_create(const_cast(base), size, disp_unit, info, comm, &newwin); return newwin; } inline void MPI::Win::Fence(int assert) const { (void) MPI_Win_fence(assert, mpi_win); } inline void MPI::Win::Get(const void *origin_addr, int origin_count, const MPI::Datatype& origin_datatype, int target_rank, MPI::Aint target_disp, int target_count, const MPI::Datatype& target_datatype) const { (void) MPI_Get(const_cast(origin_addr), origin_count, origin_datatype, target_rank, target_disp, target_count, target_datatype, mpi_win); } inline MPI::Group MPI::Win::Get_group() const { MPI_Group mpi_group; (void) MPI_Win_get_group(mpi_win, &mpi_group); return mpi_group; } inline void MPI::Win::Lock(int lock_type, int rank, int assert) const { (void) MPI_Win_lock(lock_type, rank, assert, mpi_win); } inline void MPI::Win::Post(const MPI::Group& group, int assert) const { (void) MPI_Win_post(group, assert, mpi_win); } inline void MPI::Win::Put(const void* origin_addr, int origin_count, const MPI::Datatype& origin_datatype, int target_rank, MPI::Aint target_disp, int target_count, const MPI::Datatype& target_datatype) const { (void) MPI_Put(const_cast(origin_addr), origin_count, origin_datatype, target_rank, target_disp, target_count, target_datatype, mpi_win); } inline void MPI::Win::Start(const MPI::Group& group, int assert) const { (void) MPI_Win_start(group, assert, mpi_win); } inline bool MPI::Win::Test() const { int flag; MPI_Win_test(mpi_win, &flag); return ((bool)(flag)); } inline void MPI::Win::Unlock(int rank) const { (void) MPI_Win_unlock(rank, mpi_win); } inline void MPI::Win::Wait() const { (void) MPI_Win_wait(mpi_win); } inline void MPI::Win::Call_errhandler(int errorcode) const { (void) MPI_Win_call_errhandler(mpi_win, errorcode); } inline int MPI::Win::Create_keyval(MPI::Win::Copy_attr_function* win_copy_attr_fn, MPI::Win::Delete_attr_function* win_delete_attr_fn, void* extra_state) { int ret, keyval; ret = do_create_keyval( # 190 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/win_inln.h" 3 4 __null # 190 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/win_inln.h" , # 190 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/win_inln.h" 3 4 __null # 190 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/win_inln.h" , win_copy_attr_fn, win_delete_attr_fn, extra_state, keyval); return (0 == ret) ? keyval : ret; } inline int MPI::Win::Create_keyval(MPI_Win_copy_attr_function* win_copy_attr_fn, MPI_Win_delete_attr_function* win_delete_attr_fn, void* extra_state) { int ret, keyval; ret = do_create_keyval(win_copy_attr_fn, win_delete_attr_fn, # 206 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/win_inln.h" 3 4 __null # 206 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/win_inln.h" , # 206 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/win_inln.h" 3 4 __null # 206 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/win_inln.h" , extra_state, keyval); return (0 == ret) ? keyval : ret; } inline int MPI::Win::Create_keyval(MPI::Win::Copy_attr_function* win_copy_attr_fn, MPI_Win_delete_attr_function* win_delete_attr_fn, void* extra_state) { int ret, keyval; ret = do_create_keyval( # 220 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/win_inln.h" 3 4 __null # 220 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/win_inln.h" , win_delete_attr_fn, win_copy_attr_fn, # 221 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/win_inln.h" 3 4 __null # 221 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/win_inln.h" , extra_state, keyval); return (0 == ret) ? keyval : ret; } inline int MPI::Win::Create_keyval(MPI_Win_copy_attr_function* win_copy_attr_fn, MPI::Win::Delete_attr_function* win_delete_attr_fn, void* extra_state) { int ret, keyval; ret = do_create_keyval(win_copy_attr_fn, # 235 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/win_inln.h" 3 4 __null # 235 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/win_inln.h" , # 236 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/win_inln.h" 3 4 __null # 236 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/win_inln.h" , win_delete_attr_fn, extra_state, keyval); return (0 == ret) ? keyval : ret; } inline void MPI::Win::Delete_attr(int win_keyval) { (void) MPI_Win_delete_attr(mpi_win, win_keyval); } inline void MPI::Win::Free_keyval(int& win_keyval) { (void) MPI_Win_free_keyval(&win_keyval); } inline bool MPI::Win::Get_attr(const Win& win, int win_keyval, void* attribute_val) const { int ret; (void) MPI_Win_get_attr(win, win_keyval, attribute_val, &ret); return ((bool)(ret)); } inline bool MPI::Win::Get_attr(int win_keyval, void* attribute_val) const { int ret; (void) MPI_Win_get_attr(mpi_win, win_keyval, attribute_val, &ret); return ((bool)(ret)); } inline void MPI::Win::Get_name(char* win_name, int& resultlen) const { (void) MPI_Win_get_name(mpi_win, win_name, &resultlen); } inline void MPI::Win::Set_attr(int win_keyval, const void* attribute_val) { (void) MPI_Win_set_attr(mpi_win, win_keyval, const_cast(attribute_val)); } inline void MPI::Win::Set_name(const char* win_name) { (void) MPI_Win_set_name(mpi_win, const_cast(win_name)); } # 288 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h" 2 # 1 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/file_inln.h" 1 # 22 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/file_inln.h" inline void MPI::File::Delete(const char* filename, const MPI::Info& info) { (void) MPI_File_delete(const_cast(filename), info); } inline int MPI::File::Get_amode() const { int amode; (void) MPI_File_get_amode(mpi_file, &amode); return amode; } inline bool MPI::File::Get_atomicity() const { int flag; (void) MPI_File_get_atomicity(mpi_file, &flag); return ((bool)(flag)); } inline MPI::Offset MPI::File::Get_byte_offset(const MPI::Offset disp) const { MPI_Offset offset, ldisp; ldisp = disp; (void) MPI_File_get_byte_offset(mpi_file, ldisp, &offset); return offset; } inline MPI::Group MPI::File::Get_group() const { MPI_Group group; (void) MPI_File_get_group(mpi_file, &group); return group; } inline MPI::Info MPI::File::Get_info() const { MPI_Info info_used; (void) MPI_File_get_info(mpi_file, &info_used); return info_used; } inline MPI::Offset MPI::File::Get_position() const { MPI_Offset offset; (void) MPI_File_get_position(mpi_file, &offset); return offset; } inline MPI::Offset MPI::File::Get_position_shared() const { MPI_Offset offset; (void) MPI_File_get_position_shared(mpi_file, &offset); return offset; } inline MPI::Offset MPI::File::Get_size() const { MPI_Offset offset; (void) MPI_File_get_size(mpi_file, &offset); return offset; } inline MPI::Aint MPI::File::Get_type_extent(const MPI::Datatype& datatype) const { MPI_Aint extent; (void) MPI_File_get_type_extent(mpi_file, datatype, &extent); return extent; } inline void MPI::File::Get_view(MPI::Offset& disp, MPI::Datatype& etype, MPI::Datatype& filetype, char* datarep) const { MPI_Datatype type, ftype; type = etype; ftype = filetype; MPI::Offset odisp = disp; (void) MPI_File_get_view(mpi_file, &odisp, &type, &ftype, datarep); } inline MPI::Request MPI::File::Iread(void* buf, int count, const MPI::Datatype& datatype) { MPI_Request req; (void) MPI_File_iread(mpi_file, buf, count, datatype, &req); return req; } inline MPI::Request MPI::File::Iread_at(MPI::Offset offset, void* buf, int count, const MPI::Datatype& datatype) { MPI_Request req; (void) MPI_File_iread_at(mpi_file, offset, buf, count, datatype, &req); return req; } inline MPI::Request MPI::File::Iread_shared(void* buf, int count, const MPI::Datatype& datatype) { MPI_Request req; (void) MPI_File_iread_shared(mpi_file, buf, count, datatype, &req); return req; } inline MPI::Request MPI::File::Iwrite(const void* buf, int count, const MPI::Datatype& datatype) { MPI_Request req; (void) MPI_File_iwrite(mpi_file, const_cast(buf), count, datatype, &req); return req; } inline MPI::Request MPI::File::Iwrite_at(MPI::Offset offset, const void* buf, int count, const MPI::Datatype& datatype) { MPI_Request req; (void) MPI_File_iwrite_at(mpi_file, offset, const_cast(buf), count, datatype, &req); return req; } inline MPI::Request MPI::File::Iwrite_shared(const void* buf, int count, const MPI::Datatype& datatype) { MPI_Request req; (void) MPI_File_iwrite_shared(mpi_file, const_cast(buf), count, datatype, &req); return req; } inline MPI::File MPI::File::Open(const MPI::Intracomm& comm, const char* filename, int amode, const MPI::Info& info) { MPI_File fh; (void) MPI_File_open(comm, const_cast(filename), amode, info, &fh); return fh; } inline void MPI::File::Preallocate(MPI::Offset size) { (void) MPI_File_preallocate(mpi_file, size); } inline void MPI::File::Read(void* buf, int count, const MPI::Datatype& datatype) { MPI_Status status; (void) MPI_File_read(mpi_file, buf, count, datatype, &status); } inline void MPI::File::Read(void* buf, int count, const MPI::Datatype& datatype, MPI::Status& status) { (void) MPI_File_read(mpi_file, buf, count, datatype, &status.mpi_status); } inline void MPI::File::Read_all(void* buf, int count, const MPI::Datatype& datatype) { MPI_Status status; (void) MPI_File_read_all(mpi_file, buf, count, datatype, &status); } inline void MPI::File::Read_all(void* buf, int count, const MPI::Datatype& datatype, MPI::Status& status) { (void) MPI_File_read_all(mpi_file, buf, count, datatype, &status.mpi_status); } inline void MPI::File::Read_all_begin(void* buf, int count, const MPI::Datatype& datatype) { (void) MPI_File_read_all_begin(mpi_file, buf, count, datatype); } inline void MPI::File::Read_all_end(void* buf) { MPI_Status status; (void) MPI_File_read_all_end(mpi_file, buf, &status); } inline void MPI::File::Read_all_end(void* buf, MPI::Status& status) { (void) MPI_File_read_all_end(mpi_file, buf, &status.mpi_status); } inline void MPI::File::Read_at(MPI::Offset offset, void* buf, int count, const MPI::Datatype& datatype) { MPI_Status status; (void) MPI_File_read_at(mpi_file, offset, buf, count, datatype, &status); } inline void MPI::File::Read_at(MPI::Offset offset, void* buf, int count, const MPI::Datatype& datatype, MPI::Status& status) { (void) MPI_File_read_at(mpi_file, offset, buf, count, datatype, &status.mpi_status); } inline void MPI::File::Read_at_all(MPI::Offset offset, void* buf, int count, const MPI::Datatype& datatype) { MPI_Status status; (void) MPI_File_read_at_all(mpi_file, offset, buf, count, datatype, &status); } inline void MPI::File::Read_at_all(MPI::Offset offset, void* buf, int count, const MPI::Datatype& datatype, MPI::Status& status) { (void) MPI_File_read_at_all(mpi_file, offset, buf, count, datatype, &status.mpi_status); } inline void MPI::File::Read_at_all_begin(MPI::Offset offset, void* buf, int count, const MPI::Datatype& datatype) { (void) MPI_File_read_at_all_begin(mpi_file, offset, buf, count, datatype); } inline void MPI::File::Read_at_all_end(void* buf) { MPI_Status status; (void) MPI_File_read_at_all_end(mpi_file, buf, &status); } inline void MPI::File::Read_at_all_end(void* buf, MPI::Status& status) { (void) MPI_File_read_at_all_end(mpi_file, buf, &status.mpi_status); } inline void MPI::File::Read_ordered(void* buf, int count, const MPI::Datatype& datatype) { MPI_Status status; (void) MPI_File_read_ordered(mpi_file, buf, count, datatype, &status); } inline void MPI::File::Read_ordered(void* buf, int count, const MPI::Datatype& datatype, MPI::Status& status) { (void) MPI_File_read_ordered(mpi_file, buf, count, datatype, &status.mpi_status); } inline void MPI::File::Read_ordered_begin(void* buf, int count, const MPI::Datatype& datatype) { (void) MPI_File_read_ordered_begin(mpi_file, buf, count, datatype); } inline void MPI::File::Read_ordered_end(void* buf) { MPI_Status status; (void) MPI_File_read_ordered_end(mpi_file, buf, &status); } inline void MPI::File::Read_ordered_end(void* buf, MPI::Status& status) { (void) MPI_File_read_ordered_end(mpi_file, buf, &status.mpi_status); } inline void MPI::File::Read_shared(void* buf, int count, const MPI::Datatype& datatype) { MPI_Status status; (void) MPI_File_read_shared(mpi_file, buf, count, datatype, &status); } inline void MPI::File::Read_shared(void* buf, int count, const MPI::Datatype& datatype, MPI::Status& status) { (void) MPI_File_read_shared(mpi_file, buf, count, datatype, &status.mpi_status); } inline void MPI::File::Seek(MPI::Offset offset, int whence) { (void) MPI_File_seek(mpi_file, offset, whence); } inline void MPI::File::Seek_shared(MPI::Offset offset, int whence) { (void) MPI_File_seek_shared(mpi_file, offset, whence); } inline void MPI::File::Set_atomicity(bool flag) { (void) MPI_File_set_atomicity(mpi_file, flag); } inline void MPI::File::Set_info(const MPI::Info& info) { (void) MPI_File_set_info(mpi_file, info); } inline void MPI::File::Set_size(MPI::Offset size) { (void) MPI_File_set_size(mpi_file, size); } inline void MPI::File::Set_view(MPI::Offset disp, const MPI::Datatype& etype, const MPI::Datatype& filetype, const char* datarep, const MPI::Info& info) { (void) MPI_File_set_view(mpi_file, disp, etype, filetype, const_cast(datarep), info); } inline void MPI::File::Sync() { (void) MPI_File_sync(mpi_file); } inline void MPI::File::Write(const void* buf, int count, const MPI::Datatype& datatype) { MPI_Status status; (void) MPI_File_write(mpi_file, const_cast(buf), count, datatype, &status); } inline void MPI::File::Write(const void* buf, int count, const MPI::Datatype& datatype, MPI::Status& status) { (void) MPI_File_write(mpi_file, const_cast(buf), count, datatype, &status.mpi_status); } inline void MPI::File::Write_all(const void* buf, int count, const MPI::Datatype& datatype) { MPI_Status status; (void) MPI_File_write_all(mpi_file, const_cast(buf), count, datatype, &status); } inline void MPI::File::Write_all(const void* buf, int count, const MPI::Datatype& datatype, MPI::Status& status) { (void) MPI_File_write_all(mpi_file, const_cast(buf), count, datatype, &status.mpi_status); } inline void MPI::File::Write_all_begin(const void* buf, int count, const MPI::Datatype& datatype) { (void) MPI_File_write_all_begin(mpi_file, const_cast(buf), count, datatype); } inline void MPI::File::Write_all_end(const void* buf) { MPI_Status status; (void) MPI_File_write_all_end(mpi_file, const_cast(buf), &status); } inline void MPI::File::Write_all_end(const void* buf, MPI::Status& status) { (void) MPI_File_write_all_end(mpi_file, const_cast(buf), &status.mpi_status); } inline void MPI::File::Write_at(MPI::Offset offset, const void* buf, int count, const MPI::Datatype& datatype) { MPI_Status status; (void) MPI_File_write_at(mpi_file, offset, const_cast(buf), count, datatype, &status); } inline void MPI::File::Write_at(MPI::Offset offset, const void* buf, int count, const MPI::Datatype& datatype, MPI::Status& status) { (void) MPI_File_write_at(mpi_file, offset, const_cast(buf), count, datatype, &status.mpi_status); } inline void MPI::File::Write_at_all(MPI::Offset offset, const void* buf, int count, const MPI::Datatype& datatype) { MPI_Status status; (void) MPI_File_write_at_all(mpi_file, offset, const_cast(buf), count, datatype, &status); } inline void MPI::File::Write_at_all(MPI::Offset offset, const void* buf, int count, const MPI::Datatype& datatype, MPI::Status& status) { (void) MPI_File_write_at_all(mpi_file, offset, const_cast(buf), count, datatype, &status.mpi_status); } inline void MPI::File::Write_at_all_begin(MPI::Offset offset, const void* buf, int count, const MPI::Datatype& datatype) { (void) MPI_File_write_at_all_begin(mpi_file, offset, const_cast(buf), count, datatype); } inline void MPI::File::Write_at_all_end(const void* buf) { MPI_Status status; (void) MPI_File_write_at_all_end(mpi_file, const_cast(buf), &status); } inline void MPI::File::Write_at_all_end(const void* buf, MPI::Status& status) { (void) MPI_File_write_at_all_end(mpi_file, const_cast(buf), &status.mpi_status); } inline void MPI::File::Write_ordered(const void* buf, int count, const MPI::Datatype& datatype) { MPI_Status status; (void) MPI_File_write_ordered(mpi_file, const_cast(buf), count, datatype, &status); } inline void MPI::File::Write_ordered(const void* buf, int count, const MPI::Datatype& datatype, MPI::Status& status) { (void) MPI_File_write_ordered(mpi_file, const_cast(buf), count, datatype, &status.mpi_status); } inline void MPI::File::Write_ordered_begin(const void* buf, int count, const MPI::Datatype& datatype) { (void) MPI_File_write_ordered_begin(mpi_file, const_cast(buf), count, datatype); } inline void MPI::File::Write_ordered_end(const void* buf) { MPI_Status status; (void) MPI_File_write_ordered_end(mpi_file, const_cast(buf), &status); } inline void MPI::File::Write_ordered_end(const void* buf, MPI::Status& status) { (void) MPI_File_write_ordered_end(mpi_file, const_cast(buf), &status.mpi_status); } inline void MPI::File::Write_shared(const void* buf, int count, const MPI::Datatype& datatype) { MPI_Status status; (void) MPI_File_write_shared(mpi_file, const_cast(buf), count, datatype, &status); } inline void MPI::File::Write_shared(const void* buf, int count, const MPI::Datatype& datatype, MPI::Status& status) { (void) MPI_File_write_shared(mpi_file, const_cast(buf), count, datatype, &status.mpi_status); } inline void MPI::File::Set_errhandler(const MPI::Errhandler& errhandler) const { (void)MPI_File_set_errhandler(mpi_file, errhandler); } inline MPI::Errhandler MPI::File::Get_errhandler() const { MPI_Errhandler errhandler; MPI_File_get_errhandler(mpi_file, &errhandler); return errhandler; } inline void MPI::File::Call_errhandler(int errorcode) const { (void) MPI_File_call_errhandler(mpi_file, errorcode); } # 290 "/usr/lib/i386-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h" 2 # 2705 "/usr/lib/i386-linux-gnu/openmpi/include/mpi.h" 2 # 3 "/tmp/petsc-Ymuwb2/config.headers/conftest.cc" 2 Preprocess stderr before filtering:: Preprocess stderr after filtering:: Found header files ['mpi.h'] in ['/usr/lib/i386-linux-gnu/openmpi/include'] Popping language Cxx ================================================================================ TEST configureConversion from config.packages.MPI(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/packages/MPI.py:217) TESTING: configureConversion from config.packages.MPI(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/packages/MPI.py:217) Check for the functions which convert communicators between C and Fortran - Define HAVE_MPI_COMM_F2C and HAVE_MPI_COMM_C2F if they are present - Some older MPI 1 implementations are missing these All intermediate test results are stored in /tmp/petsc-Ymuwb2/config.packages.MPI Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.packages.MPI/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.featureTestMacros -I/tmp/petsc-Ymuwb2/config.packages.MPI -I/tmp/petsc-Ymuwb2/config.utilities.missing -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/i386-linux-gnu/openmpi/include /tmp/petsc-Ymuwb2/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { if (MPI_Comm_f2c((MPI_Fint)0)); ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.packages.MPI/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.packages.MPI/conftest.o -L/usr/lib/i386-linux-gnu/openmpi/lib -L/usr/lib/i386-linux-gnu/openmpi/lib -lmpi++ -lmpi -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Defined "HAVE_MPI_COMM_F2C" to "1" Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.packages.MPI/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.featureTestMacros -I/tmp/petsc-Ymuwb2/config.utilities.missing -I/tmp/petsc-Ymuwb2/config.packages.MPI -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/i386-linux-gnu/openmpi/include /tmp/petsc-Ymuwb2/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { if (MPI_Comm_c2f(MPI_COMM_WORLD)); ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.packages.MPI/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.packages.MPI/conftest.o -L/usr/lib/i386-linux-gnu/openmpi/lib -L/usr/lib/i386-linux-gnu/openmpi/lib -lmpi++ -lmpi -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Defined "HAVE_MPI_COMM_C2F" to "1" Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.packages.MPI/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.featureTestMacros -I/tmp/petsc-Ymuwb2/config.utilities.missing -I/tmp/petsc-Ymuwb2/config.packages.MPI -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/i386-linux-gnu/openmpi/include /tmp/petsc-Ymuwb2/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { MPI_Fint a; ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.packages.MPI/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.packages.MPI/conftest.o -L/usr/lib/i386-linux-gnu/openmpi/lib -L/usr/lib/i386-linux-gnu/openmpi/lib -lmpi++ -lmpi -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Defined "HAVE_MPI_FINT" to "1" ================================================================================ TEST configureMPI2 from config.packages.MPI(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/packages/MPI.py:178) TESTING: configureMPI2 from config.packages.MPI(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/packages/MPI.py:178) Check for functions added to the interface in MPI-2 Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.packages.MPI/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.featureTestMacros -I/tmp/petsc-Ymuwb2/config.utilities.missing -I/tmp/petsc-Ymuwb2/config.packages.MPI -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/i386-linux-gnu/openmpi/include /tmp/petsc-Ymuwb2/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int flag;if (MPI_Finalized(&flag)); ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.packages.MPI/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.packages.MPI/conftest.o -L/usr/lib/i386-linux-gnu/openmpi/lib -L/usr/lib/i386-linux-gnu/openmpi/lib -lmpi++ -lmpi -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Defined "HAVE_MPI_FINALIZED" to "1" Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.packages.MPI/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.featureTestMacros -I/tmp/petsc-Ymuwb2/config.utilities.missing -I/tmp/petsc-Ymuwb2/config.packages.MPI -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/i386-linux-gnu/openmpi/include /tmp/petsc-Ymuwb2/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { if (MPI_Allreduce(MPI_IN_PLACE,0, 1, MPI_INT, MPI_SUM, MPI_COMM_SELF)); ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.packages.MPI/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.packages.MPI/conftest.o -L/usr/lib/i386-linux-gnu/openmpi/lib -L/usr/lib/i386-linux-gnu/openmpi/lib -lmpi++ -lmpi -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Defined "HAVE_MPI_IN_PLACE" to "1" Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.packages.MPI/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.featureTestMacros -I/tmp/petsc-Ymuwb2/config.utilities.missing -I/tmp/petsc-Ymuwb2/config.packages.MPI -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/i386-linux-gnu/openmpi/include /tmp/petsc-Ymuwb2/config.packages.MPI/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-Ymuwb2/config.packages.MPI/conftest.c: In function ‘main’: /tmp/petsc-Ymuwb2/config.packages.MPI/conftest.c:6:94: warning: initialization makes pointer from integer without a cast [-Wint-conversion] int count=2; int blocklens[2]={0,1}; MPI_Aint indices[2]={0,1}; MPI_Datatype old_types[2]={0,1}; MPI_Datatype *newtype = 0; ^ /tmp/petsc-Ymuwb2/config.packages.MPI/conftest.c:6:94: note: (near initialization for ‘old_types[1]’) Source: #include "confdefs.h" #include "conffix.h" #include int main() { int count=2; int blocklens[2]={0,1}; MPI_Aint indices[2]={0,1}; MPI_Datatype old_types[2]={0,1}; MPI_Datatype *newtype = 0; if (MPI_Type_create_struct(count, blocklens, indices, old_types, newtype)); ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.packages.MPI/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.packages.MPI/conftest.o -L/usr/lib/i386-linux-gnu/openmpi/lib -L/usr/lib/i386-linux-gnu/openmpi/lib -lmpi++ -lmpi -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.packages.MPI/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.featureTestMacros -I/tmp/petsc-Ymuwb2/config.utilities.missing -I/tmp/petsc-Ymuwb2/config.packages.MPI -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/i386-linux-gnu/openmpi/include /tmp/petsc-Ymuwb2/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { MPI_Comm_errhandler_fn * p_err_fun = 0; MPI_Errhandler * p_errhandler = 0; if (MPI_Comm_create_errhandler(p_err_fun,p_errhandler)); ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.packages.MPI/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.packages.MPI/conftest.o -L/usr/lib/i386-linux-gnu/openmpi/lib -L/usr/lib/i386-linux-gnu/openmpi/lib -lmpi++ -lmpi -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.packages.MPI/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.featureTestMacros -I/tmp/petsc-Ymuwb2/config.utilities.missing -I/tmp/petsc-Ymuwb2/config.packages.MPI -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/i386-linux-gnu/openmpi/include /tmp/petsc-Ymuwb2/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { if (MPI_Comm_set_errhandler(MPI_COMM_WORLD,MPI_ERRORS_RETURN)); ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.packages.MPI/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.packages.MPI/conftest.o -L/usr/lib/i386-linux-gnu/openmpi/lib -L/usr/lib/i386-linux-gnu/openmpi/lib -lmpi++ -lmpi -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.packages.MPI/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.featureTestMacros -I/tmp/petsc-Ymuwb2/config.utilities.missing -I/tmp/petsc-Ymuwb2/config.packages.MPI -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/i386-linux-gnu/openmpi/include /tmp/petsc-Ymuwb2/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { if (MPI_Reduce_local(0, 0, 0, MPI_INT, MPI_SUM));; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.packages.MPI/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.packages.MPI/conftest.o -L/usr/lib/i386-linux-gnu/openmpi/lib -L/usr/lib/i386-linux-gnu/openmpi/lib -lmpi++ -lmpi -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Defined "HAVE_MPI_REDUCE_LOCAL" to "1" Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.packages.MPI/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.featureTestMacros -I/tmp/petsc-Ymuwb2/config.utilities.missing -I/tmp/petsc-Ymuwb2/config.packages.MPI -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/i386-linux-gnu/openmpi/include /tmp/petsc-Ymuwb2/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { char version[MPI_MAX_LIBRARY_VERSION_STRING];int verlen;if (MPI_Get_library_version(version,&verlen)); ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.packages.MPI/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.packages.MPI/conftest.o -L/usr/lib/i386-linux-gnu/openmpi/lib -L/usr/lib/i386-linux-gnu/openmpi/lib -lmpi++ -lmpi -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Defined "HAVE_MPI_GET_LIBRARY_VERSION" to "1" ================================================================================ TEST configureTypes from config.packages.MPI(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/packages/MPI.py:237) TESTING: configureTypes from config.packages.MPI(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/packages/MPI.py:237) Checking for MPI types Checking for size of type: MPI_Comm Pushing language C Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.types/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.featureTestMacros -I/tmp/petsc-Ymuwb2/config.utilities.missing -I/tmp/petsc-Ymuwb2/config.packages.MPI -I/tmp/petsc-Ymuwb2/config.types -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/i386-linux-gnu/openmpi/include /tmp/petsc-Ymuwb2/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif #define MPICH_IGNORE_CXX_SEEK #define MPICH_SKIP_MPICXX 1 #define OMPI_SKIP_MPICXX 1 #include int main() { FILE *f = fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%lu\n", (unsigned long)sizeof(MPI_Comm)); ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.types/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.types/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Testing executable /tmp/petsc-Ymuwb2/config.types/conftest to see if it can be run Executing: /tmp/petsc-Ymuwb2/config.types/conftest Executing: /tmp/petsc-Ymuwb2/config.types/conftest Popping language C Defined "SIZEOF_MPI_COMM" to "4" Checking for size of type: MPI_Fint Pushing language C Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.types/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.featureTestMacros -I/tmp/petsc-Ymuwb2/config.utilities.missing -I/tmp/petsc-Ymuwb2/config.packages.MPI -I/tmp/petsc-Ymuwb2/config.types -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/i386-linux-gnu/openmpi/include /tmp/petsc-Ymuwb2/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif #define MPICH_IGNORE_CXX_SEEK #define MPICH_SKIP_MPICXX 1 #define OMPI_SKIP_MPICXX 1 #include int main() { FILE *f = fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%lu\n", (unsigned long)sizeof(MPI_Fint)); ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.types/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.types/conftest.o -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Testing executable /tmp/petsc-Ymuwb2/config.types/conftest to see if it can be run Executing: /tmp/petsc-Ymuwb2/config.types/conftest Executing: /tmp/petsc-Ymuwb2/config.types/conftest Popping language C Defined "SIZEOF_MPI_FINT" to "4" ================================================================================ TEST configureMPITypes from config.packages.MPI(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/packages/MPI.py:249) TESTING: configureMPITypes from config.packages.MPI(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/packages/MPI.py:249) Checking for MPI Datatype handles Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.packages.MPI/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.featureTestMacros -I/tmp/petsc-Ymuwb2/config.utilities.missing -I/tmp/petsc-Ymuwb2/config.packages.MPI -I/tmp/petsc-Ymuwb2/config.types -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/i386-linux-gnu/openmpi/include /tmp/petsc-Ymuwb2/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #ifdef PETSC_HAVE_STDLIB_H #include #endif #include int main() { MPI_Aint size; int ierr; MPI_Init(0,0); ierr = MPI_Type_extent(MPI_LONG_DOUBLE, &size); if(ierr || (size == 0)) exit(1); MPI_Finalize(); ; return 0; } Pushing language C Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.packages.MPI/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.featureTestMacros -I/tmp/petsc-Ymuwb2/config.utilities.missing -I/tmp/petsc-Ymuwb2/config.packages.MPI -I/tmp/petsc-Ymuwb2/config.types -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/i386-linux-gnu/openmpi/include /tmp/petsc-Ymuwb2/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #ifdef PETSC_HAVE_STDLIB_H #include #endif #include int main() { MPI_Aint size; int ierr; MPI_Init(0,0); ierr = MPI_Type_extent(MPI_LONG_DOUBLE, &size); if(ierr || (size == 0)) exit(1); MPI_Finalize(); ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.packages.MPI/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.packages.MPI/conftest.o -L/usr/lib/i386-linux-gnu/openmpi/lib -L/usr/lib/i386-linux-gnu/openmpi/lib -lmpi++ -lmpi -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Testing executable /tmp/petsc-Ymuwb2/config.packages.MPI/conftest to see if it can be run Executing: /tmp/petsc-Ymuwb2/config.packages.MPI/conftest Executing: /tmp/petsc-Ymuwb2/config.packages.MPI/conftest stdout: -------------------------------------------------------------------------- [[36199,1],0]: A high-performance Open MPI point-to-point messaging module was unable to find any relevant network interfaces: Module: OpenFabrics (openib) Host: lgw01-amd64-006 Another transport will be used instead, although this may result in lower performance. NOTE: You can disable this warning by setting the MCA parameter btl_base_warn_component_unused to 0. -------------------------------------------------------------------------- Defined "HAVE_MPI_LONG_DOUBLE" to "1" Popping language C Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.packages.MPI/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.featureTestMacros -I/tmp/petsc-Ymuwb2/config.utilities.missing -I/tmp/petsc-Ymuwb2/config.packages.MPI -I/tmp/petsc-Ymuwb2/config.types -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/i386-linux-gnu/openmpi/include /tmp/petsc-Ymuwb2/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #ifdef PETSC_HAVE_STDLIB_H #include #endif #include int main() { MPI_Aint size; int ierr; MPI_Init(0,0); ierr = MPI_Type_extent(MPI_INT64_T, &size); if(ierr || (size == 0)) exit(1); MPI_Finalize(); ; return 0; } Pushing language C Executing: gcc -c -o /tmp/petsc-Ymuwb2/config.packages.MPI/conftest.o -I/tmp/petsc-Ymuwb2/config.utilities.closure -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.headers -I/tmp/petsc-Ymuwb2/config.utilities.cacheDetails -I/tmp/petsc-Ymuwb2/config.atomics -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.libraries -I/tmp/petsc-Ymuwb2/config.utilities.featureTestMacros -I/tmp/petsc-Ymuwb2/config.utilities.missing -I/tmp/petsc-Ymuwb2/config.packages.MPI -I/tmp/petsc-Ymuwb2/config.types -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/i386-linux-gnu/openmpi/include /tmp/petsc-Ymuwb2/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #ifdef PETSC_HAVE_STDLIB_H #include #endif #include int main() { MPI_Aint size; int ierr; MPI_Init(0,0); ierr = MPI_Type_extent(MPI_INT64_T, &size); if(ierr || (size == 0)) exit(1); MPI_Finalize(); ; return 0; } Pushing language C Popping language C Executing: gcc -o /tmp/petsc-Ymuwb2/config.packages.MPI/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.packages.MPI/conftest.o -L/usr/lib/i386-linux-gnu/openmpi/lib -L/usr/lib/i386-linux-gnu/openmpi/lib -lmpi++ -lmpi -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Testing executable /tmp/petsc-Ymuwb2/config.packages.MPI/conftest to see if it can be run Executing: /tmp/petsc-Ymuwb2/config.packages.MPI/conftest Executing: /tmp/petsc-Ymuwb2/config.packages.MPI/conftest stdout: -------------------------------------------------------------------------- [[36114,1],0]: A high-performance Open MPI point-to-point messaging module was unable to find any relevant network interfaces: Module: OpenFabrics (openib) Host: lgw01-amd64-006 Another transport will be used instead, although this may result in lower performance. NOTE: You can disable this warning by setting the MCA parameter btl_base_warn_component_unused to 0. -------------------------------------------------------------------------- Defined "HAVE_MPI_INT64_T" to "1" Popping language C ================================================================================ TEST configureMissingPrototypes from config.packages.MPI(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/packages/MPI.py:320) TESTING: configureMissingPrototypes from config.packages.MPI(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/packages/MPI.py:320) Checks for missing prototypes, which it adds to petscfix.h ================================================================================ TEST SGIMPICheck from config.packages.MPI(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/packages/MPI.py:339) TESTING: SGIMPICheck from config.packages.MPI(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/packages/MPI.py:339) Returns true if SGI MPI is used Checking for functions [MPI_SGI_barrier] in library ['/usr/lib/i386-linux-gnu/openmpi/lib/libmpi++.a', 'libmpi.a'] [] Pushing language Cxx Executing: g++ -c -o /tmp/petsc-Ymuwb2/config.libraries/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.utilities.missing -I/tmp/petsc-Ymuwb2/PETSc.options.scalarTypes -I/tmp/petsc-Ymuwb2/config.libraries -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 /tmp/petsc-Ymuwb2/config.libraries/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif char MPI_SGI_barrier(); static void _check_MPI_SGI_barrier() { MPI_SGI_barrier(); } #ifdef __cplusplus } #endif int main() { _check_MPI_SGI_barrier();; return 0; } Pushing language CXX Popping language CXX Executing: g++ -o /tmp/petsc-Ymuwb2/config.libraries/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -Wl,--no-as-needed -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.libraries/conftest.o -L/usr/lib/i386-linux-gnu/openmpi/lib -L/usr/lib/i386-linux-gnu/openmpi/lib -lmpi++ -lmpi -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-Ymuwb2/config.libraries/conftest.o: In function `_check_MPI_SGI_barrier': /tmp/petsc-Ymuwb2/config.libraries/conftest.cc:9: undefined reference to `MPI_SGI_barrier' collect2: error: ld returned 1 exit status Popping language Cxx SGI MPI test failure ================================================================================ TEST CxxMPICheck from config.packages.MPI(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/packages/MPI.py:349) TESTING: CxxMPICheck from config.packages.MPI(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/packages/MPI.py:349) Make sure C++ can compile and link Pushing language Cxx Checking for header mpi.h Executing: g++ -c -o /tmp/petsc-Ymuwb2/config.libraries/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.utilities.missing -I/tmp/petsc-Ymuwb2/PETSc.options.scalarTypes -I/tmp/petsc-Ymuwb2/config.libraries -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/i386-linux-gnu/openmpi/include /tmp/petsc-Ymuwb2/config.libraries/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { ; return 0; } Checking for C++ MPI_Finalize() Checking for functions [MPI_Finalize] in library ['/usr/lib/i386-linux-gnu/openmpi/lib/libmpi++.a', 'libmpi.a'] [] Pushing language Cxx Executing: g++ -c -o /tmp/petsc-Ymuwb2/config.libraries/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.functions -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.utilities.missing -I/tmp/petsc-Ymuwb2/PETSc.options.scalarTypes -I/tmp/petsc-Ymuwb2/config.libraries -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/i386-linux-gnu/openmpi/include /tmp/petsc-Ymuwb2/config.libraries/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_MPI_Finalize() { int ierr; ierr = MPI_Finalize();; } int main() { _check_MPI_Finalize();; return 0; } Pushing language CXX Popping language CXX Executing: g++ -o /tmp/petsc-Ymuwb2/config.libraries/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -Wl,--no-as-needed -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC /tmp/petsc-Ymuwb2/config.libraries/conftest.o -L/usr/lib/i386-linux-gnu/openmpi/lib -L/usr/lib/i386-linux-gnu/openmpi/lib -lmpi++ -lmpi -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Defined "HAVE_LIBMPI__" to "1" Defined "HAVE_LIBMPI" to "1" Popping language Cxx Popping language Cxx ================================================================================ TEST FortranMPICheck from config.packages.MPI(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/packages/MPI.py:367) TESTING: FortranMPICheck from config.packages.MPI(/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/packages/MPI.py:367) Make sure fortran include [mpif.h] and library symbols are found Pushing language FC Checking for header mpif.h Executing: gfortran -c -o /tmp/petsc-Ymuwb2/config.libraries/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.libraries -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/i386-linux-gnu/openmpi/include /tmp/petsc-Ymuwb2/config.libraries/conftest.F90 Successful compile: Source: program main #include "mpif.h" end Checking for fortran mpi_init() Checking for functions [] in library ['/usr/lib/i386-linux-gnu/openmpi/lib/libmpi++.a', 'libmpi.a'] [] Pushing language FC Executing: gfortran -c -o /tmp/petsc-Ymuwb2/config.libraries/conftest.o -I/tmp/petsc-Ymuwb2/config.compilers -I/tmp/petsc-Ymuwb2/config.types -I/tmp/petsc-Ymuwb2/config.setCompilers -I/tmp/petsc-Ymuwb2/config.libraries -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/i386-linux-gnu/openmpi/include /tmp/petsc-Ymuwb2/config.libraries/conftest.F90 Successful compile: Source: program main #include "mpif.h" integer ierr call mpi_init(ierr) end Pushing language FC Popping language FC Executing: gfortran -o /tmp/petsc-Ymuwb2/config.libraries/conftest -Wl,-Bsymbolic-functions -Wl,-z,relro -fPIC -g -O2 -fdebug-prefix-map=/<>/petsc-3.7.6+git201709181029-0957343e=. -fstack-protector-strong -fPIC /tmp/petsc-Ymuwb2/config.libraries/conftest.o -L/usr/lib/i386-linux-gnu/openmpi/lib -L/usr/lib/i386-linux-gnu/openmpi/lib -lmpi++ -lmpi -L/usr/lib/gcc/i686-linux-gnu/7 -L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu -ldl -lgcc_s -ldl Possible ERROR while running linker: exit code 256 stderr: /tmp/petsc-Ymuwb2/config.libraries/conftest.o: In function `MAIN__': /tmp/petsc-Ymuwb2/config.libraries/conftest.F90:4: undefined reference to `mpi_init_' collect2: error: ld returned 1 exit status Popping language FC ******************************************************************************* UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details): ------------------------------------------------------------------------------- Fortran error! mpi_init() could not be located! ******************************************************************************* File "./config/configure.py", line 393, in petsc_configure framework.configure(out = sys.stdout) File "/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/framework.py", line 1097, in configure self.processChildren() File "/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/framework.py", line 1086, in processChildren self.serialEvaluation(self.childGraph) File "/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/framework.py", line 1067, in serialEvaluation child.configure() File "/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/package.py", line 857, in configure self.executeTest(self.configureLibrary) File "/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/base.py", line 126, in executeTest ret = test(*args,**kargs) File "/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/packages/MPI.py", line 502, in configureLibrary self.executeTest(self.FortranMPICheck) File "/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/base.py", line 126, in executeTest ret = test(*args,**kargs) File "/<>/petsc-3.7.6+git201709181029-0957343e/config/BuildSystem/config/packages/MPI.py", line 381, in FortranMPICheck raise RuntimeError('Fortran error! mpi_init() could not be located!') ================================================================================ Finishing Configure Run at Mon Sep 18 08:33:12 2017 ================================================================================ debian/rules:141: recipe for target 'override_dh_auto_configure' failed make[1]: *** [override_dh_auto_configure] Error 1 make[1]: Leaving directory '/<>/petsc-3.7.6+git201709181029-0957343e' debian/rules:119: recipe for target 'build-arch' failed make: *** [build-arch] Error 2 dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2 -------------------------------------------------------------------------------- Build finished at 20170918-0833 Finished -------- E: Build failure (dpkg-buildpackage died) +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Not removing build depends: as requested +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: i386 Build-Space: 112300 Build-Time: 29 Distribution: artful Fail-Stage: build Host Architecture: i386 Install-Time: 32 Job: petsc_3.7.6+git201709181029-0957343e-1artful1.dsc Machine Architecture: amd64 Package: petsc Package-Time: 62 Source-Version: 3.7.6+git201709181029-0957343e-1artful1 Space: 112300 Status: attempted Version: 3.7.6+git201709181029-0957343e-1artful1 -------------------------------------------------------------------------------- Finished at 20170918-0833 Build needed 00:01:02, 112300k disc space RUN: /usr/share/launchpad-buildd/slavebin/in-target scan-for-processes --backend=chroot --series=artful --arch=i386 PACKAGEBUILD-13388159 Scanning for processes to kill in build PACKAGEBUILD-13388159 RUN: /usr/share/launchpad-buildd/slavebin/in-target umount-chroot --backend=chroot --series=artful --arch=i386 PACKAGEBUILD-13388159 Stopping target for build PACKAGEBUILD-13388159 RUN: /usr/share/launchpad-buildd/slavebin/in-target remove-build --backend=chroot --series=artful --arch=i386 PACKAGEBUILD-13388159 Removing build PACKAGEBUILD-13388159