Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ah1SJ-0000Zn-46 for pgsql-bugs@arkaria.postgresql.org; Fri, 18 Mar 2016 20:57:11 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1ah1SI-0000pj-Mu for pgsql-bugs@arkaria.postgresql.org; Fri, 18 Mar 2016 20:57:10 +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 1agtSm-0005W1-6C for pgsql-bugs@postgresql.org; Fri, 18 Mar 2016 12:25:08 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1agtSh-00017c-Om for pgsql-bugs@postgresql.org; Fri, 18 Mar 2016 12:25:07 +0000 MIME-Version: 1.0 Subject: BUG #14033: cross-compilation to ARM fails To: pgsql-bugs@postgresql.org From: daniel@makrotopia.org Date: Fri, 18 Mar 2016 12:24:47 +0000 Message-ID: <20160318122447.2920.34443@wrigleys.postgresql.org> X-Pg-Spam-Score: -1.9 (-) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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 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