help: cross compiling PG7.4.1 on IA64 from IA32

Поиск
Список
Период
Сортировка
От Andrew Hall
Тема help: cross compiling PG7.4.1 on IA64 from IA32
Дата
Msg-id 091c01c41089$eee49be0$2601010a@bluereef.local
обсуждение исходный текст
Ответы Re: help: cross compiling PG7.4.1 on IA64 from IA32  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-ports
Hello,

I have been trying unsuccessfully to get PG 7.4.1 built for an IA64
environment using the following:

Redhat Taroon (IA64) beta headers and libs installed in
/usr/local/ia64-linux
Build host: Redhat 9 I386
Build Target: ia64-linux
binutils: 2.14 built using IA64 headers (as above)
gcc:3.3.3 built using IA64 headers and binutils above, built using --sysroot
to /usr/local/ia64-linux

Configure script for PG7.4.1:
./configure \
--prefix=/opt/sonar/DB64 \
--with-java \
--enable-thread-safety \
--build=i686-pc-linux-gnu \
--host=ia64-linux \
--with-libraries=/usr/local/ia64-linux/lib \
--with-libs=/usr/local/ia64-linux/include \
LDFLAGS=-L/usr/local/ia64-linux/lib \
CPPFLAGS=-I/usr/local/ia64-linux/include

What I get when compiling PG is the following error trying to find
/lib/libpthread.so.0. It doesn't seem to be able to find my IA64 version of
this library, even though all the other libraries seems to be found okay.
The IA64 version of this libaries is definately there
(/usr/local/ia64-linux/lib).

Any ideas appreciated.

--snip of compile output --

ia64-linux-gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing
-declarations -fpic -shared -Wl,-soname,libpq.so.3 fe-auth.o fe-connect.o
fe-exec.o fe-misc.o fe-print.o fe-lobj.o fe-protocol2.o fe-protocol3.o
pqexpbuffer.o pqsignal.o fe-secure.o dllist.o md5.o ip.o wchar.o encnames.o
path.o
thread.o -L../../../src/port -L/usr/local/ia64-linux/lib -L/usr/local/ia64-l
inux/include -lcrypt -lresolv -lnsl -lpthread -Wl,-rpath,/opt/sonar/DB64/lib
 -o libpq.so.3.1
/usr/local/lib/gcc-lib/ia64-linux/3.3.3/../../../../ia64-linux/bin/ld:
skipping incompatible /lib/libpthread.so.0 when searching for
/lib/libpthread.so.0
/usr/local/lib/gcc-lib/ia64-linux/3.3.3/../../../../ia64-linux/bin/ld:
cannot find /lib/libpthread.so.0
collect2: ld returned 1 exit status
gmake[3]: *** [libpq.so.3.1] Error 1
gmake[3]: Leaving directory
`/development/3.0.0/BUILD-IA64/postgresql-7.4.1/src/interfaces/libpq'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory
`/development/3.0.0/BUILD-IA64/postgresql-7.4.1/src/interfaces'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory
`/development/3.0.0/BUILD-IA64/postgresql-7.4.1/src'
gmake: *** [all] Error 2



В списке pgsql-ports по дате отправления:

Предыдущее
От: "Michael J. Hammel"
Дата:
Сообщение: [RPM] 7.4.1 srpm dies running autoconf
Следующее
От: Tom Lane
Дата:
Сообщение: Re: help: cross compiling PG7.4.1 on IA64 from IA32