[Bug 206542] games/libretro-cores: fix build with clang 3.8.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jan 23 22:13:06 UTC 2016


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

            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 at FreeBSD.org
          Reporter: dim at FreeBSD.org
                CC: yuri at rawbw.com
                CC: yuri at rawbw.com
             Flags: maintainer-feedback?(yuri at rawbw.com)

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

During the exp-run in bug 206074, it was found that games/libretro-cores gives
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), since
this port contains a local copy of mednafen: it uses a named label in an inline
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

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


More information about the freebsd-ports-bugs mailing list