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

Android.mk missing required src files, compiler flag. #639

Open
GoogleCodeExporter opened this issue Jul 29, 2015 · 0 comments
Open

Android.mk missing required src files, compiler flag. #639

GoogleCodeExporter opened this issue Jul 29, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

In order to get Breakpad to compile for me (under NDK r10d) I had to add this 
flag:

+LOCAL_CXXFLAGS := -fno-strict-aliasing

and these these src files:

+    src/client/linux/dump_writer_common/seccomp_unwinder.cc \
+    src/client/linux/dump_writer_common/thread_info.cc \
+    src/client/linux/dump_writer_common/ucontext_reader.cc \
+    src/client/linux/microdump_writer/microdump_writer.cc \

to Android.mk.  This is not a big deal, but it would be nice if it worked out 
of the box.

The "strict-aliasing" flag is necessary to handle some type punning inside 
md5.cc.  It would be great to just change that to a memcpy, but I didn't have a 
simple way to test it so I opted for the flag :)

Original issue reported on code.google.com by [email protected] on 19 Feb 2015 at 6:12

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