Slackware glibc-2.17
Hello Slackware friends.
If someone of you try to compile new glibc-2.17,this is what you gotta do put this in diffutils and tar,because they will fail to compile without that line in SlackBuild script.I will test other packages to view if they fail to compile with new glibc Code:
sed -i -e '/gets is a/d' gnu/stdio.in.h Sorry for my english :) This is the packages that i tested and they compile perfect with new glibc This is the build order that i compile my packages after bild toolchain from my next post Code:
aaa_base To build freeglud with MESA-9.0.2 you need this stuff in freeglut.SlackBuild Code:
sed -i '/PFNGLSHADERSOURCEPROC/s/ \*\*string/\* const \*string/' \ Code:
--enable-texture-float \ |
just FYI, on Dec 21 2012
Quote:
As you are basically rebuilding a slackware system from scratch, (if you feel like) could be useful also for others to update the first post with the exact order you follow in building the various packages ;) |
Yes basically i rebuild all my packages with new glibc.First i rebuild my toolchain gcc-4.7.2 following this link http://www.linuxfromscratch.org/lfs/...technotes.html
I use original SlackBuilds Toolchain build order is Code:
binutils |
Other packages successfully build is
This is the build order that i compile this packages Code:
ConsoleKit |
New packages that's compile correctly is all KDE-4.10 deps and all KDE-4.10 with new glibc-2.17.
I will try gcc-4.8 snapshot All packages are compiled with CFLAGS -O2 -fpic -pipe -march=native Also i have a one question why Slackware packages are compiled with fPIC instead fpic ? |
I guess because of this
http://tldp.org/HOWTO/Program-Librar...libraries.html Quote:
|
Ok thanks,i found that Vector Linux use fpic instead fPIC but not on all packages :)
|
On x86 family processors I don't believe there is any difference between -fpic and -fPIC, at least that is what the gcc man-page seems to be saying.
|
Ok what about without fpic/fPIC option ?
I found this link http://www.gentoo.org/proj/en/harden...-internals.xml |
Quote:
|
I decided to update my toolchain. Well actually only glibc and rebuilding the toolchain.
PART 1: 1) U glibc-2.19-1 I just needed to add/delete a patch to the slackbuild and all went well. 2) R zlib-1.2.8-2 Why not huh? 3) R binutils-2.23.52-3 4) R oprofile-0.9.7-5 5) U file-5.17-1 6) R gmp-3.1.2-2 7) R mpfr 9) U libmpc-1.0.2-3 Create symlink: cd /usr/lib64 ln -s libmpc.so.3 libmpc.so.3 10) R gcc-4.8.2-2 First install gcc-gnat gcc-java and gcc-go and reinstall updated packages including gcc-g++ 11) R libtool-2.4.2-3 12) R binutils-2.23.52-4 13) R popt 14) R oprofile 15) R glibc-2.19-2 DONE PART 2: base rebuild according to LFS book and dependencies according to salix R zlib, R file, R attr, R acl, R sed, R bzip2, U pkg-config-0.28-1, R shadow, R ncurses R libtermcap, R procps and U psmisc-22.21 R libcap and U coreutils-8.22 R m4, R flex, U bison-3.0.2, R bash, R libtool, R gdbm, R net-tools A few updates are available but gave me problems like gdbm and I decided to skip procps-ng. Net-tools is unmaintained and the slackbuild needed a few extra patches. R autoconf, U automake-1.14.1, R diffutils, R gawk, R findutils, U gettext-0.18.3.1, R xz R less, R gzip, R kbd, U kmod-16, R make, R patch, R sysklogd, R sysvinit, U tar, R texinfo. Again a few could need some updating like kbd but did not try, tar needed a few patches and texinfo is old. R readline, R bc, R gawk, R man, U man-pages-3.61, R db48, R expat, R openssl and openssl-solibs. U perl-5.18.2. I tried gdbm > 1.8.3 but somehow the usr/include/gdbm.h does not install. I should try to upgrade to man-db as well. Readline is also quite old. R libpng, U freetype-2.5.3, U fuse-2.9.3, R libelf, R libffi, R python, R gamin, U glib2-2.40.0 and R gamin again. Python could get an update though. Almost there. R udev, U util-linux-2.24, R udev, U e2fsprogs-1.42.9, U mdadm-3.3, R lvm2, R grub. I spent a lot of time fixing grub with a few hard to find patches. R libmnl, R libnfnetfilter_conntrack, R libnl3, U libusb-1.0.18, U libpcap-1.5.3, iptables and iproute2. U iptables-1.4.21, U iproute2-3.12.0. Almost forgot R nano. R sysvinit-functions and salix scripts. The scripts are built with SLKBUILD. R mkinitrd and I rebooted! If I made some foolish errors, so what, I can go again! Is there a slackbuild available for the headers? |
Quote:
Code:
#!/bin/sh |
Thanks.
The libmpc.so.3 symlink was a typo. I will update to 3.12 kernel headers since that release is the new LTS. Next, am I going to think about what packages I can/will upgrade/rebuild and the order. I used the LFS-book, the dependencies according to salix and toolchain notes in this write-up: http://eerielinux.wordpress.com/2013...x-system-pt-3/ as a lead. I tried to create packages for an updated kernel but I have not figured out yet how I can rebuild a "huge" kernel package. I tried to change the direcotries in the slackbuild but the buildscript finishes almost instantly without actually building a package. |
You say that you use glibc.Slackbuild to build glibc-2.19.
But do you edit doinst.sh-glibc and doinst.sh-glibc-solibs ? There is a simlinks to 2.17 |
3 Attachment(s)
Quote:
Included are my edited files. |
Thanks for the kernel-headers buildscript.
I did change it a bit. So now I restarted rebuilding the toolchain on my slackware install, on a different computer though. So, how I am doing it: Code:
U kernel-header 3.12.15 |
All times are GMT -5. The time now is 07:12 AM. |