[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/14693] New: [PATCH] Allow building for Android hosts
From: |
Bernhard.Rosenkranzer at linaro dot org |
Subject: |
[Bug binutils/14693] New: [PATCH] Allow building for Android hosts |
Date: |
Tue, 09 Oct 2012 23:59:21 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=14693
Bug #: 14693
Summary: [PATCH] Allow building for Android hosts
Product: binutils
Version: 2.24 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: binutils
AssignedTo: address@hidden
ReportedBy: address@hidden
Classification: Unclassified
Created attachment 6676
--> http://sourceware.org/bugzilla/attachment.cgi?id=6676
Patch
Currently, binutils can be built for Android targets, but not for Android hosts
-- it just requires 2 minor changes:
The getpagesize() implementation in libiberty has to be commented out because
Bionic (Android's libc) defines getpagesize() in <unistd.h>, and a time() call
in bfd/archive.c has to cast &status.st_mtime to time_t (st_mtime is, as
expected, an unsigned long -- but time_t is typedef'ed to (signed) int.
Probably a bug in Bionic - but casting explicitly can't hurt).
The patch is relative to hjl's 2.23.51.0.3 release, but will probably apply to
2.24.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
- [Bug binutils/14693] New: [PATCH] Allow building for Android hosts,
Bernhard.Rosenkranzer at linaro dot org <=