<div dir="ltr">Hi Zifei,<div><br></div><div>It seems I had missed the patch you had sent with this e-mail. I did end up having the same issue today as I upgraded to gcc 5.1.</div><div><br></div><div>My fix is a combination of what was reported on the open embedded mailing list (marking the mi and config declarations as extern) and removing what was left of the function:entry feature.</div><div><br></div><div><div>commit 96ffaa0c61089296dd5c9dd07810f32f97931fc8</div><div>Author: Jérémie Galarneau <<a href="mailto:jeremie.galarneau@efficios.com">jeremie.galarneau@efficios.com</a>></div><div>Date:   Fri May 22 12:55:57 2015 -0400</div><div><br></div><div>    Clean-up: Remove ifdef-ed out function:entry feature</div><div>    </div><div>    Signed-off-by: Jérémie Galarneau <<a href="mailto:jeremie.galarneau@efficios.com">jeremie.galarneau@efficios.com</a>></div><div><br></div><div>commit 4965f956f3ef47388fb4a1b2f8f504abfe31afe7</div><div>Author: Jérémie Galarneau <<a href="mailto:jeremie.galarneau@efficios.com">jeremie.galarneau@efficios.com</a>></div><div>Date:   Fri May 22 12:53:30 2015 -0400</div><div><br></div><div>    Fix: Mark MI and Config string declarations as extern</div><div>    </div><div>    This fixes a build issue with GCC 5.1 which would complain about</div><div>    these symbols being defined multiple times.</div><div>    </div><div>    Signed-off-by: Jérémie Galarneau <<a href="mailto:jeremie.galarneau@efficios.com">jeremie.galarneau@efficios.com</a>></div></div><div><br></div><div>Thanks a lot and sorry for the delay!</div><div>Jérémie</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 27, 2015 at 5:39 PM, Zifei Tong <span dir="ltr"><<a href="mailto:zifeitong@gmail.com" target="_blank">zifeitong@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I created a minimal reproducer [1] for the UB if you are interested.<br>
<br>
[1]: <a href="https://gist.github.com/5kg/7304cf74bc0fe13a9f70" target="_blank">https://gist.github.com/5kg/7304cf74bc0fe13a9f70</a><br>
<br>
Thanks,<br>
Zifei Tong<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Jérémie Galarneau<br>EfficiOS Inc.<br><a href="http://www.efficios.com" target="_blank">http://www.efficios.com</a></div>
</div>