Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3444)

Issue 4515131: [google] Disable getpagesize() for Android toolchain

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 11 months ago by carrot
Modified:
9 years, 7 months ago
Reviewers:
dougkwan, joseph, pinskia
CC:
jingyu, gcc-patches_gcc.gnu.org
Base URL:
svn+ssh://gcc.gnu.org/svn/gcc/branches/google/main/libiberty/
Visibility:
Public.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -0 lines) Patch
A ChangeLog.google-main View 1 chunk +5 lines, -0 lines 0 comments Download
M getpagesize.c View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 10
carrot
Hi This patch is for google/main. In order to be compatible with current bionic and ...
12 years, 11 months ago (2011-05-24 09:39:13 UTC) #1
joseph_codesourcery.com
On Tue, 24 May 2011, Guozhi Wei wrote: > Index: getpagesize.c > =================================================================== > --- ...
12 years, 11 months ago (2011-05-24 11:19:31 UTC) #2
dougkwan
Shouldn't we test ifndef __ANDROID__ instead? -Doug On Tue, May 24, 2011 at 2:39 AM, ...
12 years, 11 months ago (2011-05-24 18:07:32 UTC) #3
jingyu
Hi Joseph, We notice that gcc starts to build libiberty for target as a multilib ...
12 years, 11 months ago (2011-05-26 00:17:58 UTC) #4
dougkwan
Jing Can't we just skip libiberty in top-level configure.ac? Look for the comment "Disable target ...
12 years, 11 months ago (2011-05-26 00:25:21 UTC) #5
jingyu
Actually I don't know why in gcc-4.6 libiberty is built for target when --disable-stdc++-v3 is ...
12 years, 11 months ago (2011-05-26 04:27:55 UTC) #6
carrot
Hi I've tested the #ifndef __ANDROID__ on arm qemu without regression. And also built Android ...
12 years, 11 months ago (2011-05-26 08:58:12 UTC) #7
joseph_codesourcery.com
On Wed, 25 May 2011, Jing Yu wrote: > I am wondering how to disable ...
12 years, 11 months ago (2011-05-26 12:00:23 UTC) #8
jingyu
I have tested the following patch to skip building target libiberty for arm*-*-linux-androideabi. It works ...
12 years, 11 months ago (2011-05-26 23:47:46 UTC) #9
pinskia_gmail.com
12 years, 11 months ago (2011-05-26 23:49:24 UTC) #10
On Thu, May 26, 2011 at 4:47 PM, Jing Yu <jingyu@google.com> wrote:
> I have tested the following patch to skip building target libiberty
> for arm*-*-linux-androideabi. It works as intended when building
> Android arm-linux-androideabi toolchain.
>
> Doug, do we want to skip building libiberty for non arm android
> toolchain, say *-linux-android*?
>
> Joseph, do you think if similar patch is possible for trunk? I will
> send a separate email for review if this approach is the right way to
> go.

What Joseph recommended was ripping out all support for building
libiberty for the target side as it is not needed.  Your patch just
skips it for those targets.

-- Pinski
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b