Skip to content
Snippets Groups Projects
Commit 131df234 authored by Natanael Copa's avatar Natanael Copa
Browse files

main/s390-tools: disable _FORTIFY_SOURCE in zipl

Disabling _FORTIFY_SOURCE fixes SIGFPE in zipl:

Program received signal SIGFPE, Arithmetic exception.
memcpy (__n=7976, __os=<optimized out>, __od=0x3fffdff60c0) at /usr/include/fortify/string.h:53
53              return __builtin_memcpy(__od, __os, __n);

disassebly shows that the exception happens on the jump instruction to
memcpy. Work around it by disabling _FORTIFY_SOURCE for zipl.

(cherry picked from commit 9fa93539)
parent 2e53d802
No related branches found
No related tags found
Loading
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment