Bug 192771 - [maintainer] fix net/nmsg build on FreeBSD 8.x amd64
Summary: [maintainer] fix net/nmsg build on FreeBSD 8.x amd64
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: William Grzybowski
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-17 23:09 UTC by Don Lewis
Modified: 2014-08-18 14:42 UTC (History)
2 users (show)

See Also:


Attachments
patch to unbreak net/nmsg build on FreeBSD 8.x amd64 (618 bytes, patch)
2014-08-17 23:09 UTC, Don Lewis
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Don Lewis freebsd_committer 2014-08-17 23:09:30 UTC
Created attachment 145945 [details]
patch to unbreak net/nmsg build on FreeBSD 8.x amd64

net/nmsg fails to build on amd64 machines running FreeBSD 8.x because the version of binutils in base in FreeBSD 8 does not understand the crc32 instructions that this code uses on amd64.  Only in this particular corner case, set USE_GCC=yes as a big club to get the ports version of gcc, which will use a more capable version of binutils from ports.
Comment 1 John Marino freebsd_committer 2014-08-17 23:35:10 UTC
technically it needs to check ${OPSYS} == FreeBSD whenever ${OSVERSION} is used.  In this case, it won't hurt dragonfly because the value is never less than 900000.
Comment 2 William Grzybowski freebsd_committer 2014-08-18 12:59:28 UTC
Is 8.x still supported? IIRC 8.x support has been officially dropped some time ago, no?
Comment 3 John Marino freebsd_committer 2014-08-18 13:01:15 UTC
8.4 is still supported.
Comment 4 commit-hook freebsd_committer 2014-08-18 14:29:13 UTC
A commit references this bug:

Author: wg
Date: Mon Aug 18 14:28:36 UTC 2014
New revision: 365313
URL: http://svnweb.freebsd.org/changeset/ports/365313

Log:
  net/nmsg: fix build for FreeBSD 8.x

  PR:		192771
  Submitted by:	maintainer

Changes:
  head/net/nmsg/Makefile