Re: Cross building debian kernel package: scripts/Kconfig.include:39: compiler ' powerpc-linux-gnu-gcc-9' not found
On 4/22/20 9:02 AM, Mathieu Malaterre wrote:
> $ dpkg-architecture -apowerpc -c fakeroot make -f debian/rules.gen
> setup_powerpc_none_powerpc64
> [...]
> gcc -o scripts/kconfig/conf scripts/kconfig/conf.o
> scripts/kconfig/confdata.o scripts/kconfig/expr.o
> scripts/kconfig/lexer.lex.o scripts/kconfig/parser.tab.o
> scripts/kconfig/preprocess.o scripts/kconfig/symbol.o
> scripts/kconfig/util.o
> scripts/kconfig/conf --listnewconfig Kconfig
> scripts/Kconfig.include:39: compiler ' powerpc-linux-gnu-gcc-9' not found
>
> Which seems to be consistent with the fact that:
I recommend using sbuild using a directory chroot as this will install the
dependencies automatically.
You will have to build and install the cross-build-essential package for
ppc64 into the chroot manually though, I will do that and upload the
debs here:
> https://people.debian.org/~glaubitz/cross-build-essential
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaubitz@debian.org
`. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Reply to: