Re: FreeBSD broke with autoconf-based build

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: strk(at)refractions(dot)net
Cc: postgis-devel(at)postgis(dot)refractions(dot)net, pgsql-hackers(at)postgresql(dot)org
Subject: Re: FreeBSD broke with autoconf-based build
Date: 2005-11-01 14:10:24
Message-ID: 25053.1130854224@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

strk(at)refractions(dot)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

In response to

Responses

Browse pgsql-hackers by date

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