My /usr/include/assert.h had the line __BEGIN_@ECLS in it, instead of __BEGIN_DECLS Noticed it when xfree refused to compile. ebuild package that owns the file is glibc-2.3.1-r4 Reproducible: Always Steps to Reproduce: 1. 2. 3. Can't imagine how this could have happened. If the file is actually wrong in the package I'm amazed nobody else has reported it. Perhaps it got corrupted during install??
I just tried this here: > emerge --buildpkgonly /usr/portage/sys-libs/glibc/glibc-2.3.1-r4.ebuild > tar xjf /usr/portage/packages/sys-libs/glibc-2.3.1-r4.tbz2 usr/include/assert.h > cd usr/include > grep __BEGIN assert.h __BEGIN_DECLS It doesn't appear to be b0rked, as reported.
Check memory/hdd/overheat.
old issue, upgrade your glibc