Skip site navigation (1) Skip section navigation (2)

Re: building pg 8.0.1 with gcc-4.0.1: MemSet problems on SPARC?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Morrow <andrew(dot)c(dot)morrow(at)gmail(dot)com>
Cc: pgsql-ports(at)postgresql(dot)org
Subject: Re: building pg 8.0.1 with gcc-4.0.1: MemSet problems on SPARC?
Date: 2005-07-18 16:01:33
Message-ID: 12568.1121702493@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-ports
Andrew Morrow <andrew(dot)c(dot)morrow(at)gmail(dot)com> writes:
> I recently tried building postgres 8.0.1 on a Solaris 2.9 SPARC
> machine, using gcc-4.0.1. CFLAGS was set to pass -O2.
> ...
> I am no language laywer, so I don't know for certain what is going on
> here, but it does seem to be that one of the following must be true:
> 1) There is something illegal/undefined about the address argument to
> memset in the original version, due to the int32 * and char * casts.

I've patched MemSet() in all supported branches (back to 7.2) per this
report.

Are you interested in adding this machine to the PG buildfarm?
http://www.pgbuildfarm.org/index.html
Machines with out-of-the-ordinary compiler properties are especially
interesting candidates for buildfarm testing ...

			regards, tom lane

In response to

pgsql-ports by date

Next:From: Martin PittDate: 2005-07-24 15:59:42
Subject: gcc 4.0 build failures on m68k, mips, and mipsel
Previous:From: Tom LaneDate: 2005-07-18 14:35:58
Subject: Re: building pg 8.0.1 with gcc-4.0.1: MemSet problems on SPARC?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group