pkgsrc-WIP-review archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: wip/pure
Thank you for your report. I test it only on Linux with pkgsrc-2011Q2
without any issue. Now I am leaving for vacation so as soon as I am
back I will see to it.
JS
> On Mon, Sep 26, 2011 at 11:25:43PM +0200, Jan Šmydke wrote:
> > could you please review wip/pure? It's a modern functional language
> > using llvm.
>
> I tried building it on 5.99.55/amd64. I see:
>
> A few of these:
> In file included
> from /scratch/wip/pure/work/.buildlink/include/llvm/DerivedTypes.h:22:0,
> from interpreter.hh:22, from expr.cc:20:
> /scratch/wip/pure/work/.buildlink/include/llvm/Support/DataTypes.h:45:3:
> error: #error "Must #define __STDC_LIMIT_MACROS before #including
> System/DataTypes.h"
> /scratch/wip/pure/work/.buildlink/include/llvm/Support/DataTypes.h:49:3:
> error: #error "Must #define __STDC_CONSTANT_MACROS before "
> "#including System/DataTypes.h"
>
>
> And later some of these:
> In file included
> from /scratch/wip/pure/work/.buildlink/include/llvm/ADT/DenseMap.h:17:0,
> from /scratch/wip/pure/work/.buildlink/include/llvm/ADT/ValueMap.h:29,
> from
> /scratch/wip/pure/work/.buildlink/include/llvm/ExecutionEngine/ExecutionEngine.h:23,
> from interpreter.hh:23, from printer.cc:20:
> /scratch/wip/pure/work/.buildlink/include/llvm/Support/MathExtras.h:
> In function 'bool
> llvm::isInt(__int64_t)':
> /scratch/wip/pure/work/.buildlink/include/llvm/Support/MathExtras.h:38:33:
> error: there are no arguments to 'INT64_C' that depend on a template
> parameter, so a declaration of 'INT64_C' must be
> available
> /scratch/wip/pure/work/.buildlink/include/llvm/Support/MathExtras.h:38:33:
> note: (if you use '-fpermissive', G++ will accept your code, but
> allowing the use of an undeclared name is
> deprecated)
> /scratch/wip/pure/work/.buildlink/include/llvm/Support/MathExtras.h:38:65:
> error: there are no arguments to 'INT64_C' that depend on a template
> parameter, so a declaration of 'INT64_C' must be
> available /scratch/wip/pure/work/.buildlink/include/llvm/Support/MathExtras.h:
> In function 'bool
> llvm::isUInt(__uint64_t)':
> /scratch/wip/pure/work/.buildlink/include/llvm/Support/MathExtras.h:57:36:
> error: there are no arguments to 'UINT64_C' that depend on a template
> parameter, so a declaration of 'UINT64_C' must be
> available /scratch/wip/pure/work/.buildlink/include/llvm/Support/MathExtras.h:
> In function 'bool llvm::isIntN(unsigned int,
> __int64_t)':
> /scratch/wip/pure/work/.buildlink/include/llvm/Support/MathExtras.h:82:33:
> error: 'INT64_C' was not declared in this scope
>
> and even later:
>
> In file included from expr.cc:20:0:
> interpreter.hh: At global scope:
> interpreter.hh:249:3: error: invalid use of template-name
> 'llvm::IRBuilder' without an argument list interpreter.hh: In member
> function 'llvm::Value* Env::CreateGEP(llvm::Value*, llvm::Value*,
> const char*)': interpreter.hh:257:12: error: 'builder' was not
> declared in this scope interpreter.hh: In member function
> 'llvm::Value* Env::CreateGEP(llvm::Value*, llvm::Value*,
> llvm::Value*, const char*)': interpreter.hh:261:12: error: 'builder'
> was not declared in this scope interpreter.hh: In member function
> 'llvm::Value* Env::CreateGEP(llvm::Value*, llvm::Value*,
> llvm::Value*, llvm::Value*, const char*)': interpreter.hh:266:12:
> error: 'builder' was not declared in this scope interpreter.hh: In
> member function 'llvm::LoadInst* Env::CreateLoadGEP(llvm::Value*,
> llvm::Value*, const char*)': interpreter.hh:269:12: error: 'builder'
> was not declared in this scope interpreter.hh: In member function
> 'llvm::LoadInst* Env::CreateLoadGEP(llvm::Value*, llvm::Value*,
> llvm::Value*, const char*)': interpreter.hh:272:12: error: 'builder'
> was not declared in this scope interpreter.hh: In member function
> 'llvm::LoadInst* Env::CreateLoadGEP(llvm::Value*, llvm::Value*,
> llvm::Value*, llvm::Value*, const char*)': interpreter.hh:276:12:
> error: 'builder' was not declared in this scope
>
>
> That's in a sandbox with the following packages installed:
> digest-20080510 Message digest wrapper utility
> checkperms-1.11 Check and correct file permissions
> libtool-base-2.2.6bnb5 Generic shared library support script (the
> script itself) m4-1.4.16 GNU version of UNIX m4 macro
> language processor bison-2.5nb1 GNU yacc(1) replacement
> gmake-3.82nb2 GNU version of 'make' utility
> clang-2.9nb1 Low Level Virtual Machine compiler infrastructure
> gmp-5.0.2 Library for arbitrary precision arithmetic
>
> Can you please take a look?
>
> Cheers,
> Thomas
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
pkgsrc-wip-review mailing list
pkgsrc-wip-review%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-review
Home |
Main Index |
Thread Index |
Old Index