BUG #6331: Cross compile error/aborts. Works if '--disable-spinlock' is used

From: vbberdin(at)yahoo(dot)com
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #6331: Cross compile error/aborts. Works if '--disable-spinlock' is used
Date: 2011-12-12 09:09:10
Message-ID: E1Ra1sk-0000Pq-EL@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 6331
Logged by: Victor Berdin
Email address: vbberdin(at)yahoo(dot)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=arm-linux CC=arm-linux-gnueabi-gcc
AR=arm-linux-gnueabi-ar CPP=arm-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

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Matteo Beccati 2011-12-12 11:16:03 Re: Postgresql 9.1.2 - abnormal memory usage
Previous Message Heikki Linnakangas 2011-12-12 08:29:36 Re: Postgresql 9.1.2 - abnormal memory usage