Build problem with ToT GCC

Steve Ellcey sellcey@imgtec.com
Fri Apr 17 21:52:00 GMT 2015


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



More information about the Libc-alpha mailing list