Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 34414 - sys-libs/glibc-2.3.2-r3: /usr/bin/localedef segfaults, therefore, locales (umlauts etc.) aren't working anymore
Summary: sys-libs/glibc-2.3.2-r3: /usr/bin/localedef segfaults, therefore, locales (um...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-26 07:31 UTC by Daniel Mettler
Modified: 2005-06-07 19:26 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Mettler 2003-11-26 07:31:32 UTC
sys-libs/glibc-2.3.2-r3: /usr/bin/localedef is segfaulting after emerging 
glibc-2.3.2-r3. locales/umlauts don't work anymore

Reproducible: Always
Steps to Reproduce:
1. emerge sys-libs/glibc-2.3.2-r3
2. try to generate a locale using "localedef"
3. segfault

Actual Results:  
segfault

Expected Results:  
generate locales
Comment 1 Daniel Mettler 2003-11-26 07:33:54 UTC
some of the output of emerge info

Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.22)
================================================================
System uname: 2.4.22 i686 VIA Samuel 2
Gentoo Base System version 1.4.3.10p1
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86"
CFLAGS="-march=k6-3 -mcpu=k6-3 -O3 -pipe"
CHOST="i586-pc-linux-gnu"
CXXFLAGS="-march=k6-3 -mcpu=k6-3 -O3 -pipe"
Comment 2 SpanKY gentoo-dev 2003-11-26 19:12:57 UTC
what if you change the k6-3 to i686
Comment 3 Daniel Mettler 2003-11-27 02:14:38 UTC
i found out that this problem disappeared when i disabled (echo "0" >/proc/sys/kernel/exec-shield) the current exec-shield kernel patch (exec-shield-2.4.22-ac1-nptl-G4, see http://people.redhat.com/mingo/exec-shield/). i've already notified ingo regarding this. on his box however, localdef doesn't segfault (he uses glibc-common-2.3.2-101.1). so i'm concluding that this might be a problem of my particular box/arch in combination with glibc/exec-shield. unfortunately i lack the time to check out different -march settings (as suggested).

at least i could run localedef/locale-gen (http://bugs.gentoo.org/show_bug.cgi?id=22565) now. my locale problems (missing display of umlauts in mutt) are thus solved.
Comment 4 Maurice van der Pot (RETIRED) gentoo-dev 2004-12-11 16:52:13 UTC
gcc-porting team, there has been no activity on this bug for over a year.
What do you guys want to do with this?
Comment 5 Caleb Tennis (RETIRED) gentoo-dev 2005-06-07 19:26:34 UTC
assuming fixed in most recent versions.