pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Daniel Golle <daniel@makrotopia.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #14033: cross-compilation to ARM fails
Date: Sat, 19 Mar 2016 17:53:23 +0100
Message-ID: <20160319165321.GB1744@makrotopia.org> (raw)
In-Reply-To: <4161.1458397235@sss.pgh.pa.us>
References: <20160318122447.2920.34443@wrigleys.postgresql.org>
	<4161.1458397235@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

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



view thread (13+ messages)  latest in thread

Message-ID: <20160319165321.GB1744@makrotopia.org>
Permalink:  ../20160319165321.GB1744@makrotopia.org/
Also on:    postgresql.org/message-id/20160319165321.GB1744@makrotopia.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: daniel@makrotopia.org, tgl@sss.pgh.pa.us
  Subject: Re: BUG #14033: cross-compilation to ARM fails
  In-Reply-To: <20160319165321.GB1744@makrotopia.org>
  References: <20160318122447.2920.34443@wrigleys.postgresql.org> <4161.1458397235@sss.pgh.pa.us> <20160319165321.GB1744@makrotopia.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox