NEW BUILD SYSTEM: Cannot build rtems-libbsd
Niteesh G. S.
niteesh.gs at gmail.com
Wed Jul 8 06:10:46 UTC 2020
Hello,
On Tue, Jul 7, 2020 at 10:42 AM Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:
> Hello,
>
> the problem is that the new build system doesn't export optimization
> flags such as -Wl,--gc-sections. The libbsd build should enable this
> linker option unconditionally.
>
Thank you. I got it fixed (temporarily) by modifying rtems.py.
conf.env.CFLAGS = cflags['cflags'] + ['-ffunction-sections'] +
['-fdata-sections']
As per Christian suggestions, I tried exporting CFLAGS with these GCC
flags and then calling ./waf configure but they didn't work.
Thanks,
Niteesh
> --
> Sebastian Huber, embedded brains GmbH
>
> Address : Dornierstr. 4, D-82178 Puchheim, Germany
> Phone : +49 89 189 47 41-16
> Fax : +49 89 189 47 41-09
> E-Mail : sebastian.huber at embedded-brains.de
> PGP : Public key available on request.
>
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20200708/35c3cc94/attachment.html>
More information about the devel
mailing list