[EMAIL PROTECTED] dixit:

>-Os in gcc produces the bug. we use -O2 for now.

Interesting. Could you try -falign-* stuff?

>-              CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" \
>+              CFLAGS="-fno-ident -I$(STAGING_DIR)/usr/include" \

Oh, sorry. Please, no. (What if there are other options required?)

>+              CFLAGS="$(TARGET_CFLAGS) -O2 -I$(STAGING_DIR)/usr/include" \

But please try -falign-{functions,labels,jumps,loops}=4 there,
instead of -O2, maybe that helps. -Os also has other implications,
if you want I'll dig them up. And try -fno-strict-aliasing too.

//mirabile
-- 
  "Using Lynx is like wearing a really good pair of shades: cuts out
   the glare and harmful UV (ultra-vanity), and you feel so-o-o COOL."
                                         -- Henry Nelson, March 1999
_______________________________________________
freewrt-developers mailing list
[email protected]
https://www.freewrt.org/lists/listinfo/freewrt-developers

Reply via email to