Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Aug 2020 19:41:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 248788] [MAINTAINER] emulators/simh: fix build problem on LLVM 11
Message-ID:  <bug-248788-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248788

            Bug ID: 248788
           Summary: [MAINTAINER] emulators/simh: fix build problem on LLVM
                    11
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: bob@eager.cx

Created attachment 217397
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D217397&action=
=3Dedit
Patch for Makefile

simh does not build on LLVM 11. This is due to the default setting of
-fno-common (previously -fcommon).

The upstream code depends on weak globals, so the fix is simply to provide
-fcommon as part of CFLAGS.

Tested on 13-CURRENT and latest ports tree, using LLVM11 from ports.

This is a backward compatible fix.

Patch attached.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-248788-7788>