Page MenuHomeFreeBSD

lang/hugs: Workaround 12-CURRENT fallout
ClosedPublic

Authored by arrowd on Feb 3 2018, 8:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Mar 5, 7:32 AM
Unknown Object (File)
Sun, Mar 1, 11:29 PM
Unknown Object (File)
Sun, Mar 1, 7:43 AM
Unknown Object (File)
Sat, Feb 28, 6:33 PM
Unknown Object (File)
Dec 28 2025, 10:39 PM
Unknown Object (File)
Dec 21 2025, 4:06 AM
Unknown Object (File)
Dec 1 2025, 11:48 AM
Unknown Object (File)
Nov 27 2025, 5:36 PM

Details

Summary

runhugs binary crashes when compiled with -O2 on i386 12-CURRENT system. Workaround it by compiling with -O0.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

swills added inline comments.
lang/hugs/Makefile
28 ↗(On Diff #38824)

If this is only needed on 12-CURRENT then check OSVERSION > 1200056 or whatever as well.

lang/hugs/Makefile
26 ↗(On Diff #38824)

ARCH is not defined at that point of the Makefile.

Constrain workaround to FreeBSD 12 only.

arrowd added inline comments.
lang/hugs/Makefile
26 ↗(On Diff #38824)

Hum, it worked for me as it is. Should I include <bsd.options.mk> then, or something else?

  • Include bsd.port.pre.mk to be able to use ${ARCH}
This revision was not accepted when it landed; it landed in state Needs Review.Feb 28 2018, 10:54 AM
This revision was automatically updated to reflect the committed changes.