Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jan 2016 22:13:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 206542] games/libretro-cores: fix build with clang 3.8.0
Message-ID:  <bug-206542-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 206542
           Summary: games/libretro-cores: fix build with clang 3.8.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: dim@FreeBSD.org
                CC: yuri@rawbw.com
                CC: yuri@rawbw.com
             Flags: maintainer-feedback?(yuri@rawbw.com)

Created attachment 166028
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D166028&action=
=3Dedit
Use local asm labels to prevent problems with unrolling

During the exp-run in bug 206074, it was found that games/libretro-cores gi=
ves
errors with a recent clang 3.8.0 snapshot [1]:


mednafen/sound/OwlResampler.cpp:453:39: error: invalid symbol redefinition
"movups  0(%%" X86_REGC "di), %%xmm0\n\t"
                                      ^
<inline asm>:7:2: note: instantiated into assembly here
        SSE_Loop:
        ^

It is exactly the same issue as in bug 206376 (for emulators/mednafen), sin=
ce
this port contains a local copy of mednafen: it uses a named label in an in=
line
function.

Similar to the mednafen patch, this can be fixed by changing the label to a
local label ("1:").

[1]
http://package18.nyi.freebsd.org/data/headamd64PR206074-default/2016-01-15_=
15h26m58s/logs/errors/libretro-cores-0.20151110.log

--=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-206542-13>