From owner-freebsd-current@FreeBSD.ORG Mon Apr 4 06:21:16 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7FFDE106564A; Mon, 4 Apr 2011 06:21:16 +0000 (UTC) (envelope-from christer.solskogen@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 103E88FC1A; Mon, 4 Apr 2011 06:21:15 +0000 (UTC) Received: by vws18 with SMTP id 18so4803532vws.13 for ; Sun, 03 Apr 2011 23:21:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=VCmHNJLLVtXk5OC8EL9ZR0/zyTwCDMewlAAmTZBbYBI=; b=oAWt2vc41S1qIP0w7Ozjv7c+ZWUb4cMWAS52x8L8o9HZaRpeZjNH79tXMH2u4z3Sbu I66IpLBbTehYVJQPPyoc5RqZrh9KAVHgiZE9vWGt4FLz7TeGqfRkTc6meb3Pz4VGCR3g sJIhogWwitdj/eJ0B5a2/GaHwwZCpJDoafQUw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=o0GnNOuokVhG+KZatStf3pdJqEybl38RWtyeSgMkiwhOkyIKH9mValM183eR/KOHvO 41ZWXxqL6p37NgyAQwjJiczI/n41mmEja1CEqzJbRM8Cp6I658hNyoW+QchkjmZy2FCF zJL8fkcDloVjfPuEQJOal8O64YZ/0ikOnBzZA= Received: by 10.52.173.108 with SMTP id bj12mr2846405vdc.177.1301898075398; Sun, 03 Apr 2011 23:21:15 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.166.165 with HTTP; Sun, 3 Apr 2011 23:20:55 -0700 (PDT) In-Reply-To: <4D98F8F6.3060409@FreeBSD.org> References: <4D98F8F6.3060409@FreeBSD.org> From: Christer Solskogen Date: Mon, 4 Apr 2011 08:20:55 +0200 Message-ID: To: Dimitry Andric Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org, freebsd-ports@freebsd.org Subject: Re: clang and postgresql90 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Apr 2011 06:21:16 -0000 On Mon, Apr 4, 2011 at 12:47 AM, Dimitry Andric wrote: > On 2011-04-03 20:15, Christer Solskogen wrote: >> >> I'm just wondering if anyone else has trouble compiling postgresql90 >> with clang. I get this (and I cant seem to find anything online that >> somebody else had that same problem): > > ... >> >> libpq/auth.o: In function `ClientAuthentication': >> auth.c:(.text+0x51e): undefined reference to `gss_accept_sec_context' >> auth.c:(.text+0x5c7): undefined reference to `gss_release_buffer' > > ... > > This error is not related to clang, but a problem with postgresql's > configure script, in combination with the updated binutils in the base > system. =A0You will get the same error if you use gcc. > > Patch: > http://www.andric.com/freebsd/binutils/bu217-databases-postgresql90-serve= r-1.diff > > Similar one for postgres 8.4: > http://www.andric.com/freebsd/binutils/bu217-databases-postgresql84-serve= r-1.diff > Okay, thanks :-) --=20 chs,