[U-Boot] [u-boot-mips] gp init and -pie option

Daniel Schwierzeck daniel.schwierzeck at gmail.com
Tue Feb 26 21:34:14 CET 2013


Hi,

2013/2/26 Juhyun (Justin) Oh <Juhyun_Oh at sigmadesigns.com>:
> HI Daniel,
>
> I'm using CodeSourcery 4.5.2. I've configured and have built the code for "incaip" board and "dbau1000". The results are the same. (i.e. gp has been set with wrong value)
>
> Could you tell me the CodeSourcery toolchain versions known to be working? I'd like to try out the same version.
>
Which CodeSourcery release do you use?

I have tried following toolchains and all of them have _gp initialized
correctly.

Sourcery CodeBench Lite 2011.09-75
  gcc version 4.5.2 (Sourcery CodeBench Lite 2011.09-75)
  GNU ld (Sourcery CodeBench Lite 2011.09-75) 2.21.53.20110905

Sourcery CodeBench Lite 2012.03-63:
  gcc version 4.6.3 (Sourcery CodeBench Lite 2012.03-63)
  GNU ld (Sourcery CodeBench Lite 2012.03-63) 2.21.53.20110905

ELDK-5.2.1:
  gcc version 4.6.4 20120303 (prerelease) (GCC)
  GNU ld (GNU Binutils) 2.22

ELDK-5.3:
  gcc version 4.7.2 (GCC)
  GNU ld (GNU Binutils) 2.22

-- 
Best regards,
Daniel


More information about the U-Boot mailing list