Re: gcc 4.0 build failures on m68k, mips, and mipsel - Mailing list pgsql-ports

From Martin Pitt
Subject Re: gcc 4.0 build failures on m68k, mips, and mipsel
Date
Msg-id 20050825074312.GA8461@piware.de
Whole thread Raw
In response to Re: gcc 4.0 build failures on m68k, mips, and mipsel  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: gcc 4.0 build failures on m68k, mips, and mipsel
List pgsql-ports
Hi!

Tom Lane [2005-08-20 15:10 -0400]:
> Martin Pitt <martin@piware.de> writes:
> > However, Thiemo Seufer dealt with this and created a proper tas()
> > function for PostgreSQL on mips, which also works with gcc 4. Of
> > course this is much better, so I applied his patch in Debian.
> > I attach the patch. Do you consider applying it upstream?
>
> Hm, does this patch actually compile as-is?  I'd think you'd need to
> have the MIPS definition of slock_t placed earlier than the assembly
> code fragment.

Sorry, I got the patch against 7.4 and I couldn't check it against 8.0
I fixed it for 8.0, and the new packages have finally built
successfully on mips:

http://buildd.debian.org/fetch.php?&pkg=postgresql-7.4&ver=1%3A7.4.8-17&arch=mips&stamp=1124942993&file=log&as=raw
http://buildd.debian.org/fetch.php?&pkg=postgresql-8.0&ver=8.0.3-14&arch=mips&stamp=1124946041&file=log&as=raw

I attach the updated patch against 8.0.

Sorry for the confusion, and thanks!

Martin
--
Martin Pitt        http://www.piware.de
Ubuntu Developer   http://www.ubuntu.com
Debian Developer   http://www.debian.org

Attachment

pgsql-ports by date:

Previous
From: Erick Bautista
Date:
Subject: Invalid Input Syntax for type Bytea
Next
From: Tom Lane
Date:
Subject: Re: gcc 4.0 build failures on m68k, mips, and mipsel