[LLVMbugs] [Bug 4412] New: Cairo library is broken -- library cannot be linked against properly
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Thu Jun 18 06:30:45 PDT 2009
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: unassignedclangbugs at nondot.org
ReportedBy: ed at 80386.nl
CC: llvmbugs at cs.uiuc.edu
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.
More information about the llvm-bugs
mailing list