From: daniel@makrotopia.org
To: pgsql-bugs@postgresql.org
Subject: BUG #14033: cross-compilation to ARM fails
Date: Fri, 18 Mar 2016 12:24:47 +0000
Message-ID: <20160318122447.2920.34443@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
The following bug has been logged on the website:
Bug reference: 14033
Logged by: Daniel Golle
Email address: daniel@makrotopia.org
PostgreSQL version: 9.5.1
Operating system: Linux
Description:
smmintrin.h is available on x86 targets only. It should be checked by the
configure script and inclusion should be conditional.
In file included from
/usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/include/nmmintrin.h:31:0,
from pg_crc32c_sse42.c:19:
pg_crc32c_sse42.c: In function 'pg_comp_crc32c_sse42':
/usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/include/smmintrin.h:846:1:
error: inlining failed in call to always_inline '_mm_crc32_u64': target
specific option mismatch
_mm_crc32_u64 (unsigned long long __C, unsigned long long __V)
^
pg_crc32c_sse42.c:37:18: error: called from here
crc = (uint32) _mm_crc32_u64(crc, *((const uint64 *) p));
^
In file included from
/usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/include/nmmintrin.h:31:0,
from pg_crc32c_sse42.c:19:
/usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/include/smmintrin.h:839:1:
error: inlining failed in call to always_inline '_mm_crc32_u32': target
specific option mismatch
_mm_crc32_u32 (unsigned int __C, unsigned int __V)
^
pg_crc32c_sse42.c:44:7: error: called from here
crc = _mm_crc32_u32(crc, *((const unsigned int *) p));
^
In file included from
/usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/include/nmmintrin.h:31:0,
from pg_crc32c_sse42.c:19:
/usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/include/smmintrin.h:827:1:
error: inlining failed in call to always_inline '_mm_crc32_u8': target
specific option mismatch
_mm_crc32_u8 (unsigned int __C, unsigned char __V)
^
pg_crc32c_sse42.c:63:7: error: called from here
crc = _mm_crc32_u8(crc, *p);
^
../../src/Makefile.global:769: recipe for target 'pg_crc32c_sse42.o' failed
make[4]: *** [pg_crc32c_sse42.o] Error 1
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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
Subject: Re: BUG #14033: cross-compilation to ARM fails
In-Reply-To: <20160318122447.2920.34443@wrigleys.postgresql.org>
References: <20160318122447.2920.34443@wrigleys.postgresql.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