Re: [PATCH 1/9] nds32: lib: To use generic lib instead of libgcc to prevent the symbol undefined issue.

From: Arnd Bergmann
Date: Thu Apr 19 2018 - 09:37:02 EST


On Thu, Apr 19, 2018 at 3:18 PM, Greentime Hu <green.hu@xxxxxxxxx> wrote:
> We can use the generic lib to fix these error because the symbol of
> libgcc in toolchain is not exported.
>
> ERROR: "__ucmpdi2" [fs/xfs/xfs.ko] undefined!
> ERROR: "__ashrdi3" [fs/xfs/xfs.ko] undefined!
> ERROR: "__lshrdi3" [fs/xfs/xfs.ko] undefined!
> ERROR: "__ashldi3" [fs/ntfs/ntfs.ko] undefined!
> ...
>
> Signed-off-by: Greentime Hu <greentime@xxxxxxxxxxxxx>

I looked at all nine patches, they all seem like useful fixes:

Acked-by: Arnd Bergmann <arnd@xxxxxxxx>

For the last patch, I commented separately, we might need an additional
patch on top to make it more robust.

Arnd