Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Dec 2010 17:07:26 +0100
From:      keramida@freebsd.org (Giorgos Keramidas)
To:        John Baldwin <jhb@freebsd.org>
Cc:        Kostik Belousov <kostikbel@gmail.com>, freebsd-current@freebsd.org, Etienne Robillard <erob@gthcfoundation.org>, Giorgos Keramidas <keramida@freebsd.org>
Subject:   Re: shared lib issue in /usr/obj?
Message-ID:  <xeia1v5rhqv5.fsf@kobe.laptop>
In-Reply-To: <201012091001.32727.jhb@freebsd.org> (John Baldwin's message of "Thu, 9 Dec 2010 10:01:32 -0500")
References:  <4D00CDCE.8040509@gthcfoundation.org> <20101209131502.GM33073@deviant.kiev.zoral.com.ua> <xeiahbenhx4p.fsf@kobe.laptop> <201012091001.32727.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 9 Dec 2010 10:01:32 -0500, John Baldwin <jhb@freebsd.org> 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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xeia1v5rhqv5.fsf>