Can't compile with profiling after BRIN autosummarization

From: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Can't compile with profiling after BRIN autosummarization
Date: 2017-04-03 16:31:13
Message-ID: CAMkU=1waXaZNhaTBTxfZa_xJ2R5A1gidf5XxJ7Y4kTdhxv0_sw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

make maintainer-clean > /dev/null ; ./configure --enable-profiling >
/dev/null && make -j8 >/dev/null

In file included from ipc.c:29:
../../../../src/include/postmaster/autovacuum.h:73: error: expected
declaration specifiers or '...' before 'BlockNumber'
make[4]: *** [ipc.o] Error 1
make[3]: *** [ipc-recursive] Error 2
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [storage-recursive] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [all-backend-recurse] Error 2
make: *** [all-src-recurse] Error 2

This git bisects down to:

commit 7526e10224f0792201e99631567bbe44492bbde4
Author: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
Date: Sat Apr 1 14:00:53 2017 -0300

BRIN auto-summarization

The lines are:

extern void AutoVacuumRequestWork(AutoVacuumWorkItemType type,
Oid relationId, BlockNumber blkno);

I have no idea why --enable-profiling would change the way this line is
seen.

gcc version 4.4.7 20120313 (Red Hat 4.4.7-17) (GCC)

Cheers,

Jeff

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Verite 2017-04-03 16:33:06 Re: Variable substitution in psql backtick expansion
Previous Message Joe Conway 2017-04-03 16:29:23 Re: bumping HASH_VERSION to 3