Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 09D2C1E9AFAD for ; Mon, 12 Dec 2011 05:09:23 -0400 (AST) Received: from mahout.postgresql.org ([98.129.198.123]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Ra1sw-0007Ja-Ux for pgsql-bugs@postgresql.org; Mon, 12 Dec 2011 09:09:23 +0000 Received: from [204.145.120.229] (helo=wrigleys.postgresql.org) by mahout.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Ra1sk-0001Lo-MJ for pgsql-bugs@postgresql.org; Mon, 12 Dec 2011 09:09:10 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.72) (envelope-from ) id 1Ra1sk-0000Pq-EL for pgsql-bugs@postgresql.org; Mon, 12 Dec 2011 09:09:10 +0000 Date: Mon, 12 Dec 2011 09:09:10 +0000 Message-Id: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #6331: Cross compile error/aborts. Works if '--disable-spinlock' is used To: pgsql-bugs@postgresql.org From: vbberdin@yahoo.com X-Pg-Spam-Score: -2.6 (--) X-Archive-Number: 201112/82 X-Sequence-Number: 31893 The following bug has been logged on the website: Bug reference: 6331 Logged by: Victor Berdin Email address: vbberdin@yahoo.com PostgreSQL version: 8.4.9 Operating system: Linux (Ubuntu/Linaro 4.5.2-8ubuntu4) Description: = - Cross Compiler: = arm-linux-gnueabi-*(Ubuntu/Linaro 4.5.2-8ubuntu3) 4.5.2 - Configure options: = ./configure --host=3Darm-linux CC=3Darm-linux-gnueabi-gcc AR=3Darm-linux-gnueabi-ar CPP=3Darm-linux-gnueabi-cpp --without-readline --without-zlib - make error: make[4]: Entering directory `/mnt/sdb1/EXYBOS/net-resource/postgresql-8.4.9/src/backend/access/transam' arm-linux-gnueabi-gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I../../../../src/include -D_GNU_SOURCE -c -o clog.o clog.c arm-linux-gnueabi-gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I../../../../src/include -D_GNU_SOURCE -c -o transam.o transam.c arm-linux-gnueabi-gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I../../../../src/include -D_GNU_SOURCE -c -o varsup.o varsup.c arm-linux-gnueabi-gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I../../../../src/include -D_GNU_SOURCE -c -o xact.o xact.c arm-linux-gnueabi-gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I../../../../src/include -D_GNU_SOURCE -c -o xlog.o xlog.c /tmp/cclQLJ69.s: Assembler messages: /tmp/cclQLJ69.s:645: Error: selected processor does not support Thumb mode `swpb r3,r3,[r0]' /tmp/cclQLJ69.s:6821: Error: selected processor does not support Thumb mode `swpb r2,r2,[r0]' ... ... /tmp/cclQLJ69.s:14730: Error: selected processor does not support Thumb mode `swpb r3,r3,[r0]' make[4]: *** [xlog.o] Error 1 make[4]: Leaving directory `/mnt/sdb1/EXYBOS/net-resource/postgresql-8.4.9/src/backend/access/transam' make[3]: *** [transam-recursive] Error 2 make[3]: Leaving directory `/mnt/sdb1/EXYBOS/net-resource/postgresql-8.4.9/src/backend/access' make[2]: *** [access-recursive] Error 2