Port report: NetBSD 2.0 mac68k

From: Rémi Zara <remi_zara(at)mac(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Port report: NetBSD 2.0 mac68k
Date: 2004-12-14 22:07:56
Message-ID: 9C264EAC-4E1C-11D9-938C-003065B81B34@mac.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

Here is a port report for NetBSD 2.0 mac68k, with sources of
postgresql8.0.0rc1.

Here is the configure line used :
./configure --prefix=/data/postgresql/pgsql-8.0.0rc1 --with-openssl
--with-python --with-perl --with-tcl --with-krb5 --with-pam

But some tweaking was necessary to make it work:
* krb5.h is in /usr/include/krb5 on netbsd (set via CPPFLAGS)
* krb5_encrypt is to be found in -lkrb5 -ldes -lasn1 -lroken -lcrypto

--enable-thread-safety does not work because the thread safety test
fails (src/tools/thread/thread_test)
configure:18831: ./conftest
conftest in free(): error: freelist is destroyed.
[1] Abort trap (core dumped) ./conftest${ac_e...

Then the tas code in src/backend/storage/lmgr/s_lock.c cannot be
compiled and linked on this system without modification:
the '_' in front of the tas symbol should be removes, and '%' added in
front of register names. I've attached a diff that makes these
modifications only for NetBSD mac68k ELF.

With these modifications, make and make install are OK !

template1=# SELECT version();
version
------------------------------------------------------------------------
---------------------------------
PostgreSQL 8.0.0rc1 on m68k-unknown-netbsdelf2.0, compiled by GCC gcc
(GCC) 3.3.3 (NetBSD nb3 20040520)
(1 row)

in make check, two tests fail: float8 and misc.
I've attached the regression.diffs file.

Regards,

Rémi Zara

--
Rémi Zara
http://www.remi-zara.net/

Attachment Content-Type Size
regression.diffs application/octet-stream 2.4 KB
unknown_filename text/plain 4 bytes
diff.txt text/plain 1.1 KB
unknown_filename text/plain 1 byte

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-12-14 22:24:55 8.0 release schedule
Previous Message Oliver Jowett 2004-12-14 21:07:43 Re: 800RC1 valgrind-detected bug ?