Displaying 20 results from an estimated 800 matches similar to: "[LLVMdev] Error compiling llvm/clang with clang+libc++ with -std=cxx0x"
2012 Jun 26
0
[LLVMdev] Error compiling llvm/clang with clang+libc++ with -std=cxx0x
On 2012-06-26 04:22, Ashok Nalkund wrote:
...
>> /local/mnt/workspace/ashoknn/519_libcxx_transition/llvm/src/tools/bugpoint/ToolRunner.cpp:131:12: error: invalid operands to binary expression ('llvm::raw_ostream' and 'std::ostringstream'
>> (aka 'basic_ostringstream<char>'))
>> errs() << OS;
>> ~~~~~~ ^ ~~
>
Hi Ashok,
2012 Jun 26
1
[LLVMdev] Error compiling llvm/clang with clang+libc++ with -std=cxx0x
Thanks Dimitry. That worked.
I see some warnings in my compilations:
> Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/IntEqClasses.cpp.o
> [ 2%] clang-3: warning: argument unused during compilation: '-nostdinc++'
> Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/IntrusiveRefCntPtr.cpp.o
> clang-3: warning: argument unused during compilation:
2012 Sep 10
1
[LLVMdev] Qt 4.7.3 moc and libc++
Hi All,
I've compiled Qt 4.7.3 (yes, its an older version but 4.8 has a few
issues) with clang + libc++. When I compile one of my resource files
using Qt's moc, it reports:
> ...x86_64-centos-linux-clang-libcxx/include/QtCore/QObjec:0: Warning: No relevant classes found. No output generated.
I traced it to the presence of libc++ include path in the compilation:
>
2009 Mar 08
2
[LLVMdev] addPassesToEmitFile
Hi,
Long time ago (llvm-svn june 2008) I asked here about a way to output
the assembly code of my JIT generated code to a string, so I could use
it to read it on the screen. I came up with this solution:
std::string Err;
const llvm::TargetMachineRegistry::entry* _arch =
llvm::TargetMachineRegistry::getClosestTargetForJIT(Err);
std::string FeaturesStr;
llvm::TargetMachine*
2012 May 17
2
[LLVMdev] clang looking for gold plugin when used with '-emit-llvm' option
Are you intending to try to link? That error message isn't coming from clang, but from /usr/bin/ld. If you just want the bitcode for the one source file, you need to pass "-c" as well, just like if you want an object file.
-Jim
On May 16, 2012, at 5:39 PM, Ashok Nalkund <ashoknn at qualcomm.com> wrote:
> Resending, can somebody please help?
>
> On 5/16/2012 2:47 PM,
2012 Jul 10
2
[LLVMdev] Unable to do even basic Clang tutorial
You need to link in the libclang* as well.
On 7/10/2012 1:22 PM, NY Knicks Fan wrote:
> Hi Ashok,
>
> $ cd bin/bin
> $ ./llvm-config --ldflags --libs
> -L/home/ubuntu/bin/lib -ldl -lpthread
> -lLLVMAsmParser -lLLVMTableGen -lLLVMDebugInfo -lLLVMX86Disassembler
> -lLLVMX86AsmParser -lLLVMX86CodeGen -lLLVMSelectionDAG -lLLVMAsmPrinter
> -lLLVMX86Desc -lLLVMX86Info
2012 Jul 10
2
[LLVMdev] Unable to do even basic Clang tutorial
You will need to link to the LLVM/clang libraries. To get the correct
flags, you can run:
./llvm-config --ldflags --libs
and use the flags reported.
On 7/10/2012 11:35 AM, NY Knicks Fan wrote:
> OK. Thanks. I now get the following error (which appears to be a
> problem w/ the tutorial itself?):
>
> $ /home/ubuntu/bin/bin/clang++ -I /home/ubuntu/bin/include/
>
2004 Jul 26
1
[LLVMdev] ToolRunner.cpp:396: error: `SHLIBEXT' undeclared (first use this function)
Hi,
I get this error:
------------------
ToolRunner.cpp:396: error: `SHLIBEXT' undeclared (first use this function)
ToolRunner.cpp:396: error: (Each undeclared identifier is reported only once
for each function it appears in.)
------------------
And the config.log shows that configure has detected that ld on my platform
(Interix) doesn't support shared libraries:
------------------
2013 Jan 21
4
[LLVMdev] Embed LLVM/Clang in our project
On 1/21/2013 2:01 AM, Óscar Fuentes wrote:
> Ashok Nalkund <ashoknn at qti.qualcomm.com> writes:
>
>> I was using the find_package(LLVM llvm/share/llvm/cmake) and
>> llvm_map_components_to_libraries(REQ_LLVM_LIBRARIES jit native) to get
>> the libraries to link against. This works well for the libLLVM*
>> libraries, but how do I implement similar find stuff for
2012 Jul 10
3
[LLVMdev] Unable to do even basic Clang tutorial
Add -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS to your compilation flag.
On 7/10/2012 11:23 AM, NY Knicks Fan wrote:
> Hi Ashok,
>
> I created a new Ubuntu 12.04 virtual machine and followed directions
> except that I know use your cmake command instead of configure, and I
> got the error below.
>
> Any help is very much appreciated.
>
>
> $
2012 Jul 10
2
[LLVMdev] Unable to do even basic Clang tutorial
Looks like your make/install is incomplete wrt clang. I follow the
instuctions for checking out the sources but build using cmake instead
of configure:
> cmake -G ""Unix Makefiles" -DLLVM_TARGETS_TO_BUILD="X86" -DCMAKE_BUILD_TYPE="Release" -DCMAKE_INSTALL_PREFIX="../bin" ../llvm
> make install
This builds and installs llvm+clang in the bin
2012 May 20
2
[LLVMdev] lli unable to resolve symbol _ZNKSt3__16locale9use_facetERNS0_2idE in bitcode
Hi,
LLVM/Clang version: 3.2svn (r156975). I have a bitcode file that I'm
trying to load/execute using lli as below but it reports an error about
unresolved symbol:
> LLVM ERROR: Program used external function '_ZNKSt3__16locale9use_facetERNS0_2idE' which could not be resolved!
> lli: /local/mnt/workspace/ashoknn/crd/neo/llvm/proto/llvmsvn/llvm/lib/Support/ThreadLocal.cpp:54:
2004 Jul 27
1
[LLVMdev] ToolRunner.cpp:396: error: `SHLIBEXT' undeclared (firstuse this function)
Hi again
Does cygwin support shared libraries. And if not, how did you port llvm on
this issue?
/Henrik
>From: "Henrik Bach" <henrik_bach_llvm at hotmail.com>
>Date: Tue, 27 Jul 2004 00:41:53 +0200
>
>Hi,
>
>I get this error:
>------------------
>ToolRunner.cpp:396: error: `SHLIBEXT' undeclared (first use this function)
>ToolRunner.cpp:396:
2009 Jul 16
1
[LLVMdev] [PATCH] bugpoint to escalate remote client return status 255
Hello everyone,
The bugpoint is changed to escalate remote client return status 255 (per
discussion - Re: [llvm-commits] [llvm] r75665 -
/llvm/trunk/tools/bugpoint/ToolRunner.cpp)
Please find the patch attached.
-Viktor
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ToolRunner.diff
Type: application/octet-stream
Size: 4710 bytes
Desc: not available
URL:
2012 Jul 09
3
[LLVMdev] Unable to do even basic Clang tutorial
The "make install" should collect everything into your <install path>.
The <install path> will then have bin, lib and include dirs.
On 7/9/2012 3:52 PM, NY Knicks Fan wrote:
> Hi Ashok,
>
> The documentation suggests that I put clang inside of llvm/tools and so
> I have two separate include directories. I tried both of them and
> neither worked:
>
> $
2012 Jul 09
4
[LLVMdev] Unable to do even basic Clang tutorial
Use the -I<install path>/include .
This directory <install path>/include should look something like:
clang/ clang-c/ llvm/ llvm-c/
HTH
ashok
On 7/9/2012 3:15 PM, NY Knicks Fan wrote:
> I downloaded the 3.1 LLVM and Clang sources.
>
> I followed the directions at: http://clang.llvm.org/get_started.html
>
> I am able to use Clang to compile stuff, but I could
2007 Aug 17
1
[LLVMdev] Inserting trace information during opt transformations
Hi all,
In several of the transformations I'm working on I need to embed the
logical equivalent of puts/printf/etc. calls inline with code. I am
having some difficulties getting the transformation code right. As I
understand it, I should be creating a ConstantArray based on the string
(in this case I'm taking an instruction, 'disassembling' it to an
ostringstream then turning
2009 Mar 08
0
[LLVMdev] addPassesToEmitFile
Well, I've been before hours trying this, but soon after I sent the
email I found something. However is quite intriguing.
I just changed the order of and the static libraries that I was linking.
How can this be possible??
I'm using Cmake for building my llvm projects, so I choose the order
and I pick the .a libraries I want to link by hand...
Thank you,
alvaro
2009/3/8 Álvaro
2012 May 17
0
[LLVMdev] clang looking for gold plugin when used with '-emit-llvm' option
MY BAD (in caps)...really sorry to have bothered. I was thinking of -S
-E options but forgot the -c option.
clang -c -emit-llvm test.c
lli test.o
both work fine :).
Thanks,
ashok
On 5/16/2012 5:45 PM, Jim Grosbach wrote:
> Are you intending to try to link? That error message isn't coming from clang, but from /usr/bin/ld. If you just want the bitcode for the one source file, you need to
2011 Oct 12
1
Ride! Next Generation Equitation - fails
Trying to get a horse game running with wine in the computer.
Code:
wine '/home/TForsman/.wine/drive_c/Program/PAN Vision/Ride! Next Generation Equitation/EquestrianApp.exe'
wine: Call from 0x68417be2 to unimplemented function msvcp80.dll.??0?$basic_ostringstream at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@QAE at H@Z, aborting
wine: Unimplemented function