Changes between Initial Version and Version 1 of Ticket #55493, comment 14


Ignore:
Timestamp:
Jul 12, 2018, 2:13:16 PM (6 years ago)
Author:
othermark (othermark)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #55493, comment 14

    initial v1  
    11_FORTIFY_SOURCE=0 still gives the abort trap 6.
    22
    3 What does fix this problem is changing -Os in cflags to -O0.   Tested -O2 and -O1 as well, and only -O0 avoids the trap.   It's probably a specific optimization that needs disabled, for both this and mawk in ticket 55204.
     3What does fix this problem is changing -Os in cflags to -O0.   Tested -O2 and -O1 as well, and only -O0 avoids the trap.   It's probably a specific optimization that needs disabled, for both this and mawk in ticket 55204.   Note it takes both _FORTIFY_SOURCE=0 and -O0 to avoid the trap.    Just the telnet bin needs -O0, but the rest of the source also needs _FORTIFY_SOURCE=0.