[PATCH 1/2] test/tls/tst-tls[6-8]: Fix build errors
Vineet Gupta
Vineet.Gupta1 at synopsys.com
Thu Feb 6 12:42:08 UTC 2014
On Thursday 06 February 2014 05:53 PM, Baruch Siach wrote:
> Hi Vineet,
>
> On Thu, Feb 06, 2014 at 05:49:21PM +0530, Vineet Gupta wrote:
>> --------------->8-------------------
>> tst-tls7.c: In function 'do_test':
>> tst-tls7.c:39:57: error: 'struct link_map' has no member named 'l_tls_modid'
>> modid = ((struct link_map *)((struct dyn_elf *)h)->dyn)->l_tls_modid;
>> ^
>> tst-tls7.c:40:63: error: 'struct link_map' has no member named 'l_tls_modid'
>> else if (((struct link_map *)((struct dyn_elf *)h)->dyn)->l_tls_modid
>> ^
>> tst-tls7.c:45:52: error: 'struct link_map' has no member named 'l_tls_modid'
>> ((struct link_map *)((struct dyn_elf *)h)->dyn)->l_tls_modid,
>> ^
>> make[2]: *** [tst-tls7] Error 1
>> --------------->8-------------------
> I used a different approach to fix the same issue some while ago:
> http://article.gmane.org/gmane.comp.lib.uclibc.general/23449 . Does this work
> for you?
It does - thanks and indeed smaller patch.
What's your opinion on the other one, does it make sense ?
-Vineet
More information about the uClibc
mailing list