[Bug 596271] New: glibc 2.11 being built without support to "old" powerpc32 processors (G4)
http://bugzilla.novell.com/show_bug.cgi?id=596271 http://bugzilla.novell.com/show_bug.cgi?id=596271#c0 Summary: glibc 2.11 being built without support to "old" powerpc32 processors (G4) Classification: openSUSE Product: openSUSE 11.3 Version: Factory Platform: PowerPC OS/Version: openSUSE 11.3 Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: pbaudis@novell.com ReportedBy: lchiquitto@novell.com QAContact: qa@suse.de CC: meissner@novell.com Found By: --- Blocker: --- With the upgrade to glibc 2.11, openSUSE no longer supports older powerpc32 processors like the G4. Apparently this was caused by the following change in the build: - [ppc,ppc64] Enable optimized builds for power7; no separate power4, power5 builds are generated anymore, instead default glibc is built for power4 at least, tuned for power5 execution [FATE#307021] Building for power4 by default (ie, passing "--with-cpu=power4") will prevent older processors from working, as explained in the spec file: # But: ppc32 can not default to -mcpu=power4 because it would emit instructions # which are not available on G3, G4 etc. Installing the updated package will make everything that's linked against glibc to hang just before execution. For example: # strace -f chroot /var/tmp/build-root ls open("/proc/filesystems", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) futex(0xff2ebe4, FUTEX_WAIT_PRIVATE, 2, NULL Running with LD_DEBUG shows that it hangs in the following point: 14959: binding file /bin/bash [0] to /lib/libc.so.6 [0]: normal symbol `__libc_start_main' [GLIBC_2.0] -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=596271 http://bugzilla.novell.com/show_bug.cgi?id=596271#c1 --- Comment #1 from Leonardo Chiquitto <lchiquitto@novell.com> 2010-04-20 14:06:06 UTC --- Any chance to have this reverted (ie, disable power4-specific optimizations by default) or not supporting G4 processors on 11.3 and beyond is a question already decided? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=596271 http://bugzilla.novell.com/show_bug.cgi?id=596271#c2 --- Comment #2 from Marcus Meissner <meissner@novell.com> 2010-04-20 14:07:58 UTC --- i guess you could just fix it. the powerpc community of opensuse is small. ;) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=596271 http://bugzilla.novell.com/show_bug.cgi?id=596271#c3 --- Comment #3 from Leonardo Chiquitto <lchiquitto@novell.com> 2010-04-20 14:23:56 UTC --- I "fixed" it here by disabling optimization completely on ppc32: %define enable_stackguard_randomization 1 -%ifarch ppc ppc64 +%ifarch ppc64 %define optimize_power 1 Do you think this is acceptable for openSUSE? I don't want to propose a change that will cause performance degradation for the majority of users (assuming that most openSUSE ppc users have IBM hardware and not Apple) and benefit only myself :) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=596271 http://bugzilla.novell.com/show_bug.cgi?id=596271#c4 --- Comment #4 from Marcus Meissner <meissner@novell.com> 2010-04-20 15:10:46 UTC --- i am kinda undecided here. its also not sure how much performance is lost. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=596271 http://bugzilla.novell.com/show_bug.cgi?id=596271#c5 larry stotler <larrystotler@netscape.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |larrystotler@netscape.net --- Comment #5 from larry stotler <larrystotler@netscape.net> 2010-04-20 22:17:37 UTC --- I think removing G4 support wouldn't be a good thing. I personally don't even have any Macs newer than a G4. G4's have a broad range of speeds from 350 to over 2ghz. And there are machines like the Pegasos PPC that Peter Czanik uses(I've forwarded this to him as well). How much work would it be to split the 32 from the 64 bit? We'd need the space to host it. I'd like to start doing more(though I can't program). What would we need to do? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=596271 http://bugzilla.novell.com/show_bug.cgi?id=596271#c6 --- Comment #6 from Marcus Meissner <meissner@novell.com> 2010-04-20 22:22:16 UTC --- this bug only addresses the 32bit glibc, not 64bit. even 11.1 glibc for powerpc32 was built for power4 ... its probably just new opcodes now that make it fail. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=596271 http://bugzilla.novell.com/show_bug.cgi?id=596271#c7 --- Comment #7 from Petr Baudis <pbaudis@novell.com> 2010-04-20 22:44:39 UTC --- Based on my conversations with rsa, the offender is likely hardcoded dependency on cacheline size being 128 in string routines (it's 32 on G4), which should also be the major speedup though. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=596271 http://bugzilla.novell.com/show_bug.cgi?id=596271#c10 --- Comment #10 from Marcus Meissner <meissner@novell.com> 2010-04-22 16:17:37 UTC --- ok, hammered into submittable shape and submitted for Base:System meissner@grape:~/projects/bs/home:msmeissn:branches:Base:System/glibc> osc submitreq -m "enabled power4 sub arch building, build main library generic power (runs everywhere)" created request id 38530 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=596271 http://bugzilla.novell.com/show_bug.cgi?id=596271#c11 Leonardo Chiquitto <lchiquitto@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #11 from Leonardo Chiquitto <lchiquitto@novell.com> 2010-05-04 12:23:52 UTC --- The glibc package now available in Factory (glibc-2.11.1-4.1.ppc) resolves this problem. Thanks a lot Marcus and Petr. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com