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

Stewart Smith stewart at linux.vnet.ibm.com
Wed Jul 19 15:19:11 AEST 2017


Nicholas Piggin <npiggin at gmail.com> writes:
> 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

Without having built (or boot tested) with them, everything *looks* sane
enough... I think the P7 target is good, certainly the reality of
skiboot for the forseeable future :)

Anything special about these toolchains? And should we add them to the
Travis CI magic so that we don't regress?

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list