Displaying 20 results from an estimated 20000 matches similar to: "[LLVMdev] llvm2cpp: invalid bytecode signature"
2006 Oct 16
2
[LLVMdev] initializer does not match global variable type.
>-----Original Message-----
>From: llvmdev-bounces at cs.uiuc.edu
>[mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Chris Lattner
>Sent: Monday, October 16, 2006 2:09 PM
>To: LLVM Developers Mailing List
>Subject: Re: [LLVMdev] initializer does not match global variable type.
>
>On Mon, 16 Oct 2006, Anderson, Todd A wrote:
>> I have an objective-c file, bar.m,
2006 Oct 16
0
[LLVMdev] initializer does not match global variable type.
Hi Todd,
On Mon, 2006-10-16 at 14:04 -0700, Anderson, Todd A wrote:
> >-----Original Message-----
> >From: llvmdev-bounces at cs.uiuc.edu
> >[mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Chris Lattner
> >Sent: Monday, October 16, 2006 2:09 PM
> >To: LLVM Developers Mailing List
> >Subject: Re: [LLVMdev] initializer does not match global variable type.
2010 Mar 29
1
[LLVMdev] llvm2cpp executable
Hi,
I am using visual studio 2008's generated solution file for clang/llvm. I
was looking at the online demo where it gives out llvm2cpp program along
with the llvm IR of the C code. I could not find any executable in the /bin
directory for llvm2cpp.
I was wondering if there is either source or executable of the llvm2cpp
program that is used by llvm demo available for either llvm-2.7
2006 Dec 02
3
[LLVMdev] invalid bytecode signature
I am trying to disassemble some bytecode using llvm-dis:
llvm-dis -f -o llvmtest/sliceme2.cbc.ll llvmtest/sliceme2.cbc
However, I am getting the following error.
llvm-dis: Invalid bytecode signature: 464C457F (Vers=0, Pos=4)
How do I go about figuring out what the problem is?
llvmtest/sliceme2.cbc is newly compiled using the same version of
llvm-gcc as llvm-dis.
--
Ryan M. Lefever
2006 Oct 16
1
[LLVMdev] initializer does not match global variable type.
I have an objective-c file, bar.m, that I try to process in the
following way generating the error shown below. Any help would
be appreciated. I suspect the error is in the first few lines
of output.
thanks,
Todd
> cfrontend-g++ -o bar.bc bar.m
> llvm2cpp -o bar.cpp bar.bc
> g++ -c bar.o bar.cpp
> ld -o bar bar.o -l objc -l LLVMCore -l LLVMSupport -l LLVMSystem
> ./bar
Global
2006 Dec 02
0
[LLVMdev] invalid bytecode signature
Hi Ryan,
On Fri, 2006-12-01 at 18:06 -0600, Ryan M. Lefever wrote:
> I am trying to disassemble some bytecode using llvm-dis:
> llvm-dis -f -o llvmtest/sliceme2.cbc.ll llvmtest/sliceme2.cbc
>
> However, I am getting the following error.
>
> llvm-dis: Invalid bytecode signature: 464C457F (Vers=0, Pos=4)
The problem is most likely that sliceme2.cbc is *not* bytecode. Open the
2008 Jul 03
2
[LLVMdev] Error loading program 'hello.bc': Invalid bytecode signature: DEC04342 (Vers=0, Pos=4)
Hello everybody,
So I am having some problems with llvm. When I've tried a lot of
times to run and re-install the llvm, but the same error appears, so:
esbox at embedded2i:~/llvm/projects/teste$ llvm-gcc hello.c -o hello
esbox at embedded2i:~/llvm/projects/teste$ ls
hello hello.c
esbox at embedded2i:~/llvm/projects/teste$ ./hello
Hello World
esbox at
2013 Mar 25
0
[LLVMdev] llvm2cpp attributes handling
+Bill who worked on the attribute change
On Mon, Mar 25, 2013 at 9:15 AM, Harris BAKIRAS <h.bakiras at gmail.com> wrote:
> Hi everyone,
>
> We are using the llvm2cpp feature of LLVM in the VMKit project and there are
> some issues that I would like to point out.
>
> I made a tiny reproducible example here, to be clear:
>
> echo "int main() { return 0; };"
2013 Mar 25
3
[LLVMdev] llvm2cpp attributes handling
Hi everyone,
We are using the llvm2cpp feature of LLVM in the VMKit project and there
are some issues that I would like to point out.
I made a tiny reproducible example here, to be clear:
echo "int main() { return 0; };" > test.c && clang test.c -emit-llvm -c
-o - | llc -march=cpp -cppgen=function -cppfor=main -o -
This command is supposed to generate the C++ code to
2006 Dec 02
1
[LLVMdev] invalid bytecode signature
Thank you for the help. There seem to be several things in my makefiles
that are messed up as a result of switching from the gcc3.4 front end to
the gcc4 frontend. Is there any documentation listing the things that
have changed?
Thanks,
Ryan
Ryan M. Lefever [http://www.ews.uiuc.edu/~lefever]
On Fri, 1 Dec 2006, Reid Spencer wrote:
> Hi Ryan,
>
> On Fri, 2006-12-01 at 18:06
2006 Oct 10
1
[LLVMdev] gccas problem with crtend.ll again
> On Thu, 20 Apr 2006, [UTF-8] Rafael Esp?ndola wrote:
>
> > I am trying to bootstrap the just released gcc 4.0.1 and the cvs
head llvm.
> >
> > I was able to build the llvm tools without a problem.
> > gcc has a small problem (from the apple branch IIRC): libojc is
built
> > unconditionally, so objc must be in the --enable-languages option
for
> > the
2008 Jul 03
0
[LLVMdev] Error loading program 'hello.bc': Invalid bytecode signature: DEC04342 (Vers=0, Pos=4)
> Some weeks ago i talked to someone at #LLVM and he told me that versions of
> llvm and gcc aren't sycronized. But i don't know how to do this.
If you are using svn, you should keep llvm and llvm-gcc both at the same
rev number to be safe. For llvm-gcc 2.3, you should use llvm 2.3. You
can't use llvm-gcc 2.3 with llvm svn TOT for example.
What version of llvm and llvm-gcc
2008 Jul 03
2
[LLVMdev] Error loading program 'hello.bc': Invalid bytecode signature: DEC04342 (Vers=0, Pos=4)
I am not using svn and llvm version is 2.3 and llvm-gcc is 4.2.1
2008/7/3 Tanya M. Lattner <tonic at nondot.org>:
>
> > Some weeks ago i talked to someone at #LLVM and he told me that versions
> of
> > llvm and gcc aren't sycronized. But i don't know how to do this.
>
> If you are using svn, you should keep llvm and llvm-gcc both at the same
> rev number
2008 Jul 03
0
[LLVMdev] Error loading program 'hello.bc': Invalid bytecode signature: DEC04342 (Vers=0, Pos=4)
> I am not using svn and llvm version is 2.3 and llvm-gcc is 4.2.1
And llvm-gcc is also from the 2.3 release? If so, I'm guessing
you have an older version of llvm or llvm-gcc in your path somewhere
and that is being used instead.
Ciao,
Duncan.
2004 Dec 05
1
[LLVMdev] Building llvm and cfrontend under cygwin
Hi there,
I'm trying to build llvm under cygwin running under windows xp, and have
struck the following problem:
-- llvm: tools-only built ok
-- cfrontend: built ok
-- llvm: full build failed at the following point:
make[3]: Entering directory
`/cygdrive/d/3rd-party/llvm/runtime/GCCLibraries/crtend'
Compiling crtend.c to bytecode
Compiling listend.ll to bytecode
Linking comp_main.bc
2004 Jul 05
1
[LLVMdev] Nightly Test Failures
Last night's nightly test has numerous new failures that can be
attributed to the bug 122 changes. All these failures are related to the
use of an outdated cfrontend build. The simple solution is to recompile
the cfrontend. I ran into this also when I was testing the changes. The
problem is that the bytecode read/written by the cfrontend is using an
incompatible (partially between 1.2 and
2004 Sep 05
0
[LLVMdev] POST MORTEM: llvm-test changes
On Sun, 05 Sep 2004 10:49:44 -0700
Reid Spencer <reid at x10sys.com> wrote:
> Jeff,
>
> Actually, that was my fault. I forgot to remove the non-existent
> directories from the configure.ac file. That's done and committed
> now, so the advice is still the same: update configure script :)
>
> Reid.
OK, no problems building. I got some minor issues with the simple
2006 Oct 16
0
[LLVMdev] initializer does not match global variable type.
>> Maybe I wasn't
>> clear. The "g++" is ordinary vanilla g++, not llvm-g++. Are there
>> any versioning issues with regular g++ compiling llvm2cpp generated
>> C++ files?
>
>This could be the weak link. llvm2cpp is a relatively new and fairly
>untested addition to the llvm toolsuite. Its purposes are more for
>instruction and example
2006 Aug 10
0
[LLVMdev] Demo Script Paths
Okay, let me reiterate. The llvm2cpp option is *already* on the demo
script page. If you choose that option, you just get an error message
because llvm2cpp can't be found. Its harmless and everything else still
works.
I won't change the script for a couple of weeks, per Tanya's and your
request.
Reid.
On Thu, 2006-08-10 at 10:48 -0700, Chris Lattner wrote:
> On Thu, 10 Aug
2006 Aug 10
2
[LLVMdev] Demo Script Paths
It's already messed with, but there's no harm. If someone turns on the
llvm2cpp option, then they get an error message at the bottom of the
output page. All other output is normal. So, there's no harm in it.
If/when llvm2cpp becomes available on Zion, people then the llvm2cpp
output will appear. Note that llvm2cpp is a 1.8 release feature. My
change was to help people learning LLVM