Re: FreeBSD broke with autoconf-based build - Mailing list pgsql-hackers

From Tom Lane
Subject Re: FreeBSD broke with autoconf-based build
Date
Msg-id 25053.1130854224@sss.pgh.pa.us
Whole thread Raw
In response to FreeBSD broke with autoconf-based build  (strk@refractions.net)
Responses Re: FreeBSD broke with autoconf-based build  ("Marc G. Fournier" <scrappy@postgresql.org>)
Re: FreeBSD broke with autoconf-based build  (strk@refractions.net)
List pgsql-hackers
strk@refractions.net writes:
> I'm having troubles building postgis HEAD on freebsd
> using the new autoconf-based scripts.

FreeBSD which, exactly?  It makes a difference, because AFAICS from
configure newer versions of FreeBSD use ELF, and the link switches
are different then.

> The Makefile.shlib file copied by pgsql sources
> adds a -Bforcearchive flag to LINK.shared with
> arch is freebsd, but the flag seems to be
> unsupported (this is from 7.2.1 to 8.0.0)

> Weird enough PostgreSQL build works fine
> (no -Bforcearchive flag used)

You need to figure out why the applied switches are different for your
build than for the main build --- they really should not be.  Are you
sure you're picking up the same copy of Makefile.global?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [Fwd: Re: regression failures on WIndows in machines with some non-English locales]
Next
From: Alvaro Herrera
Date:
Subject: Re: slru.c race condition (was Re: TRAP: FailedAssertion("!((itemid)->lp_flags & 0x01)",)