make build/install world builds 32bit libraries without request
Mike Jakubik
mikej at rogers.com
Thu Dec 8 20:29:31 PST 2005
Kris Kennaway wrote:
> On Thu, Dec 08, 2005 at 11:20:56PM -0500, Mike Jakubik wrote:
>
>> Hi,
>>
>> I am updating a 5.4 system to 6-stable, and i noticed that buildworld is
>> building 32bit compatible libraries, as seen below:
>>
>> cc -m32 -march=athlon-xp -msse2 -mfancy-math-387 -DCOMPAT_32BIT
>> -I/usr/obj/usr/src/lib32/usr/include
>> -L/usr/obj/usr/src/lib32/usr/lib32 -B/usr/obj/usr/src/lib32/usr/lib32
>> -pg -O2 -fno-strict-aliasing -pipe -I/usr/src/lib/libc/include
>> -I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/i386
>> -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa -DINET6
>> -I/usr/obj/lib32/usr/src/lib/libc -DPOSIX_MISTAKE
>> -I/usr/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN
>> -I/usr/src/lib/libc/rpc -DYP -DHESIOD -Wsystem-headers -Werror -Wall
>> -Wno-format-y2k -Wno-uninitialized -c /usr/src/lib/libc/net/getifaddrs.c
>> -o getifaddrs.po
>>
>> Why is it doing this? I have not specified that i want or need any 32bit
>> compatibility.
>>
>
> Because you didn't turn it off (NO_LIB32).
>
> Kris
>
I see. Well i don't recall turning it on either. Can i simply make
installworld -DNO_LIB32 in that case? Also, to delete the existing 32bit
compatible files, is it safe to just remove /usr/lib32 ?
Thanks.
More information about the freebsd-amd64
mailing list