This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Latest GCC fails to build glibc
- From: Steve Ellcey <sellcey at imgtec dot com>
- To: Florian Weimer <fweimer at redhat dot com>
- Cc: <rguenther at suse dot de>, <libc-alpha at sourceware dot org>
- Date: Mon, 18 May 2015 12:56:32 -0700
- Subject: Re: Latest GCC fails to build glibc
- Authentication-results: sourceware.org; auth=none
- References: <24211622-19d7-4514-be3c-337c241188d2 at BAMAIL02 dot ba dot imgtec dot org> <5559D484 dot 8090002 at redhat dot com>
- Reply-to: <sellcey at imgtec dot com>
On Mon, 2015-05-18 at 14:01 +0200, Florian Weimer wrote:
> Steve, could you try the attached patch, please?
>
> An alternative fix for some of these issues would be to use the
> cast-free member access where the type of the outer object is known from
> context, getting rid of _IO_JUMPS.
That patch fixed the libio strict aliasing problems for me. There are
still problems with the resolv/res_hconf.c and inet/rcmd.c files, but
this patch took care of all of the libio build problems.
Steve Ellcey