Re: [HACKERS] [GENERAL] Postgresql AMD x86-64

2003-06-11 Thread Martin D. Weinberg
Hi folks, We recently built a dual K8D-based Opteron box running Linux in 64-bit mode (Debian 'testing' distribution with newly compiled binutils, gcc, and various support libraries for amd64 architecture). The Postgres 7.3.3 port was simply a matter of setting the appropriate flags to take of

Re: [HACKERS] [GENERAL] Postgresql AMD x86-64

2003-06-10 Thread Martin D. Weinberg
Hi folks, We recently built a dual K8D-based Opteron box running Linux in 64-bit mode (Debian 'testing' distribution with newly compiled binutils, gcc, and various support libraries for amd64 architecture). The Postgres 7.3.3 port was simply a matter of setting the appropriate flags to take of

Re: [HACKERS] [GENERAL] Postgresql AMD x86-64

2003-06-10 Thread Bruce Momjian
Can you send us a patch? --- Martin D. Weinberg wrote: Hi folks, We recently built a dual K8D-based Opteron box running Linux in 64-bit mode (Debian 'testing' distribution with newly compiled binutils, gcc, and

Re: [HACKERS] [GENERAL] Postgresql AMD x86-64

2003-06-10 Thread Martin D. Weinberg
Bruce, I didn't change the source tree at all. I used: env CFLAGS='-O3 -m64' LD='/usr/bin/ld -melf_x86_64' ./configure --with-CXX --without-zlib with the experimental gcc and bintils from www.x86-64.org. I needed --without-zlib because I don't have a 64 bit compile yet for zlib. make make

Re: [HACKERS] [GENERAL] Postgresql AMD x86-64

2003-06-10 Thread Tom Lane
Martin D. Weinberg [EMAIL PROTECTED] writes: I didn't change the source tree at all. I used: env CFLAGS='-O3 -m64' LD='/usr/bin/ld -melf_x86_64' ./configure --with-CXX --without-zlib BTW, see Jeff Baker's nearby report in pgsql-general that s_lock.h needs to be tweaked to use spinlocks on