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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Greg Stark <stark(at)mit(dot)edu>
Cc: Andres Freund <andres(at)anarazel(dot)de>, 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-21 13:37:44
Message-ID: 601.1458567464@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Greg Stark <stark(at)mit(dot)edu> writes:
> On 12 Mar 2016 10:58 pm, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> 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.

The answer is that a failure looks like this:

duplicate symbol _FeBeWaitSet in:
access/common/printtup.o
access/transam/parallel.o
duplicate symbol _FeBeWaitSet in:
access/common/printtup.o
commands/async.o
duplicate symbol _FeBeWaitSet in:
access/common/printtup.o
commands/copy.o
duplicate symbol _FeBeWaitSet in:
access/common/printtup.o
libpq/be-secure.o
duplicate symbol _FeBeWaitSet in:
access/common/printtup.o
libpq/auth.o
duplicate symbol _FeBeWaitSet in:
access/common/printtup.o
libpq/hba.o
duplicate symbol _FeBeWaitSet in:
access/common/printtup.o
libpq/pqcomm.o
... etc etc ...

See:

http://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=longfin&dt=2016-03-21%2011%3A49%3A13

http://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=7fa0064092e135415a558dc3c4d7393d14ab6d8e

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Mark Morgan Lloyd 2016-03-21 13:44:42 PostgreSQL advocacy
Previous Message Pavel Suderevsky 2016-03-21 12:20:28 postgresql timezone and OS localtime correspondence

Browse pgsql-hackers by date

  From Date Subject
Next Message Abhijit Menon-Sen 2016-03-21 13:53:31 Re: dealing with extension dependencies that aren't quite 'e'
Previous Message Robert Haas 2016-03-21 13:35:16 Re: Parallel Aggregate