Re: [GENERAL] OS X 10.11.3, psql, bus error 10, 9.5.1

From: Greg Stark <stark(at)mit(dot)edu>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Chris Ruprecht <chris(at)cdrbill(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [GENERAL] OS X 10.11.3, psql, bus error 10, 9.5.1
Date: 2016-03-13 12:32:23
Message-ID: CAM-w4HPzcXjAVbD8zjW7MU1t7PsF8N+A0Gxoovt6ohhvhXJQng@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On 12 Mar 2016 10:58 pm, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>
> I wrote:
> > That's confusing because it implies that -fno-common is the default,
> > which it evidently is not. But anyway, my diagnosis is that you're
> > breaking something about the linker's behavior with that switch.

> I shall get rid of the const-ness, as well as the lame casting away
> of it, and I think I will also go make buildfarm member longfin use
> "-fno-common". It is truly sad that we apparently have no test
> machine that enforces that const means const ...

It looks like this would also be useful for catching any mistakes where we
might have defined a variable in two different files or missed an "extern".
Though I'm not sure the failures will be very obvious.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Peter J. Holzer 2016-03-13 13:04:55 Re: Distributed Table Partitioning
Previous Message Alexander Farber 2016-03-13 10:07:09 "brew services list" shows postgresql as "started", but can not connect to it

Browse pgsql-hackers by date

  From Date Subject
Next Message Dean Rasheed 2016-03-13 15:24:17 Re: improving GROUP BY estimation
Previous Message Magnus Hagander 2016-03-13 12:21:14 Re: auto_explain sample rate