[Skiboot] [RFC PATCH 0/3] fixes for building BE target with LE toolchain

Nicholas Piggin npiggin at gmail.com
Sun Aug 13 03:25:58 AEST 2017


On Tue, 18 Jul 2017 20:40:05 +1000
Nicholas Piggin <npiggin at gmail.com> wrote:

> These are a few patches I carry around in the interest of being
> able to build BE firmware and LE kernel on my development machine
> using only one toolchain. They tend to have the capability to generate
> code for either endian, it's just defaults that don't always align.
> 
> Nicholas Piggin (3):
>   build: LDFLAGS pass -pie flag explicitly to ld
>   build: CFLAGS compile with -fpie and -fno-pic
>   build: CFLAGS compile with -mcpu=power7
> 
>  Makefile.main | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 

FYI, with the debian unstable, skiboot no longer boots without
these patches even using the BE cross compiler (after upgrading
to gcc 7.1).

Thanks,
Nick



More information about the Skiboot mailing list