From owner-freebsd-ports@FreeBSD.ORG Sun Oct 28 14:26:55 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D55E16A41B for ; Sun, 28 Oct 2007 14:26:55 +0000 (UTC) (envelope-from gianrubio@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.189]) by mx1.freebsd.org (Postfix) with ESMTP id 1317D13C4A7 for ; Sun, 28 Oct 2007 14:26:54 +0000 (UTC) (envelope-from gianrubio@gmail.com) Received: by mu-out-0910.google.com with SMTP id w9so1650767mue for ; Sun, 28 Oct 2007 07:26:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=D4SNW91Y/lI9VV77MQ8z3EwBpl0k8nqH1ym/bPKX1D0=; b=EjsTo2MMKbyG7KMF/qPGoWZQ4X9SC4bDuuYEAQ9nHxWYAeiq+tpnfeXEidYZo6XFP8rxEsrzBuYnpu6uF5TN1VXdEfB3UgnIRFLg/14JtLb39cJzy4O9z4BXB5oliLici9Nh7AJo9+A4aIB0hitbuDEZ4cH9cpHqsuyojUxS1Mg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=FSIc44UtuC90YSPFTOe4FWDGdFZ0Hs8dB288uG7Sm+7m4Jqls4nQfI2sfDN7uv4+RfithS5bhVuRlmXVoHOeQal4XMCXH5q+YA/wjdtj29m78u31u5ZZogmLBZzqOymaYM38dE6+G4duMdm+L5uvVXTpezITJT/hKS8sIoBXWBI= Received: by 10.86.4.2 with SMTP id 2mr3981544fgd.1193581613634; Sun, 28 Oct 2007 07:26:53 -0700 (PDT) Received: by 10.86.3.12 with HTTP; Sun, 28 Oct 2007 07:26:53 -0700 (PDT) Message-ID: Date: Sun, 28 Oct 2007 12:26:53 -0200 From: "Giancarlo Rubio" To: "Ivan Voras" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <103519023.20071027213944@gameservice.ru> Cc: freebsd-ports@freebsd.org Subject: Re: FreeBSD Port: postgresql-server-8.2.5_2 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2007 14:26:55 -0000 I have the same problem. Postgresql-server-8.1.10_1 run sucessfull on FreeBSD 6.2. I have updated my FreeBSD to FreeBSD 7.0-BETA1 and now doesn't work. #uname -a FreeBSD rubio 7.0-BETA1 FreeBSD 7.0-BETA1 #0: Thu Oct 25 02:50:23 BRST 2007 root@rubio:/usr/obj/usr/src/sys/GENERIC i386 When i try to start postgresql i get this error Oct 28 12:20:24 rubio kernel: pid 1065 (pg_ctl), uid 70: exited on signal 11 (core dumped) I think to compile postgresql on 7.0 but same problems [root@rubio /usr/ports/databases/postgresql81-server]# make ===> postgresql-server-8.1.10_2 cannot install: unknown PostgreSQL version: Segmentation fault (core dumped). *** Error code 1 Stop in /usr/ports/databases/postgresql81-server. How can i fix this problems? 2007/10/27, Ivan Voras : > Michael wrote: > > Hello. > > > > PostgreSQL 8.2.5 compiled from ports core dumps on freebsd 7 > > (RELENG_7), i've asked pgsql-bugs about this issue, and they answered, > > that probably FreeBSD 7 have problems with spinlocks: > > > > http://archives.postgresql.org/pgsql-bugs/2007-10/msg00197.php > > Postmaster isn't threaded so it looks like a problem with their own > implementation of spinlock, not the OS's. > > One thing that may or may not help you is: can you rebuild your (exact!) > version of PostgreSQL on a 6.2 machine, save the output (e.g. with tee), > then rebuild it (the *same* version) on 7.0 and also save the output, > then compare them? > > > Can you help me resolve this problem? > > Did you look at the postmaster's stderror output? > > For what is worth, PostgreSQL 8.1 works on 7 flawlessly. > > > -- Giancarlo Rubio