[LLVMdev] Build failure..

Chris Lattner sabre at nondot.org
Fri Oct 6 09:09:26 PDT 2006


On Fri, 6 Oct 2006, Fredrik Svensson wrote:
> After a svn/cvs update I get the following errors when building the frontend.

The llvm-gcc4 objc front-end is only currently supported on darwin 
systems.  Please use --enable-languages=c,c++ for now.

Thanks,

-Chris

> Anyone that sees the same ?
>
> http://gcc.gnu.org/svn/gcc/branches/apple/trunk/gcc/expr.h
>
> /* APPLE LOCAL begin radar 4441049 */
> extern tree objc_v2_component_ref_field_offset (tree exp);
> extern tree objc_v2_bitfield_ivar_bitpos (tree exp);
> /* APPLE LOCAL end radar 4441049 */
>
> mentions APPLE, is it only working on Apple ? (I use Debian sid)
>
> Error :
>
> libbackend.a(expr.o): In function `component_ref_field_offset':
> ../../llvm-gcc4/gcc/expr.c:5640: undefined reference to
> `objc_v2_component_ref_field_offset'
> libbackend.a(expr.o): In function `get_inner_reference':
> ../../llvm-gcc4/gcc/expr.c:5479: undefined reference to
> `objc_v2_bitfield_ivar_bitpos'
> libbackend.a(i386.o): In function `iasm_print_op':
> ../../llvm-gcc4/gcc/config/i386/i386.c:20288: undefined reference to
> `iasm_print_operand'
>
> More errors..
>
> /Fred
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/



More information about the llvm-dev mailing list