From owner-freebsd-hackers@FreeBSD.ORG Thu Aug 5 21:49:50 2010 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 756951065674 for ; Thu, 5 Aug 2010 21:49:50 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id D56ED8FC0C for ; Thu, 5 Aug 2010 21:49:49 +0000 (UTC) Received: by wyj26 with SMTP id 26so8853383wyj.13 for ; Thu, 05 Aug 2010 14:49:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:reply-to:date :message-id:subject:from:to:cc:content-type; bh=ySi0I2PXp3xKs39ccu5+RXeRNXdZUliuqBE4N6H/Eng=; b=G6KCegIjytbA46kJpP7mgBitXDS/qIgXVXiCk0rpE13vDYwjhafo4BHbj4DEz8+EmJ w6mEkPf+7T+++xH1dDXxJE8huaPYh5Xy0Ka3AoCGSM06x4GDC5bL2tfFQN5F5kJeI9Uq msSJN1G7uRpYTpsz0kXETpvXezSmZEBfTOVAo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:cc :content-type; b=qCeXytFTHi5A+dWey5Bq0rs3O0mINSOyRgWu0HYeLDj7EHCyaKv6FJo6PGWkAIl8Qb YB6F/Q5QyGyKSIb6MMbNN3H0jpc5GqvdSDUoPbXo4Aqh3A2qHRhMU8gmxNfPAx/YjBtU 8f/WGyUo/sK22QdL4+aDi8dlK/fx1DRL7roYk= MIME-Version: 1.0 Received: by 10.227.134.136 with SMTP id j8mr9812706wbt.206.1281044988612; Thu, 05 Aug 2010 14:49:48 -0700 (PDT) Received: by 10.216.183.212 with HTTP; Thu, 5 Aug 2010 14:49:48 -0700 (PDT) Date: Thu, 5 Aug 2010 21:49:48 +0000 Message-ID: From: "b. f." To: freebsd-hackers@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Cc: gerald@FreeBSD.org, Jeremie Le Hen Subject: Re: Add -lssp_nonshared to GCC's LIB_SPEC unconditionally X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bf1783@gmail.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Aug 2010 21:49:50 -0000 On Tue Aug 3 15:22:00 UTC 2010, Jeremie Le Hen wrote: ... >I therefore propose the following change to always link in >libssp_nonshared.a. I think this change is harmless when the symbol is >not needed in one of the objects linked together since the linker won't >pull in the library member "ssp-local.o" in the target object. Will this do the right thing when the base system is built WITHOUT_SSP? How about the case of WITHOUT_DYNAMICROOT/NOSHARED/NO_SHARED=yes, with and without this change? Are changes to the specs of the lang/gcc* ports needed? What about clang? b.