LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 06-13-2016, 05:54 PM   #1
CRCulver
LQ Newbie
 
Registered: Mar 2015
Posts: 28

Rep: Reputation: Disabled
Rebuilding glibc: still pull in current's version?


I would like to rebuild glibc on my Raspberry Pi 1 following the guide linked to in the sticky post here. However, the very first commands involve pulling in the glibc version from slackware-current. My Slackware 14.1 installation on the Pi has glibc-2.17, while the slackware-current glibc is now version 2.23.

Can I upgrade the glibc version in the process of rebuilding, or will this lead to breakage?
 
Old 06-13-2016, 06:41 PM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675

Rep: Reputation: Disabled
You can upgrade, downgrade will break everything that was compiled against newer version.
 
Old 06-15-2016, 06:50 PM   #3
CRCulver
LQ Newbie
 
Registered: Mar 2015
Posts: 28

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Emerson View Post
You can upgrade, downgrade will break everything that was compiled against newer version.
Thanks, the upgrade worked and the Pi runs fine, maybe a little faster.

The linked tutorial didn't work for me without some tweaking, however. To avoid the build process complaining that the rsync'ed kernel-headers were too old (when they were the same version as the installed kernel), I had to edit the glibc.Slackbuild and tell it to use the kernel headers in /usr/include. Of course, before that I had to install the kernel-headers package from Slackware-current.
 
Old 06-17-2016, 03:54 PM   #4
gus3
Member
 
Registered: Jun 2014
Distribution: Slackware
Posts: 506

Rep: Reputation: Disabled
@CRCulver, I am the author of that guide. You might wish to post a comment explaining what you tweaked and how. I always welcome constructive feedback, even (especially) when I post some bad info. ;-)

(Addendum: I have comment approval turned on, and no Internet at home, so your comment might not appear for a few days.)

Last edited by gus3; 06-17-2016 at 03:56 PM.
 
Old 06-22-2016, 07:41 PM   #5
enine
Senior Member
 
Registered: Nov 2003
Distribution: Slackʍɐɹǝ
Posts: 1,488
Blog Entries: 4

Rep: Reputation: 283Reputation: 283Reputation: 283
the link to slackkit 1.04 is old, the current appears to be:
http://mirrors.vbi.vt.edu/linux/slac...1.05-arm-1.txz

When I try to arm/build I get

Code:
Extracting Linux Kernel headers into /root/tmp/build-glibc
tar: /root/slackwarearm-current/source/l/glibc/../../d/kernel-headers/sources/kernel-headers-4.4.8.tar.xz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
  glibc-2.23-arm-3.txz.build.log:  3.361:1,  2.380 bits/byte, 70.25% saved, 2773 in, 825 out.
Where is 4.4.8 specified, within slackkit?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrade Slackware 14.1's glibc to the current version moisespedro Slackware 15 12-09-2019 11:43 AM
[SOLVED] Slackware 14.2/-current - problem with rebuilding kde-workspace and possibly other packages DarkVision Slackware 8 03-21-2016 01:32 AM
rebuilding glibc on RHEL, for /opt deployment nycbrit Red Hat 6 04-20-2015 01:50 AM
Wicd in current won't connect to wireless network. Fixed it with rebuilding grissiom Slackware 6 03-06-2010 12:16 AM
i have an error when i try to install Glibc(5.7. Glibc-2.8-20080929, Version 6.4) robineecc1 Linux From Scratch 0 12-14-2008 11:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 07:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration