[Bug 249013] japanese/mh: Fix build failure on -current (with -fno-common)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Aug 30 12:44:52 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249013

            Bug ID: 249013
           Summary: japanese/mh: Fix build failure on -current (with
                    -fno-common)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: CQG00620 at nifty.ne.jp

Created attachment 217648
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=217648&action=edit
A patch for japanese/mh.

Current japanese/mh fails to build on 13.0-CURRENT due to the new default
-fno-common compiler flag:

| ld: error: duplicate symbol: wantcomp
| >>> defined at fmtcompile.c
| >>>            fmtcompile.o:(wantcomp)
| >>> defined at formatsbr.c
| >>>            formatsbr.o:(.bss+0x60)
| cc: error: linker command failed with exit code 1 (use -v to see invocation)

This patch fixes the problem.

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


More information about the freebsd-ports-bugs mailing list