* Re: glibc upgrade advice?
@ 1997-01-23 16:53 Ulrich Drepper
0 siblings, 0 replies; 10+ messages in thread
From: Ulrich Drepper @ 1997-01-23 16:53 UTC (permalink / raw)
Philip Blundell <pjb27@cam.ac.uk> writes:
> > How shall I go about dealing with this problem?
>
> If there are incompatibilities, we should change glibc so that the nss
> libraries also have sonames like 'libnss_files.so.1.1' or something.
For Alpha probably all number must be increased. It must not
be a problem and since most people running Linux/Alpha today will
probably have a RedHat based system the update will hopefully remove
all references to the old libc and other libs so that these can be
removed soon.
-- Uli
---------------. drepper@cygnus.com ,-. Rubensstrasse 5
Ulrich Drepper \ ,-------------------' \ 76149 Karlsruhe/Germany
Cygnus Solutions `--' drepper@gnu.ai.mit.edu `------------------------
--
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] 10+ messages in thread
[parent not found: <Pine.SOL.3.95.970123130943.7778I-100000@hammer.thor.cam.ac.uk>]
* Re: glibc upgrade advice?
[not found] <Pine.SOL.3.95.970123130943.7778I-100000@hammer.thor.cam.ac.uk>
@ 1997-01-23 18:24 ` Richard Henderson
0 siblings, 0 replies; 10+ messages in thread
From: Richard Henderson @ 1997-01-23 18:24 UTC (permalink / raw)
> Oh dear. It sounds as if libnss* could perhaps have done with a soname
> bump as well.
Dear indeed. I'd been hoping to avoid bumping _all_ of the numbers.
Things like ld.so, libdl, and I thought libnss* wouldn't be doing
bits with the changed types and wouldn't have been affected, but
I forgot they have references to libc.so.6*.
I'll discuss a possible alternate solution with Ulrich. Perhaps we
can avoid bumping all the numbers yet, but...
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] 10+ messages in thread
[parent not found: <Pine.LNX.3.95.970123080817.1234B-100000@air.steve.net>]
* Re: glibc upgrade advice?
[not found] <Pine.LNX.3.95.970123080817.1234B-100000@air.steve.net>
@ 1997-01-23 13:16 ` Philip Blundell
0 siblings, 0 replies; 10+ messages in thread
From: Philip Blundell @ 1997-01-23 13:16 UTC (permalink / raw)
On Thu, 23 Jan 1997, Steven N. Hirsch wrote:
> Immediately after posting my previous response, I remembered what the
> "gotcha" was! With the new libraries installed in /lib, getpwent() and
> friends become completely broken. Many tools fail because they are
> unable to map uid to user name (and vice-versa). Because of this, I was
> not actually able to build anything.
Oh dear. It sounds as if libnss* could perhaps have done with a soname
bump as well.
> How shall I go about dealing with this problem?
If there are incompatibilities, we should change glibc so that the nss
libraries also have sonames like 'libnss_files.so.1.1' or something.
Richard, do you agree? There is not much point bumping the soname on libc
if binary compatibility has been broken in other places too.
As an interim solution, it's worth remembering that the libraries that are
linked against are /usr/lib/lib*.so, and don't have to be the same as the
ones you're running. So, theoretically, with a bit of care you could
rebuild everything against new libraries while still running the old ones.
I suggest you hang on to see what Richard has to say though.
phil
--
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] 10+ messages in thread
[parent not found: <Pine.SOL.3.95.970123122351.7778F-100000@hammer.thor.cam.ac.uk>]
* Re: glibc upgrade advice?
[not found] <Pine.SOL.3.95.970123122351.7778F-100000@hammer.thor.cam.ac.uk>
@ 1997-01-23 13:07 ` Steven N. Hirsch
1997-01-23 13:11 ` Steven N. Hirsch
1 sibling, 0 replies; 10+ messages in thread
From: Steven N. Hirsch @ 1997-01-23 13:07 UTC (permalink / raw)
On Thu, 23 Jan 1997, Philip Blundell wrote:
> On Thu, 23 Jan 1997, Steven N. Hirsch wrote:
>
> > After coaxing the latest Alpha glibc-1.102 into compilation, I am stuck
> > with regard to rebuilding all the existing system software. Numerous
> > existing utilities are (apparently) hard-coded into requiring libc.so.6,
> > while the new glibc is libc.so.6.1.
> >
> > My question is, how can I rationally rebuild bash, login and friends on an
> > Alpha which only boots and functions under libc.so.6, yet have the
> > resulting object files correctly link and run against libc.so.6.1?
>
> If /usr/lib/libc.so was installed correctly, you should find that any new
> binaries you build get linked against libc.so.6.1 automatically. Have you
> actually tried to build anything?
>
> P.
Really? Hmm. I may have confused myself. I'll try it again.
Steve
--
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] 10+ messages in thread* Re: glibc upgrade advice?
[not found] <Pine.SOL.3.95.970123122351.7778F-100000@hammer.thor.cam.ac.uk>
1997-01-23 13:07 ` Steven N. Hirsch
@ 1997-01-23 13:11 ` Steven N. Hirsch
1 sibling, 0 replies; 10+ messages in thread
From: Steven N. Hirsch @ 1997-01-23 13:11 UTC (permalink / raw)
On Thu, 23 Jan 1997, Philip Blundell wrote:
> On Thu, 23 Jan 1997, Steven N. Hirsch wrote:
>
> > After coaxing the latest Alpha glibc-1.102 into compilation, I am stuck
> > with regard to rebuilding all the existing system software. Numerous
> > existing utilities are (apparently) hard-coded into requiring libc.so.6,
> > while the new glibc is libc.so.6.1.
> >
> > My question is, how can I rationally rebuild bash, login and friends on an
> > Alpha which only boots and functions under libc.so.6, yet have the
> > resulting object files correctly link and run against libc.so.6.1?
>
> If /usr/lib/libc.so was installed correctly, you should find that any new
> binaries you build get linked against libc.so.6.1 automatically. Have you
> actually tried to build anything?
Immediately after posting my previous response, I remembered what the
"gotcha" was! With the new libraries installed in /lib, getpwent() and
friends become completely broken. Many tools fail because they are
unable to map uid to user name (and vice-versa). Because of this, I was
not actually able to build anything.
How shall I go about dealing with this problem?
Steve
--
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] 10+ messages in thread
[parent not found: <Pine.LNX.3.95.970123130954.889A-100000@nova.campus.luth.se>]
* Re: glibc upgrade advice?
[not found] <Pine.LNX.3.95.970123130954.889A-100000@nova.campus.luth.se>
@ 1997-01-23 12:59 ` Philip Blundell
0 siblings, 0 replies; 10+ messages in thread
From: Philip Blundell @ 1997-01-23 12:59 UTC (permalink / raw)
On Thu, 23 Jan 1997, Mikael Nykvist wrote:
> On Thu, 23 Jan 1997, Steven N. Hirsch wrote:
> > After coaxing the latest Alpha glibc-1.102 into compilation, I am stuck
> > with regard to rebuilding all the existing system software. Numerous
> > existing utilities are (apparently) hard-coded into requiring libc.so.6,
> > while the new glibc is libc.so.6.1.
>
> Usually there exists symlinks to differnt names, like
>
> libc.so.6.1 -> libc.so.6
> libc.so -> libc.so.6
>
> would probably fix it (and a ldconfig ofcourse)
No, don't do this.
lib.so.6.1 is not just a minor release of libc.so.6. The soname is
different because incompatible changes have happened. Your binaries will
not work if you try to use libc.so.6.1 as libc.so.6, or vice versa.
P.
--
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] 10+ messages in thread
[parent not found: <Pine.LNX.3.95.970123070107.1179A-100000@air.steve.net>]
* Re: glibc upgrade advice?
[not found] <Pine.LNX.3.95.970123070107.1179A-100000@air.steve.net>
@ 1997-01-23 12:11 ` Mikael Nykvist
1997-01-23 12:25 ` Philip Blundell
1997-01-23 15:06 ` Richard Henderson
2 siblings, 0 replies; 10+ messages in thread
From: Mikael Nykvist @ 1997-01-23 12:11 UTC (permalink / raw)
On Thu, 23 Jan 1997, Steven N. Hirsch wrote:
> After coaxing the latest Alpha glibc-1.102 into compilation, I am stuck
> with regard to rebuilding all the existing system software. Numerous
> existing utilities are (apparently) hard-coded into requiring libc.so.6,
> while the new glibc is libc.so.6.1.
Usually there exists symlinks to differnt names, like
libc.so.6.1 -> libc.so.6
libc.so -> libc.so.6
would probably fix it (and a ldconfig ofcourse)
/Mikael
--
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] 10+ messages in thread* Re: glibc upgrade advice?
[not found] <Pine.LNX.3.95.970123070107.1179A-100000@air.steve.net>
1997-01-23 12:11 ` Mikael Nykvist
@ 1997-01-23 12:25 ` Philip Blundell
1997-01-23 15:06 ` Richard Henderson
2 siblings, 0 replies; 10+ messages in thread
From: Philip Blundell @ 1997-01-23 12:25 UTC (permalink / raw)
On Thu, 23 Jan 1997, Steven N. Hirsch wrote:
> After coaxing the latest Alpha glibc-1.102 into compilation, I am stuck
> with regard to rebuilding all the existing system software. Numerous
> existing utilities are (apparently) hard-coded into requiring libc.so.6,
> while the new glibc is libc.so.6.1.
>
> My question is, how can I rationally rebuild bash, login and friends on an
> Alpha which only boots and functions under libc.so.6, yet have the
> resulting object files correctly link and run against libc.so.6.1?
If /usr/lib/libc.so was installed correctly, you should find that any new
binaries you build get linked against libc.so.6.1 automatically. Have you
actually tried to build anything?
P.
--
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] 10+ messages in thread* Re: glibc upgrade advice?
[not found] <Pine.LNX.3.95.970123070107.1179A-100000@air.steve.net>
1997-01-23 12:11 ` Mikael Nykvist
1997-01-23 12:25 ` Philip Blundell
@ 1997-01-23 15:06 ` Richard Henderson
2 siblings, 0 replies; 10+ messages in thread
From: Richard Henderson @ 1997-01-23 15:06 UTC (permalink / raw)
> After coaxing the latest Alpha glibc-1.102 into compilation, I am stuck
> with regard to rebuilding all the existing system software. Numerous
> existing utilities are (apparently) hard-coded into requiring libc.so.6,
> while the new glibc is libc.so.6.1.
Indeed. Programs remember what version of the library that they
were compiled against. As of the 970104 snapshot, several of the
basic types like sigset_t and dev_t changed size, and sanity
required that the library version be changed.
> My question is, how can I rationally rebuild bash, login and friends on an
> Alpha which only boots and functions under libc.so.6, yet have the
> resulting object files correctly link and run against libc.so.6.1?
You pretty much have to do this in a chroot'ed environment. You'll
need to install glibc to a test directory, build staticly linked
versions of bask, make, gcc, binutils, and other utilities and install
them in there as well. Then you chroot to the test directory and
you have an environment only using libc.so.6.1.
Once you've verified that everything seems to be working fine after
having rebuilt the basics of your system, you can overwrite your
main system and start rebuilding the rest.
It isn't particularly complicated, but it is tedious and unless you've
got some time and patience don't even try.
> BTW, "test-canon" still fails on the completed libc.so.6.1.
From previous examination, I think the failure is in test-canon rather
than libc.
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] 10+ messages in thread
* Re: ld upgrade.
@ 1997-01-23 6:26 Richard Henderson
1997-01-23 12:05 ` glibc upgrade advice? Steven N. Hirsch
0 siblings, 1 reply; 10+ messages in thread
From: Richard Henderson @ 1997-01-23 6:26 UTC (permalink / raw)
> When last we communicated, I understood that a new
> binutil-2.7.0-5.tar.gz was going up to ftp.redhat.com. I can't find it.
> I've looked under updates, devel and RedHat-4.0 Is it around?
The bit distinguishing itself from the rather more official binutils-2.7
and calling itself binutils-2.7.0.x is maintained by H.J. Lu and resides
on sunsite and tsx-11.
The relevant patches to the gas/binutils snapshots is in
ftp://ftp.redhat.com/pub/alphabits/
and if I remember right there are even some binaries there too.
> We need to be able to link a large binary, but I'm concerned about the
> possibility of it turning into a Giant Time Sink...
It shouldn't be _too_ bad. You do have to use a different libgcc.a
and crt*.o, as there are unfortunate bugs in the older as, but those
could be provided.
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] 10+ messages in thread
* glibc upgrade advice?
1997-01-23 6:26 ld upgrade Richard Henderson
@ 1997-01-23 12:05 ` Steven N. Hirsch
0 siblings, 0 replies; 10+ messages in thread
From: Steven N. Hirsch @ 1997-01-23 12:05 UTC (permalink / raw)
Richard,
After coaxing the latest Alpha glibc-1.102 into compilation, I am stuck
with regard to rebuilding all the existing system software. Numerous
existing utilities are (apparently) hard-coded into requiring libc.so.6,
while the new glibc is libc.so.6.1.
My question is, how can I rationally rebuild bash, login and friends on an
Alpha which only boots and functions under libc.so.6, yet have the
resulting object files correctly link and run against libc.so.6.1?
It seems like a situation of "can't get there from here.."! Any advice
from you or others on the list would be much appreciated.
BTW, "test-canon" still fails on the completed libc.so.6.1, but I'm not
sure if this is of concern, as the same source fails on my Intel box when
compiled against libc.so.5.
Thanks for any input you may have time to provide.
Steve
--
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] 10+ messages in thread
end of thread, other threads:[~1997-01-23 18:24 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-01-23 16:53 glibc upgrade advice? Ulrich Drepper
[not found] <Pine.SOL.3.95.970123130943.7778I-100000@hammer.thor.cam.ac.uk>
1997-01-23 18:24 ` Richard Henderson
[not found] <Pine.LNX.3.95.970123080817.1234B-100000@air.steve.net>
1997-01-23 13:16 ` Philip Blundell
[not found] <Pine.SOL.3.95.970123122351.7778F-100000@hammer.thor.cam.ac.uk>
1997-01-23 13:07 ` Steven N. Hirsch
1997-01-23 13:11 ` Steven N. Hirsch
[not found] <Pine.LNX.3.95.970123130954.889A-100000@nova.campus.luth.se>
1997-01-23 12:59 ` Philip Blundell
[not found] <Pine.LNX.3.95.970123070107.1179A-100000@air.steve.net>
1997-01-23 12:11 ` Mikael Nykvist
1997-01-23 12:25 ` Philip Blundell
1997-01-23 15:06 ` Richard Henderson
-- strict thread matches above, loose matches on Subject: below --
1997-01-23 6:26 ld upgrade Richard Henderson
1997-01-23 12:05 ` glibc upgrade advice? Steven N. Hirsch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox