Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cross-compile error on Darwin #2

Open
wbx-github opened this issue Jun 2, 2018 · 0 comments
Open

cross-compile error on Darwin #2

wbx-github opened this issue Jun 2, 2018 · 0 comments

Comments

@wbx-github
Copy link

When trying to create a cross-toolchain on Darwin targeting Linux/nds32, I get following
error from binutils:
(register unsigned int x)
^
/usr/include/strings.h:87:6: note: previous declaration is here
int fls(int) __OSX_AVAILABLE_STARTING(__MAC_10_5, __IPHONE_2_0);
^
1 warning and 1 error generated.

Renaming the function to fls_internal make the compile go away.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant