Re: Installing glibc-2.21 on debian-8
On Mon, Jul 6, 2015 at 1:20 PM, Arno Schuring wrote: > > Date: Mon, 6 Jul 2015 08:41:44 +0100 > > From: zen75...@zen.co.uk > > > > On 06/07/15 06:07, Dhiraj Bhor wrote: > >> Also wanted to know which are security bugs reported for glibc-2.19-18. > >> Thanks for being patient. > > > > Information about current bugs in Debian packages can be found through > > the Bug Tracking System at https://bugs.debian.org/ > > > > Upstream bug information for GNU libc can be found at > > https://sourceware.org/bugzilla/ > > There's also > https://security-tracker.debian.org/tracker/source-package/glibc > > > Regards, > Arno > > > > -- > To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact > listmas...@lists.debian.org > Archive: > https://lists.debian.org/dub124-w3889e0ba209b984db2aa49b8...@phx.gbl > > Thanks all for all the links and information. Dhiraj
RE: Installing glibc-2.21 on debian-8
> Date: Mon, 6 Jul 2015 08:41:44 +0100 > From: zen75...@zen.co.uk > > On 06/07/15 06:07, Dhiraj Bhor wrote: >> Also wanted to know which are security bugs reported for glibc-2.19-18. >> Thanks for being patient. > > Information about current bugs in Debian packages can be found through > the Bug Tracking System at https://bugs.debian.org/ > > Upstream bug information for GNU libc can be found at > https://sourceware.org/bugzilla/ There's also https://security-tracker.debian.org/tracker/source-package/glibc Regards, Arno -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/dub124-w3889e0ba209b984db2aa49b8...@phx.gbl
Re: Installing glibc-2.21 on debian-8
On 06/07/15 06:07, Dhiraj Bhor wrote: Also wanted to know which are security bugs reported for glibc-2.19-18. Thanks for being patient. Information about current bugs in Debian packages can be found through the Bug Tracking System at https://bugs.debian.org/ Upstream bug information for GNU libc can be found at https://sourceware.org/bugzilla/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/559a3138.2090...@zen.co.uk
Re: Installing glibc-2.21 on debian-8
Quoting Dhiraj Bhor (dhirajbho...@gmail.com): > > I read from https://wiki.debian.org/DebianExperimental link that installing > experimental package will functinaly break the system. > I want to know when experimental branch will become stable, In a word, never. > Do i get any page > where this information already exist? https://www.debian.org/doc/manuals/developers-reference/resources#s4.6.4 specifically 4.6.4.3 Cheers, David. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150706051856.GA20837@alum
Re: Installing glibc-2.21 on debian-8
On Mon, Jul 6, 2015 at 10:17 AM, Dhiraj Bhor wrote: > > I read from https://wiki.debian.org/DebianExperimental link that > installing experimental package will functinaly break the system. > I want to know when experimental branch will become stable, Do i get any > page where this information already exist? > Also wanted to know which are security bugs reported for glibc-2.19-18. Thanks for being patient. Dhiraj
Re: Installing glibc-2.21 on debian-8
I read from https://wiki.debian.org/DebianExperimental link that installing experimental package will functinaly break the system. I want to know when experimental branch will become stable, Do i get any page where this information already exist? Dhiraj
Re: Installing glibc-2.21 on debian-8
On Fri, Jul 3, 2015 at 3:46 PM, Arno Schuring wrote: > > > Date: Fri, 3 Jul 2015 15:37:03 +0530 > > From: dhirajbho...@gmail.com > > On Fri, Jul 3, 2015 at 3:31 PM, claude juif > > mailto:claude.j...@gmail.com>> wrote: > > Hi, > > > > If you really need latest development tools, i suggest you to switch to > > Fedora 22. (glibc-2.21-5 and gcc 5.1.1). It will be easier and faster > > than trying to modify glibc stuff in Debian 8. > > > > Regards, > > > > I would like to but its a requirement and i have to do it. No option. > > May be if i can patch the glibc with all security patches will be > > enough for me. > > What exactly is the requirement? That you develop against latest libc > or that you deploy with latest libc? Because you mentioning security > patches makes me suspect it's the latter, in which case it's a seriously > bad idea to build your own. Are you going to subscribe to the CVE lists > and rebuild every security patch yourself? Have you factored the ongoing > maintenance cost of that in your project? > > If it's only that your project needs to build against the latest glibc, > I recommend you start with an unstable buildroot (man debootstrap), and > install your latest libraries in there. You don't even need to develop > in the chroot, just develop on your own and run the integration tests in > the chroot. > > > Regards, > Arno > > Thanks @Darac. i am new to this, But what i understood is debian system must have glibc which is shipped as with installation media and better i don't mess with it. I will try the experimental branch. @Amo: Your suggestion about ROI is acceptable and thanks for reminding the cost effectiveness for the same.
RE: Installing glibc-2.21 on debian-8
> Date: Fri, 3 Jul 2015 15:37:03 +0530 > From: dhirajbho...@gmail.com > On Fri, Jul 3, 2015 at 3:31 PM, claude juif > mailto:claude.j...@gmail.com>> wrote: > Hi, > > If you really need latest development tools, i suggest you to switch to > Fedora 22. (glibc-2.21-5 and gcc 5.1.1). It will be easier and faster > than trying to modify glibc stuff in Debian 8. > > Regards, > > I would like to but its a requirement and i have to do it. No option. > May be if i can patch the glibc with all security patches will be > enough for me. What exactly is the requirement? That you develop against latest libc or that you deploy with latest libc? Because you mentioning security patches makes me suspect it's the latter, in which case it's a seriously bad idea to build your own. Are you going to subscribe to the CVE lists and rebuild every security patch yourself? Have you factored the ongoing maintenance cost of that in your project? If it's only that your project needs to build against the latest glibc, I recommend you start with an unstable buildroot (man debootstrap), and install your latest libraries in there. You don't even need to develop in the chroot, just develop on your own and run the integration tests in the chroot. Regards, Arno -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/dub124-w397696c524f08c62438ac4b8...@phx.gbl
Re: Installing glibc-2.21 on debian-8
On Fri, Jul 03, 2015 at 12:07:26PM +0530, Dhiraj Bhor wrote: >Hi, >I have debian jessie (8.0) on virtual machine. >$] uname -a >Linux rdx86-ds7 3.16.0-4-686-pae #1 SMP Debian 3.16.7-ckt9-3~deb8u1 >(2015-04-24) i686 GNU/Linux >I need to install latest glibc (libc-2.21) on this machine. glibc 2.21 is in experimental. Read https://wiki.debian.org/DebianExperimental to learn how to use experimental. -- For more information, please reread. signature.asc Description: Digital signature
Re: Installing glibc-2.21 on debian-8
On Fri, Jul 3, 2015 at 3:31 PM, claude juif wrote: > Hi, > > If you really need latest development tools, i suggest you to switch to > Fedora 22. (glibc-2.21-5 and gcc 5.1.1). It will be easier and faster than > trying to modify glibc stuff in Debian 8. > > Regards, > > I would like to but its a requirement and i have to do it. No option. May be if i can patch the glibc with all security patches will be enough for me. Dhiraj
Re: Installing glibc-2.21 on debian-8
Hi, If you really need latest development tools, i suggest you to switch to Fedora 22. (glibc-2.21-5 and gcc 5.1.1). It will be easier and faster than trying to modify glibc stuff in Debian 8. Regards, 2015-07-03 11:56 GMT+02:00 Dhiraj Bhor : > > > On Fri, Jul 3, 2015 at 3:12 PM, Sven Hartge wrote: > >> Dhiraj Bhor wrote: >> >> > $] wget http://ftp.gnu.org/gnu/glibc/glibc-2.21.tar.xz >> > $] tar xf glibc-2.21.tar.xz >> > $] mkdir glibc-test >> > $] cd glibc-test >> > $] ../glibc-2.21/configure --prefix=/usr >> >> You do know that installing your own glibc over the one supplied by >> Debian in the same path will most likely destroy your system. >> >> If you do this to observe the effects of overwriting the system glibc >> without proper prepartion, then all is fine. >> >> If not, then please describe what you are trying to accomplish. >> >> Grüße, >> Sven. >> >> For my work requirement i need to build my project with latest glibc. > Yes i do understand that this can crash the system and i read some > documents but i am not getting success. > I have tried installing with --prefix=$HOME/objdir/ but no success. I have > got segmentation fault every time. (and reverted the machine to previous > working snapshot and tried again) > > Dhiraj > >
Re: Installing glibc-2.21 on debian-8
On Fri, Jul 3, 2015 at 3:12 PM, Sven Hartge wrote: > Dhiraj Bhor wrote: > > > $] wget http://ftp.gnu.org/gnu/glibc/glibc-2.21.tar.xz > > $] tar xf glibc-2.21.tar.xz > > $] mkdir glibc-test > > $] cd glibc-test > > $] ../glibc-2.21/configure --prefix=/usr > > You do know that installing your own glibc over the one supplied by > Debian in the same path will most likely destroy your system. > > If you do this to observe the effects of overwriting the system glibc > without proper prepartion, then all is fine. > > If not, then please describe what you are trying to accomplish. > > Grüße, > Sven. > > For my work requirement i need to build my project with latest glibc. Yes i do understand that this can crash the system and i read some documents but i am not getting success. I have tried installing with --prefix=$HOME/objdir/ but no success. I have got segmentation fault every time. (and reverted the machine to previous working snapshot and tried again) Dhiraj
Re: Installing glibc-2.21 on debian-8
Dhiraj Bhor wrote: > $] wget http://ftp.gnu.org/gnu/glibc/glibc-2.21.tar.xz > $] tar xf glibc-2.21.tar.xz > $] mkdir glibc-test > $] cd glibc-test > $] ../glibc-2.21/configure --prefix=/usr You do know that installing your own glibc over the one supplied by Debian in the same path will most likely destroy your system. If you do this to observe the effects of overwriting the system glibc without proper prepartion, then all is fine. If not, then please describe what you are trying to accomplish. Grüße, Sven. -- Sigmentation fault. Core dumped. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/15bo8a60i3...@mids.svenhartge.de
Installing glibc-2.21 on debian-8
Hi, I have debian jessie (8.0) on virtual machine. $] uname -a Linux rdx86-ds7 3.16.0-4-686-pae #1 SMP Debian 3.16.7-ckt9-3~deb8u1 (2015-04-24) i686 GNU/Linux I need to install latest glibc (libc-2.21) on this machine. My debian currently have libc-2.19 $] ls -lah /lib/i386-linux-gnu/libc.so.6 lrwxrwxrwx 1 root root 12 Apr 14 17:21 /lib/i386-linux-gnu/libc.so.6 -> libc-2.19.so I came across some documents and installed following packages as prerequisites: $] apt-get install linux-headers-$(uname -r) $] apt-get install build-essentials After this I have gcc-4.9.2 $] gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/i586-linux-gnu/4.9/lto-wrapper Target: i586-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 4.9.2-10' --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.9 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-i386/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-i386 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-i386 --with-arch-directory=i386 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-targets=all --enable-multiarch --with-arch-32=i586 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=i586-linux-gnu --host=i586-linux-gnu --target=i586-linux-gnu Thread model: posix gcc version 4.9.2 (Debian 4.9.2-10) $] cd /home/build/ $] wget http://ftp.gnu.org/gnu/glibc/glibc-2.21.tar.xz $] tar xf glibc-2.21.tar.xz $] mkdir glibc-test $] cd glibc-test $] ../glibc-2.21/configure --prefix=/usr configure: error: *** These critical programs are missing or too old: gawk *** Check the INSTALL file for required versions. $] apt-get install gawk $] ../glibc-2.21/configure --prefix=/usr $] echo $? 0 $] make $] echo $? 0 $] make check make subdir=string -C string ..=../ tests make[2]: Entering directory '/home/build/glibc-2.21/string' gcc tester.c -c -std=gnu99 -fgnu89-inline -O2 -Wall -Werror -Winline -Wno-error=undef -Wundef -Wwrite-strings -fmerge-all-constants -frounding-math -g -Wstrict-prototypes -Wa,-mtune=i686 -I../include -I/home/build/glibc-test/string -I/home/build/glibc-test -I../sysdeps/unix/sysv/linux/i386/i686 -I../sysdeps/i386/i686/nptl -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux/x86 -I../sysdeps/i386/nptl -I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux -I../sysdeps/nptl -I../sysdeps/pthread -I../sysdeps/gnu -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu/multiarch -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686/multiarch -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/x86/fpu/include -I../sysdeps/x86/fpu -I../sysdeps/i386 -I../sysdeps/x86 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic -I.. -I../libio -I. -D_LIBC_REENTRANT -include /home/build/glibc-test/libc-modules.h -DMODULE_NAME=nonlib -include ../include/libc-symbols.h -o /home/build/glibc-test/string/tester.o -MD -MP -MF /home/build/glibc-test/string/tester.o.dt -MT /home/build/glibc-test/string/tester.o tester.c: In function ‘test_memset’: tester.c:1313:10: error: ‘memset’ used with constant zero length parameter; this could be due to transposed parameters [-Werror=memset-transposed-args] (void) memset(one+2, 'y', 0); ^ cc1: all warnings being treated as errors ../o-iterator.mk:9: recipe for target '/home/build/glibc-test/string/tester.o' failed make[2]: *** [/home/build/glibc-test/string/tester.o] Error 1 make[2]: Leaving directory '/home/build/glibc-2.21/string' Makefile:213: recipe for target 'string/tests' failed make[1]: *** [string/tests] Error 2 make[1]: Leaving directory '/home/build/glibc-2.21' Makefile:9: recipe for target 'check' failed make: *** [check] Error 2 I found comment#13 on https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61294 Similar threads: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56977 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51744 Please correct me if i am wrong I have to install gcc-5.0 or above to install glibc-2.21? Is there no way around? Regards, Dhiraj