* Stack protector kernel build error
@ 2017-10-14 19:53 Robert Jarzmik
2017-10-14 22:45 ` Kees Cook
0 siblings, 1 reply; 4+ messages in thread
From: Robert Jarzmik @ 2017-10-14 19:53 UTC (permalink / raw)
To: Kees Cook; +Cc: linux-arm-kernel, linux-kernel
Hi Kees,
Today my linux-next build broke for the pxa architecture.
My specific setup is :
- ARCH=arm make pxa_defconfig; ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- make
- my compiler is:
rj@belgarion:~/mio_linux/kernel$ arm-linux-gnueabi-gcc --version
arm-linux-gnueabi-gcc (Debian 6.3.0-18) 6.3.0 20170516
And the error message is :
rj@belgarion:~/mio_linux/kernel$ make -j 4
CHK include/config/kernel.release
CONFIG_CC_STACKPROTECTOR_AUTO: Compiler does not support any known stack-protector
Cannot use CONFIG_CC_STACKPROTECTOR_AUTO: not supported by compiler
Makefile:1097: recipe for target 'prepare-compiler-check' failed
make: *** [prepare-compiler-check] Error 1
make: *** Waiting for unfinished jobs....
make: *** wait: No child processes. Stop.
Is this expected, as I was under the impression my compiler was not that
outdated ...
Cheers.
--
Robert
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Stack protector kernel build error
2017-10-14 19:53 Stack protector kernel build error Robert Jarzmik
@ 2017-10-14 22:45 ` Kees Cook
2017-10-14 22:48 ` Kees Cook
0 siblings, 1 reply; 4+ messages in thread
From: Kees Cook @ 2017-10-14 22:45 UTC (permalink / raw)
To: Robert Jarzmik; +Cc: linux-arm-kernel, LKML
On Sat, Oct 14, 2017 at 12:53 PM, Robert Jarzmik <robert.jarzmik@free.fr> wrote:
> Hi Kees,
>
> Today my linux-next build broke for the pxa architecture.
> My specific setup is :
> - ARCH=arm make pxa_defconfig; ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- make
> - my compiler is:
> rj@belgarion:~/mio_linux/kernel$ arm-linux-gnueabi-gcc --version
> arm-linux-gnueabi-gcc (Debian 6.3.0-18) 6.3.0 20170516
>
> And the error message is :
> rj@belgarion:~/mio_linux/kernel$ make -j 4
> CHK include/config/kernel.release
> CONFIG_CC_STACKPROTECTOR_AUTO: Compiler does not support any known stack-protector
> Cannot use CONFIG_CC_STACKPROTECTOR_AUTO: not supported by compiler
> Makefile:1097: recipe for target 'prepare-compiler-check' failed
> make: *** [prepare-compiler-check] Error 1
> make: *** Waiting for unfinished jobs....
> make: *** wait: No child processes. Stop.
>
>
> Is this expected, as I was under the impression my compiler was not that
> outdated ...
Hmm, there's probably a bug in my attempt at making the ..._AUTO mode work.
What does "arm-linux-gnueabi-gcc -fstack-protector" say?
-Kees
--
Kees Cook
Pixel Security
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Stack protector kernel build error
2017-10-14 22:45 ` Kees Cook
@ 2017-10-14 22:48 ` Kees Cook
2017-10-15 3:42 ` Kees Cook
0 siblings, 1 reply; 4+ messages in thread
From: Kees Cook @ 2017-10-14 22:48 UTC (permalink / raw)
To: Robert Jarzmik; +Cc: linux-arm-kernel, LKML
On Sat, Oct 14, 2017 at 3:45 PM, Kees Cook <keescook@chromium.org> wrote:
> On Sat, Oct 14, 2017 at 12:53 PM, Robert Jarzmik <robert.jarzmik@free.fr> wrote:
>> Hi Kees,
>>
>> Today my linux-next build broke for the pxa architecture.
>> My specific setup is :
>> - ARCH=arm make pxa_defconfig; ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- make
>> - my compiler is:
>> rj@belgarion:~/mio_linux/kernel$ arm-linux-gnueabi-gcc --version
>> arm-linux-gnueabi-gcc (Debian 6.3.0-18) 6.3.0 20170516
>>
>> And the error message is :
>> rj@belgarion:~/mio_linux/kernel$ make -j 4
>> CHK include/config/kernel.release
>> CONFIG_CC_STACKPROTECTOR_AUTO: Compiler does not support any known stack-protector
>> Cannot use CONFIG_CC_STACKPROTECTOR_AUTO: not supported by compiler
>> Makefile:1097: recipe for target 'prepare-compiler-check' failed
>> make: *** [prepare-compiler-check] Error 1
>> make: *** Waiting for unfinished jobs....
>> make: *** wait: No child processes. Stop.
>>
>>
>> Is this expected, as I was under the impression my compiler was not that
>> outdated ...
>
> Hmm, there's probably a bug in my attempt at making the ..._AUTO mode work.
(Specifically, that report about compiler support should be a
_warning_ not a _failure_ for _AUTO mode...)
-Kees
>
> What does "arm-linux-gnueabi-gcc -fstack-protector" say?
>
> -Kees
>
> --
> Kees Cook
> Pixel Security
--
Kees Cook
Pixel Security
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Stack protector kernel build error
2017-10-14 22:48 ` Kees Cook
@ 2017-10-15 3:42 ` Kees Cook
0 siblings, 0 replies; 4+ messages in thread
From: Kees Cook @ 2017-10-15 3:42 UTC (permalink / raw)
To: Robert Jarzmik; +Cc: linux-arm-kernel, LKML
On Sat, Oct 14, 2017 at 3:48 PM, Kees Cook <keescook@chromium.org> wrote:
> On Sat, Oct 14, 2017 at 3:45 PM, Kees Cook <keescook@chromium.org> wrote:
>> On Sat, Oct 14, 2017 at 12:53 PM, Robert Jarzmik <robert.jarzmik@free.fr> wrote:
>>> Hi Kees,
>>>
>>> Today my linux-next build broke for the pxa architecture.
>>> My specific setup is :
>>> - ARCH=arm make pxa_defconfig; ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- make
>>> - my compiler is:
>>> rj@belgarion:~/mio_linux/kernel$ arm-linux-gnueabi-gcc --version
>>> arm-linux-gnueabi-gcc (Debian 6.3.0-18) 6.3.0 20170516
>>>
>>> And the error message is :
>>> rj@belgarion:~/mio_linux/kernel$ make -j 4
>>> CHK include/config/kernel.release
>>> CONFIG_CC_STACKPROTECTOR_AUTO: Compiler does not support any known stack-protector
>>> Cannot use CONFIG_CC_STACKPROTECTOR_AUTO: not supported by compiler
>>> Makefile:1097: recipe for target 'prepare-compiler-check' failed
>>> make: *** [prepare-compiler-check] Error 1
>>> make: *** Waiting for unfinished jobs....
>>> make: *** wait: No child processes. Stop.
>>>
>>>
>>> Is this expected, as I was under the impression my compiler was not that
>>> outdated ...
>>
>> Hmm, there's probably a bug in my attempt at making the ..._AUTO mode work.
>
> (Specifically, that report about compiler support should be a
> _warning_ not a _failure_ for _AUTO mode...)
Okay, I think I found it. Patch sent in separate email (to avoid
whitespace damage...)
-Kees
--
Kees Cook
Pixel Security
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-10-15 3:42 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-14 19:53 Stack protector kernel build error Robert Jarzmik
2017-10-14 22:45 ` Kees Cook
2017-10-14 22:48 ` Kees Cook
2017-10-15 3:42 ` Kees Cook
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®