[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: Linking errors when compiling with debug symbols
From:       Bartosz_Gołaszewski <bartekgola () gmail ! com>
Date:       2015-08-25 14:53:47
Message-ID: CAFdkumjAdVdH89Y-FCYrJt9CZEL23NT8Uis7w8qS3pCwiV=Urg () mail ! gmail ! com
[Download RAW message or body]

2015-08-25 16:25 GMT+02:00 Denys Vlasenko <vda.linux@googlemail.com>:
> No, it's my fault.
> Without optimization, this code
>
>         sockopt = offsetof(struct icmp6_hdr, icmp6_cksum);
>         if (sockopt != 2)
>                 BUG_bad_offsetof_icmp6_cksum();
>
> will not optimize out the comparison. So the generated code
> will contain the call, even though it will never execute.
>
> Fixing it...

Thanks, commit 5b865deb fixed the issue.

-- 
Best regards,
Bartosz Golaszewski
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic