<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small">Hello,</div></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 7, 2020 at 10:42 AM Sebastian Huber <<a href="mailto:sebastian.huber@embedded-brains.de">sebastian.huber@embedded-brains.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
the problem is that the new build system doesn't export optimization <br>
flags such as -Wl,--gc-sections. The libbsd build should enable this <br>
linker option unconditionally.<br></blockquote><div><br></div><div><div class="gmail_default" style="font-size:small">Thank you. I got it fixed (temporarily) by modifying rtems.py.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">conf.env.CFLAGS    = cflags['cflags'] + ['-ffunction-sections'] + ['-fdata-sections']<br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">As per Christian suggestions, I tried exporting CFLAGS with these GCC</div><div class="gmail_default" style="font-size:small">flags and then calling ./waf configure but they didn't work.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Thanks,</div><div class="gmail_default" style="font-size:small">Niteesh</div><div class="gmail_default" style="font-size:small"><br></div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
-- <br>
Sebastian Huber, embedded brains GmbH<br>
<br>
Address : Dornierstr. 4, D-82178 Puchheim, Germany<br>
Phone   : +49 89 189 47 41-16<br>
Fax     : +49 89 189 47 41-09<br>
E-Mail  : <a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brains.de</a><br>
PGP     : Public key available on request.<br>
<br>
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.<br>
</blockquote></div></div>