Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Aug 2018 17:18:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 230356] [PATCH] games/freeorion: fails to link with lld as system linker
Message-ID:  <bug-230356-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 230356
           Summary: [PATCH] games/freeorion: fails to link with lld as
                    system linker
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: amdmi3@FreeBSD.org
          Reporter: madpilot@FreeBSD.org
          Assignee: amdmi3@FreeBSD.org
             Flags: maintainer-feedback?(amdmi3@FreeBSD.org)

Created attachment 195850
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D195850&action=
=3Dedit
patch adding LLD_UNSAFE

On head, where lld is the default compiler freeorion fails with the followi=
ng
error (trimmed):

/usr/bin/ld: error: cannot preempt symbol: alcGetCurrentContext
>>> defined in /usr/local/lib/libopenal.so
>>> referenced by Sound.cpp
>>>               CMakeFiles/freeorion.dir/UI/Sound.cpp.o:(Sound::Impl::Dis=
able())

/usr/bin/ld: error: cannot preempt symbol: alSourceStop
>>> defined in /usr/local/lib/libopenal.so
>>> referenced by Sound.cpp
>>>               CMakeFiles/freeorion.dir/UI/Sound.cpp.o:(Sound::Impl::Dis=
able())

/usr/bin/ld: error: cannot preempt symbol: alSourcei
>>> defined in /usr/local/lib/libopenal.so
>>> referenced by Sound.cpp
>>>               CMakeFiles/freeorion.dir/UI/Sound.cpp.o:(Sound::Impl::Dis=
able())

[...]

Attached patch marks it as unsafe with LLD, forcing usage of old ld for this
port. This allows it to link correctly.

--=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-230356-7788>