search for: l_objc_label_protocol

Displaying 1 result from an estimated 1 matches for "l_objc_label_protocol".

2010 Dec 05
1
[LLVMdev] Weak private linkage for Objective C
...I've been subscribed to this list on-and-off and always found it very helpful. I'm facing the problem of compiling a project in Objective C with LLVM in a Darwin environment. There is a certain Objective C protocol that appears in two .m files, and so the corresponding l_OBJC_PROTOCOL and l_OBJC_LABEL_PROTOCOL symbols appear in both .o files. The problem is that while these symbols are created by gcc 4.2 as *weak* private external, LLVM (both 2.8 and bleeding-edge) produces these symbols as private external, but not weak. Because they are not weak, the linker (ld) shouts at the duplicate symbol. If I se...