Summary: | japanese/mh: Fix build failure on -current (with -fno-common) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | WATANABE Kazuhiro <CQG00620> | ||||||||||||
Component: | Individual Port(s) | Assignee: | Li-Wen Hsu <lwhsu> | ||||||||||||
Status: | Closed FIXED | ||||||||||||||
Severity: | Affects Many People | CC: | lwhsu | ||||||||||||
Priority: | --- | Keywords: | buildisok | ||||||||||||
Version: | Latest | Flags: | koobs:
merge-quarterly?
|
||||||||||||
Hardware: | Any | ||||||||||||||
OS: | Any | ||||||||||||||
Bug Depends on: | |||||||||||||||
Bug Blocks: | 248756 | ||||||||||||||
Attachments: |
|
Created attachment 217649 [details]
poudriere testport log on 13.0-CURRENT without the patch
Created attachment 217650 [details]
poudriere testport log on 13.0-CURRENT with the patch
Build info is available at https://gitlab.com/swills/freebsd-ports/pipelines/183578169 To committer: This patch is still required for 13.0-CURRENT. Would you apply the patch? If you need more information, please ask me. Created attachment 221698 [details]
poudriere testport log on 13.0-ALPHA1 without the patch
Created attachment 221699 [details]
poudriere testport log on 13.0-ALPHA1 with the patch
A commit references this bug: Author: lwhsu Date: Sat Mar 13 20:32:46 UTC 2021 New revision: 568281 URL: https://svnweb.freebsd.org/changeset/ports/568281 Log: japanese/mh: Fix build failure on 13 (with -fno-common) PR: 249013 Submitted by: WATANABE Kazuhiro <CQG00620@nifty.ne.jp> (maintainer) Changes: head/japanese/mh/Makefile head/japanese/mh/files/patch-h_formatsbr.h head/japanese/mh/files/patch-sbr_fmtcompile.c |
Created attachment 217648 [details] 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.