search for: nodefaultlibs

Displaying 20 results from an estimated 102 matches for "nodefaultlibs".

Did you mean: nodefaultlib
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
2019 Feb 27
2
lld-link crash when linking intrinsics lib
Hello Rui, I met couples of lld-link crash when enable the clang-cl + lld-link build toolchain for Uefi firmware. Below is a simplified example (main.c and intrinsics.c). Uefi firmware is self-contained and doesn't depend on the compiler intrinsics implementation, so we have our own intrinsics lib. It is weird that if I don't use the llvm-lib but directly "lld-link /NODEFAULTLIB
2019 Feb 28
4
lld-link crash when linking intrinsics lib
+Peter Collingbourne <pcc at chromium.org> LTO is used in this test case, and one source file defines its own `memset` function while the other file uses llvm.memset. Looks like LTO is confused by the user-defined memset. Could you take a look? Steven, Do you need to use LTO? I thought that LTO is a workaround to not produce an object file that cannot be handled by your ELF-to-COFF
2019 Feb 18
2
lld-link fails to link 32bits assembly functions but 64bits pass
Hi Rui, Peter, You know I'm enabling the "clang-cl + lld-link" toolchain for Uefi firmware. I meet a problem that the lld-link fails to link 32bits assembly functions, but can link 64bits assembly functions successfully. I need your suggestion. Below is an example to show my problem in linux. The example has two only source files: main.c and foo.nasm. $ cat main.c void Foo (void);
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
2004 Aug 06
4
compile speexenc
Hello, Iam being to compile speexenc but I have the following error: LINK : warning LNK4098: defaultlib "LIBCMTD" conflicts with use of other libs; use /NODEFAULTLIB:library libspeex.lib(lsp.obj) : error LNK2001: unresolved external symbol _spx_cos Debug/speexenc.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. Please, help me Guillaume --- >8 ---- List
2017 Jun 08
2
Failing unit tests
...ltins-i386-linux :: divsc3_test.c (4326 of 37268) ******************** TEST 'Builtins-i386-linux :: divsc3_test.c' FAILED ******************** Script: -- ~/workspace/LLVM/ninjacmake/./bin/clang -gline-tables-only -m32 -fno-builtin -I ~/workspace/LLVM/llvm/projects/compiler-rt/lib/builtins -nodefaultlibs ~/workspace/LLVM/llvm/projects/compiler-rt/test/builtins/Unit/divsc3_test.c ~/workspace/LLVM/ninjacmake/./lib/clang/5.0.0/lib/linux/libclang_rt.builtins-i386.a -lc -lm -lm -o ~/workspace/LLVM/ninjacmake/projects/compiler-rt/test/builtins/Unit/I386LinuxConfig/Output/divsc3_test.c.tmp && ~/w...
2017 Jun 14
2
Using LLD to create a .lib from a .def
...l Force = false; bool Debug = false; bool WriteSymtab = true; unsigned DebugTypes = static_cast<unsigned>(DebugType::None); StringRef PDBPath; // Symbols in this set are considered as live by the garbage collector. std::set<SymbolBody *> GCRoot; std::set<StringRef> NoDefaultLibs; bool NoDefaultLibAll = false; // True if we are creating a DLL. bool DLL = false; StringRef Implib; std::vector<Export> Exports; std::set<std::string> DelayLoads; std::map<std::string, int> DLLOrder; SymbolBody *DelayLoadHelper = nullptr; // Used for SafeSEH....
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) :
2017 Jun 04
2
trying to get a minimal windows program linked with lld
Here's some C code: extern void *GetStdHandle(unsigned int nStdHandle); extern void ExitProcess(unsigned int exit_code); extern char WriteFile(void *HANDLE, const void * lpBuffer, unsigned int nNumberOfBytesToWrite, unsigned int *lpNumberOfBytesWritten, void *lpOverlapped); static const char *message_ptr = "hello\n"; static const unsigned int message_len = 6;
2007 Feb 28
1
Linking problem when using speex with visual studio 6.0
Hi, dear all I got the following problem when using speex1.2beta1 with VS 6.0: LINK : warning LNK4098: defaultlib "LIBCD" conflicts with use of other libs; use /NODEFAULTLIB:library libspeex.lib(sb_celp.obj) : error LNK2001: unresolved external symbol _lpc_window libspeex.lib(nb_celp.obj) : error LNK2001: unresolved external symbol _lpc_window I compiled speex1.2beta1 under win32
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
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
2002 Feb 07
1
Vorbisfile Linker Question
I'm having some trouble getting vorbisfile to link into my project under Windows. I downloaded all the source, and after re-compiling all the dlls and libs with my project's proper settings (Multithreaded, 1-byte alignment), everything 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:
2017 Sep 30
2
invalid code generated on Windows x86_64 using skylake-specific features
I have this code, which works fine on MacOS and Linux hosts: const char *target_specific_cpu_args; const char *target_specific_features; if (g->is_native_target) { target_specific_cpu_args = ZigLLVMGetHostCPUName(); target_specific_features = ZigLLVMGetNativeFeatures(); } else { target_specific_cpu_args = ""; target_specific_features =
2017 Jun 15
2
Using LLD to create a .lib from a .def
...rue; >> unsigned DebugTypes = static_cast<unsigned>(DebugType::None); >> StringRef PDBPath; >> >> // Symbols in this set are considered as live by the garbage collector. >> std::set<SymbolBody *> GCRoot; >> >> std::set<StringRef> NoDefaultLibs; >> bool NoDefaultLibAll = false; >> >> // True if we are creating a DLL. >> bool DLL = false; >> StringRef Implib; >> std::vector<Export> Exports; >> std::set<std::string> DelayLoads; >> std::map<std::string, int> DLLO...
2010 Aug 05
2
[LLVMdev] [PATCH] Capability of Win32.DLL with ENABLE_SHARED
...T _\([^.][^.]*\)$$/\1/p" \ + -e "s/^.* [BDR] _\([^.][^.]*\)$$/\1 DATA/p" \ + $(SHLIB_FRAGS) \ + | sort -u) > $@ + +$(ObjDir)/$(LIBRARYNAME).a.o: $(LLVMLibsPaths) $(ObjDir)/.dir + $(Echo) Linking all LLVMLibs together for $(LIBRARYNAME) + $(Verb) $(Link) -nostartfiles -Wl,-r -nodefaultlibs -o $@ \ + -Wl,--whole-archive $(LLVMLibsPaths) \ + -Wl,--no-whole-archive + +$(ObjDir)/stdc++.a.o: $(ObjDir)/.dir + $(Echo) Linking all libs together for static libstdc++.a + $(Verb) $(Link) -nostartfiles -Wl,-r -nodefaultlibs -o $@ \ + -Wl,--whole-archive -lstdc++ \ + -Wl,--no-whole-archiv...
2017 Jun 16
2
Using LLD to create a .lib from a .def
...(DebugType::None); >>>> StringRef PDBPath; >>>> >>>> // Symbols in this set are considered as live by the garbage >>>> collector. >>>> std::set<SymbolBody *> GCRoot; >>>> >>>> std::set<StringRef> NoDefaultLibs; >>>> bool NoDefaultLibAll = false; >>>> >>>> // True if we are creating a DLL. >>>> bool DLL = false; >>>> StringRef Implib; >>>> std::vector<Export> Exports; >>>> std::set<std::string> Dela...
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
2019 Mar 18
2
RFC: ELF Autolinking
On Fri, Mar 15, 2019 at 6:23 AM bd1976 llvm <bd1976llvm at gmail.com> wrote: > > > On Thu, Mar 14, 2019 at 6:43 PM bd1976 llvm <bd1976llvm at gmail.com> wrote: > >> >> >> On Thu, Mar 14, 2019 at 5:58 PM Rui Ueyama <ruiu at google.com> wrote: >> >>> On Thu, Mar 14, 2019 at 9:45 AM bd1976 llvm via llvm-dev < >>> llvm-dev at