This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Build problem with ToT GCC
- From: Steve Ellcey <sellcey at imgtec dot com>
- To: Roland McGrath <roland at hack dot frob dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Fri, 17 Apr 2015 14:52:29 -0700
- Subject: Re: Build problem with ToT GCC
- Authentication-results: sourceware.org; auth=none
- References: <88baa580-c27b-4fc8-b7da-7de3c0a7f64d at BAMAIL02 dot ba dot imgtec dot org> <20150417192032 dot 70DE42C3B91 at topped-with-meat dot com> <1429300312 dot 30498 dot 241 dot camel at ubuntu-sellcey> <20150417195820 dot 664E52C3B86 at topped-with-meat dot com> <1429300926 dot 30498 dot 243 dot camel at ubuntu-sellcey> <1429303574 dot 30498 dot 247 dot camel at ubuntu-sellcey> <20150417213118 dot 08ECE2C3B3B at topped-with-meat dot com>
- Reply-to: <sellcey at imgtec dot com>
On Fri, 2015-04-17 at 14:31 -0700, Roland McGrath wrote:
> Please try this patch (branch roland/dl-nns):
>
> * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
> IMAP->l_prev cannot be null, and #if out the code for the contrary
> case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
> believe that NS (&_dl_ns[NSID]) could point outside the array.
This patch allowed me to compile elf/dl-close.c and my glibc build
completed without any other problems.
Steve Ellcey
sellcey@imgtec.com