Displaying 20 results from an estimated 120 matches similar to: "[LLVMdev] DynamicLibrary.inc compile error /w vc++2005 and windows sdk 6.1"
2015 Aug 29
2
Compilation error with MinGW
Hi all,
I'm hitting the same problem as in this[1] thread. I use release_37
branch on 64-bit Windows 7.
The problem is here:
#ifdef __MINGW32__
#include <imagehlp.h>
#else
#include <dbghelp.h>
#endif
<skip>
typedef BOOL (WINAPI
*fpEnumerateLoadedModules)(HANDLE,PENUMLOADED_MODULES_CALLBACK64,PVOID);
imagehlp.h doesn't define PENUMLOADED_MODULES_CALLBACK64 type.
I
2015 Aug 30
3
Compilation error with MinGW
I use the one from mingw.org, installed by the recommended way with
mingw-get-setup.exe.
Sly.
On 30.08.2015 06:10, Yaron Keren wrote:
> Which mingw distribution exactly do you use?
>
> 2015-08-30 0:46 GMT+03:00 Slycelote via llvm-dev <llvm-dev at lists.llvm.org>:
>
>> Hi all,
>>
>> I'm hitting the same problem as in this[1] thread. I use release_37
2012 Oct 03
1
[LLVMdev] Clang predefined macros with -fPIC and -fPIE
Hello everyone,
Clang seems to only define __PIE__ when both –fPIC and –fPIE is used in the command line whereas gcc defines both __PIC__ and __PIE__. Is this intended or a bug in clang? Thanks.
Command line:
clang -fPIC -fPIE -dM -E - < /dev/null | grep __PI
--
Tareq
2011 Nov 02
3
[LLVMdev] [PATCH] LLVM 3.0 broken in lib/Support/Windows/DynamicLibrary.inc
I don't know since when, but this file has been changed to remove all the
trickery (aka defines) needed for MinGW-w64 (and probably everything else
that as forgotten) to succesfully compile it.
Attached is a patch that reintroduces the compiler checking. I would like
to see this in LLVM 3.0, otherwise (by the looks of the reintroduced code)
anything newer than _MSC_VER_1500 will be broken.
2009 Aug 14
1
Vicidial now extension setup
Dear All,
?
???????? I am trying to using E1 PRI Connection with vicidialnow setup..Calls are landed in asterisk .From Asterisk?CLI ?i can see the caller?id from where the call came ..but the calls are rejects.
?
?????? So what should i do now for forwarding this call to a agent who?is using softphone.Is there any Dialplanning required?
?
Plz Help me to sort it out.?
---tareq
2008 Feb 21
1
[LLVMdev] Is there someone tried LLVM 2.1 on Visual Studio 2005?
I use VS2005/Vista, which works well...
Thx,
Seung
---- Original message ----
>Date: Wed, 20 Feb 2008 12:02:29 +0800
>From: "Xi Wang" <xi.wang at gmail.com>
>Subject: Re: [LLVMdev] Is there someone tried LLVM 2.1 on Visual Studio 2005?
>To: "LLVM Developers Mailing List" <llvmdev at cs.uiuc.edu>
>
>Hi there,
>
>Did anyone try
2010 Jul 21
0
[LLVMdev] What is the scope of the DynamicLibrary?
I'm using llvm::sys::DynamicLibrary to export Symbols from my host-application to a JIT instance.
Now I was wondering what the scope of this DynamicLibrary is, because I think I never attached it to the JIT or the module.
Would it be possible to use the exported symbols even from a separate process (e.g. a forked off JIT), as long as the host app is running?
-Frank
2011 Nov 02
0
[LLVMdev] [llvm-commits] [PATCH] LLVM 3.0 broken in lib/Support/Windows/DynamicLibrary.inc
Hi Ruben,
> I don't know since when, but this file has been changed to remove all the
> trickery (aka defines) needed for MinGW-w64 (and probably everything else
> that as forgotten) to succesfully compile it.
Will you please check which commit introduces the breakage?
Thanks!
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State
2012 Oct 10
0
[LLVMdev] DynamicLibrary::UnloadLibrary()
Hi,
We need to support unloading of shared libraries. I'd like to continue
using sys::DynamicLibrary. Few questions:
* Is there a fundamental reason not to implement UnloadLibrary?
* Would it be necessary to implement some fancy symbol use-check for
unloading, or would it be fine to make this a "use at your own risk"
operation? At least as a first implementation?
* I would also
2012 Nov 14
0
[LLVMdev] [Patch] Clean up DynamicLibrary
Hi,
Attached patch moves code around; it should not have a functional
effect. It formalizes a few concepts that were spread over several files
before, depending on platform. It removes historical leftovers.
Symbol lookup now happens in three easy phases, on all platforms:
* explicitly provided symbols through AddSymbol()
* shared libraries
* platform provided "special" symbols.
No
2004 Dec 29
0
[LLVMdev] Errors when compiling DynamicLibrary.cpp for Debug build
Not really. I'm pretty much leaving the win32 directory up to Jeff Cohen
these days. I don't have a way to replicate the problem.
Reid.
On Wed, 2004-12-29 at 12:46, Henrik Bach wrote:
> Reid,
>
> I'm just curious to know if these errors are on your new year list :)
> ----------------
> make[1]: Entering directory `/C/projects/build/MinGW/llvm-1-1/lib/System'
>
2004 Dec 30
1
[LLVMdev] Errors when compiling DynamicLibrary.cpp for Debug build
I have no way of duplicating mingw problems either, but in this case the
fix is obvious and has been committed.
Reid Spencer wrote:
>Not really. I'm pretty much leaving the win32 directory up to Jeff Cohen
>these days. I don't have a way to replicate the problem.
>
>Reid.
>
>On Wed, 2004-12-29 at 12:46, Henrik Bach wrote:
>
>
>>Reid,
>>
2007 Nov 07
4
[LLVMdev] LLVM 2.1 with VC++
I've come across a couple errors when building LLVM 2.1 in VC++ 2005.
1) CodeGen/RegisterCoalescer.cpp is not included in the project
2) System/Win32/DynamicLibrary.inc - ELM_Callback is declared with a
PSTR ModuleName argument. This causes a compile error - the callback
typedef specifies PCSTR.
Also, I'd like to suggest adding the following to config.h, to
eliminate the spurious
2004 Dec 29
2
[LLVMdev] Errors when compiling DynamicLibrary.cpp for Debug build
Reid,
I'm just curious to know if these errors are on your new year list :)
----------------
make[1]: Entering directory `/C/projects/build/MinGW/llvm-1-1/lib/System'
llvm[1]: Compiling DynamicLibrary.cpp for Debug build
In file included from
c:/projects/src/llvm-1/llvm/lib/System/DynamicLibrary.cpp:25:
c:/projects/src/llvm-1/llvm/lib/System/win32/DynamicLibrary.cpp:22: warning:
2015 Sep 01
2
functional bug in code /clients/nutclient.cpp
Hi nut users, (this is a re-send from the correct account)
With pleasure, I have been using the code provided. Managed to get all
working properly, except for the nutclient lib in C.
Both functions stringset_to_strarr and stringvector_to_strarr have a similar
bug in play. Although trivial in code, the coded function does not operate
as intended.
The pointer increment is missing (see added
2005 Jan 31
1
[LLVMdev] Question about Global Variable
Hi,
Sorry for bothering you guys again.
I got problem when I am trying to recover the Global Variable Initial value. What I did is like the following
ConstantArray *Cstr = dyn_cast<ConstantArray>(gI->getInitializer());
// the above instruction enable me to get the content of initial string of global variable, like char a[10] ="test global";
And then I make some change for
2009 Apr 01
2
[LLVMdev] adjust address calculus for an architecture that does not address bytes
> > At first I thought this could be handled when lowering
> loads and stores, but I realize that I can only catch the
> targeted addresses of loads/stores here - however address
> calculation nodes may occur anywhere in a DAG.
> >
> > So my first impulse would be to adjust the constants when
> the GEP instructions are transformed to ADDs. Afaics his
> would mean
2012 Mar 01
3
Converting a string vector with names to a numeric vector with names
Not paying close attention to detail, I entered the equivalent of
pstr<-c("b1=200", "b2=50", "b3=0.3")
when what I wanted was
pnum<-c(b1=200, b2=50, b3=0.3)
There was a list thread in 2010 that shows how to deal with un-named vectors, but the same
lapply solution doesn't seem to work here i.e.,
pnum<-lapply(pstr, as.numeric)
or similar vapply
2009 Aug 11
2
[LLVMdev] Bug in optimization pass related to strcmp and big endian back-ends
Hi all,
i'm working on a LLVM back-end right now and i think I found a bug in an
optimization pass. When compiling the following code using llvm-gcc (the
current 2.5 release) with -O2
int main(int argc, char** argv) {
char* pStr = "I" + (argc > 100);
printf("%d\n", strcmp(pStr, "I") == 0);
}
the strcmp
2009 Jul 15
1
Error in simulation R-code
Dear List,
I have got error message when I run the R-code. Can anyone has a suggestion?
v.code <- df.bm7[,c(10:31)]; v.code[1:3,]
names(v.code)
CM = v.code # variable binomial code
sim.sp <- function(data,CM,n,N)
{
C <- matrix(rep(NA,N),ncol=1)
for(i in 1:N)
{
j <- n
xx <- which(colSums(CM[j,])==1)
V <- names(xx)
V <- paste(V,