Displaying 20 results from an estimated 2000 matches similar to: "lli can't find vsprintf"
2017 Feb 27
2
lli can't find vsprintf
thank you! yes, i guess that is the problem.
unfortunately libcmt doesn't work. could it have another name for lli?
The function missing seems to be part of libcmt since i get a similar error
on linking if i remove the libcmt
D:\llvm\examples\helloworld>lli -load=libcmt hello.bc
Error opening 'libcmt': libcmt: Can't open: The specified module could not
be found. (0x7E)
2011 Sep 29
1
[LLVMdev] Beginner Question on Linking
I am following along in http://llvm.org/docs/GettingStartedVS.html with a
Hello World bitcode file. I can run the file using the command `lli
HelloWorld.bc`, but now I want to link it into an executable file (on
windows). The next thing the document says to run is `llc -filetype=obj
HelloWorld.bc` which runs fine and now I have a `HelloWorld.obj` file. It's
the last step that is giving me some
2003 Jun 16
2
using win32 static libs
hi,
i hope this is not too "newbie-ish" but i've never programmed with static libs before.
i've downloaded the win32sdk and try to build a simple wav->ogg/vorbis encoder, but the linker complained about several redefinitions.
environment is visual studio .net 2003 on winxp and a standard mfc-app set up by this project-wizzard that comes with vs.net2003 using the default
2013 Sep 29
2
MSVS: debug flac.exe uses release libogg_static.lib
With current settings, MSVS links debug version of flac.exe (and other .exe and .dll files) with the release version of libogg_static.lib. MSVS issues a "warning LNK4098: defaultlib 'libcmt.lib' conflicts with use of other libs; use /NODEFAULTLIB:library"
What's the reason in this setting?
What is better:
* to change the settings so that MSVS will link debug .exe files with
2008 Apr 16
1
C++ Linker Warnings
Hi,
I have been trying to link to theora static libs I built with VC++ 2005 from
libtheora-1.0beta2 and libogg-1.1.3. I get a couple of link warnings, the
most significant is:
LINK : warning LNK4098: defaultlib 'libcmt.lib' conflicts with use of other
libs; use /NODEFAULTLIB:library
I read up about libcmt.lib and found it is a statically linked library that
supports
2017 Mar 31
2
Invoking lld for PE/COFF (Windows) linking
On 3/30/2017 9:03 PM, Reid Kleckner via llvm-dev wrote:
> On Thu, Mar 30, 2017 at 5:57 PM, Edward Diener via llvm-dev
> <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote:
>
> Actually just doing:
>
> clang++ -c t.cpp -o t.o --target=x86_64-windows-msvc -fmsc-version=1900
> clang++ t.o -o t.exe --target=x86_64-windows-msvc
2014 Oct 23
2
[LLVMdev] compiler-rt with MSVC 2013
On Thu, Oct 23, 2014 at 3:38 PM, Aaron Ballman <aaron at aaronballman.com> wrote:
> On Thu, Oct 23, 2014 at 2:57 PM, Aaron Ballman <aaron at aaronballman.com> wrote:
>> On Thu, Oct 23, 2014 at 2:46 PM, Timur Iskhodzhanov <timurrrr at google.com> wrote:
>>> 2014-10-23 11:34 GMT-07:00 Aaron Ballman <aaron at aaronballman.com>:
>>>> On Thu, Oct
2014 Oct 23
2
[LLVMdev] compiler-rt with MSVC 2013
compiler-rt libs must be built with /MT, so the MSVS build is doing
the wrong thing here.
2014-10-23 12:52 GMT-07:00 Aaron Ballman <aaron at aaronballman.com>:
> On Thu, Oct 23, 2014 at 3:42 PM, Aaron Ballman <aaron at aaronballman.com> wrote:
>> On Thu, Oct 23, 2014 at 3:38 PM, Aaron Ballman <aaron at aaronballman.com> wrote:
>>> On Thu, Oct 23, 2014 at 2:57
2020 Feb 23
2
Change default config of clang on Windows
I'm getting trouble using clang with compiled libc++ on MSVC.
1. why clang chooses `link` over `lld-link` by default? I don't really wish
to write `-fuse-ld=lld-link` every single time I build something.
2. why `lld-link` doesn't search inside default `lib` directory? I need to
manually show him where it is although I put that binary in `<LLVM
root>\lib\`
3. why clang invokes
2017 Mar 31
3
Invoking lld for PE/COFF (Windows) linking
On 3/30/2017 7:59 PM, Reid Kleckner via llvm-dev wrote:
> On Thu, Mar 30, 2017 at 6:08 AM, Edward Diener via llvm-dev
> <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote:
>
> Are you saying that once lld is built with mingw-64/gcc on Windows
> it is impossible to tell it to handle PE/COFF files when invoking it
> from clang++ using the
2013 Sep 29
2
MSVS: debug flac.exe uses release libogg_static.lib
Ralph Giles wrote:
>> With current settings, MSVS links debug version of flac.exe (and other
>> .exe and .dll files) with the release version of libogg_static.lib.
>> MSVS issues a "warning LNK4098: defaultlib 'libcmt.lib' conflicts with use
>> of other libs; use /NODEFAULTLIB:library"
>
> Sounds like a bug. Debug targets should link to debug builds
2012 May 01
1
[LLVMdev] Linking C++ on Windows
I've followed all the LLVM+clang build-from-source instructions for Windows using MSVC++ 2008. It all builds fine. I initially had troubling getting any linking to work at all until I made sure to have the right environment variables set using a wrapper batch script. Now C programs compile, link, and execute fine, but C++ programs don't link, not even a simple "hello, world"
2014 Oct 23
3
[LLVMdev] compiler-rt with MSVC 2013
On Thu, Oct 23, 2014 at 2:46 PM, Timur Iskhodzhanov <timurrrr at google.com> wrote:
> 2014-10-23 11:34 GMT-07:00 Aaron Ballman <aaron at aaronballman.com>:
>> On Thu, Oct 23, 2014 at 2:24 PM, Timur Iskhodzhanov <timurrrr at google.com> wrote:
>>> I don't think this is the right approach.
>>>
>>> Currently we intentionally define malloc etc
2006 Aug 18
6
Ogg Player Code
Hello,
In one of my recent assignments, I was asked to develop a ogg player.
I am not able to find the right repository of the source code. There are few repositories on vorbis but I am not clear which one is the right one for Windows environment.
If somebody has successfully compiled any ogg player ever, his ideas will be helpful to me.
In one of the code set, I was able to compile the
2012 Oct 19
0
[LLVMdev] Section specialization & COFF.
On Fri, Oct 19, 2012 at 2:55 AM, r4start <r4start at gmail.com> wrote:
> Hi all.
>
> While compiling next code
> @A = weak unnamed_addr constant { i32, i32, i32 } { i32 0, i32 0, i32 0 },
> section ".data"
> was discovered that llc ignores weak linkage if we emit it in COFF object.
> Attached patch solves this problem, please review.
>
> I found some
2020 Mar 28
0
[klibc:master] Suppress format truncation warnings for sprintf() and vsprintf()
Commit-ID: d8e32d95a1bff2639f9ede9eae9b07b53f37bdac
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=d8e32d95a1bff2639f9ede9eae9b07b53f37bdac
Author: Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Sat, 28 Mar 2020 21:57:26 +0000
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sat, 28 Mar 2020 21:57:26 +0000
[klibc] Suppress format truncation
2010 Jan 19
1
Linker Error when compiling Speex decoder
Hi
I get the following error during linking. How do I resolve it.
I am compiling using Visual Studio 2008
Thanks
1>Copyright (C) Microsoft Corporation. All rights reserved.
1>Linking...
1>MicSpeexDec.obj : error LNK2019: unresolved external symbol __imp__fclose referenced in function "int __cdecl _tmain(int,char * * const)" (?_tmain@@YAHHQAPAD at Z)
2024 Dec 13
1
[PATCH 1/7] vsprintf: Add %pTN to print task name
Petr Mladek <pmladek at suse.com> writes:
> On Fri 2024-12-13 13:46:04, Yafang Shao wrote:
>> Since the task->comm is guaranteed to be NUL-ternimated, we can print it
>> directly. Add a new vsnprintf format specifier "%pTN" to print task comm,
>> where 'p' represents the task Pointer, 'T' stands for Task, and 'N' denots
>>
2024 Dec 13
1
[PATCH 1/7] vsprintf: Add %pTN to print task name
On Fri, Dec 13, 2024 at 10:35:03AM +0200, Kalle Valo wrote:
> I agree, it makes the code harder to read for someone who is not
> familiar with all the %p magic we have (like me).
+1
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette
2012 Oct 19
2
[LLVMdev] Section specialization & COFF.
Hi all.
While compiling next code
@A = weak unnamed_addr constant { i32, i32, i32 } { i32 0, i32 0, i32 0
}, section ".data"
was discovered that llc ignores weak linkage if we emit it in COFF object.
Attached patch solves this problem, please review.
I found some similar tests in test/Objects/Inputs. Should I do something
like trivial.ll checking or there is a better way
to check