* Upgrading glibc
@ 2003-03-24 2:37 T. Ford
2003-03-24 10:56 ` Måns Rullgård
0 siblings, 1 reply; 13+ messages in thread
From: T. Ford @ 2003-03-24 2:37 UTC (permalink / raw)
Hey,
Does anyone know if its possible to upgrade glibc from 2.2.4 to 2.2.5
without hosing things? I've built the updated rpms for RH 7.3 and am
currently running RH 7.2 from Compaq. I installed them once but it of
course hosed things so I had to use the rescue option on the boot cd to get
a statically compiled version of rpm to uninstall them and reinstall the 7.2
versions.
Thanks,
Torin
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Upgrading glibc
2003-03-24 2:37 Upgrading glibc T. Ford
@ 2003-03-24 10:56 ` Måns Rullgård
2003-03-24 15:05 ` T. Ford
2003-03-26 2:00 ` jpeg
0 siblings, 2 replies; 13+ messages in thread
From: Måns Rullgård @ 2003-03-24 10:56 UTC (permalink / raw)
"T. Ford" <torinf@qwest.net> writes:
> Does anyone know if its possible to upgrade glibc from 2.2.4 to 2.2.5
> without hosing things? I've built the updated rpms for RH 7.3 and am
> currently running RH 7.2 from Compaq. I installed them once but it of
> course hosed things so I had to use the rescue option on the boot cd to get
> a statically compiled version of rpm to uninstall them and reinstall the 7.2
> versions.
I upgraded from 2.2.3 to 2.2.5 from source without any problems.
--
M�ns Rullg�rd
mru@users.sf.net
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Upgrading glibc
2003-03-24 10:56 ` Måns Rullgård
@ 2003-03-24 15:05 ` T. Ford
2003-03-24 16:49 ` Måns Rullgård
2003-03-26 2:00 ` jpeg
1 sibling, 1 reply; 13+ messages in thread
From: T. Ford @ 2003-03-24 15:05 UTC (permalink / raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 739 bytes --]
So you didn't use RPMS then? I would like to use RPMS if possible.
Torin
"M�ns Rullg�rd" <mru@users.sourceforge.net> wrote in message
news:yw1xznnlyqvk.fsf@zaphod.guide...
> "T. Ford" <torinf@qwest.net> writes:
>
> > Does anyone know if its possible to upgrade glibc from 2.2.4 to 2.2.5
> > without hosing things? I've built the updated rpms for RH 7.3 and am
> > currently running RH 7.2 from Compaq. I installed them once but it of
> > course hosed things so I had to use the rescue option on the boot cd to
get
> > a statically compiled version of rpm to uninstall them and reinstall the
7.2
> > versions.
>
> I upgraded from 2.2.3 to 2.2.5 from source without any problems.
>
> --
> M�ns Rullg�rd
> mru@users.sf.net
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Upgrading glibc
2003-03-24 15:05 ` T. Ford
@ 2003-03-24 16:49 ` Måns Rullgård
2003-03-24 17:27 ` T. Ford
0 siblings, 1 reply; 13+ messages in thread
From: Måns Rullgård @ 2003-03-24 16:49 UTC (permalink / raw)
"T. Ford" <tford@venturiNoSPAMpartners.com> writes:
> > > Does anyone know if its possible to upgrade glibc from 2.2.4 to 2.2.5
> > > without hosing things? I've built the updated rpms for RH 7.3 and am
> > > currently running RH 7.2 from Compaq. I installed them once but it of
> > > course hosed things so I had to use the rescue option on the boot cd to
> get
> > > a statically compiled version of rpm to uninstall them and reinstall the
> 7.2
> > > versions.
> >
> > I upgraded from 2.2.3 to 2.2.5 from source without any problems.
>
> So you didn't use RPMS then? I would like to use RPMS if possible.
No, I don't use redhat.
--
M�ns Rullg�rd
mru@users.sf.net
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Upgrading glibc
2003-03-24 16:49 ` Måns Rullgård
@ 2003-03-24 17:27 ` T. Ford
2003-03-24 19:10 ` Andrew Schultz
2003-03-25 1:26 ` Måns Rullgård
0 siblings, 2 replies; 13+ messages in thread
From: T. Ford @ 2003-03-24 17:27 UTC (permalink / raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1043 bytes --]
I think the biggest problem I found was that the symlinks are the same in
2.2.5 as they were in 2.2.4. Did you not see that the links for libc.so.6.1
(I think that's the right one) were being overwritten?
"M�ns Rullg�rd" <mru@users.sourceforge.net> wrote in message
news:yw1xsmtc4slu.fsf@manganonaujakasit.e.kth.se...
> "T. Ford" <tford@venturiNoSPAMpartners.com> writes:
>
> > > > Does anyone know if its possible to upgrade glibc from 2.2.4 to
2.2.5
> > > > without hosing things? I've built the updated rpms for RH 7.3 and
am
> > > > currently running RH 7.2 from Compaq. I installed them once but it
of
> > > > course hosed things so I had to use the rescue option on the boot cd
to
> > get
> > > > a statically compiled version of rpm to uninstall them and reinstall
the
> > 7.2
> > > > versions.
> > >
> > > I upgraded from 2.2.3 to 2.2.5 from source without any problems.
> >
> > So you didn't use RPMS then? I would like to use RPMS if possible.
>
> No, I don't use redhat.
>
> --
> M�ns Rullg�rd
> mru@users.sf.net
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Upgrading glibc
2003-03-24 17:27 ` T. Ford
@ 2003-03-24 19:10 ` Andrew Schultz
2003-03-25 1:26 ` Måns Rullgård
1 sibling, 0 replies; 13+ messages in thread
From: Andrew Schultz @ 2003-03-24 19:10 UTC (permalink / raw)
T. Ford wrote:
> I think the biggest problem I found was that the symlinks are the same in
> 2.2.5 as they were in 2.2.4. Did you not see that the links for libc.so.6.1
> (I think that's the right one) were being overwritten?
I've noticed such things with previous RPM upgrades (although I haven't
specifically tried 2.2.4=>2.2.5). Have a staticly linked ln, and fix up
the symlinks yourself after the RPM upgrade. That's worked for me in the past.
--
------------------------------------------------------------------
Andrew Schultz | The views expressed might
ajschult@eos.ncsu.edu | not represent those of NCSU.
http://www4.ncsu.edu/~ajschult/ | They are however, correct.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Upgrading glibc
2003-03-24 17:27 ` T. Ford
2003-03-24 19:10 ` Andrew Schultz
@ 2003-03-25 1:26 ` Måns Rullgård
2003-03-25 14:43 ` T. Ford
1 sibling, 1 reply; 13+ messages in thread
From: Måns Rullgård @ 2003-03-25 1:26 UTC (permalink / raw)
"T. Ford" <tford@venturiNoSPAMpartners.com> writes:
> I think the biggest problem I found was that the symlinks are the
> same in 2.2.5 as they were in 2.2.4. Did you not see that the links
> for libc.so.6.1 (I think that's the right one) were being
> overwritten?
That's no problem. The new version is compatible with the old one.
--
M�ns Rullg�rd
mru@users.sf.net
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Upgrading glibc
2003-03-25 1:26 ` Måns Rullgård
@ 2003-03-25 14:43 ` T. Ford
2003-03-25 14:48 ` Måns Rullgård
0 siblings, 1 reply; 13+ messages in thread
From: T. Ford @ 2003-03-25 14:43 UTC (permalink / raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 556 bytes --]
If it is compatible, why did I have problems?
Torin
"M�ns Rullg�rd" <mru@users.sourceforge.net> wrote in message
news:yw1xn0jkz15o.fsf@zaphod.guide...
> "T. Ford" <tford@venturiNoSPAMpartners.com> writes:
>
> > I think the biggest problem I found was that the symlinks are the
> > same in 2.2.5 as they were in 2.2.4. Did you not see that the links
> > for libc.so.6.1 (I think that's the right one) were being
> > overwritten?
>
> That's no problem. The new version is compatible with the old one.
>
> --
> M�ns Rullg�rd
> mru@users.sf.net
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Upgrading glibc
2003-03-25 14:43 ` T. Ford
@ 2003-03-25 14:48 ` Måns Rullgård
2003-03-25 21:22 ` T. Ford
0 siblings, 1 reply; 13+ messages in thread
From: Måns Rullgård @ 2003-03-25 14:48 UTC (permalink / raw)
"T. Ford" <torinf@qwest.net> writes:
> If it is compatible, why did I have problems?
You didn't state which problems you had, other than something being
"hosed", so really can't say why.
--
M�ns Rullg�rd
mru@users.sf.net
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Upgrading glibc
2003-03-25 14:48 ` Måns Rullgård
@ 2003-03-25 21:22 ` T. Ford
0 siblings, 0 replies; 13+ messages in thread
From: T. Ford @ 2003-03-25 21:22 UTC (permalink / raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 826 bytes --]
Yeah I suppose I could give more information. :-) It looks like the
biggest problem is that both the 2.2.4 and 2.2.5 RPMs symlink ld-linux.so.2.
The 2.2.4 RPM symlinks it to /lib/ld-2.2.4.so and the 2.2.5 RPM of course
symlinks it to /lib/ld-2.2.4.so. This then causes problems for ld when it
tries to load the libc libraries. So I must need to somehow build binutils
and have it linked against 2.2.5 and install it at the same time as
glibc-2.2.5.
Torin
"M�ns Rullg�rd" <mru@users.sourceforge.net> wrote in message
news:yw1xsmtbv6wj.fsf@manganonaujakasit.e.kth.se...
> "T. Ford" <torinf@qwest.net> writes:
>
> > If it is compatible, why did I have problems?
>
> You didn't state which problems you had, other than something being
> "hosed", so really can't say why.
>
> --
> M�ns Rullg�rd
> mru@users.sf.net
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Upgrading glibc
2003-03-24 10:56 ` Måns Rullgård
2003-03-24 15:05 ` T. Ford
@ 2003-03-26 2:00 ` jpeg
2003-03-26 2:11 ` Måns Rullgård
1 sibling, 1 reply; 13+ messages in thread
From: jpeg @ 2003-03-26 2:00 UTC (permalink / raw)
In article <yw1xznnlyqvk.fsf@zaphod.guide>,
mru@users.sourceforge.net wrote:
>"T. Ford" <torinf@qwest.net> writes:
>
>> Does anyone know if its possible to upgrade glibc from 2.2.4 to 2.2.5
>> without hosing things? I've built the updated rpms for RH 7.3 and am
>> currently running RH 7.2 from Compaq. I installed them once but it of
>> course hosed things so I had to use the rescue option on the boot cd to get
>> a statically compiled version of rpm to uninstall them and reinstall the 7.2
>> versions.
>
>I upgraded from 2.2.3 to 2.2.5 from source without any problems.
>
Mans, can you provide a little info about compiling glibc?
Specifically, which compiler and binutils you used and which patches
(if any) you applied to glibc before compiling?
I've been trying to compile unpatched glibc 2.3.1 with Redhat's gcc
3.2.2-2 and binutils 2.13.90.0.18-6 and getting inconsistent results.
After one run make exits with an error generated by ld. Another compile
completes, but after I installed it, things got ....interesting.
Thanks for any information.
--
jpeg
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Upgrading glibc
2003-03-26 2:00 ` jpeg
@ 2003-03-26 2:11 ` Måns Rullgård
2003-03-26 3:27 ` jpeg
0 siblings, 1 reply; 13+ messages in thread
From: Måns Rullgård @ 2003-03-26 2:11 UTC (permalink / raw)
jpgburroughs@hotmail.com (jpeg) writes:
> >> Does anyone know if its possible to upgrade glibc from 2.2.4 to
> >> 2.2.5 without hosing things? I've built the updated rpms for RH
> >> 7.3 and am currently running RH 7.2 from Compaq. I installed
> >> them once but it of course hosed things so I had to use the
> >> rescue option on the boot cd to get a statically compiled version
> >> of rpm to uninstall them and reinstall the 7.2 versions.
> >
> >I upgraded from 2.2.3 to 2.2.5 from source without any problems.
> >
> Mans, can you provide a little info about compiling glibc?
> Specifically, which compiler and binutils you used and which patches
> (if any) you applied to glibc before compiling?
I didn't do anything to the sources. Here what libc.so claims it is:
$ /lib/libc.so.6.1
GNU C Library stable release version 2.2.5, by Roland McGrath et al.
Copyright (C) 1992-2001, 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 2.95.3 20010315 (release).
Compiled on a Linux 2.4.18 system on 2002-04-05.
Available extensions:
GNU libio by Per Bothner
crypt add-on version 2.1 by Michael Glad and others
linuxthreads-0.9 by Xavier Leroy
BIND-8.2.3-T5B
libthread_db work sponsored by Alpha Processor Inc
NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Report bugs using the `glibcbug' script to <bugs@gnu.org>.
> I've been trying to compile unpatched glibc 2.3.1 with Redhat's gcc
Isn't that the experimental libc? Don't expect it to work perfectly.
> 3.2.2-2 and binutils 2.13.90.0.18-6 and getting inconsistent results.
> After one run make exits with an error generated by ld. Another compile
> completes, but after I installed it, things got ....interesting.
I tried to compile it with gcc 3.0.4, but the testsuite failed, so I
didn't dare install it. I don't know if gcc 3.2.2 is any better. I'm
not sure of the binutils version.
Maybe I'll try it again some day. If I do I'll post the results.
--
M�ns Rullg�rd
mru@users.sf.net
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Upgrading glibc
2003-03-26 2:11 ` Måns Rullgård
@ 2003-03-26 3:27 ` jpeg
0 siblings, 0 replies; 13+ messages in thread
From: jpeg @ 2003-03-26 3:27 UTC (permalink / raw)
In article <yw1x7kam98rg.fsf@zaphod.guide>, mru@users.sourceforge.net wrote:
>
>jpgburroughs@hotmail.com (jpeg) writes:
>
>I didn't do anything to the sources. Here what libc.so claims it is:
>$ /lib/libc.so.6.1
>Compiled by GNU CC version 2.95.3 20010315 (release).
That's interesting. I was under the impression that gcc 2.95.x was unable to
compile glibc on alpha. I'll give it a shot.
Sure would be nice if ccc could do it.
>
>> I've been trying to compile unpatched glibc 2.3.1 with Redhat's gcc
>
>Isn't that the experimental libc? Don't expect it to work perfectly.
>
I don't think so. I grabbed it from a release directory. None of the
documentation refers to it as unstable/experimental at all. In fact, glibc
2.3.1 (albeit a patched version) is the libc in slackware 9.0.
Thanks for the info.
--
jpeg
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2003-03-26 3:27 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-24 2:37 Upgrading glibc T. Ford
2003-03-24 10:56 ` Måns Rullgård
2003-03-24 15:05 ` T. Ford
2003-03-24 16:49 ` Måns Rullgård
2003-03-24 17:27 ` T. Ford
2003-03-24 19:10 ` Andrew Schultz
2003-03-25 1:26 ` Måns Rullgård
2003-03-25 14:43 ` T. Ford
2003-03-25 14:48 ` Måns Rullgård
2003-03-25 21:22 ` T. Ford
2003-03-26 2:00 ` jpeg
2003-03-26 2:11 ` Måns Rullgård
2003-03-26 3:27 ` jpeg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox