This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
_IO_check_libio miscompiled on mips64el
- From: Aurelien Jarno <aurelien at aurel32 dot net>
- To: libc-alpha at sourceware dot org
- Date: Sat, 4 Jun 2016 15:39:21 +0200
- Subject: _IO_check_libio miscompiled on mips64el
- Authentication-results: sourceware.org; auth=none
Hi all,
The problem I report here looks like a GCC issue, but given it affects
the GNU libc, I am also asking for help here. I have found that the
function _IO_check_libio in libio/oldstdfiles.c is not compiled
correctly on mips64el-linux-gnuabi64 when using GCC >= 4.9. The
_IO_stdin_ symbol appears in the .data.rel.local section while I think
it should be in the data.rel section just like _IO_stdout_ and
_IO_stderr_. This causes, among other things, lua to fail to work
correctly.
I have reported the bug to GCC there:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71155
Any help or comment would be appreciated.
Thanks,
Aurelien
--
Aurelien Jarno GPG: 4096R/1DDD8C9B
aurelien@aurel32.net http://www.aurel32.net