Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Sep 2013 17:27:24 -0400
From:      Mike Jakubik <mike.jakubik@intertainservices.com>
To:        FreeBSD current mailing list <current@freebsd.org>
Subject:   Cant build 32bit libraries
Message-ID:  <5227A5BC.3090202@intertainservices.com>

next in thread | raw e-mail | index | archive | help
Hello,

I'm trying to install 32 libraries or a resent snapshot, but i get this 
error.

/usr/src # make build32

...

===> kerberos5/liblibheimipcc (installincludes)
===> kerberos5/liblibheimipcs (installincludes)
cd /usr/src/usr.bin/lex/lib; MACHINE=i386 MACHINE_ARCH=i386 
MACHINE_CPU="i686 mmx sse sse2" MAKEOBJDIRPREFIX=/usr/obj/lib32 
_SHLIBDIRPREFIX=/usr/obj/usr/src/lib32 
_LDSCRIPTROOT=/usr/obj/usr/src/lib32  VERSION="FreeBSD 10.0-CURRENT 
amd64 1000051"  INSTALL="sh /usr/src/tools/install.sh" 
PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/legacy/bin:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin 
LIBDIR=/usr/lib32  SHLIBDIR=/usr/lib32  COMPILER_TYPE=clang make AS="as 
--32"  LD="ld -m elf_i386_fbsd -Y P,/usr/obj/usr/src/lib32/usr/lib32" 
CC="cc -m32 -march=native -DCOMPAT_32BIT  -isystem 
/usr/obj/usr/src/lib32/usr/include/ -L/usr/obj/usr/src/lib32/usr/lib32 
-B/usr/obj/usr/src/lib32/usr/lib32"  CXX="c++ -m32 -march=native 
-DCOMPAT_32BIT  -isystem /usr/obj/usr/src/lib32/usr/include/ 
-L/usr/obj/usr/src/lib32/usr/lib32 -B/usr/obj/usr/src/lib32/usr/lib32"  
DESTDIR=/usr/obj/usr/src/lib32 -DCOMPAT_32BIT  -DLIBRARIES_ONLY  
-DNO_CPU_CFLAGS  -DNO_CTF -DNO_LINT  -DWITHOUT_BIND -DWITHOUT_MAN 
-DWITHOUT_INFO -DWITHOUT_HTML DIRPRFX=usr.bin/lex/lib/ obj
cd /usr/src/lib/ncurses/ncurses;  WORLDTMP=/usr/obj/usr/src/tmp 
MAKEFLAGS="-m /usr/src/tools/build/mk  -m /usr/src/share/mk" 
MAKEOBJDIRPREFIX=/usr/obj/lib32 make SSP_CFLAGS= DESTDIR= 
DIRPRFX=lib/ncurses/ncurses/ -DNO_LINT -DNO_CPU_CFLAGS -DNO_WARNS 
-DNO_CTF  -DEARLY_BUILD build-tools
cd /usr/src/lib/ncurses/ncursesw;  WORLDTMP=/usr/obj/usr/src/tmp 
MAKEFLAGS="-m /usr/src/tools/build/mk  -m /usr/src/share/mk" 
MAKEOBJDIRPREFIX=/usr/obj/lib32 make SSP_CFLAGS= DESTDIR= 
DIRPRFX=lib/ncurses/ncursesw/ -DNO_LINT -DNO_CPU_CFLAGS -DNO_WARNS 
-DNO_CTF  -DEARLY_BUILD build-tools
cd /usr/src/lib/libmagic;  WORLDTMP=/usr/obj/usr/src/tmp MAKEFLAGS="-m 
/usr/src/tools/build/mk  -m /usr/src/share/mk" 
MAKEOBJDIRPREFIX=/usr/obj/lib32 make SSP_CFLAGS= DESTDIR= 
DIRPRFX=lib/libmagic/ -DNO_LINT -DNO_CPU_CFLAGS -DNO_WARNS -DNO_CTF 
-DEARLY_BUILD build-tools
cc -O2 -pipe -DMAGIC='"/usr/share/misc/magic"' -DHAVE_CONFIG_H 
-I/usr/src/lib/libmagic -I/usr/src/lib/libmagic/../../contrib/file 
-std=gnu99   -I/usr/obj/usr/src/tmp/legacy/usr/include -DCOMPILE_ONLY  
-L/usr/obj/usr/src/tmp/legacy/usr/lib -o mkmagic 
/usr/src/lib/libmagic/../../contrib/file/apprentice.c 
/usr/src/lib/libmagic/../../contrib/file/encoding.c 
/usr/src/lib/libmagic/../../contrib/file/funcs.c 
/usr/src/lib/libmagic/../../contrib/file/magic.c 
/usr/src/lib/libmagic/../../contrib/file/print.c  -lz -legacy
/usr/bin/ld: cannot find -legacy
cc: error: linker command failed with exit code 1 (use -v to see invocation)

10.0-CURRENT FreeBSD 10.0-CURRENT #1: Wed Sep  4 17:06:59 EDT 2013

Thanks.



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