Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 17 Jun 2018, 20:44
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Glibc-2.20 Upgrade For Racy/Carolina
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [14 Posts]  
Author Message
battleshooter


Joined: 14 May 2008
Posts: 1381
Location: Australia

PostPosted: Tue 04 Nov 2014, 08:58    Post subject:  Glibc-2.20 Upgrade For Racy/Carolina
Subject description: Also GCC-4.9.2 and Binutils-2.24
 

Put this together as some Carolina users wanted the latest Chrome.

Tested on different kernels ranging from 3.0.66 to 3.17, Racy (3.0.66 kernel), Carolina 1.1 (standard 3.2.13 Carolina kernel), Carolina 1.2 (3.17 kernel) running applications seem to be fine, but I have not tested compiling extensively.

Glibc, GCC, and Binutils have been compiled twice (2 pass).

As glibc is a core system element I would advise testing this on a non-essential Puppy install if you're not sure what you're doing. I haven't had any problems with it, but better safe than sorry.

It seems fully backwards compatible so any programs compiled with an older glibc will work, but anything compiled with the new glibc will not work with an older glibc.

Installation order:
GCC last.

Downloads
glibc-2.20.pet 27.7 MB
gcc-4.9.2.pet 35.8 MB
binutils-2.24.pet 11.5 MB


GCC dependencies:
gmp-6.0.0.pet 636 KB
mpc-1.0.2.pet 110 KB
mpfr-3.1.2.pet 469 KB


The make check results for GCC and glibc are attached if anyone needs to see them.

Racy 5.5:

Carolina 1.1:

Carolina 1.2 with 3.17 kernel:



6/11/14 Edited: Installation order
make_check_results.tar.gz
Description 
gz

 Download 
Filename  make_check_results.tar.gz 
Filesize  43.89 KB 
Downloaded  255 Time(s) 

_________________
LMMS 1.0.2, Ardour 3.5.389, Kdenlive 0.9.8

Last edited by battleshooter on Wed 05 Nov 2014, 20:34; edited 1 time in total
Back to top
View user's profile Send private message 
mikeslr


Joined: 16 Jun 2008
Posts: 2431
Location: 500 seconds from Sol

PostPosted: Tue 04 Nov 2014, 18:58    Post subject: Which Chromium to use?  

Hi Battleshooter,

I figured that since I asked for them the least I could do was try them out. Thanks, as always, for your hard work and dedication.
I downloaded all the pets in your post, exited Carolina and backed up its SaveFile, rebooted into Carolina and unloaded some SFSes so I could try things out.
Initially I had a problem installing the pets. One seemed to hang up the computer. But maybe I just didn't wait long enough for it to finish installing. They eventually installed by first installing those you've ID'd as dependencies, then binutils, then glibc, then gcc. The last was the one I think I had had a problem with. Then I rebooted without a problem. Before attempting to load or install Chromium, I tested some of my most frequently used apps. They worked. So next it was time to try the three versions of Chromium 37 I had previously downloaded.
The two by peebee, built for his LX Pups, found here, http://www.murga-linux.com/puppy/viewtopic.php?p=799739&sid=2d28df32f9c20e60f0237e94e0fe24d2
loaded, but did not run. Trying either via terminal, reported:

# chromium
/usr/lib/chromium/chromium: error while loading shared libraries: libevent-2.0.so.5: cannot open shared object file: No such file or directory

I could not run ldd to see if anything else was missing. "Which chromium" took me to a wrapper script.

I next tried kost@s' Chromium 37, built for Slacko, found here: http://murga-linux.com/puppy/viewtopic.php?t=90983 which loaded but segfaulted.

Out of curiosity, I tried "registering" shinobar's google-chrome portable, although I don't recall which version of google-chrome it had built. It wouldn't register.

Which leads me to the question: Which version of Chromium did you use?

mikesLr
Back to top
View user's profile Send private message 
Geoffrey


Joined: 30 May 2010
Posts: 2347
Location: Queensland

PostPosted: Tue 04 Nov 2014, 19:18    Post subject:  

@mikeslr

It works for me, battleshooter told me
Quote:
If you want to test it, install everything, then Glibc last.


I'm posting this from Chromium 37, used chromium-37.0.2062.94.pet

palemoon-24.7.1.pet works too.

_________________
Carolina: Recent Repository Additions

Back to top
View user's profile Send private message 
mikeslr


Joined: 16 Jun 2008
Posts: 2431
Location: 500 seconds from Sol

PostPosted: Tue 04 Nov 2014, 23:45    Post subject: Glibc last otherwise a file named "dir" overrides another  

Hi Geoffrey,

With regard to my above post, when trying to install one of the pets seemed to hang the computer I decided it might be safer to combine all the pets into an SFS. In doing so, the pets merged with only one problem. I discovered that there are two filed named "dir" which conflict with each other. I guess I chose the wrong one to keep. But as that SFS didn't produce a viable Chromium with any of peebee's SFSes nor kost@s' pet --the one you used successfully-- which I also converted to an SFS, I went back and installed battleshooter's pets. But as I noted above, I installed gcc after glibc. My guess is that the conflicting "dir" files are in those pets, and the one in glibc must be the last installed.
I'll try again, remembering to install glibc last.

Thanks for the info.

mikesLr
Back to top
View user's profile Send private message 
battleshooter


Joined: 14 May 2008
Posts: 1381
Location: Australia

PostPosted: Wed 05 Nov 2014, 07:00    Post subject:  

Whoops, I appeared to have dropped the ball here. No more late night posts for battleshooter. (Yeah right.)

I didn't actually test Chrome Embarassed Geoffrey told me 37 worked with the new glibc and I went "yay"! and then posted on the Carolina thread.

Err, so Geoffrey, did you use kost@s's or PeeBee's Chromium 37 pet?

Sorry about that mikeslr, I guess I wasn't dedicated enough to test properly Sad

mikeslr wrote:
One seemed to hang up the computer.


It does seem to take awhile to install GCC in particular as it's quite large. I'm not really sure which order of pet installation is correct now. The order you installed them in sounds like the same order I currently install them in. As Geoff mentioned, I did tell him to install glibc last, but I've actually been installing glibc before GCC now because GCC is dependent on the new glibc and that seems to work for me. But why is that a problem for you Mike? I thought eventually it worked out?

mikeslr wrote:
I decided it might be safer to combine all the pets into an SFS.


Mike I have to say I don't think an SFS for glibc/GCC/binutils would work. In my experience SFSs don't overwrite. It's why I can't include FFMPEG in any SFS as it doesn't overwrite the existing FFMPEG. So if you tried to upgrade glibc like that, it would be unable to overwrite the existing glibc.

mikeslr wrote:
My guess is that the conflicting "dir" files are in those pets


I looked it up and it seems /usr/share/info/dir

https://bbs.archlinux.org/viewtopic.php?id=157061 wrote:
part of the info documentation system. Packages must add entries to this file and not overwrite it


But that doesn't work because it's a pet... hmmm. Still, it doesn't seem important as it's only documentation so I don't think it's a source of conflict.

Thanks for all the help with testing guys.

_________________
LMMS 1.0.2, Ardour 3.5.389, Kdenlive 0.9.8
Back to top
View user's profile Send private message 
watchdog

Joined: 28 Sep 2012
Posts: 1578
Location: Italy

PostPosted: Wed 05 Nov 2014, 07:33    Post subject:  

I'm testing only the glibc upgrade in my frugal install of wary 5.3 original. All seems to work. Tried in puppy4 series but the kernel 2.6.30.5 is too old. I beg your pardon for my ignorance: should gcc and other pets upgrade the devx stuff? Not tried.
Back to top
View user's profile Send private message 
battleshooter


Joined: 14 May 2008
Posts: 1381
Location: Australia

PostPosted: Wed 05 Nov 2014, 08:26    Post subject:  

watchdog wrote:
I'm testing only the glibc upgrade in my frugal install of wary 5.3 original. All seems to work


Awesome! That makes sense as Racy is "Wary on steroids", but I didn't think to test that too, thanks for that Smile

watchdog wrote:
Tried in puppy4 series but the kernel 2.6.30.5 is too old


Yeah, 2.6.32 is the rock bottom kernel limit that this glibc will work with so Wary just made it.

watchdog wrote:
I beg your pardon for my ignorance: should gcc and other pets upgrade the devx stuff?


Yes, but obviously it doesn't change the contents of the SFS. Whenever you run a fresh Pup install and load devx you'll need to reinstall the pets to upgrade GCC.

_________________
LMMS 1.0.2, Ardour 3.5.389, Kdenlive 0.9.8
Back to top
View user's profile Send private message 
dejan555


Joined: 30 Nov 2008
Posts: 2806
Location: Montenegro

PostPosted: Wed 05 Nov 2014, 09:17    Post subject:  

watchdog wrote:
Tried in puppy4 series but the kernel 2.6.30.5 is too old.


There's a 2.19 glibc compiled on dpup with that same kernel version here
I've never tried installing it on 4.x or installing it from pet though but I made a package anyway because whenever I change glibc I do it by replacing it in sfs and to avoid possible system lockups like someone mentioned.

@battleshooter
Do you meen that it doesn't work on older kernel because this particular package is compiled against 2.6.32 or glibc doesn't support older ones anymore generally? Because that would mean that I wouldn't be able to update to newer anymore. 2.19 is pretty recent for now though and I'll probably be keeping it for a while.

EDIT: Found out it's really the minimum kernel version that it will compile for.

_________________
puppy.b0x.me stuff mirrored HERE or HERE
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
watchdog

Joined: 28 Sep 2012
Posts: 1578
Location: Italy

PostPosted: Wed 05 Nov 2014, 16:11    Post subject:  

battleshooter wrote:
watchdog wrote:
I'm testing only the glibc upgrade in my frugal install of wary 5.3 original. All seems to work


Awesome! That makes sense as Racy is "Wary on steroids", but I didn't think to test that too, thanks for that Smile


I wrote too soon. I have found at least one problem: the latest googletalk plugin does not work in my frugal glibc upgraded install. I have installed an old version. Some odd behaviour in jwm and xorgwizard. More testing needed but it can work.
Back to top
View user's profile Send private message 
watchdog

Joined: 28 Sep 2012
Posts: 1578
Location: Italy

PostPosted: Wed 05 Nov 2014, 17:04    Post subject:  

dejan555 wrote:
watchdog wrote:
Tried in puppy4 series but the kernel 2.6.30.5 is too old.


There's a 2.19 glibc compiled on dpup with that same kernel version here


More testing needed but your upgrade is working in a frugal install of puppy 4.31. The same problem as for glibc 2.20 in wary: the later googletalk plugins make the browser to crash and I have to use an old version. The error at crash of browser is something like:

Code:
Inconsistency detected by ld.so: dl-open.c: 678: _dl_open: Assertion `_dl_debug_initialize (0, args.nsid)->r_state == RT_CONSISTENT' failed!


I used to upgrade glibc with the debian package libc6-2.11.3-4: this upgrade does not break the last googletalk.
Back to top
View user's profile Send private message 
battleshooter


Joined: 14 May 2008
Posts: 1381
Location: Australia

PostPosted: Wed 05 Nov 2014, 20:32    Post subject:  

watchdog wrote:
the later googletalk plugins make the browser to crash and I have to use an old version


I've never had much luck with googletalk plugin. When ever I tested it, it would usually crash the whole browser so I'm not much help there considering I didn't have it going on a good day.

dejan555 wrote:
Found out it's really the minimum kernel version that it will compile for.


Yeah,
https://sourceware.org/ml/libc-alpha/2014-09/msg00088.html wrote:

The minimum Linux kernel version that this version of the GNU C Library
can be used with is 2.6.32.

_________________
LMMS 1.0.2, Ardour 3.5.389, Kdenlive 0.9.8
Back to top
View user's profile Send private message 
battleshooter


Joined: 14 May 2008
Posts: 1381
Location: Australia

PostPosted: Wed 05 Nov 2014, 20:36    Post subject:  

In regards to installation order of the glibc pets, I've tested it several times, and it seems as long as GCC is last installed, the installation should not hang. First post edited accordingly.
_________________
LMMS 1.0.2, Ardour 3.5.389, Kdenlive 0.9.8
Back to top
View user's profile Send private message 
Robert123

Joined: 20 May 2016
Posts: 372
Location: Pacific

PostPosted: Fri 24 Jun 2016, 16:55    Post subject:  

Late to the party on this but running Racy Barebones and did upgrade. Fine so far.

Updated link for upgrade as link in first post is no longer working.
https://archive.org/download/RussoodlessPuppyLinuxStuff-battleshooter
Back to top
View user's profile Send private message 
Robert123

Joined: 20 May 2016
Posts: 372
Location: Pacific

PostPosted: Fri 24 Jun 2016, 16:57    Post subject:  

Works in Wary 5.5 too.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [14 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0791s ][ Queries: 13 (0.0092s) ][ GZIP on ]