How to use older libs in 32bit mode?

Jean-Yves Avenard jean-yves.avenard at hydrix.com
Sat Nov 27 06:30:55 PST 2004


Hello
On 27/11/2004, at 7:38 AM, Peter Wemm wrote:

> I've merged some of the changes (rtld-elf/reloc.c and
> libc/i386/gen/_set_tp.c), and removed build32.sh from RELENG_5.  If you
> were to build a new set of libraries, I expect it will work now.
> libc_r threaded binaries might work, but libthr  and libpthread
> binaries will not.  If you need to run something threaded, you can set
> libmap32.conf to remap all libthr or libpthread references into libc_r.
>

did a make update this morning and I saw your changes; now buildworld 
doesn't compile anymore !

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 
-O -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/i386/gen/_set_tp.c
/usr/src/lib/libc/i386/gen/_set_tp.c: In function `_set_tp':
/usr/src/lib/libc/i386/gen/_set_tp.c:54: warning: implicit declaration 
of function `_amd64_set_gsbase'
*** Error code 1

Stop in /usr/src/lib/libc.

---
Jean-Yves Avenard
Hydrix Pty Ltd - Embedding the net
www.hydrix.com | fax +61 3 9572 2686 | phone +61 3 9572 0686 ext 100
VoIP: direct: 100 at voip.hydrix.com, general: info at voip.hydrix.com



More information about the freebsd-amd64 mailing list