This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/49930] New: Need some adjustments for bionic
- From: "mh+gcc at glandium dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 1 Aug 2011 07:10:25 +0000
- Subject: [Bug other/49930] New: Need some adjustments for bionic
- Auto-submitted: auto-generated
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: unassigned@gcc.gnu.org
ReportedBy: mh+gcc@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.