Re: BUG #14033: cross-compilation to ARM fails

From: Daniel Golle <daniel(at)makrotopia(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #14033: cross-compilation to ARM fails
Date: 2016-03-19 16:53:23
Message-ID: 20160319165321.GB1744@makrotopia.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi!

On Sat, Mar 19, 2016 at 10:20:35AM -0400, Tom Lane wrote:
> daniel(at)makrotopia(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message jkoceniak 2016-03-19 19:24:16 BUG #14036: xmin is null in pg_relication_slots
Previous Message Tom Lane 2016-03-19 14:20:35 Re: BUG #14033: cross-compilation to ARM fails