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

Build fails on aarch64 #69

Closed
bavier opened this issue Dec 14, 2017 · 1 comment
Closed

Build fails on aarch64 #69

bavier opened this issue Dec 14, 2017 · 1 comment

Comments

@bavier
Copy link

bavier commented Dec 14, 2017

Hello Ao,

When I try to build Ao "ao-guile-repl" branch on aarch64 the build fails in the efsw directory with an error from inotify_nosys.h, saying "Unsupported architecture!"

The following patch fixes this. Please forward to the efsw devs.

--- ao/ui/vendor/efsw/src/efsw/inotify-nosys.h  2017-12-14 16:27:16.125871099 -0600
+++ ao/ui/vendor/efsw/src/efsw/inotify-nosys.h  2017-12-14 16:26:39.786022981 -0600
@@ -69,6 +69,11 @@
 # define __NR_inotify_add_watch (__NR_SYSCALL_BASE+317)
 # define __NR_inotify_rm_watch (__NR_SYSCALL_BASE+318)

+#elif defined (__aarch64__)
+# define __NR_inotify_init 1043
+# define __NR_inotify_add_watch 27
+# define __NR_inotify_rm_watch 28
+
 #elif defined (__frv__)
 # define __NR_inotify_init 291
 # define __NR_inotify_add_watch 292
@mkeeter
Copy link
Member

mkeeter commented Dec 15, 2017

Hi @bavier !

efsw is maintained here and I'm sure they'd appreciate your patch.

I'm no longer maintaining the ao-guile-repl branch, but if you open up a PR with these changes, I'll merge it in.

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

2 participants