Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* upgrade to glibc-961111
@ 1996-11-17 19:19 Oleg Shein #2
  0 siblings, 0 replies; 3+ messages in thread
From: Oleg Shein #2 @ 1996-11-17 19:19 UTC (permalink / raw)


Hi,

after upgrading to glibc-961111 I have some troubles...
(I simply untarred from / glibc snapshot, and run ldconfig)

1. when I try to compile anything (for example linux-2.1.10)
I got this:

[root@piggy linux]# make boot
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -mno-fp-regs -DUTS_MACHINE='"alpha"' -c
-o init/version.o init/version.c
set -e; for i in kernel drivers mm fs net ipc lib arch/alpha/kernel arch/alpha/mm arch/alpha/lib arch/alpha/math-emu; do make -C $i; done
make[1]: Entering directory `/usr/src/linux/kernel '
make all_targets
make[2]: Entering directory `/usr/src/linux/kernel '
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -mno-fp-regs  -c -o dma.o dma.c
cc1: /tmp/cca00920.i: No such file or directory
cpp: output pipe has been closed
make[2]: *** [dma.o] Error 1
make[2]: Leaving directory `/usr/src/linux/kernel '
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux/kernel '
make: *** [linuxsubdirs] Error 2

2. mc can't enter some directories like /usr/lib and /var/tmp
it shows /usr/z|x and /var/~v instead ...

[root@piggy linux]# rpm -q mc
mc-3.2.10-1

3. awk complains on unresolved symbol

[root@piggy linux]# awk
awk: error in loading shared libraries
/lib/libm.so.6: undefined symbol: EDOM

4. sendmail can't start 
[root@piggy linux]# sendmail -bd
sendmail: error in loading shared libraries
: undefined symbol: res_search
[root@piggy linux]# rpm -q sendmail
sendmail-8.7.6-4

I boot with a kernel
[root@piggy linux]# uname -a
Linux piggy.kharkiv.net 2.1.1 #1 Wed Nov 13 19:37:48 EET 1996 alpha

or 2.0.25 with axp-diffs applied

My question is : is that enough to upgrade or should I
recompile from sources gcc, mc, awk or anything else?

Sincerely yours, Oleg Shein (#2)   

 KHARKIV-NET Hostmaster 
 voice/fax 380 572 400279

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: upgrade to glibc-961111
       [not found] <Pine.A32.3.95.961117210808.47885A-100000@nic.kharkiv.net>
@ 1996-11-17 22:39 ` Michal Jaegermann
  1996-11-18 15:16 ` Richard Henderson
  1 sibling, 0 replies; 3+ messages in thread
From: Michal Jaegermann @ 1996-11-17 22:39 UTC (permalink / raw)


> 
> 
> 2. mc can't enter some directories like /usr/lib and /var/tmp
> it shows /usr/z|x and /var/~v instead ...

This looks like the real problem.  For one reason or another something
messed up your file system and/or some library used to access it.
If things are not where they are supposed to be you cannot seriously
expect then a compiler will produce any meaningful output; hence these
'cc1: /tmp/cca00920.i: No such file or directory' messages.  To get a
somewhat better look at what is going on you may want to add '-v' to
compiler flags and see what this will tell.  You can expect all other
"funny" things of any kind to happen.

I hope that you have current backups, but did you try reboot with
forced fsck - for the start?  'strace sendmail -bd', for example
and if it will run, can also provide a valuable info.

  Michal

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: upgrade to glibc-961111
       [not found] <Pine.A32.3.95.961117210808.47885A-100000@nic.kharkiv.net>
  1996-11-17 22:39 ` upgrade to glibc-961111 Michal Jaegermann
@ 1996-11-18 15:16 ` Richard Henderson
  1 sibling, 0 replies; 3+ messages in thread
From: Richard Henderson @ 1996-11-18 15:16 UTC (permalink / raw)


> 1. when I try to compile anything (for example linux-2.1.10)
> I got this:
[...]
> cc1: /tmp/cca00920.i: No such file or directory

Hmm.  Can you run cc1 by hand?  Does it die on any input?

> 2. mc can't enter some directories like /usr/lib and /var/tmp
> it shows /usr/z|x and /var/~v instead ...

Any chance you could compile this with debugging info and
trace it?  A possibly culprit are the new string routines.

While I've put them through what I thought were exhaustive
tests, I still found bugs for cases that hadn't occurred
to me.  On the other hand, I have been using them in my own
libc for over a month now.

> 3. awk complains on unresolved symbol

Silly me made a change without testing, ah well.

> 4. sendmail can't start 
> [root@piggy linux]# sendmail -bd
> sendmail: error in loading shared libraries
> : undefined symbol: res_search

This one is just going to have to be recompiled.  Ulrich changed
the external symbol to __res_search so that he could load the
library without infringing on namespaces.

I'm currently having problems with the FSF machine getting patches
(I'm a week behind now) but after that's worked out I'll do another
release and fix at least the silliness I know about.

r~

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1996-11-18 15:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <Pine.A32.3.95.961117210808.47885A-100000@nic.kharkiv.net>
1996-11-17 22:39 ` upgrade to glibc-961111 Michal Jaegermann
1996-11-18 15:16 ` Richard Henderson
1996-11-17 19:19 Oleg Shein #2

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox