Displaying 20 results from an estimated 272 matches for "libllvmsupport".
2008 Sep 06
2
[LLVMdev] "has different visibility" warnings
Recently I started getting these warnings - thousands of them - and I'm
not sure what I did to cause them or how to solve them:
ld: warning llvm::MemoryBuffer::getBufferStart() const has different
visibility (1) in /usr/local/lib/libLLVMSupport.a(MemoryBuffer.o) and
(2) in /usr/local/lib/libLLVMSupport.a(CommandLine.o)
ld: warning
llvm::OwningPtr<llvm::MemoryBuffer>::OwningPtr(llvm::MemoryBuffer*)has
different visibility (1) in
/usr/local/lib/libLLVMSupport.a(MemoryBuffer.o) and (2) in
/usr/local/lib/libLLVMSupport.a(CommandLin...
2006 Aug 03
0
[LLVMdev] Building llvm under cygwin
Hello Anton
Thu, 3 Aug 2006 15:06:56 +0400 you wrote:
> here it is in the attachment :)
Ok. Could you also send LibDeps.txt file? It should be
in /obj/tools/llvm-config directory
--
With best regards, Anton Korobeynikov.
Faculty of Mathematics & Mechanics, Saint Petersburg State University.
2006 Aug 04
1
[LLVMdev] Building llvm under cygwin
Hello Anton
Fri, 4 Aug 2006 21:45:19 +0400 you wrote:
> Written by Mike Haertel and Paul Eggert.
> I've updated llvm and llvm-gcc4 ant trying to build it again after
> PR845 was resolved. According to Reid's letter this PR coud be the
> reason of my problem.
Anyway, "sort" call can cause large problems depending, where in your
PATH cygwin directory is (before
2008 Sep 06
0
[LLVMdev] "has different visibility" warnings
...08-09-05, at 22:46, Talin wrote:
> Recently I started getting these warnings - thousands of them - and
> I'm
> not sure what I did to cause them or how to solve them:
>
> ld: warning llvm::MemoryBuffer::getBufferStart() const has different
> visibility (1) in /usr/local/lib/libLLVMSupport.a(MemoryBuffer.o) and
> (2) in /usr/local/lib/libLLVMSupport.a(CommandLine.o)
> ld: warning
> llvm::OwningPtr<llvm::MemoryBuffer>::OwningPtr(llvm::MemoryBuffer*)has
> different visibility (1) in
> /usr/local/lib/libLLVMSupport.a(MemoryBuffer.o) and (2) in
> /usr/local/lib/li...
2006 Aug 01
15
[LLVMdev] Building llvm under cygwin
>
> If you're building llvm-gcc4, you don't need the runtime libraries, so
> I'd just stick with the "tools-only" build and declare success. If
> you're building llvm-gcc3, I'd suggest you switch to llvm-gcc4 :)
I switched to llvm-gcc4 but when I run make from obj folder i run into
folowing errors:
Can't find a library with no dependencies at
2013 Jul 26
1
[LLVMdev] Building libLLVMSupport library - special tricks?
Duncan,
Yes, I'd been pretty much performing the same diagnosis in parallel - it seems we just don't have that libLLVMSupport library built.
Last night, tried the build of clang a few different ways to get that library built - including specifying the --gcc-toolchain option. No Joy!
Which of the clang/llvm source trees provides it? or is it in another source package? tools? Is there a Special Sauce which I must cook up...
2006 Aug 03
0
[LLVMdev] Building llvm under cygwin
Hello Anton
Thu, 3 Aug 2006 12:38:54 +0400 you wrote:
> I've updated it yesterday and rebuilt - llvm built fine. But when
> building llvm-gcc4 (also updated yesterday from new /trunk
> directory) it fails with the same error.
You might easily get llvm-gcc4-mingw32 binaries from "prerelease"
directory. Since stdcall, fastcall & dllimport stuff is unsupported
right now,
2014 Mar 26
7
[LLVMdev] Lots of regtest failures on PPC64/Linux
Hi,
Recent trunk has a lot of failures on PPC64/Linux. One seems to be crash
with a backtrace like:
[ 3149s] --
[ 3149s] 0 libLLVMSupport.so 0x00003fff7ed0b864
llvm::sys::PrintStackTrace(_IO_FILE*) + 4294746876
[ 3149s] 1 libLLVMSupport.so 0x00003fff7ed0bb1c
[ 3149s] 2 libLLVMSupport.so 0x00003fff7ed0c520
[ 3149s] 3 linux-vdso64.so.1 0x00003fff7f7b0478 __kernel_sigtramp_rt64 + 0
[ 3149s] 4 libLLVMSupport.so 0x00003fff7ecfb448
llv...
2012 Jan 03
2
[LLVMdev] 'Reference Out Of Range' error building llvm/clang with -O4
This is compiling the Trunk revision from last Friday:
reference out of range from _llvm_regerror (1000437F0) in
../../lib/libLLVMSupport.a(regerror.c.o) to cstring=0 (0) in
../../lib/libLLVMSupport.a(regerror.c.o)
ld: rel32 out of range in _llvm_regerror from
../../lib/libLLVMSupport.a(regerror.c.o)
clang-3: error: linker command failed with exit code 1 (use -v to see
invocation)
OS X 10.6, compling LLVM with LLVM using -O4
2014 Feb 27
3
[LLVMdev] Understanding some of the recent cmake build changes
...E|PRIVATE|PUBLIC bar)
To try to find out, I decided to look at the generated build.ninja.
The difference that shows up is far fewer order only dependencies. For
example
build lib/TableGen/CMakeFiles/LLVMTableGen.dir/Error.cpp.o:
CXX_COMPILER /home/espindola/llvm/llvm/lib/TableGen/Error.cpp ||
lib/libLLVMSupport.a
becomes just
build lib/TableGen/CMakeFiles/LLVMTableGen.dir/Error.cpp.o:
CXX_COMPILER /home/espindola/llvm/llvm/lib/TableGen/Error.cpp
The net result is that in the old system running
ninja ./lib/TableGen/CMakeFiles/LLVMTableGen.dir/Error.cpp.o
on a tree just after running cmake would execu...
2011 Aug 21
4
[LLVMdev] Undefined references when LLVM is configured with "--host=x86_64-gnu-linux --target=x86_64-w64-mingw32"
...meter
-Wwrite-strings -o
/home/ruben/mingw-w64/toolchain/linux64mingw64/llvm-clang/Release/bin/FileCheck
/home/ruben/mingw-w64/toolchain/linux64mingw64/llvm-clang/utils/FileCheck/Release/FileCheck.o
-lLLVMSupport \
-ldl -lm
/home/ruben/mingw-w64/toolchain/linux64mingw64/llvm-clang/Release/lib/libLLVMSupport.a(Signals.o):
In function `SignalHandler(int)':
Signals.cpp:(.text+0x4d8): undefined reference to
`llvm::sys::MutexImpl::acquire()'
/home/ruben/mingw-w64/toolchain/linux64mingw64/llvm-clang/Release/lib/libLLVMSupport.a(Signals.o):
In function `llvm::sys::RunInterruptHandlers()':
Signals...
2011 Aug 22
0
[LLVMdev] Undefined references when LLVM is configured with "--host=x86_64-gnu-linux --target=x86_64-w64-mingw32"
...-o
> /home/ruben/mingw-w64/toolchain/linux64mingw64/llvm-clang/Release/bin/FileCheck
> /home/ruben/mingw-w64/toolchain/linux64mingw64/llvm-clang/utils/FileCheck/Release/FileCheck.o
> -lLLVMSupport \
> -ldl -lm
> /home/ruben/mingw-w64/toolchain/linux64mingw64/llvm-clang/Release/lib/libLLVMSupport.a(Signals.o):
> In function `SignalHandler(int)':
> Signals.cpp:(.text+0x4d8): undefined reference to
> `llvm::sys::MutexImpl::acquire()'
> /home/ruben/mingw-w64/toolchain/linux64mingw64/llvm-clang/Release/lib/libLLVMSupport.a(Signals.o):
> In function `llvm::sys::RunInterrup...
2014 Mar 26
3
[LLVMdev] Lots of regtest failures on PPC64/Linux
...t; --renato
>
> On 26 March 2014 13:04, İsmail Dönmez <ismail at donmez.ws> wrote:
> > Hi,
> >
> > Recent trunk has a lot of failures on PPC64/Linux. One seems to be
> > crash
> > with a backtrace like:
> >
> > [ 3149s] --
> > [ 3149s] 0 libLLVMSupport.so 0x00003fff7ed0b864
> > llvm::sys::PrintStackTrace(_IO_FILE*) + 4294746876
> > [ 3149s] 1 libLLVMSupport.so 0x00003fff7ed0bb1c
> > [ 3149s] 2 libLLVMSupport.so 0x00003fff7ed0c520
> > [ 3149s] 3 linux-vdso64.so.1 0x00003fff7f7b0478
> > __kernel_sigtramp_rt64 + 0
&g...
2016 Jan 18
2
Using `smullohi` in TableGen patterns
...et (R1, R0, (umullohi GPR8:$lhs, GPR8:$rhs))
Which fails:
Assertion failed: (Ops.size() >= NumSrcResults && "Didn't
provide enough results"), function EmitResultCode, file
/Users/dylanmckay/projects/llvm/avr-llvm/utils/TableGen/DAGISelMatcherGen.cpp,
line 989.
0 libLLVMSupport.dylib 0x0000000108e8c47e
llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 46
1 libLLVMSupport.dylib 0x0000000108e8c8c9
PrintStackTraceSignalHandler(void*) + 25
2 libLLVMSupport.dylib 0x0000000108e89069
llvm::sys::RunSignalHandlers() + 425
3 libLLVMSupport.dylib 0x000000010...
2012 Oct 26
1
[LLVMdev] llvm-config is broken ?
...nfig'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/llvm/build/tools/llvm-config'
gmake[1]: Entering directory `/llvm/build/unittests'
gmake[2]: Entering directory `/llvm/build/unittests/ADT'
gmake[2]: *** No rule to make target
`/llvm/build/unittests/lib/libLLVMSupport.a', needed by
`Release+Asserts/ADTTests'. Stop.
gmake[2]: Leaving directory `/llvm/build/unittests/ADT'
gmake[1]: *** [ADT/.makeall] Error 2
gmake[1]: Leaving directory `/llvm/build/unittests'
gmake: *** [all] Error 1
#
Again, we can see that it is looking for
"/llvm/build/u...
2016 Jul 31
2
[Release-testers] [3.9 Release] Release Candidate 1 has been tagged
...Support/PrettyStackTrace.cpp
clang-3.8: ../include/llvm/CodeGen/MachineOperand.h:411: int64_t
llvm::MachineOperand::getImm() const: Assertion `isImm() && "Wrong
MachineOperand accessor"' failed.
#0 0xfffffffff4abd075 llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/usr/lib/libLLVMSupport.so.3.8+0x95075)
#1 0xfffffffff4abd2c7 (/usr/lib/libLLVMSupport.so.3.8+0x952c7)
#2 0xfffffffff4abbbf1 llvm::sys::RunSignalHandlers()
(/usr/lib/libLLVMSupport.so.3.8+0x93bf1)
#3 0xfffffffff4abbf49 (/usr/lib/libLLVMSupport.so.3.8+0x93f49)
#4 0xfffffffff7714d20 0xd20 __GI_raise
#5 0xfffffffff7714d20
#...
2017 Dec 01
3
gnu X sysv hash performance
...1.46% [kernel.kallsyms] [k] copy_page
1.38% ld-2.24.so [.] _dl_map_object
1.30% [kernel.kallsyms] [k] unmap_page_range
1.28% [kernel.kallsyms] [k]
filemap_map_pages
1.26% libLLVMSupport.so.6.0.0svn [.] sstep
% grep -v '^#' perf-sysv/perf.report-by-dso-sym | head
42.18% ld-2.24.so [.] do_lookup_x
17.73% ld-2.24.so [.] check_match
14.41% ld-2.24.so [.] strcmp...
2010 Sep 03
2
[LLVMdev] Cross-compiling LLVM with llvm-gcc produces a lot of warnings
Hi,
I'm cross compiling (BUILD=darwin, HOST=i386-mingw32) LLVM with
llvm-gcc (both from current mainline). Everything works fine,
except that I get a lot of warnings of the following type:
[..]/lib/gcc/i386-mingw32/4.2.1/../../../../i386-mingw32/bin/ld:
/[..]/build-llvm/Release/lib/libLLVMSupport.a(APInt.o): warning:
duplicate section
`.text$linkonce__ZN4llvm5APInt17getSignedMinValueEj' has
different size
/[..]/lib/gcc/i386-mingw32/4.2.1/../../../../i386-mingw32/bin/ld:
/[..]/build-llvm/Release/lib/libLLVMSupport.a(APInt.o): warning:
duplicate section
`.text$linkonce__ZN4llvm5APInt17ge...
2017 Jun 09
2
Get segfault with ModulePass
...}
}
}
}
}
return false;
}
};
------------------
The segfault backtrace is this one:
----------------
...
op_code: phi
next one
op_code2: <Invalid operator>
#0 0x00007fa7135446b8 llvm::sys::PrintStackTrace(llvm::raw_ostream&) (/usr/lib64/llvm/4/bin/../lib64/libLLVMSupport.so.4+0xe56b8)
#1 0x00007fa71354258e llvm::sys::RunSignalHandlers() (/usr/lib64/llvm/4/bin/../lib64/libLLVMSupport.so.4+0xe358e)
#2 0x00007fa71354280c (/usr/lib64/llvm/4/bin/../lib64/libLLVMSupport.so.4+0xe380c)
#3 0x00007fa711210170 (/lib64/libc.so.6+0x33170)
#4 0x00007fa709a06bf0 llvm::MDOperand::...
2012 Dec 26
3
[LLVMdev] Errors linking against libLLVMCore
I'm trying to make a library in Xcode that links against LLVM. I used the STL C++ template in Xcode 4.5.2, added libLLVMCore.a and libLLVMSupport.a to the link binaries phase, and made this call in my code:
llvm::LLVMContext& llvmCTX = llvm::getGlobalContext();
I get link errors against std::string and other STL classes:
Undefined symbols for architecture x86_64:
"std::string::copy(char*, unsigned long, unsigned long) const&qu...