public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Albert ARIBAUD <albert.u.boot@aribaud.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] [RFC V1] arm: config: enforce -fno-pic for gcc
Date: Fri, 29 Jan 2016 17:42:45 +0100	[thread overview]
Message-ID: <20160129174245.3b1c9b1d@lilith> (raw)
In-Reply-To: <1449302026-32675-1-git-send-email-Peng.Fan@freescale.com>

Hello Peng,

On Sat, 5 Dec 2015 15:53:46 +0800, Peng Fan <Peng.Fan@freescale.com>
wrote:
> Android's tool chain enable the -mandroid at default.
> This option will enable the -fpic, which cause uboot compilation
> failure:
> "
>  LD      u-boot
>  u-boot contains unexpected relocations: R_ARM_ABS32
>  R_ARM_RELATIVE
> "

Any idea why Android's toolchain has -fpic enabled?

> we can pass '-fno-pic' to xxx-gcc to disable pic. whether
> the toolchain internally enables or disables pic, '-fno-pic'
> can work well.

No problem apparently with this RFC. If you submit a non-RFC patch
I will apply it.

Amicalement,
-- 
Albert.

      parent reply	other threads:[~2016-01-29 16:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-05  7:53 [U-Boot] [RFC V1] arm: config: enforce -fno-pic for gcc Peng Fan
2015-12-14  7:28 ` Peng Fan
2015-12-31  7:07   ` Peng Fan
2016-01-29 16:42 ` Albert ARIBAUD [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160129174245.3b1c9b1d@lilith \
    --to=albert.u.boot@aribaud.net \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox