This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Build problem with ToT GCC


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]