From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jun 10 17:20:14 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A94981065673 for ; Fri, 10 Jun 2011 17:20:14 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 993538FC15 for ; Fri, 10 Jun 2011 17:20:14 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p5AHKEJe006480 for ; Fri, 10 Jun 2011 17:20:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p5AHKEWI006479; Fri, 10 Jun 2011 17:20:14 GMT (envelope-from gnats) Date: Fri, 10 Jun 2011 17:20:14 GMT Message-Id: <201106101720.p5AHKEWI006479@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: kandrew Cc: Subject: Re: ports/157014: devel/jam: does not compile on FreeBSD 9.0 CURRENT/amd64 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kandrew List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jun 2011 17:20:14 -0000 The following reply was made to PR ports/157014; it has been noted by GNATS. From: kandrew To: bug-followup@FreeBSD.org, ohartman@zedat.fu-berlin.de Cc: Subject: Re: ports/157014: devel/jam: does not compile on FreeBSD 9.0 CURRENT/amd64 Date: Fri, 10 Jun 2011 09:47:40 -0700 --=-HoUYMuNqxrgk22bPfQUL Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Hi! For me it compiles ok with compiler option -fno-strict-aliasing or at optimization level 1. I have created a patch to add the option specified above to the CFLAGS variable while compiling (patch is attached). Not sure if it is the right way to fix it, so any comments will be greatly appreciated --=-HoUYMuNqxrgk22bPfQUL Content-Disposition: attachment; filename="patch-Makefile2" Content-Type: text/x-patch; name="patch-Makefile2"; charset="UTF-8" Content-Transfer-Encoding: 7bit --- Makefile.orig 2011-06-10 08:30:54.000000000 +0000 +++ Makefile 2011-06-10 08:31:15.000000000 +0000 @@ -2,6 +2,7 @@ EXENAME = ./jam0 TARGET = -o $(EXENAME) +CFLAGS += -fno-strict-aliasing # Special flavors - uncomment appropriate lines --=-HoUYMuNqxrgk22bPfQUL--