[U-Boot] [PATCH] PowerPC: Move -fPIC flag to common place

Joakim Tjernlund joakim.tjernlund at transmode.se
Fri Apr 22 10:13:07 CEST 2011


Wolfgang Denk <wd at denx.de> wrote on 2011/04/20 22:13:35:
>
> Dear Joakim Tjernlund,
>
> In message <OF8B32E14F.150B51B9-ONC1257878.0044927E-C1257878.00452684 at transmode.se> you wrote:
> >
> > OK, I managed to script the change, patch last in mail.
>
> Thanks.
>
> > However CROSS_COMPILE=powerpc-softfloat-linux-gnu- ./MAKEALL  TQM862L TQM855L TQM860L
> > does not build for me, same problem as you got.
> > Even if I manually back out the 2 patches affecting 8xx it wont build.
> > I think these boards have some other problem really, like u-boot is too big for them.
> >
> > Most other 8xx boards build fine, those that don't have some other problem.
>
> I bisected the build issue, and it pointed at your patch.

hmm, this is strange. The only way I managed to build these boards
was with my patches applied and with a gcc that understands -msingle-pic-base et. all

Backing out all 3 patches did not help. Not with gcc 3.4.6, 4.4.5 or 4.5.2
so I am really lost why your gcc(of which I know nothing) works.

I suspect it is just plain luck that it works for you. If you add
-fno-jump-tables to your gcc, does it break?

 Jocke



More information about the U-Boot mailing list