[LLVMdev] Compile or link error

NAKAMURA Takumi geek4civic at gmail.com
Wed Oct 13 16:59:01 PDT 2010


Good morning.

Which version of LLVM do you use?
IIRC llvm-2.8(and ToT) should be compiled profile_rt.dll manually.
And, older version of LLVM was not capable to build DLLs on cygming.

It seems yours might not have Mikhail's patch r112964.

...Takumi


2010/10/14 Taemin Kim <taemin0712 at gmail.com>:
> Hello,
>
> I am generating profile_rt.dll by perfoming 'make' in
> $LLVM_SRC_DIR/runtime/libprofile. After make, I got the following error
> messages.
>
> llvm[0]: Linking Debug+Asserts Loadable Module profile_rt.dll
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld:/cygdrive/c/
> llvm/runtime/libprofile/Debug+Asserts/exported_symbols.lst: file format not
> reco
> gnized; treating as linker script
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld:/cygdrive/c/
> llvm/runtime/libprofile/Debug+Asserts/exported_symbols.lst:2: syntax error
> collect2: ld returned 1 exit status
> make: *** [/cygdrive/c/llvm/Debug+Asserts/bin/profile_rt.dll] Error 1
>
> Can anybody please help me generate the shared library successfully?
>
> Thank you,
> Taemin
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>




More information about the llvm-dev mailing list