Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ahP2k-0008P7-2M for pgsql-bugs@arkaria.postgresql.org; Sat, 19 Mar 2016 22:08:22 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1ahP2j-000355-Ds for pgsql-bugs@arkaria.postgresql.org; Sat, 19 Mar 2016 22:08:21 +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 1ahK8D-00043I-J1 for pgsql-bugs@postgresql.org; Sat, 19 Mar 2016 16:53:41 +0000 Received: from fudo.makrotopia.org ([2001:41d0:8:c75d::1]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ahK80-0003MM-SY for pgsql-bugs@postgresql.org; Sat, 19 Mar 2016 16:53:40 +0000 Received: from local by fudo.makrotopia.org with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.85) (envelope-from ) id 1ahK7w-0007G8-F1; Sat, 19 Mar 2016 17:53:25 +0100 Date: Sat, 19 Mar 2016 17:53:23 +0100 From: Daniel Golle To: Tom Lane Cc: pgsql-bugs@postgresql.org Subject: Re: BUG #14033: cross-compilation to ARM fails Message-ID: <20160319165321.GB1744@makrotopia.org> References: <20160318122447.2920.34443@wrigleys.postgresql.org> <4161.1458397235@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4161.1458397235@sss.pgh.pa.us> User-Agent: Mutt/1.5.24 (2015-08-30) X-Pg-Spam-Score: -1.9 (-) 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 Hi! On Sat, Mar 19, 2016 at 10:20:35AM -0400, Tom Lane wrote: > daniel@makrotopia.org writes: > > smmintrin.h is available on x86 targets only. It should be checked by the > > configure script and inclusion should be conditional. > > It is. You'll need to provide more info about exactly how you tried > to configure and build. I'm cross-compiling for ARMv6 using the OpenWrt SDK. I encountered the build breakage when trying to move from PostgreSQL 9.4.4 to 9.5.1, the build for 9.4.4 works nicely. See https://github.com/openwrt/packages/blob/master/libs/postgresql/Makefile for more details on configure and make arguments we use. The build-environment can easily be reproduced by using OpenWrt to target any ARM or MIPS platform and select the postgresql package. Cheers Daniel -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs