Bug 250640 - [PATCH] graphics/gimp-lqr-plugin - fix build under LLVM 11 (13-CURRENT)
Summary: [PATCH] graphics/gimp-lqr-plugin - fix build under LLVM 11 (13-CURRENT)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dmitry Marakasov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-26 18:12 UTC by Cy Schubert
Modified: 2020-10-30 15:53 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (amdmi3)


Attachments
fix build under LLVM 11 (13-CURRENT) (439 bytes, patch)
2020-10-26 18:12 UTC, Cy Schubert
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Cy Schubert freebsd_committer 2020-10-26 18:12:45 UTC
Created attachment 219111 [details]
fix build under LLVM 11 (13-CURRENT)

ld: error: duplicate symbol: dialog_state
>>> defined at interface.c
>>>            interface.o:(dialog_state)
>>> defined at interface_I.c
>>>            interface_I.o:(.bss+0x18)

ld: error: duplicate symbol: dlg
>>> defined at interface.c
>>>            interface.o:(dlg)
>>> defined at interface_I.c
>>>            interface_I.o:(.bss+0x58)

ld: error: duplicate symbol: features_are_sensitive
>>> defined at interface.c
>>>            interface.o:(features_are_sensitive)
>>> defined at interface_I.c
>>>            interface_I.o:(.bss+0x68)

ld: error: duplicate symbol: state
>>> defined at interface.c
>>>            interface.o:(state)
>>> defined at interface_I.c
>>>            interface_I.o:(.bss+0x8)

ld: error: duplicate symbol: ui_state
>>> defined at interface.c
>>>            interface.o:(ui_state)
>>> defined at interface_I.c
>>>            interface_I.o:(.bss+0x10)

ld: error: duplicate symbol: dialog_state
>>> defined at interface.c
>>>            interface.o:(dialog_state)
>>> defined at interface_aux.c
>>>            interface_aux.o:(.bss+0x10)

ld: error: duplicate symbol: dlg
>>> defined at interface.c
>>>            interface.o:(dlg)
>>> defined at interface_aux.c
>>>            interface_aux.o:(.bss+0x18)

ld: error: duplicate symbol: state
>>> defined at interface.c
>>>            interface.o:(state)
>>> defined at interface_aux.c
>>>            interface_aux.o:(.bss+0x0)

ld: error: duplicate symbol: ui_state
>>> defined at interface.c
>>>            interface.o:(ui_state)
>>> defined at interface_aux.c
>>>            interface_aux.o:(.bss+0x8)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[4]: *** [Makefile:307: gimp-lqr-plugin] Error 1
Comment 1 commit-hook freebsd_committer 2020-10-30 15:53:11 UTC
A commit references this bug:

Author: amdmi3
Date: Fri Oct 30 15:52:30 UTC 2020
New revision: 553698
URL: https://svnweb.freebsd.org/changeset/ports/553698

Log:
  Add -fcommon to fix build on CURRENT

  PR:		250640
  Submitted by:	cy

Changes:
  head/graphics/gimp-lqr-plugin/Makefile