
29 Jan
2016
29 Jan
'16
5:42 p.m.
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.