http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49930
Summary: Need some adjustments for bionic Product: gcc Version: 4.6.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other AssignedTo: unassig...@gcc.gnu.org ReportedBy: mh+...@glandium.org Created attachment 24879 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24879 Patch The following things are bionic specificities that the gcc source code doesn't handle well: - sincos is not supported - getpagesize is defined as an inline in the headers - prctl is defined with the prototype as per the linux manual page: int prctl(int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5) and not prctl(int option, ...) as in glibc headers. With the attached patch, I was able to build gcc 4.6.1 for use with the Android NDK.