Subject: ld.so now expects libc.so.12.4? (Was: libgcc won't build (960210))
To: None <thorpej@nas.nasa.gov>
From: Greg Earle <earle@isolar.Tujunga.CA.US>
List: current-users
Date: 02/29/1996 02:30:08
Jason said:
>>> cd /usr/src/gnu/usr.bin/gcc
>>> make
>>> [ build pukes on libgcc ]
>>> (cd cc; make install)
>>> (cd cc1; make install)
>>> (cd cc1obj; make install)
>>> (cd cc1plus; make install)
>>> (cd cpp; make install)
>>> (cd g++; make install)
>>> (cd libgcc; make; make install)
>>> (cd libobjc; make; make install)
>>> 
>>> *then* everything will be fine.
>> 
>> How is this different from what I've said ?
> 
> With the procedure you posted (cd /usr/src/gnu/usr.bin/gcc; make install; 
> cd /usr/src/; make), you would:
> 
> 	- fail to install gcc, because libgcc.a didn't exist,
> 	- if it did install, you'd be building binaries with
> 	  mismatched gcc/libgcc.a

Realizing I'm fighting a lost cause, I just did this.  The result is:

scipio# cd /usr/src/gnu/usr.bin/gcc
scipio# make
===> common
===> cc
===> cpp
===> cc1
===> cc1plus
===> cc1obj
===> g++
===> libgcc
cc -O -I/usr/src/gnu/usr.bin/gcc/libgcc/../common -I/usr/src/gnu/usr.bin/gcc/libgcc/../arch  -I/usr/src/gnu/usr.bin/gcc/libgcc/../arch/i386  -c -DL__gcc_bcmp -o __gcc_bcmp.o /usr/src/gnu/usr.bin/gcc/libgcc/libgcc2.c
/usr/src/gnu/usr.bin/gcc/libgcc/libgcc2.c:76: no data type for mode `XF'
/usr/src/gnu/usr.bin/gcc/libgcc/libgcc2.c:82: unknown machine mode `__word__'
*** Error code 1
[...]
scipio# (cd cc; make install)
install -c -s -o bin -g bin -m 555  gcc /usr/bin
install -c -o bin -g bin -m 444 gcc.cat1 /usr/share/man/cat1/gcc.0
/usr/share/man/cat1/cc.0 -> /usr/share/man/cat1/gcc.0
/usr/bin/cc -> /usr/bin/gcc
scipio# (cd cc1; make install)

[Various stuff gets installed for the next few commands]

scipio# (cd cc1obj; make install)
scipio# (cd cc1plus; make install)
scipio# (cd cpp; make install)
scipio# (cd g++; make install)
scipio# (cd libgcc; make; make install)
cc -O -I/usr/src/gnu/usr.bin/gcc/libgcc/../common -I/usr/src/gnu/usr.bin/gcc/libgcc/../arch  -I/usr/src/gnu/usr.bin/gcc/libgcc/../arch/i386  -c -DL__gcc_bcmp -o __gcc_bcmp.o /usr/src/gnu/usr.bin/gcc/libgcc/libgcc2.c
/usr/libexec/ld.so: warning: libc.so.12.3: minor version >= 4 expected, using it anyway
/usr/libexec/ld.so: warning: libc.so.12.3: minor version >= 4 expected, using it anyway
/usr/libexec/ld.so: warning: libc.so.12.3: minor version >= 4 expected, using it anyway

Everything I compile now - with the new "cc" in place - expects a libc.so.12.4
now?  I haven't seen anyone mention this ... is it A Problem?

	- Greg