Changes between Version 1 and Version 2 of Ticket #55493, comment 14
- Timestamp:
- Jul 12, 2018, 2:19:15 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #55493, comment 14
v1 v2 2 2 3 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. 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. 4 5 Added the following to Portfile and it works just fine. 6 {{{ 7 configure.optflags -O0 8 configure.cflags-append -D_FORTIFY_SOURCE=0 9 }}}