[LLVMdev] Changed: Build errors for poolalloc using MinGW/gcc 4.4.0

Andrew Lenharth andrewl at lenharth.org
Sun Mar 14 07:35:51 PDT 2010


John, can you copy poolalloc/include/LinkDSA.h to the the release_26 branch?
Patrick, you should be able to do an svn switch to trunk on just that file.

Andrew

On Sun, Mar 14, 2010 at 7:58 AM, Patrick Sathyanathan <wpats at hotmail.com> wrote:
>
> Thanks John, for the update to the Makefiles. I did an "svn update" and am
> now able to build all the libraries. There were some problems building the
> poolalloc runtime but I'm not really interested in that.
>
> Andrew, thanks for the patch. I am trying to add DSA to opt as you
> suggested. What should the contents of LinkDSA.h be ? I would appreciate it
> if you could send me a copy of that file.
>
> Thanks again for all the help. It looks like I'm closer to getting to use
> DSA.
>
> --Patrick
>
>> Date: Tue, 9 Mar 2010 11:26:52 -0600
>> Subject: Re: [LLVMdev] Changed: Build errors for poolalloc using MinGW/gcc
>> 4.4.0
>> From: andrewl at lenharth.org
>> To: criswell at uiuc.edu
>> CC: wpats at hotmail.com; llvmdev at cs.uiuc.edu
>>
>> The patch below adds dsa and some of poolalloc to opt. It should be
>> simple enough to extend to all of poolalloc by adding more classes to
>> LinkDSA.h.
>>
>> Andrew
>>
>> Index: tools/opt/opt.cpp
>> ===================================================================
>> --- tools/opt/opt.cpp (revision 97995)
>> +++ tools/opt/opt.cpp (working copy)
>> @@ -38,6 +38,12 @@
>> #include "llvm/LinkAllVMCore.h"
>> #include <memory>
>> #include <algorithm>
>> +
>> +#include "dsa/DSGraph.h"
>> +#include "dsa/DataStructure.h"
>> +#include "poolalloc/RunTimeAssociate.h"
>> +#include "LinkDSA.h"
>> +
>> using namespace llvm;
>>
>> // The OptimizationList is automatically populated with registered
>> Passes by the
>> Index: tools/opt/Makefile
>> ===================================================================
>> --- tools/opt/Makefile (revision 97995)
>> +++ tools/opt/Makefile (working copy)
>> @@ -12,3 +12,8 @@
>> LINK_COMPONENTS := bitreader bitwriter asmparser instrumentation
>> scalaropts ipo
>>
>> include $(LEVEL)/Makefile.common
>> +
>> +CPP.Flags += -I../../projects/poolalloc/include
>> +
>> +ExtraLibs := ../../projects/poolalloc/$(BuildMode)/lib/libpoolalloc.a \
>> + ../../projects/poolalloc/$(BuildMode)/lib/libLLVMDataStructure.a
>>
>>
>> On Tue, Mar 9, 2010 at 11:13 AM, John Criswell <criswell at uiuc.edu> wrote:
>> > Dear Patrick and Antron,
>> >
>> > I've modified the Makefiles in the poolalloc module so that they do not
>> > build shared libraries on MingW or Cygwin.  Patrick, if you do an "svn
>> > up" you should be able to compile the poolalloc project now.
>> >
>> > -- John T.
>> >
>> > _______________________________________________
>> > 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