X-Original-To: pgsql-ports-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id C36A79FA5C8 for ; Mon, 12 Jun 2006 18:46:21 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 33901-03 for ; Mon, 12 Jun 2006 18:46:10 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 4BA6E9FA159 for ; Mon, 12 Jun 2006 18:46:12 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id k5CLk9d6012884; Mon, 12 Jun 2006 17:46:09 -0400 (EDT) To: Match.Grun@thomson.com cc: pgsql-ports@postgresql.org Subject: Re: Horology Test Case Fails with Sun Compiler In-reply-to: <4AAF1740D046264BAD7CF21F81BADE5A02A85D85@tshuscodenmbx01.ERF.THOMSON.COM> References: <4AAF1740D046264BAD7CF21F81BADE5A02A85D85@tshuscodenmbx01.ERF.THOMSON.COM> Comments: In-reply-to message dated "Mon, 12 Jun 2006 15:00:35 -0600" Date: Mon, 12 Jun 2006 17:46:09 -0400 Message-ID: <12883.1150148769@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/5 X-Sequence-Number: 2446 writes: > --------------Cut here------------ > /opt/SUNWspro/prod/bin/fbe: "/tmp/yabeAAAHVaasb", line 279: error: can't > compute difference between symbols in different segments > Failure in /opt/SUNWspro/prod/bin/fbe, status = 0x100 > Fatal Error exec'ing /opt/SUNWspro/prod/bin/fbe > cc: acomp failed for s_lock.c > --------------Cut here------------ I believe this is the same issue reported by Alan Stange a month or so ago. You can just rip out the unused sparc assembly code in s_lock.c, as per the May 11/12 changes here: http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/lmgr/s_lock.c > After making this change I notice that the -fast option has been causing > the test cases to fail. This doesn't explain your horology problem, however. If -fast breaks that test then we need to qualify the advice in doc/FAQ_Solaris that suggests using -fast :-(. Can anyone else confirm the problem? Perhaps it is limited to certain versions of the Sun compiler? regards, tom lane