From owner-freebsd-amd64@FreeBSD.ORG Tue Jun 13 10:34:49 2006 Return-Path: X-Original-To: freebsd-amd64@FreeBSD.org Delivered-To: freebsd-amd64@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C9FAC16A418 for ; Tue, 13 Jun 2006 10:34:49 +0000 (UTC) (envelope-from peter.thoenen@yahoo.com) Received: from web51907.mail.yahoo.com (web51907.mail.yahoo.com [206.190.48.70]) by mx1.FreeBSD.org (Postfix) with SMTP id 0358343D48 for ; Tue, 13 Jun 2006 10:34:48 +0000 (GMT) (envelope-from peter.thoenen@yahoo.com) Received: (qmail 15334 invoked by uid 60001); 13 Jun 2006 10:34:48 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=KaNSTD+m9PKqpQhFa9p26dy8YlfEevlMMD3d0kDscyNVOaR68fppr78L45YK0F6VOWfV1sqacn0x8IOLosd+CUTFc287ZCCX8YYvTACHooET7UvuMbPtTJ2bXRzqw2QZxWw8pZss5ZYoJ0cwAtbcj09yqGbm3g+BTx2yHEmV1jg= ; Message-ID: <20060613103448.15332.qmail@web51907.mail.yahoo.com> Received: from [217.75.202.170] by web51907.mail.yahoo.com via HTTP; Tue, 13 Jun 2006 03:34:48 PDT Date: Tue, 13 Jun 2006 03:34:48 -0700 (PDT) From: Peter Thoenen To: Kris Kennaway , Andrew Reilly In-Reply-To: <20060613030741.GA79016@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-amd64@FreeBSD.org Subject: Re: amd64/98893: cc error at -O2 on amd64/6-STABLE compiling port ucspi-tcp X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: eol1@yahoo.com List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jun 2006 10:34:49 -0000 I am to lazy to reply to the PR database (as its PITA w/ yahoo) but here is the fix. I notified the maintaier of this MONTHS AGO. Date: Sun, 5 Mar 2006 21:27:43 -0800 (PST) From: "Peter Thoenen" Add to Address Book Add Mobile Alert Subject: FreeBSD Port: ucspi-tcp 0.88_2 - BROKE ON AMD64 - Fix Included To: dom@happygiraffe.net Howdy. tcpserv is broke on AMD64. Been struggling with this for weeks thinking it was me and then finally found the following post: http://forum.qmailrocks.org/showthread.php?t=1822&page=2&pp=10 Attempted the fix locally and working just fine now. The prob has to do with the cflags in conf-cc and your cflags patch doesn't help (attempted with an empty /etc/make.conf and still getting -O2). Simple fix is just to comment out your conf-cc post-extract: option and then manually patch conf-cc (-gcc -O2, +gcc). Not pretty (nor does it respect user cflags) but works and is a required workaround for AMD64