[llvm-bugs] [Bug 27077] New: trunk r264314 fails with polly: __multi3 is not available in the i386 compiler-rt

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Mar 25 14:58:35 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=27077

            Bug ID: 27077
           Summary: trunk r264314 fails with polly: __multi3 is not
                    available in the i386 compiler-rt
           Product: Polly
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Other
          Assignee: polly-dev at googlegroups.com
          Reporter: jeremyhu at apple.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

i386 builds of ffmpeg trunk are failing to link when built with polly.  They
are linking just fine without polly.  x86_64 is fine.

LD    ffmpeg_g
Undefined symbols for architecture i386:
  "___multi3", referenced from:
      _color_correlation_bgr in libavfilter.a(vf_dctdnoiz.o)
      _color_correlation_rgb in libavfilter.a(vf_dctdnoiz.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [ffmpeg_g] Error 1

__multi3 is only available in the compiler runtime on x86_64 and on Snow
Leopard+.  It is not on i386:

Looking at El Cap:

/usr/lib/system $ nm -arch i386 libcompiler_rt.dylib | grep multi3
0000588f S $ld$hide$os10.4$___multi3
00005890 S $ld$hide$os10.5$___multi3

/usr/lib/system $ nm -arch x86_64 libcompiler_rt.dylib | grep multi3
0000000000005c9f S $ld$hide$os10.4$___multi3
0000000000005ca0 S $ld$hide$os10.5$___multi3
0000000000004696 T ___multi3

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160325/9878cecc/attachment.html>


More information about the llvm-bugs mailing list