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

Cannot compile simulated build on Mac OSX #98

Open
andrewlow opened this issue Nov 12, 2013 · 3 comments
Open

Cannot compile simulated build on Mac OSX #98

andrewlow opened this issue Nov 12, 2013 · 3 comments

Comments

@andrewlow
Copy link
Collaborator

$ git clone https://github.com/andrewlow/v8ppc.git
$ cd v8ppc/
$ make dependencies
$ make V=1 ppc
@andrewlow
Copy link
Collaborator Author

The CPU detection code in assembler-ppc.* is causing grief.

There is some sort of problem with -Wunused-private-field as well (the compiler is stricter than the code expects)

@tunniclm
Copy link
Contributor

I recognise the second part, I think I might have put something in a local build of mine to address that at some point, can't remember the circumstances I was getting the error though...
I found this in my stash:

--- a/src/checks.h
+++ b/src/checks.h
@@ -248,7 +248,7 @@ template <int> class StaticAssertionHelper { };
 #define STATIC_CHECK(test)                                                    \
   typedef                                                                     \
     StaticAssertionHelper<sizeof(StaticAssertion<static_cast<bool>((test))>)> \
-    SEMI_STATIC_JOIN(__StaticAssertTypedef__, __LINE__)
+    SEMI_STATIC_JOIN(__StaticAssertTypedef__, __LINE__) __attribute__ ((unused))

@barracuda156
Copy link

@andrewlow Were you able to build it on Mac OSX PPC?

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

No branches or pull requests

3 participants