From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Jul 25 13:00:10 2009 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 43F1E1065672 for ; Sat, 25 Jul 2009 13:00:10 +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 F19BC8FC1C for ; Sat, 25 Jul 2009 13:00:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n6PD09fo013184 for ; Sat, 25 Jul 2009 13:00:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n6PD092M013183; Sat, 25 Jul 2009 13:00:09 GMT (envelope-from gnats) Resent-Date: Sat, 25 Jul 2009 13:00:09 GMT Resent-Message-Id: <200907251300.n6PD092M013183@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Helge Oldach Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D7600106566B for ; Sat, 25 Jul 2009 12:53:42 +0000 (UTC) (envelope-from hmo@sep.oldach.net) Received: from rigel.oldach.net (rigel.oldach.net [194.8.96.250]) by mx1.freebsd.org (Postfix) with ESMTP id 69F8A8FC13 for ; Sat, 25 Jul 2009 12:53:42 +0000 (UTC) (envelope-from hmo@sep.oldach.net) Received: from sep.oldach.net (p548F876A.dip0.t-ipconnect.de [84.143.135.106]) by rigel.oldach.net (8.14.3/8.14.3/hmo30jul04) with ESMTP id n6PCp3we037757 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 25 Jul 2009 14:51:10 +0200 (CEST) (envelope-from hmo@sep.oldach.net) Received: from sep.oldach.net (localhost [127.0.0.1]) by sep.oldach.net (8.14.3/8.14.3/hmo26jun05) with ESMTP id n6PCp2G2093481 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 25 Jul 2009 14:51:02 +0200 (CEST) (envelope-from hmo@sep.oldach.net) Received: (from hmo@localhost) by sep.oldach.net (8.14.3/8.14.3/Submit/hmo26jun05) id n6PCp2j4093480; Sat, 25 Jul 2009 14:51:02 +0200 (CEST) (envelope-from hmo) Message-Id: <200907251251.n6PCp2j4093480@sep.oldach.net> Date: Sat, 25 Jul 2009 14:51:02 +0200 (CEST) From: Helge Oldach To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: arensb+freebsd-ports@ooblick.com Subject: ports/137124: [patch] ports/palm/coldsync segfaults with gcc 4.x X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Helge Oldach List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jul 2009 13:00:10 -0000 >Number: 137124 >Category: ports >Synopsis: [patch] ports/palm/coldsync segfaults with gcc 4.x >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jul 25 13:00:09 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Helge Oldach >Release: FreeBSD 7.2-721 i386 >Organization: >Environment: System: FreeBSD localhost 7.2-721 FreeBSD 7.2-721 #0: Fri Jul 24 17:03:02 CEST 2009 toor@localhost:/usr/obj/usr/src/sys/HMO i386 >Description: coldsync segfaults when compiled with -O1 or above, using gcc 4.x (i.e. on FreeBSD 7 and above). Apparently this is one of the known optimization issues introduced with gcc 4 that are covered by similar handling in the ports tree. >How-To-Repeat: >Fix: Disable optimization. --- ports/palm/coldsync/Makefile.ctm 2008-06-06 23:20:13.000000000 +0200 +++ ports/palm/coldsync/Makefile 2009-07-25 14:24:00.000000000 +0200 @@ -54,7 +54,7 @@ .include -CFLAGS+= -D__BSD_VISIBLE=1 +CFLAGS+= -O0 -D__BSD_VISIBLE=1 CONFIGURE_ARGS+= --disable-pedantic --without-perl --with-usb post-patch: >Release-Note: >Audit-Trail: >Unformatted: