Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 177093 - sys-libs/uclibc gen_wctype segfaults with gcc4
Summary: sys-libs/uclibc gen_wctype segfaults with gcc4
Status: RESOLVED DUPLICATE of bug 155850
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-04 21:28 UTC by Arkadi Shishlov
Modified: 2008-09-24 17:28 UTC (History)
1 user (show)

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


Attachments
gen_wctype missing initialization gcc4 fix (gcc4-genwctype.patch,308 bytes, patch)
2007-05-04 21:29 UTC, Arkadi Shishlov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Arkadi Shishlov 2007-05-04 21:28:22 UTC
crossdev -t i586-pc-linux-uclibc fails with ./gen_wctype en_US - Segmentation fault while building uClibc 0.9.28.3. Host compiler is gcc 4.1.1-r1 i686.
There is a patch that never made it into uClibc tree
http://busybox.net/lists/uclibc/2005-December/013517.html
http://busybox.net/lists/uclibc/attachments/20051209/f1f6a5e9/gcc4-genwctype.bin
Please apply and push upstream.

This commit
http://www.uclibc.org/cgi-bin/viewcvs.cgi/trunk/uClibc/extra/locale/gen_wctype.c?rev=15518&r1=15517&r2=15518&diff_format=h
miss the memset() line originally present in 
http://busybox.net/lists/uclibc/2005-December/013531.html
http://busybox.net/lists/uclibc/attachments/20051210/a53d2dbc/hotfix-genwctype.bin
Comment 1 Arkadi Shishlov 2007-05-04 21:29:40 UTC
Created attachment 118178 [details, diff]
gen_wctype missing initialization gcc4 fix
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-05-04 21:43:29 UTC

*** This bug has been marked as a duplicate of bug 155850 ***
Comment 3 Arkadi Shishlov 2007-05-04 21:51:52 UTC
Fine, maybe a dupe, but patch is still valid.
Now I see
http://www.uclibc.org/cgi-bin/viewcvs.cgi/trunk/uClibc/extra/locale/gen_wctype.c?rev=15516&r1=13492&r2=15516&diff_format=h
but this memset() is not present in uClibc-0.9.28.3/extra/locale/gen_wctype.c
Comment 4 Tobias Leupold 2008-09-24 17:28:28 UTC
Is anybody still working on the broken locales?