search for: _free

Displaying 20 results from an estimated 50 matches for "_free".

Did you mean: free
2004 Aug 06
2
compiling in windows
<p><p>Hi, I'm trying to compile speex in windows and I get this error: Linking...MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _malloc already defined in LIBCD.lib(dbgheap.obj)MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _free already defined in LIBCD.lib(dbgheap.obj)MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _memmove already defined in LIBCD.lib(memmove.obj)MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _realloc already defined in LIBCD.lib(dbgheap.obj)LINK : warning LNK4098: defaultlib "MSVCRTD" conflicts with use...
2005 Jun 06
1
linker error in debug
...efined in MSVCRTD.lib(MSVCR71D.dll) GameClient error LNK2005: _malloc already defined in MSVCRTD.lib(MSVCR71D.dll) GameClient error LNK2005: _calloc already defined in MSVCRTD.lib(MSVCR71D.dll) GameClient error LNK2005: _realloc already defined in MSVCRTD.lib(MSVCR71D.dll) GameClient error LNK2005: _free already defined in MSVCRTD.lib(MSVCR71D.dll) GameClient error LNK2005: ___xc_z already defined in MSVCRTD.lib(cinitexe.obj) GameClient error LNK2005: ___xc_a already defined in MSVCRTD.lib(cinitexe.obj) GameClient error LNK2005: ___xi_z already defined in MSVCRTD.lib(cinitexe.obj) GameClient error...
2014 Oct 23
2
[LLVMdev] compiler-rt with MSVC 2013
Hello! I'm wondering whether compiler-rt is expected to be buildable with MSVC 2013. I am currently getting: Error 49 error LNK2005: _free already defined in asan_malloc_win.obj E:\llvm\crt_build\lib\asan\MSVCRT.lib(MSVCR120.dll) Which seems to be the only issue (aside from ~50 warnings, which I'll happily work on cleaning up). I get this when I build the ALL_BUILD project in the solution from cmake. Thanks! ~Aaron
2014 Oct 23
2
[LLVMdev] compiler-rt with MSVC 2013
...up the solution, hit Build All. ~Aaron > > 2014-10-23 9:51 GMT-07:00 Aaron Ballman <aaron at aaronballman.com>: >> Hello! I'm wondering whether compiler-rt is expected to be buildable >> with MSVC 2013. I am currently getting: >> >> Error 49 error LNK2005: _free already defined in asan_malloc_win.obj >> E:\llvm\crt_build\lib\asan\MSVCRT.lib(MSVCR120.dll) >> >> Which seems to be the only issue (aside from ~50 warnings, which I'll >> happily work on cleaning up). I get this when I build the ALL_BUILD >> project in the soluti...
2014 Oct 23
2
[LLVMdev] compiler-rt with MSVC 2013
...t;> >>> 2014-10-23 9:51 GMT-07:00 Aaron Ballman <aaron at aaronballman.com>: >>>> Hello! I'm wondering whether compiler-rt is expected to be buildable >>>> with MSVC 2013. I am currently getting: >>>> >>>> Error 49 error LNK2005: _free already defined in asan_malloc_win.obj >>>> E:\llvm\crt_build\lib\asan\MSVCRT.lib(MSVCR120.dll) >>>> >>>> Which seems to be the only issue (aside from ~50 warnings, which I'll >>>> happily work on cleaning up). I get this when I build the ALL_BUIL...
2002 Feb 07
1
Vorbisfile Linker Question
...thing works peachy when I use the dlls from the *_dynamic project files. When I try to use the *_static .libs though I get the following linker error: Linking... MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _malloc already defined in libcmtd.lib(dbgheap.obj) MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _free already defined in libcmtd.lib(dbgheap.obj) MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _memmove already defined in libcmtd.lib(memmove.obj) MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _realloc already defined in libcmtd.lib(dbgheap.obj) LINK : warning LNK4098: defaultlib "MSVCRTD" conflicts...
2005 Jul 05
0
[LLVMdev] How do you determine whether a function is definedexternally to a module ?
On Sun, 3 Jul 2005, Aaron Gray wrote: >> Something like this should work: >> >> for (Module::iterator F = M->begin(), E = M->end(); F != E; ++F) >> if (F->isExternal()) >> ... Function* F is external! ... > > This is not working. For some reason there is a BasicBlock present on > undefined functions ! Which functions in particular are you
2010 Jan 13
2
[LLVMdev] Cross-module function inlining
...r it to be visible to the optimizers but you don't want it to be part of the code generated for your program (ie., you'll link it against newlib later), you should mark the functions with available_externally linkage. > Sorry, I should've been more clear - the calls to _malloc and _free weren't being inlined (see example below). I'm not sure why (happens with or without -simplify-libcalls). So, the resulting .bc file from 'opt' contains live references to symbols that were in its input .bc, but for some reason it stripped them. #include <stdlib.h> int entri...
2010 Jan 14
1
[LLVMdev] Cross-module function inlining
On 14 Jan 2010, at 05:20, Nick Lewycky wrote: >> calls to _malloc and _free >> weren't being inlined (see example below). I'm not sure why (happens >> with or without -simplify-libcalls). So, the resulting .bc file from >> 'opt' contains live references to symbols that were in its input .bc, >> but for some reason it stripped them. &...
2002 Jun 24
1
Date: Tue, 25 Jun 2002 00:06:12 +0300
Hello! I'm trying to compile decoder_example.c example (MS VC 7) using debug static ogg/vorbis libs with no luck. I got linker errors: Linking... MSVCRTD.lib(MSVCR70D.dll) : error LNK2005: _malloc already defined in LIBCD.lib(dbgheap.obj) MSVCRTD.lib(MSVCR70D.dll) : error LNK2005: _free already defined in LIBCD.lib(dbgheap.obj) MSVCRTD.lib(MSVCR70D.dll) : error LNK2005: _memmove already defined in LIBCD.lib(memmove.obj) MSVCRTD.lib(MSVCR70D.dll) : error LNK2005: _realloc already defined in LIBCD.lib(dbgheap.obj) MSVCRTD.lib(MSVCR70D.dll) : error LNK2005: _calloc already defined...
2005 Jul 03
4
[LLVMdev] How do you determine whether a function is definedexternally to a module ?
> Something like this should work: > > for (Module::iterator F = M->begin(), E = M->end(); F != E; ++F) > if (F->isExternal()) > ... Function* F is external! ... This is not working. For some reason there is a BasicBlock present on undefined functions ! I am compiling the examples from llvm/test/feature, about 28 out of 34 assemble fine. Just cannot seem to get
2014 Oct 23
2
[LLVMdev] compiler-rt with MSVC 2013
...:51 GMT-07:00 Aaron Ballman <aaron at aaronballman.com>: >>>>>> Hello! I'm wondering whether compiler-rt is expected to be buildable >>>>>> with MSVC 2013. I am currently getting: >>>>>> >>>>>> Error 49 error LNK2005: _free already defined in asan_malloc_win.obj >>>>>> E:\llvm\crt_build\lib\asan\MSVCRT.lib(MSVCR120.dll) >>>>>> >>>>>> Which seems to be the only issue (aside from ~50 warnings, which I'll >>>>>> happily work on cleaning up). I ge...
2010 Jan 14
0
[LLVMdev] Cross-module function inlining
...o the optimizers but you don't want it to be part of the >> code generated for your program (ie., you'll link it against newlib >> later), you should mark the functions with available_externally linkage. > > Sorry, I should've been more clear - the calls to _malloc and _free > weren't being inlined (see example below). I'm not sure why (happens > with or without -simplify-libcalls). So, the resulting .bc file from > 'opt' contains live references to symbols that were in its input .bc, > but for some reason it stripped them. Okay. Could you...
2014 Oct 23
3
[LLVMdev] compiler-rt with MSVC 2013
...gt;>>>>>>>>> Hello! I'm wondering whether compiler-rt is expected to be buildable >>>>>>>>>> with MSVC 2013. I am currently getting: >>>>>>>>>> >>>>>>>>>> Error 49 error LNK2005: _free already defined in asan_malloc_win.obj >>>>>>>>>> E:\llvm\crt_build\lib\asan\MSVCRT.lib(MSVCR120.dll) >>>>>>>>>> >>>>>>>>>> Which seems to be the only issue (aside from ~50 warnings, which I'll >>&gt...
2015 Feb 13
2
[LLVMdev] trunk's optimizer generates slower code than 3.5
...mp short loc_100000EC0 ; --------------------------------------------------------------------------- loc_100000F0E: ; CODE XREF: _main+DC j ; _main+E3 j ... mov rdi, rax ; void * call _free lea rdi, aDSolutions ; "%d solutions\n" xor ebx, ebx xor eax, eax mov esi, r14d call _printf loc_100000F29: ; CODE XREF: _main+16 j mov eax, ebx...
2015 Feb 14
2
[LLVMdev] trunk's optimizer generates slower code than 3.5
...------------------------------------------------------------ >> >> loc_100000F0E: ; CODE XREF: _main+DC j >> ; _main+E3 j ... >> mov rdi, rax ; void * >> call _free >> lea rdi, aDSolutions ; "%d solutions\n" >> xor ebx, ebx >> xor eax, eax >> mov esi, r14d >> call _printf >> >> loc_100000F29:...
2015 Feb 14
2
[LLVMdev] trunk's optimizer generates slower code than 3.5
...-------------------- >>>> >>>> loc_100000F0E: ; CODE XREF: _main+DC j >>>> ; _main+E3 j ... >>>> mov rdi, rax ; void * >>>> call _free >>>> lea rdi, aDSolutions ; "%d solutions\n" >>>> xor ebx, ebx >>>> xor eax, eax >>>> mov esi, r14d >>>> call _printf >>>...
2014 Oct 23
2
[LLVMdev] compiler-rt with MSVC 2013
...Visual Studio > 12.0\VC\LIB\LIBCMT.lib: > ... > > At the same stage of linking, from the MSVC build, with /VERBOSE > passed to the linker: > > 2> Searching D:\Program Files (x86)\Microsoft Visual Studio > 12.0\VC\lib\MSVCRT.lib: > ... > 2> Found __imp__free > 2> Referenced in MSVCRT.lib(crtdll.obj) > 2> Loaded MSVCRT.lib(MSVCR120.dll) > 2>MSVCRT.lib(MSVCR120.dll) : error LNK2005: _free already defined in > asan_malloc_win.obj > ... > > The ninja build has: > Processed /DISALLOWLIB:libcmtd.lib > P...
2014 Oct 23
2
[LLVMdev] compiler-rt with MSVC 2013
...aaron at aaronballman.com>: >>>>>>>> Hello! I'm wondering whether compiler-rt is expected to be buildable >>>>>>>> with MSVC 2013. I am currently getting: >>>>>>>> >>>>>>>> Error 49 error LNK2005: _free already defined in asan_malloc_win.obj >>>>>>>> E:\llvm\crt_build\lib\asan\MSVCRT.lib(MSVCR120.dll) >>>>>>>> >>>>>>>> Which seems to be the only issue (aside from ~50 warnings, which I'll >>>>>>>> ha...
2009 Oct 20
2
[LLVMdev] [cfe-dev] 2.6 pre-release2 ready for testing
...c/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: > warning: cannot find entry symbol __cygwin_dll_entry at 12; defaulting to > 61ec1000 > /home/foad/llvm/objdir-2.6/runtime/libprofile/Release/ > BasicBlockTracing.o:BasicBlockTracing.c:(.text+0x36): > undefined reference to `_free' > /home/foad/llvm/objdir-2.6/runtime/libprofile/Release/ > BasicBlockTracing.o:BasicBlockTracing.c:(.text+0xca): > undefined reference to `_malloc' > /home/foad/llvm/objdir-2.6/runtime/libprofile/Release/ > BasicBlockTracing.o:BasicBlockTracing.c:(.text+0xe8): > undefin...