Bug 441940
Summary: | latest glibc breaks anaconda build | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Doug Chapman <dchapman> | ||||
Component: | anaconda | Assignee: | Chris Lumens <clumens> | ||||
Status: | CLOSED ERRATA | QA Contact: | Alexander Todorov <atodorov> | ||||
Severity: | urgent | Docs Contact: | |||||
Priority: | urgent | ||||||
Version: | 5.2 | CC: | anaconda-maint-list, dgregor, dwa, jakub, jlaska, mikem | ||||
Target Milestone: | rc | Keywords: | Regression | ||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | RHBA-2008-0397 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2008-05-21 15:33:52 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Doug Chapman
2008-04-10 19:51:59 UTC
Created attachment 302064 [details]
output of rpmbuild -bb anaconda.spec
Then anaconda should be changed accordingly. Does it use libc.a gettext but not libc.a locale stuff? That's risky to say at least. I guess anaconda will have the same problem in rawhide then... All that changed in this area is that now __libc_setlocale_lock is a rwlock rather than mutex. -Wl,-M should help figure out why these .o files are now brought in and weren't before. --- anaconda-11.1.2.112/stubs/unicode-lite.c.jj 2008-04-08 18:17:36.000000000 -0400 +++ anaconda-11.1.2.112/stubs/unicode-lite.c 2008-04-11 03:40:02.000000000 -0400 @@ -116,5 +116,8 @@ const size_t _nl_category_name_sizes[] = /* avoid bringing in glibc's setlocale.o - we want to use our fake setlocale() */ -typedef pthread_mutex_t __libc_lock_t; -__libc_lock_t __libc_setlocale_lock; +union +{ + pthread_mutex_t mtx; + pthread_rwlock_t rwlck; +} __libc_setlocale_lock __attribute__((nocommon)); should fix this (at least loader links). As the stub doesn't use __libc_setlocale_lock and so it is there only to satisfy wcsmbsload.o, the above should make it work both with older and newer glibc (i.e. no matter if it is actually a mutex, libc one int mutex or rwlock). All the default mutex, libc one int mutex and rwlock initializers are all zeros, and nocommon means the symbol will be preferred over the one in libc.a (setlocale.o) where it is STT_COMMON. A quick scratch build earlier did not reproduce this issue, though I suppose that's simply because the latest glibc has not made it into the right tree yet. We have at least one more reason to do a rebuild of anaconda, so I'll ACK this. This will be fixed in anaconda-11.1.2.113-1. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2008-0397.html |