Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eDwE5-0004h6-34 for pgsql-bugs@arkaria.postgresql.org; Sun, 12 Nov 2017 17:39:21 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1eDwE4-0005Su-Lt for pgsql-bugs@arkaria.postgresql.org; Sun, 12 Nov 2017 17:39:20 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eDwE4-0005SZ-6R for pgsql-bugs@postgresql.org; Sun, 12 Nov 2017 17:39:20 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eDwE0-0001rk-H4 for pgsql-bugs@postgresql.org; Sun, 12 Nov 2017 17:39:19 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id vACHdC74003193; Sun, 12 Nov 2017 12:39:12 -0500 From: Tom Lane To: Michael Paquier cc: Dmitry Dolgov <9erthalion6@gmail.com>, Vincent Lachenal , PostgreSQL mailing lists Subject: Re: BUG #14897: Segfault on statitics SQL request In-reply-to: References: <20171110185747.31519.28038@wrigleys.postgresql.org> <1415.1510340891@sss.pgh.pa.us> <5652.1510344738@sss.pgh.pa.us> <7710.1510346813@sss.pgh.pa.us> <10197.1510349123@sss.pgh.pa.us> <14075.1510352167@sss.pgh.pa.us> <17617.1510355215@sss.pgh.pa.us> Comments: In-reply-to Michael Paquier message dated "Sat, 11 Nov 2017 17:39:11 +0900" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3191.1510508352.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Sun, 12 Nov 2017 12:39:12 -0500 Message-ID: <3192.1510508352@sss.pgh.pa.us> List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Michael Paquier writes: > On Sat, Nov 11, 2017 at 8:06 AM, Tom Lane wrote: >> My Fedora box thinks __alignof__(__int128) is 16, which is suspicious, >> but it's not crashing. > My laptop uses Arch, and I can see the crash easily when compiling > with gcc 7.2 which is the one bundled in the core package set: In hopes of reproducing this bug locally, I updated my Fedora laptop to F26, which has gcc 7.2.1. But I still can't get it to generate any SIMD instructions for numeric.c, even after considerable fooling about with -march and related compiler flags. I wonder whether Arch is enabling some bleeding-edge gcc build flags that Red Hat doesn't trust yet. It might be interesting to compare outputs of "gcc -v". Mine is $ gcc -v Using built-in specs. COLLECT_GCC=3D/usr/bin/gcc COLLECT_LTO_WRAPPER=3D/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper OFFLOAD_TARGET_NAMES=3Dnvptx-none OFFLOAD_TARGET_DEFAULT=3D1 Target: x86_64-redhat-linux Configured with: ../configure --enable-bootstrap --enable-languages=3Dc,c++= ,objc,obj-c++,fortran,ada,go,lto --prefix=3D/usr --mandir=3D/usr/share/man = --infodir=3D/usr/share/info --with-bugurl=3Dhttp://bugzilla.redhat.com/bugz= illa --enable-shared --enable-threads=3Dposix --enable-checking=3Drelease -= -enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwi= nd-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gc= c-major-version-only --with-linker-hash-style=3Dgnu --enable-plugin --enabl= e-initfini-array --with-isl --enable-libmpx --enable-offload-targets=3Dnvpt= x-none --without-cuda-driver --enable-gnu-indirect-function --with-tune=3Dg= eneric --with-arch_32=3Di686 --build=3Dx86_64-redhat-linux Thread model: posix gcc version 7.2.1 20170915 (Red Hat 7.2.1-2) (GCC)=20 regards, tom lane --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs