Re: pthread stack on FreeBSD WAS: HEAD doesn't cope with libraries

From: Johnny Lam <jlam(at)NetBSD(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pthread stack on FreeBSD WAS: HEAD doesn't cope with libraries
Date: 2005-08-17 17:22:16
Message-ID: 43037248.5090604@NetBSD.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Tom Lane wrote:
> "Jim C. Nasby" <jnasby(at)pervasive(dot)com> writes:
>
>>Unfortunately, it looks like the allow_non_pic_in_shlib setting broke
>>platypus: http://lnk.nu/pgbuildfarm.org/3l3.pl
>
>
>>If I back that part of the patch out, playtypus works fine.
>
>
> So what's different between platypus and the machines where it works?
> We might need a version check or something ...

platypus is amd64, not x86. AFAIK, amd64 does not allow non-PIC code to
be mixed with PIC code in the same object, whereas it's just fine for
x86. In NetBSD pkgsrc, we've had to fix a lot of software that makes
this same assumption.

Cheers,

-- Johnny Lam <jlam(at)NetBSD(dot)org>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2005-08-17 18:10:23 Crash while trying to log in with nonexistent role
Previous Message Bruce Momjian 2005-08-17 16:47:02 Re: ALTER INDEX OWNER TO

Browse pgsql-patches by date

  From Date Subject
Next Message Alvaro Herrera 2005-08-17 17:48:51 Trivial patch, silence CC warnings
Previous Message Tom Lane 2005-08-17 16:01:58 Re: pthread stack on FreeBSD WAS: HEAD doesn't cope with libraries in non-default