Re: [PATCH] kbuild: llvmlinux: Set appropriate compiler-flag for CONFIG_CC_OPTIMIZE_FOR_SIZE

2015-09-14 Thread Behan Webster
On 09/14/15 22:07, Sedat Dilek wrote: On Tue, Sep 15, 2015 at 5:40 AM, Behan Webster wrote: I haven't upstreamed this patch yet because we are still characterizing its effects on other architectures. Then embed this information into the changelog of *your* patch. It's in our tree/build

Re: [PATCH] kbuild: llvmlinux: Set appropriate compiler-flag for CONFIG_CC_OPTIMIZE_FOR_SIZE

2015-09-14 Thread Sedat Dilek
On Tue, Sep 15, 2015 at 5:40 AM, Behan Webster wrote: > Other than you changing the commit comment, this *is* my patch. > You were mentioned in the commit-message as original author. > I haven't upstreamed this patch yet because we are still characterizing its > effects on other architectures.

Re: [PATCH] kbuild: llvmlinux: Set appropriate compiler-flag for CONFIG_CC_OPTIMIZE_FOR_SIZE

2015-09-14 Thread Behan Webster
Other than you changing the commit comment, this *is* my patch. I haven't upstreamed this patch yet because we are still characterizing its effects on other architectures. Clang certainly doesn't require -Oz to be used to be able to boot for arm nor arm64. So the commit message isn't correct

[PATCH] kbuild: llvmlinux: Set appropriate compiler-flag for CONFIG_CC_OPTIMIZE_FOR_SIZE

2015-09-14 Thread Sedat Dilek
Based on a patch of Behan Webster (see [1]). CLANG (here: v3.7) requires '-Oz' as OptLevel to be set. A Linux v4.3-rc1 kernel built fine with CONFIG_CC_OPTIMIZE_FOR_SIZE=y and boots on bare metal. This is a Ubuntu/precise AMD64 system. Tested against Linux v4.3-rc1 and a refreshed llvmlinux

Re: [PATCH] kbuild: llvmlinux: Set appropriate compiler-flag for CONFIG_CC_OPTIMIZE_FOR_SIZE

2015-09-14 Thread Behan Webster
On 09/14/15 22:07, Sedat Dilek wrote: On Tue, Sep 15, 2015 at 5:40 AM, Behan Webster wrote: I haven't upstreamed this patch yet because we are still characterizing its effects on other architectures. Then embed this information into the changelog of *your* patch.

[PATCH] kbuild: llvmlinux: Set appropriate compiler-flag for CONFIG_CC_OPTIMIZE_FOR_SIZE

2015-09-14 Thread Sedat Dilek
Based on a patch of Behan Webster (see [1]). CLANG (here: v3.7) requires '-Oz' as OptLevel to be set. A Linux v4.3-rc1 kernel built fine with CONFIG_CC_OPTIMIZE_FOR_SIZE=y and boots on bare metal. This is a Ubuntu/precise AMD64 system. Tested against Linux v4.3-rc1 and a refreshed llvmlinux

Re: [PATCH] kbuild: llvmlinux: Set appropriate compiler-flag for CONFIG_CC_OPTIMIZE_FOR_SIZE

2015-09-14 Thread Behan Webster
Other than you changing the commit comment, this *is* my patch. I haven't upstreamed this patch yet because we are still characterizing its effects on other architectures. Clang certainly doesn't require -Oz to be used to be able to boot for arm nor arm64. So the commit message isn't correct

Re: [PATCH] kbuild: llvmlinux: Set appropriate compiler-flag for CONFIG_CC_OPTIMIZE_FOR_SIZE

2015-09-14 Thread Sedat Dilek
On Tue, Sep 15, 2015 at 5:40 AM, Behan Webster wrote: > Other than you changing the commit comment, this *is* my patch. > You were mentioned in the commit-message as original author. > I haven't upstreamed this patch yet because we are still characterizing its >