pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: vbberdin@yahoo.com
To: pgsql-bugs@postgresql.org
Subject: BUG #6331: Cross compile error/aborts. Works if '--disable-spinlock' is used
Date: Mon, 12 Dec 2011 09:09:10 +0000
Message-ID: <E1Ra1sk-0000Pq-EL@wrigleys.postgresql.org> (raw)

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=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





view thread (4+ messages)  latest in thread

Message-ID: <E1Ra1sk-0000Pq-EL@wrigleys.postgresql.org>
Permalink:  ../E1Ra1sk-0000Pq-EL@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/E1Ra1sk-0000Pq-EL@wrigleys.postgresql.org

 · 

reply

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: vbberdin@yahoo.com
  Subject: Re: BUG #6331: Cross compile error/aborts. Works if '--disable-spinlock' is used
  In-Reply-To: <E1Ra1sk-0000Pq-EL@wrigleys.postgresql.org>
  References: <E1Ra1sk-0000Pq-EL@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