LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 04-09-2014, 08:32 PM   #46
moisespedro
Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware and LFS
Posts: 919

Rep: Reputation: 105Reputation: 105

That is what I get for not reading the whole thread. Title says glibc 2.17 tho.
 
Old 04-10-2014, 01:28 AM   #47
hendrickxm
Member
 
Registered: Feb 2014
Posts: 79

Rep: Reputation: Disabled
The thread's title is indeed outdated.
I will end up with:

newer:
kernel-headers 3.12.16
glibc-2.19
file-5.17
gmp-6.0.0a
libmpc-1.0.2
oprofile-0.9.9

only rebuild:
mpfr-3.1.2
binutils-2.23.52.0.1
gcc-4.8.2
zlib-1.2.8
popt-1.6

Next step is the base:
I will build it like this:
Code:
R attr-2.4.46
R acl 2.2.51
R sed-4.2.2
R bzip2-1.0.6
U pkg-config-0.28
R ncurses-5.9
R shadow-4.1.5
R libtermcap-1.2.3
R/U procps-3.2.8(-ng-3.3.9) with newest psmisc-20.22
R libcap-2.22
U coreutils-8.22
R m4-1.4.17
R flex-2.5.37
U bison-3.0.2
U grep-2.17
U readline-6.3
U bash-4.3
R libtool-2.4.2
U gdbm-1.11
R net-tools-1.60.20120726git altough this might be replaced by inetutils
U perl-5.18.2
R autoconf-2.69
U automake-1.14.1
R diffutils-3.3
R gawk-4.1.0
R findutils
U gettext-0.18.3
R xz-5.0.5
R less-451
R gzip-1.6
U kbd-2.0.1
U kmod-16
U make-4.0
R patch-2.7
R sysklogd-1.5
R sysvinit-2.88dsf
U tar-1.27.1
U texinfo-5.2
U readline-6.3
R bc-1.06.95
R/U man-1.6g(-db-2.6.6)
U man-pages-3.63
R db48-4.8.30
R expat-2.1.0
R openssl-1.0.1f and openssl-solibs
R libpng-1.4.12
U freetype-2.5.3
U fuse-2.9.3
R libelf-0.8.13
R libffi-3.0.13
U python-2.7.6
R gamin-0.1.11
U glib2-2.40.0
R gamin again
R udev-182
U util-linux-2.24
R udev
R groff-1.22.2
U e2fsprogs-1.42.9
U mdadm-3.3
R lvm2-2.02.100
R grub-2.00
R libmnl-1.0.3
R libnetfilter_conntrack-1.0.4
R libnl3-3.2.21
U libusb-1.0.18
U libpcap-1.5.3
U iptables-1.4.27
U iproute2-3.12.0
R nano-2.3.2
R sysvinit-functions and salix 14.1 scripts. The scripts are built with SLKBUILD. 
R kinitrd-1.4.8
R sudo
U wget-1.15
@tuxbg, could you provide me your slackbuilds for texinfo-5 and readline-6. Did you try make-4? Any difficulties you ran into with those?
What version of libtermcap are you using? It's a very old package and altering some Makefiles for the programs that depends on it by using ncurses version could make it no longer needed.

Last edited by hendrickxm; 04-10-2014 at 02:58 AM.
 
Old 04-10-2014, 04:48 AM   #48
hendrickxm
Member
 
Registered: Feb 2014
Posts: 79

Rep: Reputation: Disabled
I removed the --without-termcap line in the ncurses buildscript.
Then:
Code:
cd /usr/lib64
ln -s libncurses.so.5 libtermcap.so.2
Now there is no need for libtermcap. Procps can be build and probably other packages that need the library like bash and xterm as well. I will continue.

I just finished bash.
Did you upgrade gdbm? I use PhantomX's buildscript at the moment. But I am going to edit the official one instead.

EDIT:
When I finished readline, needed to symlink the libreadline.so.6 to s0.5 for bash.
Code:
cd /usr/lib64
ln -s libreadline.so.6 libreadline.so.5
Tried bash-4.3 but my cpu was constantly at max freq, so rebuild bash-4.2 instead.
Might try this one again much later.

Updates I did so far after the toolchain:
pkg-config-0.28
psmisc-22.21 with old procps-3.2.8
libcap-2.24
coreutils-8.22
flex-2.5.37
bison-3.0.2
grep-2.18
readline-6.3

Now my weekend starts, I will go cycle the cobbles of Roubaix tomorrow and the cobbles and hills of Flanders saturday. I will continue saturday evening.

Last edited by hendrickxm; 04-10-2014 at 10:43 AM.
 
Old 04-10-2014, 11:57 AM   #49
tuxbg
Member
 
Registered: Sep 2012
Location: Bulgaria,Varna
Distribution: Slackware64
Posts: 249

Original Poster
Rep: Reputation: Disabled
I use original SLackBuild for texinfo and apply This patch
 
Old 04-10-2014, 12:32 PM   #50
hendrickxm
Member
 
Registered: Feb 2014
Posts: 79

Rep: Reputation: Disabled
Thanks, I continued through until gettext-0.18.3.2 as well.
I am thinking about kbd-2.01 or 1.5.X version. Same thing with make-4.0 or 3.82. What did you use?
 
Old 04-10-2014, 12:45 PM   #51
tuxbg
Member
 
Registered: Sep 2012
Location: Bulgaria,Varna
Distribution: Slackware64
Posts: 249

Original Poster
Rep: Reputation: Disabled
My make version is 4.0 and gettext 0.18.2 also i use This patch to make

ps
Why you create libreadline symlinks ?
readline 6.3 provide only so.6 and so.6.3

Last edited by tuxbg; 04-10-2014 at 12:47 PM.
 
Old 04-10-2014, 01:06 PM   #52
tuxbg
Member
 
Registered: Sep 2012
Location: Bulgaria,Varna
Distribution: Slackware64
Posts: 249

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by moisespedro View Post
I still don't get it, they aren't upgrading anything. The packages are already there!
That is why I don't get it (I know about the toolchain stuff)
Well when i create this thread no one of these package are included in Slackware tree.I create this thread on 4 of july 2013 ,slackware include gcc-4.8.2 on 21 october 2013
 
Old 04-10-2014, 02:51 PM   #53
moisespedro
Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware and LFS
Posts: 919

Rep: Reputation: 105Reputation: 105
Quote:
Originally Posted by tuxbg View Post
Well when i create this thread no one of these package are included in Slackware tree.I create this thread on 4 of july 2013 ,slackware include gcc-4.8.2 on 21 october 2013
Oh, good luck for you then
 
Old 04-10-2014, 03:20 PM   #54
hendrickxm
Member
 
Registered: Feb 2014
Posts: 79

Rep: Reputation: Disabled
I created the symlink because when I was compiling bash, it spewed an error when libreadline.so.5 was not found.

EDIT:

I continued to patch.
Updates done:
kmod-17
make-4.0
patch-2.7.1

I kept kbd-1.5.3 because later versions require libpam-devel.
Tomorrow I will continue and hope to finish rebuilding all base packages. After that it's up to Xorg-1.15.

EDIT:
I will finish my base packages today. I am up to iptables.
I forgot libnfnetlink, I will document my steps more detailed later on.
More updates:
tar-1.27.1
texinfo-5.2
man-pages-364
libpng-1.4.13
freetype-2.5.3
fuse-2.9.3
glib2-2.40.0
util-linux-2.24.1
e2fsprogs-1.42.9
mdadm-3.3
libnl3-3.2.24
libusb-1.0.18
libpcap-1.5.3

EDIT: finished base, other updates:
iptables-1.4.21
iproute2-3.12.0
wget-1.15

I use salix sysvinit-scripts.
Also, I use linux-libre 3.12.16, I used the buildscript from freeslack with 3.12 testing config. If anyone is interested in the package, it is build on a standard slackware install and can be used without updating the toolchain.

To rebuild grub I needed a few hard to find patches. Most stuff is quite trivial to edit and rebuild.

Last edited by hendrickxm; 04-13-2014 at 01:15 PM.
 
Old 04-14-2014, 07:30 AM   #55
hendrickxm
Member
 
Registered: Feb 2014
Posts: 79

Rep: Reputation: Disabled
Xorg is updated to 1.15 as well. I forgot a few packages and my xserver failed because of icu4c. I had upgraded to the latest icu4c but there are some packages that I need to rebuild so I rebuild 51.2 instead. I am going to start on the long list, fix up some stuff and trim down the installation.
 
Old 04-17-2014, 02:35 PM   #56
hendrickxm
Member
 
Registered: Feb 2014
Posts: 79

Rep: Reputation: Disabled
After upgrading xorg-1.15 but not every package on my system, some programs crashed more then I liked.
So I restarted the rebuild but this time more thorough.
So, this time... U means I upgraded the package and R means I have rebuild the slackware version or if rebuild after update, it's that version ofcourse.
Code:
TOOLCHAIN:
U kernel-headers-3.14.1
U glibc-2.19
U file-5.18
R zlib
R binutils
U gmp-6.0.0a
R mpfr
U libmpc
cd /usr/lib64
ln -s libmpc.so.3 libmpc.so.2
install gcc-gnat
R gcc
R libtool
R kernel-headers
R glibc
R binutils
R gcc
R libtool
R popt
U oprofile-0.9.9
BASE:
U man-pages-364
R zlib
R file
R sed
R bzip
U pkg-config-0.28
R ncurses
cd /usr/lib64
ln -s libncurses.so.5 libtermcap.so.2
removepkg libtermcap
R attr
R acl
R libcap
R shadow
R procps with U psmisc-22.21
U e2fsprogs-1.42.9
U coreutils-8.22
R m4
U flex-2.39
U bison-3.0.2
U grep-2.18
U readline-6.3
cd /usr/lib64
ln -s libreadline.so.6 libreadline.so.5
R bash
R bc
U gdbm-1.11
R expat
R net-tools
R db48
R openssl and openssl-solibs
U perl-5.18.2
R autoconf
R automake
R diffutils
U gawk-4.1.1
R findutils
R python
R libxml2
R libffi
R libelf
U glib2-2.40.0
R gamin
R libcroco
U gettext and gettext-tools-0.18.3.2
R glib2
R intltool
R gperf
R xz
R less
R kbd
U kmod-17
U make-4.0
R patch
R sysklogd
R sysvinint functions and salix-scripts
U tar-1.27.1
U texinfo-5.2
U fuse
U libpng
U mdadm-3.3
R which
R lvm2
U util-linux-2.24.1
R udev
R groff
R grub
R man
R nano
Now I will use this as is and investigate further. On a testbox I am trying to install LFS/Slackware using this old blogpost:
http://www.linuxquestions.org/questi...oolchain-3233/
and http://www.jaguarlinux.org/olds/reference-build.htm and http://www.jaguarlinux.org/olds/base-order.txt

If this works out, I will inform you guys.
 
Old 04-18-2014, 04:25 AM   #57
hendrickxm
Member
 
Registered: Feb 2014
Posts: 79

Rep: Reputation: Disabled
Well, the LFS to slackware did not really work out. It kept freezing once I got to compiling binutils in chapter 6. I use the same slackbuilds as on my updated box.
I used binutils for linux and saw that there is an updated version 2.24.X. Next rebuild will use this one.
 
Old 04-19-2014, 05:12 PM   #58
hendrickxm
Member
 
Registered: Feb 2014
Posts: 79

Rep: Reputation: Disabled
So I made some progress. After trying to upgrade binutils for linux (2.24.52.0.3) I got errors when trying to rebuild oprofile. Found out that the problem had to do with libiberty.a not being installed.
Found some patches and extra configure flags I did not try because I found a workaround.
Before installing the newly build binutils, I copied the /usr/lib64/libiberty.a file to some other location and after the upgrade, put it back. I am buidling gcc and probably I am not going to rebuild binutils, oprofile, gmp, mpfr, libmpc and gcc again just to see what extra flags and patches are needed.
 
Old 04-20-2014, 08:03 AM   #59
tuxbg
Member
 
Registered: Sep 2012
Location: Bulgaria,Varna
Distribution: Slackware64
Posts: 249

Original Poster
Rep: Reputation: Disabled
I build my gcc with --disable-install-libiberty,because binutils already provide libiberty.Why you need oprofile ?Also i build my glibc with --disable-profile
 
Old 04-20-2014, 04:16 PM   #60
hendrickxm
Member
 
Registered: Feb 2014
Posts: 79

Rep: Reputation: Disabled
So I did rebuild binutils-2.24.51.0.3 with the patch and --enable-install-libiberty flag before gcc. I will use the flags tuxbg suggests for gcc. On my core2 laptop the building is a lot faster then on my E-350 AMD testbox.
@tuxbg, can you provide more info on your rebuilding process. I read you use a hostsystem. Do you bootstrap, use a temporary toolchain?
 
  


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
[SOLVED] Multilib issue: error upgrading glibc. System unusable. Slackware64 current val3xiv Slackware 2 05-21-2013 07:20 AM
Slackware64 -current (multilib) -- Wrong GCC version slaka Slackware 2 05-13-2013 10:39 AM
slackware64-current libtool using path to old version of GCC JazzItSelf Slackware 6 11-21-2011 11:35 PM
slackware64-current glibc resolver bug? fancylad Slackware 8 01-31-2010 04:47 PM
Blacklisting gcc/glibc with slackpkg in multilib-current damgar Slackware 1 01-04-2010 11:15 PM


All times are GMT -5. The time now is 01:36 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration