From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Aug 22 03:30:02 2008 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 6DD7C106566C for ; Fri, 22 Aug 2008 03:30:02 +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 44B298FC1C for ; Fri, 22 Aug 2008 03:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m7M3U1ka018888 for ; Fri, 22 Aug 2008 03:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m7M3U16v018887; Fri, 22 Aug 2008 03:30:01 GMT (envelope-from gnats) Resent-Date: Fri, 22 Aug 2008 03:30:01 GMT Resent-Message-Id: <200808220330.m7M3U16v018887@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, Douglas William Thrift Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 855C610656C3 for ; Fri, 22 Aug 2008 03:20:46 +0000 (UTC) (envelope-from douglas@slowhand.douglasthrift.net) Received: from slowhand.douglasthrift.net (slowhand.douglasthrift.net [69.55.236.40]) by mx1.freebsd.org (Postfix) with ESMTP id 458D28FC1D for ; Fri, 22 Aug 2008 03:20:46 +0000 (UTC) (envelope-from douglas@slowhand.douglasthrift.net) Received: from slowhand.douglasthrift.net (slowhand.douglasthrift.net [69.55.236.40]) by slowhand.douglasthrift.net (8.14.3/8.14.3) with ESMTP id m7M3KRdX025355 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 21 Aug 2008 20:20:27 -0700 (PDT) (envelope-from douglas@slowhand.douglasthrift.net) Received: (from douglas@localhost) by slowhand.douglasthrift.net (8.14.3/8.14.3/Submit) id m7M3KR8g025354; Thu, 21 Aug 2008 20:20:27 -0700 (PDT) (envelope-from douglas) Message-Id: <200808220320.m7M3KR8g025354@slowhand.douglasthrift.net> Date: Thu, 21 Aug 2008 20:20:27 -0700 (PDT) From: Douglas William Thrift To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/126727: Update port: devel/libexecinfo Fix on amd64 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Douglas William Thrift List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Aug 2008 03:30:02 -0000 >Number: 126727 >Category: ports >Synopsis: Update port: devel/libexecinfo Fix on amd64 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Aug 22 03:30:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Douglas William Thrift >Release: FreeBSD 7.0-STABLE-jc2 amd64 >Organization: >Environment: System: FreeBSD slowhand.douglasthrift.net 7.0-STABLE-jc2 FreeBSD 7.0-STABLE-jc2 #0: Thu Jun 26 21:33:03 PDT 2008 user@jail8.johncompanies.com:/usr/obj/usr/src/sys/jail8 amd64 >Description: The gcc builtin function __builtin_frame_address seems to need -fno-omit-frame-pointer to allow it to find the top of the stack. Without this libexecinfo can't correctly get a backtrace and instead causes a bus error. >How-To-Repeat: >Fix: This requires the fix for amd64/126543. --- libexecinfo.patch begins here --- diff -Nrux .svn -x work /usr/ports/devel/libexecinfo/Makefile libexecinfo/Makefile --- /usr/ports/devel/libexecinfo/Makefile 2006-06-29 06:21:47.000000000 -0700 +++ libexecinfo/Makefile 2008-08-21 20:00:14.707413640 -0700 @@ -20,6 +20,12 @@ MAKE_FLAGS= LIBDIR=${PREFIX}/lib \ INCLUDEDIR=${PREFIX}/include +.include + +.if ${ARCH} == "amd64" +CFLAGS+= -fno-omit-frame-pointer +.endif + PORTDOCS= README post-install: @@ -28,4 +34,4 @@ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} .endif -.include +.include --- libexecinfo.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: