compile glibc with the gs option
Hi, I want to build glibc with an option to use the GS segment register to address certain pthread-specific state, just as the default glibc build in RedHat. Anyone has an idea how to do it in SuSe 8.0? thanks in advance. __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com
* Yongzhi Zhang; <yongzhi_zhang_cu@yahoo.com> on 01 Jul, 2002 wrote:
Hi,
I want to build glibc with an option to use the GS segment register to address certain pthread-specific state, just as the default glibc build in RedHat.
Anyone has an idea how to do it in SuSe 8.0?
In your CD/DVD set look for the unsupported directory what you want is prebuilt as an rpm -- Togan Muftuoglu Unofficial SuSE FAQ Maintainer http://dinamizm.ath.cx
Togan, thanks for your reply. One more confusion though: Should I "rpm -i" to install it or "rpm -U" to update it? After I overwrite the origianl one, could I restore it to the original one by using Yast2? Or even better could I have two versoin of glibc? thanks a lot! --- Togan Muftuoglu <toganm@dinamizm.com> wrote:
Hi,
I want to build glibc with an option to use the GS segment register to address certain
* Yongzhi Zhang; <yongzhi_zhang_cu@yahoo.com> on 01 Jul, 2002 wrote: pthread-specific
state, just as the default glibc build in RedHat.
Anyone has an idea how to do it in SuSe 8.0?
In your CD/DVD set look for the unsupported directory what you want is prebuilt as an rpm
--
Togan Muftuoglu Unofficial SuSE FAQ Maintainer http://dinamizm.ath.cx
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com
__________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com
* Yongzhi Zhang; <yongzhi_zhang_cu@yahoo.com> on 01 Jul, 2002 wrote:
Should I "rpm -i" to install it or "rpm -U" to update it? After I overwrite the origianl one, could I restore it to the original one by using Yast2?
Since you have glibc already installed I would use either -F or -U switch. Most probably yes for your YaST2 question. However since it is in the unsupported section that means YaST2 may bark about it since the version number of the package will not match to the one YaST2 is comparing to.
Or even better could I have two versoin of glibc?
why ? -- Togan Muftuoglu Unofficial SuSE FAQ Maintainer http://dinamizm.ath.cx
Or even better could I have two versoin of glibc?
why ?
-- I am trying to test some performance issue with and without SMP multithread support. It would be nice if I can switch back and forth without recompile.
Togan Muftuoglu Unofficial SuSE FAQ Maintainer http://dinamizm.ath.cx
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com
__________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com
Hi, After I replace SuSe default glibc-2.2.5-28 with glibc-2.2.5-26 in the unsorted directory, IBM java2 virtual machine seems can't find the shared libs libpthread.so.0. But if I "ldd java", I found java is linked to /lib/libpthread.so.0 which is install in the same place on my machine. Furthermore Yast2 breaks -- it comes up ok, but when I try to add or unstall something, it stucks in intializing. I attached the screen output below. Any suggestion is appreciated, linux:/tmp/glibc-i686 # rpm -Uvh --force glibc-2.2.5-26.i686.rpm glibc ################################################## linux:/tmp/glibc-i686 # rpm -q glibc glibc-2.2.5-26 linux:/tmp/glibc-i686 # java /usr/lib/java/jre/bin/exe/java: error while loading shared libraries: libpthread .so.0: cannot open shared object file: No such file or directory linux:/usr/lib/java/jre/bin/exe # ldd java libpthread.so.0 => /lib/libpthread.so.0 (0x40023000) libnsl.so.1 => /lib/libnsl.so.1 (0x40039000) libdl.so.2 => /lib/libdl.so.2 (0x4004f000) libc.so.6 => /lib/libc.so.6 (0x40053000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) linux:/lib # ls -l libpthread.so.0 -rwxr-xr-x 1 root root 101574 Feb 23 09:29 libpthread.so.0 --- Togan Muftuoglu <toganm@dinamizm.com> wrote:
* Yongzhi Zhang; <yongzhi_zhang_cu@yahoo.com> on 01 Jul, 2002 wrote:
Should I "rpm -i" to install it or "rpm -U" to update it? After I overwrite the origianl one, could I restore it to the original one by using Yast2?
Since you have glibc already installed I would use either -F or -U switch. Most probably yes for your YaST2 question. However since it is in the unsupported section that means YaST2 may bark about it since the version number of the package will not match to the one YaST2 is comparing to.
Or even better could I have two versoin of glibc?
why ?
--
Togan Muftuoglu Unofficial SuSE FAQ Maintainer http://dinamizm.ath.cx
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com
__________________________________________________ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com
* Yongzhi Zhang; <yongzhi_zhang_cu@yahoo.com> on 02 Jul, 2002 wrote:
I attached the screen output below.
Any suggestion is appreciated,
have you run SuSEconfig after the install ps. let me grab my own copy from the list no need to CC me -- Togan Muftuoglu Unofficial SuSE FAQ Maintainer http://dinamizm.ath.cx
Thanks for the tip. I didn't run SuSeconfig. I will try it tonight. Is it a default procedure to update system configuration using SuSeconfig after installing a new package? I have thought rpm would update the configuration automatically. By the way where can I find such information as how to install, update system package without going through Yast2, or find a way to instruct Yast2 to use a specific build version of a package. thanks --- Togan Muftuoglu <toganm@dinamizm.com> wrote:
* Yongzhi Zhang; <yongzhi_zhang_cu@yahoo.com> on 02 Jul, 2002 wrote:
I attached the screen output below.
Any suggestion is appreciated,
have you run SuSEconfig after the install
ps. let me grab my own copy from the list no need to CC me
--
Togan Muftuoglu Unofficial SuSE FAQ Maintainer http://dinamizm.ath.cx
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com
__________________________________________________ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com
* Yongzhi Zhang; <yongzhi_zhang_cu@yahoo.com> on 02 Jul, 2002 wrote:
Is it a default procedure to update system configuration using SuSeconfig after installing a new package? I have thought rpm would update the configuration automatically.
Depends on tha package however in most cases it would not hurt. With glibc I would have done the update in Single run level issue SuSEConfig and then continue with the normal runlevel ie init 3 or init 5. -- Togan Muftuoglu Unofficial SuSE FAQ Maintainer http://dinamizm.ath.cx
participants (2)
-
Togan Muftuoglu
-
Yongzhi Zhang