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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to