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

From vbberdin@yahoo.com
Subject BUG #6331: Cross compile error/aborts. Works if '--disable-spinlock' is used
Date
Msg-id E1Ra1sk-0000Pq-EL@wrigleys.postgresql.org
Whole thread Raw
Responses Re: BUG #6331: Cross compile error/aborts. Works if '--disable-spinlock' is used
List pgsql-bugs
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:=20=20=20=20=20=20=20=20

- Cross Compiler:=20
  arm-linux-gnueabi-*(Ubuntu/Linaro 4.5.2-8ubuntu3) 4.5.2

- Configure options:=20
  ./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

pgsql-bugs by date:

Previous
From: Hiroshi Saito
Date:
Subject: Re: About Wince App
Next
From: Cihan ŞENGÜL
Date:
Subject: Re: About Wince App