Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dQZpU-0000W4-PT for pgsql-bugs@arkaria.postgresql.org; Thu, 29 Jun 2017 13:49:57 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dQZpU-0004fo-CC for pgsql-bugs@arkaria.postgresql.org; Thu, 29 Jun 2017 13:49:56 +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 1dQWjp-0007qV-TK for pgsql-bugs@postgresql.org; Thu, 29 Jun 2017 10:31:54 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dQWjl-0006D5-3c for pgsql-bugs@postgresql.org; Thu, 29 Jun 2017 10:31:53 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 1FA6E20976; Thu, 29 Jun 2017 06:31:46 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Thu, 29 Jun 2017 06:31:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=turelinckx.be; h=cc:content-transfer-encoding:content-type:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=K32 uNg7ILjGqRQnzSazCQx+XxoK+kNlSpjt6UgqTCS8=; b=Tqwq809wB45W3VxbIvZ mDG/rkM/its+EuZVV7o0ClY7wL6XEGixjczJf/+CG5e5iFYt0eZ7XhYgPXVy+KHM gCCJ+GhFB947PR8cRPi5aIue8ip4IurDM9aLOrRRag1J+T5EVcHzRmVI9SNDmPSW 8lFB3EMT6FFDirXXE54F8OVQ= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=K32uNg7ILjGqRQnzSazCQx+XxoK+kNlSpjt6UgqTCS8=; b=YVdcA4HU mpvoM/p3Hp0YK/Ttnb+uVmHCh+OTeHlmdl/rpKPEVM4bpcOo/tGA4Dln/WZPScIA gJCGmQQW5/faxtL4jd+fyC9fbZg0/HXjIlkfgkXY2nOeTdUCTf3L1aOW7WxodSdG oBAziNZ5DfAPQswVWz+LmeVGT+YFD/GqF7GoyOVQC2/gzQ0lSqRUtKsgbFezhteG aZ8p3BEFdGcj+Oc4sOQigXTC9LmcSTC8en7VLt7FLrh58h2ArmVsn3aCB6f6cFUJ rVH+xR181uVgWiXTPc881WFVcS/B8w2GoRBCtTRZGMpzjiS+QhbgYmLc6TWD8WfM o9WuXmY6LugM9w== X-ME-Sender: X-Sasl-enc: 5Mk/GmhjunWR8BCpru08HZlgYzbLlF+syKA7fN9Wq7DR 1498732305 Received: from tureltolaptop (213.219.188.53.adsl.dyn.edpnet.net [213.219.188.53]) by mail.messagingengine.com (Postfix) with ESMTPA id 55C987E070; Thu, 29 Jun 2017 06:31:45 -0400 (EDT) From: "Tom Turelinckx" To: "'Greg Stark'" Cc: "'Tom Lane'" , "'PostgreSQL Bugs'" References: <006b01d2eaa2$d4317be0$7c9473a0$@turelinckx.be> <00a501d2ef3d$a59dc730$f0d95590$@turelinckx.be> In-Reply-To: Subject: Re: Bus error in formatting.c NUM_numpart_to_char (9.4.12, 9.6.3, sparc) Date: Thu, 29 Jun 2017 12:31:35 +0200 Message-ID: <000001d2f0c2$e2d335a0$a879a0e0$@turelinckx.be> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQHt+Xivo1Vy1iljmvBavilwHB6KPwHYEnwiAjJYfsgBTuV5vaHax+HA Content-Language: en-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 Greg Stark wrote: > I revived build farm member burbot which is an Ultra 5 -- also running wh= eezy Thanks for that! > and it didn't report any issues. It's using gcc 4.6 as well: With default settings, the latest (2017-06-13) buildfarm client builds REL9= _4_STABLE successfully for me as well (on wheezy on sparc), passing all tes= ts, with gcc 4.6. However, I was building from the Debian source packages in the pgdg reposit= ory (https://wiki.postgresql.org/wiki/Apt) and their default settings are d= ifferent from those of the buildfarm client. I've been trying to reconfigur= e a build farm client such that it would build binaries identical to the De= bian source package build (on wheezy on sparc), but I haven't quite succeed= ed yet. I did, however, figure out the minimal change to the buildfarm client defau= lt settings that makes the numeric regression test fail: *** build-farm.conf.sample 2017-06-13 17:32:45.000000000 +0200 --- build-farm.conf.fails.minimal 2017-06-29 11:43:40.000000000 +0200 *************** *** 188,194 **** =20=20 config_opts =3D>[ qw( - --enable-cassert --enable-debug --enable-nls --with-perl --- 188,193 ---- With gcc 4.6, building without --enable-cassert will make the numeric regre= ssion test fail, while building with --enable-cassert will make the build p= ass all tests. With gcc 4.7, the build will pass all tests in both cases. T= ested against REL9_4_STABLE only for the moment. FWIW, this is where I've gotten with getting the buildfarm client to build = as close as possible to the Debian source package (9.4.12 on wheezy on spar= c), but it's not quite identical yet: *** build-farm.conf.sample 2017-06-13 17:32:45.000000000 +0200 --- build-farm.conf.debian 2017-06-29 10:29:26.000000000 +0200 *************** *** 176,181 **** --- 176,184 ---- =20=20 # comment out if not using ccache CC =3D> 'ccache gcc', + PYTHON =3D> '/usr/bin/python', + CFLAGS =3D> '-g -O2 -fstack-protector --param=3Dssp-buffer-size= =3D4 -Wformat -Werror=3Dformat-security -I/usr/include/mit-krb5 -DLINUX_OO= M_SCORE_ADJ=3D0 -D_FORTIFY_SOURCE=3D2', + LDFLAGS =3D> '-Wl,-z,relro -Wl,-z,now -Wl,--as-needed -L/usr/lib/= mit-krb5 -L/usr/lib/sparc-linux-gnu/mit-krb5', }, =20=20 # don't use --prefix or --with-pgport here *************** *** 188,204 **** =20=20 config_opts =3D>[ qw( ! --enable-cassert ! --enable-debug ! --enable-nls --with-perl --with-python ! --with-tcl ! --with-gssapi --with-openssl - --with-ldap --with-libxml --with-libxslt ) ], =20=20 --- 191,217 ---- =20=20 config_opts =3D>[ qw( ! --with-tcl --with-perl --with-python ! --with-pam --with-openssl --with-libxml --with-libxslt + --with-tclconfig=3D/usr/lib/tcl8.5 + --with-includes=3D/usr/include/tcl8.5 + --enable-nls + --enable-integer-datetimes + --enable-thread-safety + --enable-tap-tests + --enable-debug + --disable-rpath + --with-uuid=3De2fs + --with-gnu-ld + --with-system-tzdata=3D/usr/share/zoneinfo + --with-krb5 + --with-gssapi + --with-ldap ) ], Best regards, Tom Turelinckx --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs