Re: [PATCH] compiler: allow all arches to enable CONFIG_OPTIMIZE_INLINING
From: Christophe Leroy
Date: Tue Mar 26 2019 - 02:03:01 EST
Hi Masahiro,
Le 25/03/2019 Ã 07:44, Masahiro Yamada a ÃcritÂ:
Hi Christophe,
On Sat, Mar 23, 2019 at 5:27 PM LEROY Christophe
<christophe.leroy@xxxxxx> wrote:
Arnd Bergmann <arnd@xxxxxxxx> a Ãcrit :
On Wed, Mar 20, 2019 at 10:41 AM Arnd Bergmann <arnd@xxxxxxxx> wrote:
I've added your patch to my randconfig test setup and will let you
know if I see anything noticeable. I'm currently testing clang-arm32,
clang-arm64 and gcc-x86.
This is the only additional bug that has come up so far:
`.exit.text' referenced in section `.alt.smp.init' of
drivers/char/ipmi/ipmi_msghandler.o: defined in discarded section
`exit.text' of drivers/char/ipmi/ipmi_msghandler.o
Wouldn't it be useful to activate -Winline gcc warning to ease finding
out problematic usage of inline keyword ?
Yes, it is useful to find out
which function is causing the error.
Thanks for the tip.
I did a mass build on kisskb. Almost ok, see results at
http://kisskb.ellerman.id.au/kisskb/head/203d912edf8dde291977c71aa64024065e197f79/
ps3_defconfig with GCC 5 fails
(http://kisskb.ellerman.id.au/kisskb/buildresult/13742711/) with:
arch/powerpc/mm/tlb-radix.c:148:2: error: asm operand 3 probably doesn't
match constraints [-Werror]
arch/powerpc/mm/tlb-radix.c:148:2: error: impossible constraint in 'asm'
arch/powerpc/mm/tlb-radix.c:118:2: error: asm operand 3 probably doesn't
match constraints [-Werror]
arch/powerpc/mm/tlb-radix.c:104:2: error: asm operand 3 probably doesn't
match constraints [-Werror]
ps3_defconfig with GCC 4.6 fails
(http://kisskb.ellerman.id.au/kisskb/buildresult/13742591/) with:
arch/powerpc/mm/tlb-radix.c:148:2: error: asm operand 3 probably doesn't
match constraints [-Werror]
arch/powerpc/mm/tlb-radix.c:118:2: error: asm operand 3 probably doesn't
match constraints [-Werror]
arch/powerpc/mm/tlb-radix.c:104:2: error: asm operand 3 probably doesn't
match constraints [-Werror]
randconfig with GCC 4.6 fails
(http://kisskb.ellerman.id.au/kisskb/buildresult/13742698/) with:
arch/powerpc/mm/tlb-radix.c:104:2: error: impossible constraint in 'asm'
Christophe