http://llvm.org/bugs/show_bug.cgi?id=4412
Summary: Cairo library is broken -- library cannot be linked
against properly
Product: clang
Version: unspecified
Platform: PC
OS/Version: FreeBSD
Status: NEW
Severity: normal
Priority: P2
Component: LLVM Codegen
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Blocks: 3696
I still have to figure this out in more detail. nm(1) shows no difference, but
it's still fishy.
Anyway, here it goes: some Pango libs/apps won't link against cairo properly if
cairo is compiled with Clang. Cairo uses the following code to export its
functions. It looks quite complicated if you ask me.
void
cairo_rel_line_to(void)
{
puts("Hi");
}
extern __typeof (cairo_rel_line_to) cairo_rel_line_to __asm__ ("_"
"INT_cairo_rel_line_to") __attribute__((__visibility__("hidden")));
extern __typeof (cairo_rel_line_to) EXT_cairo_rel_line_to __asm__("_"
"cairo_rel_line_to") __attribute__((__alias__("_" "INT_cairo_rel_line_to")));
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs