[cfe-dev] clang-wpa link failure.
Andy Somerville
andy.somerville at gmail.com
Wed Jun 1 22:28:48 PDT 2011
On Tue, May 31, 2011 at 3:20 AM, Xu Zhongxing <xuzhongxing at foxmail.com> wrote:
> Hi Andy,
> I fixed the linking by reordering libParse.a before libSema.a in r132329.
>
>
Nice. Thanks : )
It looks like clang-interpreter needs the same treatment. Could you
change that one too?
Andy
> ------------------ Original ------------------
> From: "Andy Somerville"<andy.somerville at gmail.com>;
> Date: Tue, May 31, 2011 02:00 PM
> To: "cfe-dev at cs.uiuc.edu Developers"<cfe-dev at cs.uiuc.edu>;
> Subject: [cfe-dev] clang-wpa link failure.
>
> It appears that the build for clang-wpa is out of date and will not
> link correctly with the current makefile.
>
> I was able to get it to link with a second mention of clangSema.a
> though there might be a library reordering that avoid the double
> mention.
>
>
> Here's the diff: (the CMakeLists might need updating as well)
>
>
> llvm/tools/clang/examples/wpa$ svn diff
>
>
> Index: Makefile
> ===================================================================
> --- Makefile (revision 132326)
> +++ Makefile (working copy)
> @@ -10,14 +10,14 @@
> CLANG_LEVEL := ../..
>
> TOOLNAME = clang-wpa
> -NO_INSTALL = 1
> -
> +NO_INSTALL = 0
> +#1
> # No plugins, optimize startup time.
> TOOL_NO_EXPORTS = 1
>
> LINK_COMPONENTS := asmparser bitreader mc core
> USEDLIBS = clangStaticAnalyzerFrontend.a
> clangStaticAnalyzerCheckers.a clangStaticAnalyzerCore.a clangIndex.a
> clangFrontend.a clangDriver.a \
> clangSema.a clangAnalysis.a clangSerialization.a \
> - clangAST.a clangParse.a clangLex.a clangBasic.a
> + clangAST.a clangParse.a clangSema.a clangLex.a clangBasic.a
>
> include $(CLANG_LEVEL)/Makefile
>
>
>
> Andy
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
>
More information about the cfe-dev
mailing list