From owner-freebsd-current@FreeBSD.ORG Tue Sep 17 21:56:39 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B41EEB15; Tue, 17 Sep 2013 21:56:39 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-we0-x235.google.com (mail-we0-x235.google.com [IPv6:2a00:1450:400c:c03::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2B1392677; Tue, 17 Sep 2013 21:56:39 +0000 (UTC) Received: by mail-we0-f181.google.com with SMTP id p61so5576820wes.40 for ; Tue, 17 Sep 2013 14:56:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=niVlMzYGdTmWUJckQcX9fNkeNOi0MgWi3aZVlgwahNs=; b=jKXe4URtj13VpcP1lnw9o0HFaguLvq1+z86XjnXDHeftwKcnqsxrAQLRQcH+dfVyVC XYGe2QqlZpDakXLBeFLaLBMyG5wuIvUoeDvi9uZhrXb6GSdd04SwYNCt7azn1qj086ws Di08XEN4lPgzu+ewABEFyBwKtwbs5rbt/7itDvGSqT6nzNFRY9VIh2yU6Xk12Ndg1+vk 213l4IDkTKzs/Sl/2UbzZKyVK3rgFKwlVLysfU3NDv94QuUUJVkUCNdIrJYzZMpqujWY uTlOQdv8cCfPfj7S+YuojpVcU0mLl08qwY4UabUh+PFAt5mvKqc4Kiy3tUSs41dnA9GJ juoQ== MIME-Version: 1.0 X-Received: by 10.180.211.206 with SMTP id ne14mr4340919wic.30.1379454997592; Tue, 17 Sep 2013 14:56:37 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.216.73.133 with HTTP; Tue, 17 Sep 2013 14:56:37 -0700 (PDT) In-Reply-To: References: Date: Tue, 17 Sep 2013 14:56:37 -0700 X-Google-Sender-Auth: bDeRoBWboAYoguv_rW9_9SOmcRQ Message-ID: Subject: Re: -ffunction-sections, -fdata-sections and -Wl,--gc-sections From: Adrian Chadd To: Ed Schouten Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Matthew Fleming , FreeBSD Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Sep 2013 21:56:39 -0000 ... I'd rather see if we can actually separate out things some more so these builds can shrink. Eg, if there's malloc related functions that aren't used, maybe we should break malloc down into a directory full of functions. I'm not surprised libc++ is doing .. that. It's likely better on the compile time to have things bundled up in one big source file. Sigh. -adrian