Re: BUG #14033: cross-compilation to ARM fails - Mailing list pgsql-bugs

From Daniel Golle
Subject Re: BUG #14033: cross-compilation to ARM fails
Date
Msg-id 20160319165321.GB1744@makrotopia.org
Whole thread Raw
In response to Re: BUG #14033: cross-compilation to ARM fails  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: BUG #14033: cross-compilation to ARM fails
List pgsql-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

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #14033: cross-compilation to ARM fails
Next
From: jkoceniak@mediamath.com
Date:
Subject: BUG #14036: xmin is null in pg_relication_slots