[opensuse-packaging] rpmbuild glibc for OpenSuse?
Greetings. I am trying to rebuild glibc under OpenSUSE 10.3, optimizing for CPU, and am running into a peculiar problem. I am running the command: rpmbuild -bb --target athlon glibc.spec from /usr/src/packages/SPECS, with the glibc .src.rpm for 2.6.1 installed; and all goes very well, until rather near the end: + cd .. + export RPM_BUILD_ROOT + mkdir -p /var/tmp/glibc-2.6.1-build/lib/obsolete + cp -av bits/stdio-lock.h /var/tmp/glibc-2.6.1-build/usr/include/bits/stdio-lock.h `bits/stdio-lock.h' -> `/var/tmp/glibc-2.6.1-build/usr/include/bits/stdio-lock.h' + install -m 0700 glibc_post_upgrade /var/tmp/glibc-2.6.1-build/usr/sbin + mkdir -p /var/tmp/glibc-2.6.1-build/usr/include/resolv + install -m 0644 resolv/mapv4v6addr.h /var/tmp/glibc-2.6.1-build/usr/include/resolv/ + install -m 0644 resolv/mapv4v6hostent.h /var/tmp/glibc-2.6.1-build/usr/include/resolv/ + mkdir -p /var/tmp/glibc-2.6.1-build/usr/share/doc/glibc + cp -p 'manual/libc/*.html' /var/tmp/glibc-2.6.1-build/usr/share/doc/glibc cp: cannot stat `manual/libc/*.html': No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.66519 (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.66519 (%install) Should I be using a tool other than rpmbuild? Or is there a package I am missing? I have tried a number of things, but haven't been able to figure it out. J.E.B. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Jonathan E. Brickman escribió:
Greetings. I am trying to rebuild glibc under OpenSUSE 10.3, optimizing for CPU, and am running into a peculiar problem. I am running the command:
Care to explain WHY are you doing this ? it isnt enough with our glibc packages ? glibc: ***gentoo syndrome detected *** ;-P -- "The only thing that interferes with my learning is my education." - Albert Einstein Cristian Rodríguez R. Platform/OpenSUSE - Core Services SUSE LINUX Products GmbH Research & Development http://www.opensuse.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Cristian Rodríguez wrote:
Jonathan E. Brickman escribió:
Greetings. I am trying to rebuild glibc under OpenSUSE 10.3, optimizing for CPU, and am running into a peculiar problem. I am running the command:
Care to explain WHY are you doing this ? it isnt enough with our glibc packages ?
glibc: ***gentoo syndrome detected *** ;-P
;-PPP Might be gentoo-syndrome indeed, not quite sure. What it is, is when I recompiled glibc with CPU optimizations before, in Ark Linux and at least one or two others, I got a ~40% boost in subjective performance overall. Not unlike Swiftfox for WWW: http://getswiftfox.com/ The gains should be quite tremendous in multimedia libraries and the like. MMX/SSE/SSE2. I have heard mixed reviews of SSE3, not sure I will want to go there. But I do remember well that I noticed more gain from optimizing glibc, than I did from optimizing the kernel. I am curious to try a -O3 plus -march optimization routine, although -O3 might well break glibc, I was told that once. -march plus -O2 does do a whole lot of good, because of the memory management inherent in -march, even for lowly -march=pentium2 or -march=athlon. What my end goal is, is to set up sets of RPMs with CPU optimizations applied, to make it reasonably quick and easy to increase performance on OpenSUSE systems for several different CPUs. J.E.B. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Am Dienstag 27 November 2007 schrieb Jonathan E. Brickman:
Cristian Rodríguez wrote:
Jonathan E. Brickman escribió:
Greetings. I am trying to rebuild glibc under OpenSUSE 10.3, optimizing for CPU, and am running into a peculiar problem. I am running the command:
Care to explain WHY are you doing this ? it isnt enough with our glibc packages ?
glibc: ***gentoo syndrome detected *** ;-P
;-PPP Might be gentoo-syndrome indeed, not quite sure. What it is, is when I recompiled glibc with CPU optimizations before, in Ark Linux and at least one or two others, I got a ~40% boost in subjective performance overall. Not unlike Swiftfox for WWW:
Please note that our glibc is already optimized for i686 by default for a similiar reason. So I don't think "athlon" will give you 40% Greetings, Stephan --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Please note that our glibc is already optimized for i686 by default for a similiar reason. So I don't think "athlon" will give you 40%
Greetings, Stephan
Probably not 40%, at least with simple -march. But I want to try 3dnow (for this CPU), and MMX and SSE for others, especially in combination with multimedia libraries and apps. Can you tell me why rpmbuild isn't working? J.E.B. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Jonathan E. Brickman escribió:
Probably not 40%, at least with simple -march. But I want to try 3dnow (for this CPU), and MMX and SSE for others, especially in combination with multimedia libraries and apps. Can you tell me why rpmbuild isn't working?
Please use "build" ;-) -- "The only thing that interferes with my learning is my education." - Albert Einstein Cristian Rodríguez R. Platform/OpenSUSE - Core Services SUSE LINUX Products GmbH Research & Development http://www.opensuse.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Cristian Rodríguez wrote:
Please use "build" ;-)
Got it, tried it. If I understand things correctly, it has to install quite a large pile of packages to build the working chroot area. How much disk space is used, before building starts? I have 9G free in /, 20G free in /home. J.E.B. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Wednesday 28 November 2007 04:47:54 wrote Jonathan E. Brickman:
Cristian Rodríguez wrote:
Please use "build" ;-)
Got it, tried it. If I understand things correctly, it has to install quite a large pile of packages to build the working chroot area. How much disk space is used, before building starts? I have 9G free in /, 20G free in /home.
This is enough, it usually < 1GB what is needed. bye adrian -- Adrian Schroeter SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) email: adrian@suse.de --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (4)
-
Adrian Schröter
-
Cristian Rodríguez
-
Jonathan E. Brickman
-
Stephan Kulow