[Buildroot] [PATCH v2 2/7] package/libnss: re-enable package on microblaze

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sat Aug 3 13:30:02 UTC 2019


On Wed, 26 Jun 2019 14:58:55 +0200
Giulio Benetti <giulio.benetti at micronovasrl.com> wrote:

> With Microblaze Gcc version < 8.x the build hangs due to bug 85862:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85862
> To avoid this, the libnss package has a !BR2_TOOLCHAIN_HAS_GCC_BUG_85862
> dependency. However, gcc bug 85862 only triggers when optimization is
> enabled, so we can work around the issue by passing -O0, which is what
> we do in other Buildroot packages to work around this bug.
> 
> Signed-off-by: Giulio Benetti <giulio.benetti at micronovasrl.com>
> ---
> V1->V2:
> * use $() instead of ${}
> ---
>  package/libnss/Config.in | 4 ----
>  package/libnss/libnss.mk | 8 +++++++-
>  2 files changed, 7 insertions(+), 5 deletions(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list