From owner-freebsd-current@FreeBSD.ORG Thu Dec 9 16:07:45 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE4D4106566C; Thu, 9 Dec 2010 16:07:45 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 591A68FC08; Thu, 9 Dec 2010 16:07:44 +0000 (UTC) X-Spam-Status: No X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-2.9, required 5, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_00 -1.90) X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-ID: oB9G7QlJ007015 Received: from gkeramidas-glaptop.linux.gr ([74.125.57.36]) (authenticated bits=0) by igloo.linux.gr (8.14.3/8.14.3/Debian-9.4) with ESMTP id oB9G7QlJ007015 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 9 Dec 2010 18:07:32 +0200 From: keramida@freebsd.org (Giorgos Keramidas) To: John Baldwin References: <4D00CDCE.8040509@gthcfoundation.org> <20101209131502.GM33073@deviant.kiev.zoral.com.ua> <201012091001.32727.jhb@freebsd.org> Date: Thu, 09 Dec 2010 17:07:26 +0100 In-Reply-To: <201012091001.32727.jhb@freebsd.org> (John Baldwin's message of "Thu, 9 Dec 2010 10:01:32 -0500") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Cc: Kostik Belousov , freebsd-current@freebsd.org, Etienne Robillard , Giorgos Keramidas Subject: Re: shared lib issue in /usr/obj? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Thu, 09 Dec 2010 16:07:45 -0000 On Thu, 9 Dec 2010 10:01:32 -0500, John Baldwin wrote: >> I don't have root access to an amd64 system to test this now, but I >> think all we need to change is: >> >> %%% >> $ hg diff . >> diff -r e52d3f3de04d Makefile.inc1 >> --- a/Makefile.inc1 Thu Dec 09 12:35:12 2010 +0100 >> +++ b/Makefile.inc1 Thu Dec 09 14:50:06 2010 +0100 >> @@ -318,7 +318,8 @@ LIB32WMAKEENV+= MAKEOBJDIRPREFIX=${OBJTR >> CXX="${CXX} ${LIB32FLAGS}" \ >> OBJC="${OBJC} ${LIB32FLAGS}" \ >> LIBDIR=/usr/lib32 \ >> - SHLIBDIR=/usr/lib32 >> + SHLIBDIR=/usr/lib32 \ >> + NO_FSCHG='' >> >> LIB32WMAKE= ${LIB32WMAKEENV} ${MAKE} -DNO_CPU_CFLAGS -DCOMPAT_32BIT \ >> -DWITHOUT_BIND -DWITHOUT_MAN -DWITHOUT_INFO \ >> $ >> %%% >> >> This should strip the -fschg option from lib32's installation commands. > > Does that affect the installed versions of the libraries in > /usr/lib32? Those should probably have schg set. I think it does. I'll have to rethink a bit about the best way to avoid schg for lib32 but only during buildworld.