From owner-freebsd-ports-bugs@FreeBSD.ORG Thu May 17 13:00:11 2012 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 847D010656D9 for ; Thu, 17 May 2012 13:00:11 +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 3E3948FC0A for ; Thu, 17 May 2012 13:00:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q4HD0BYS007065 for ; Thu, 17 May 2012 13:00:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q4HD0BUg007064; Thu, 17 May 2012 13:00:11 GMT (envelope-from gnats) Resent-Date: Thu, 17 May 2012 13:00:11 GMT Resent-Message-Id: <201205171300.q4HD0BUg007064@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, Jeremie Le Hen Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9996A106566B; Thu, 17 May 2012 12:58:45 +0000 (UTC) (envelope-from jlh@felucia.tataz.chchile.org) Received: from smtp5-g21.free.fr (smtp5-g21.free.fr [IPv6:2a01:e0c:1:1599::14]) by mx1.freebsd.org (Postfix) with ESMTP id 58E7B8FC14; Thu, 17 May 2012 12:58:42 +0000 (UTC) Received: from endor.tataz.chchile.org (unknown [82.233.239.98]) by smtp5-g21.free.fr (Postfix) with ESMTP id B4A43D48132; Thu, 17 May 2012 14:58:37 +0200 (CEST) Received: from felucia.tataz.chchile.org (felucia.tataz.chchile.org [192.168.1.9]) by endor.tataz.chchile.org (Postfix) with ESMTP id 7B353B75; Thu, 17 May 2012 14:58:36 +0200 (CEST) Received: by felucia.tataz.chchile.org (Postfix, from userid 1000) id 611DF60891; Thu, 17 May 2012 12:58:36 +0000 (UTC) Message-Id: <20120517125836.611DF60891@felucia.tataz.chchile.org> Date: Thu, 17 May 2012 12:58:36 +0000 (UTC) From: Jeremie Le Hen To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: jlh@FreeBSD.org Subject: ports/168010: [exp-run] Please test libc.so as ld script with an exp run X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jeremie Le Hen List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 May 2012 13:00:11 -0000 >Number: 168010 >Category: ports >Synopsis: [exp-run] Please test libc.so as ld script with an exp run >Confidential: yes >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu May 17 13:00:10 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Jeremie Le Hen >Release: >Organization: >Environment: >Description: The attached patch turns libc.so into an ld script. This should fix the link-time error sometimes seen, where a binary is linked with -fstack-protector with a library that was compiled with this flag. >How-To-Repeat: >Fix: --- libc_ssp_nonshared.diff begins here --- Index: lib/libc/Makefile =================================================================== --- lib/libc/Makefile (revision 235518) +++ lib/libc/Makefile (working copy) @@ -30,6 +30,7 @@ CLEANFILES+=tags INSTALL_PIC_ARCHIVE= PRECIOUSLIB= +SHLIB_LDSCRIPT=libc.ldscript .ifndef NO_THREAD_STACK_UNWIND CANCELPOINTS_CFLAGS=-fexceptions Index: lib/libc/libc.ldscript =================================================================== --- lib/libc/libc.ldscript (revision 0) +++ lib/libc/libc.ldscript (working copy) @@ -0,0 +1,2 @@ +/* $FreeBSD$ */ +GROUP ( @@SHLIB@@ @@LIBDIR@@/libssp_nonshared.a ) Property changes on: lib/libc/libc.ldscript ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property --- libc_ssp_nonshared.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: