From owner-freebsd-current@FreeBSD.ORG Mon Nov 25 04:42:03 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 ESMTPS id 2D647A88; Mon, 25 Nov 2013 04:42:03 +0000 (UTC) Received: from pozo.com (pozo.com [50.197.129.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 06CF129C7; Mon, 25 Nov 2013 04:42:02 +0000 (UTC) Received: from T61p.pozo.com (t61p.pozo.com [192.168.0.4]) (authenticated bits=0) by pozo.com (8.14.7/8.14.7) with ESMTP id rAP4freb002330 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NOT); Sun, 24 Nov 2013 20:41:54 -0800 (PST) (envelope-from null@pozo.com) Message-Id: <201311250441.rAP4freb002330@pozo.com> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Sun, 24 Nov 2013 20:41:48 -0800 To: Glen Barber From: Manfred Antar Subject: Re: Buildworld broken with WITHOUT_DYNAMICROOT=yes in src.conf In-Reply-To: <20131125041724.GA2310@glenbarber.us> References: <201311250111.rAP1BuI0009520@pozo.com> <20131125011949.GC1627@glenbarber.us> <20131125012302.GD1627@glenbarber.us> <201311250129.rAP1TJfQ033437@pozo.com> <20131125041724.GA2310@glenbarber.us> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-2.4 required=5.0 tests=ALL_TRUSTED,BAYES_00, MISSING_MID,URIBL_BLOCKED autolearn=no version=3.3.2, No X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on pozo.com X-pozocom-MailScanner-Information: Please contact the ISP for more information X-pozocom-MailScanner-ID: rAP4freb002330 X-pozocom-MailScanner: Found to be clean X-pozocom-MailScanner-From: null@pozo.com Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.16 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: Mon, 25 Nov 2013 04:42:03 -0000 At 08:17 PM 11/24/2013, Glen Barber wrote: >On Sun, Nov 24, 2013 at 05:29:14PM -0800, Manfred Antar wrote: >> adding -lc_nonshared to LAAD enables me to build /bin and /sbin statically >> /bin/csh/Makefile was the only one I had to change all the rest of /bin and /sbin built fine >> > >Hmm, I'm not sure if bin/csh/ should require -c_nonshared >unconditionally. > >I've done some testing with WITHOUT_DYNAMICROOT=1, WITHOUT_ICONV=1, >WITH_ICONV=1, WITH_DYNAMICROOT=1, and am getting different results with >regard to what iconv_*() are included... > >Glen > > I think it only needs it if you want a static csh. my src.conf : #WITHOUT_DYNAMICROOT=yes WITH_IDEA=yes # Don't die on warnings NO_WERROR= WERROR= WITH_GCC=yes WITH_GNUCXX=yes can you some kind of conditional if WITHOUT_DYNAMICROOT=yes then LADD+= -lc_nonshared ======================== || null@pozo.com || || || ========================