Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1vZW-0001dm-PL for pgsql-bugs@arkaria.postgresql.org; Tue, 10 Oct 2017 14:31:51 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1e1vZW-0000eb-7Y for pgsql-bugs@arkaria.postgresql.org; Tue, 10 Oct 2017 14:31:50 +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 1e1vZV-0000bP-8u for pgsql-bugs@postgresql.org; Tue, 10 Oct 2017 14:31:49 +0000 Received: from mail.aegee.org ([144.76.142.78]) by magus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1vZN-0004kK-Td for pgsql-bugs@postgresql.org; Tue, 10 Oct 2017 14:31:48 +0000 Authentication-Results: aegeeserv.aegee.org; auth=pass (PLAIN) smtp.auth=didopalauzov DKIM-Filter: OpenDKIM Filter v2.10.3 mail.aegee.org v9AEXT1I031919 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aegee.org; s=k4096; t=1507646010; i=dkim+MSA-tls@aegee.org; r=y; bh=iMeJPyEt7upf+6EojJGAWf7PHhg/F8WSiuJp/0B8yJU=; h=From:Subject:To:Date; b=Z9XvwmD0T1FIxkZwpCSmPzuM517+r+kCAQSNRyA0LUZPwAl4EWlb+ItMLThoOS/Fu fJcCq5B2UHh8yNNioy9y8D4s7JDYYbH7g3fSXGG+dBz7MWQgCkLb9wuE7Tv3rB+GJ3 pRWkLSYw4TYHhryv9Ihd4yyPzYsml5IQxSIpYD0q5QYJWv4l2mOg5SlfzUythWLv1m 7W5N6JsINh4ft8uzny5wv+uL09kQ302Nklfa42LkT2HvaKFuAX8JV23ED1k5Z1wdUL NIxwjZyqLwt2K9Qe+z6+YP0/lZOfN0vWPUiFpS4ECiE4CBbZSgGtI726wA3pHXbQbg aWWoXZTOBCw4RceRxLRy470avWCjnykXCDg8k4V/XsdP4TB1PWoTgrkP+dkiXYH2jK sV4gwDvBbZ8mnxw4w9WqieBp2kHAWMeB2FA8cg1vj7mWvAHIyrzAIg6G0q056gP8qs itqEGs2fDv9MiYbhzrsxl5GuN8Ldiht6Ru3sJwnX9NFj1S3toBedLdHzrPxfXSqKTM QMcA5nfP6ictKYNQJxdnBRmk9frRPTTbO3WmzkTPBuxoLY1hZqsBcP+SbWfoyKeGMq KkP2CAMNEABSDIJqO3qrq+GHFS2XzkUpJSnFQkUc+JhzZ5AXOXx2uJzaqjRZHe2s+A bp5AFM44ItB9MX2/C56H92ks= Authentication-Results: mail.aegee.org; dkim=none Received: from [10.128.8.92] (port-87-193-154-82.static.qsc.de [87.193.154.82]) (authenticated bits=0) by mail.aegee.org (8.15.2/8.15.2) with ESMTPSA id v9AEXT1I031919 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Tue, 10 Oct 2017 14:33:29 GMT From: =?UTF-8?B?0JTQuNC70Y/QvSDQn9Cw0LvQsNGD0LfQvtCy?= Subject: ./configure error: Cannot find a working 64-bit integer type To: PostgreSQL Bugs Message-ID: <0f85489c-ea78-ca41-b2d8-5a3b625de248@aegee.org> Date: Tue, 10 Oct 2017 16:31:40 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Virus-Scanned: clamav-milter 0.99.2 at mail.aegee.org X-Virus-Status: Clean 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 Hello, unless the patch below is applied ./configure prints: STDOUT checking test program... ok STDOUT checking whether long int is 64 bits... no STDOUT checking whether long long int is 64 bits... no STDERR configure: error: Cannot find a working 64-bit integer type. when gcc 8.0.0 20171006 is used, "unset CFLAGS" is removed from configure(.in), having in config.site: CFLAGS="-pipe -Werror -Wall -Wextra -O3 -fno-fat-lto-objects -flto" LDFLAGS="-Wl,-O1,-s -flto=12" and calling PYTHON=/usr/local/bin/python3 ./configure --prefix=/usr/local --with-gssapi --with-openssl --with-libxml --with-libxslt --with-python --enable-cassert config.log contains then: configure:14132: checking whether long long int is 64 bits configure:14192: gcc -o conftest -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-label conftest.c:154:5: error: no previous prototype for 'does_int64_work' [-Werror=missing-prototypes] int does_int64_work(void) ^~~~~~~~~~~~~~~ cc1: all warnings being treated as errors configure:14192: $? = 1 configure: program exited with status 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "PostgreSQL" | #define PACKAGE_TARNAME "postgresql" [...] | */ | ac_int64 a = 20000001; | ac_int64 b = 40000005; | int does_int64_work() | { | ac_int64 c,d; | diff --git a/config/c-compiler.m4 b/config/c-compiler.m4 index 6dcc790..dfaa273 100644 --- a/config/c-compiler.m4 +++ b/config/c-compiler.m4 @@ -56,8 +56,8 @@ AC_CACHE_CHECK([whether $1 is 64 bits], [Ac_cachevar], */ ac_int64 a = 20000001; ac_int64 b = 40000005; - -int does_int64_work() +int does_int64_work(void); +int does_int64_work(void) { ac_int64 c,d; Regards Дилян -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs