Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 628100 - sys-libs/glibc-2.25-r3 has broken x86 SSE2 memstr, breaks portage, awk on 32-bit Atom
Summary: sys-libs/glibc-2.25-r3 has broken x86 SSE2 memstr, breaks portage, awk on 32-...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal critical (vote)
Assignee: Gentoo Toolchain Maintainers
URL: https://sourceware.org/bugzilla/show_...
Whiteboard:
Keywords:
Depends on:
Blocks: glibc-2.25
  Show dependency tree
 
Reported: 2017-08-17 14:46 UTC by Aidan Thornton
Modified: 2017-10-19 19:16 UTC (History)
0 users

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 Aidan Thornton 2017-08-17 14:46:24 UTC
glibc 2.25 has a nasty regression in one of its 32-bit SSE2 implementations of memchr that affects at least older 32-bit Atom systems, and presumably any other 32-bit x86 that uses the same memchr variant. (See linked upstream bug report.) The symptoms I've noticed are emerge immediately segfaulting every time in libpython and awk failing with an internal error, but it almost certainly causes other problems too. Tested with glibc-2.25-r3, gcc 6.4.0, gentoo-sources 4.12.0 on Atom N270. 

The upstream patch https://sourceware.org/git/?p=glibc.git;a=commit;h=ccb4fd7a657b0fbc4890c98f4586d58a135fc583 fixes the issue for me, though fixing an affected system is complicated by the fact that the bug breaks both emerge and the actual glibc build process itself.
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2017-08-17 21:14:34 UTC
Pushed as glibc-2.25-r4 (patchset 8): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=457d3ddf64abb388ad418793d5b0a9f5dfd80ee8

Thanks for the detailed report!