Displaying 20 results from an estimated 2000 matches similar to: "[LLVMdev] Problems running dejagnu tests"
2005 Sep 17
0
[LLVMdev] Re: Problems Cross Compiling for x86 and ia64
OK, I noticed a few problems with my previous email, so I will boil
the question down:
What I want to do is compile for x86 and ia64 from darwin.
I also want to load my own passes into opt and llc.
Should I be using llvmc at all here, or should I be doing something
like llvmgcc -> gccas -> opt -> llc ?
I've given up on the filetype=obj argument, so now the problem is that
llc is
2005 Sep 16
2
[LLVMdev] Problems Cross Compiling for x86 and ia64
Hi, I'm having some problems cross-compiling from ppc (OS X) to x86
object files and to ia64, at all. I'd appreciate some advice as to
whether or not I'm actually supposed to be able to do this, and what's
wrong if so.
Here's how I configured it:
../llvm-darcslocal/llvm/configure --with-llvmgccdir=$LLVMGCCDIR
--prefix=$HOME/Documents/hpcl/LLVM/install
The results work fine
2005 Aug 24
0
[LLVMdev] Problems running dejagnu tests
On Wed, 24 Aug 2005, Michael McCracken wrote:
> I'm mostly up to date, but not completely current with CVS. Is this
> something that's been fixed recently, or is it a problem on my end?
Try rerunning configure. For some reason, configure decided you didn't
have runtest/expect. rerun configure, and if it still doesn't work,
please send your config.log to llvmbugs.
Thx,
2005 Aug 24
1
[LLVMdev] Problems running dejagnu tests
OK, that explains it. I probably didn't have runtest installed the
last time I ran configure, and re-syncing with CVS also caused it to
reconfigure, solving the problem but confusing me.
Thanks,
-mike
On 8/24/05, Chris Lattner <sabre at nondot.org> wrote:
> On Wed, 24 Aug 2005, Michael McCracken wrote:
> > I'm mostly up to date, but not completely current with CVS. Is this
2006 Mar 22
1
[LLVMdev] problem loading analysis results from Inliner pass
On Tue, 21 Mar 2006, Michael McCracken wrote:
> opt: /home/mmccrack/lens/obj-llvm-darcslocal/../llvm-darcslocal/llvm/lib/VMCore/PassManagerT.h:426:
> void llvm::PassManagerT<UnitType>::markPassUsed(const llvm::PassInfo*,
> llvm::Pass*) [with UnitType = llvm::Module]: Assertion
> `getAnalysisOrNullUp(P) &&
> dynamic_cast<ImmutablePass*>(getAnalysisOrNullUp(P))
2006 Mar 21
0
[LLVMdev] problem loading analysis results from Inliner pass
A
On 3/21/06, Michael McCracken <michael.mccracken at gmail.com> wrote:
> On 3/21/06, Chris Lattner <sabre at nondot.org> wrote:
> > On Mon, 20 Mar 2006, Michael McCracken wrote:
> >
> > > Hi, I'm trying to access an analysis pass from the Inliner pass, and
> > > I'm having a lot of trouble getting that to work - I can verify that
> >
2006 Mar 21
3
[LLVMdev] problem loading analysis results from Inliner pass
On 3/21/06, Chris Lattner <sabre at nondot.org> wrote:
> On Mon, 20 Mar 2006, Michael McCracken wrote:
>
> > Hi, I'm trying to access an analysis pass from the Inliner pass, and
> > I'm having a lot of trouble getting that to work - I can verify that
> > my pass is loaded and run (it is a dynamically loaded pass that is
> > part of an analysisgroup),
2006 Sep 01
2
[LLVMdev] gfortran: patch, question
Hi, I have a first quick patch and a question. The patch links f951
with g++ when LLVM is enabled. It's at the end of this email.
I wanted to know if I should submit patches with comments around them
like the "APPLE LOCAL LLVM" ones that mark the LLVM-only changes to
the tree. I'd like to make it as easy as possible to apply these, so
let me know any rules I should be following.
2004 Oct 24
2
[LLVMdev] CFE debug info progress
Hi, I've got the cfe debug info to the point where it outputs correct
function info, stoppoints for statements (but not for declarations
anymore) and region ends at the beginning of the return block. So this
is about as far as I wanted to go with it.
However, there's one last big problem that I need some advice on. Running :
gcc -g -S -o foo.ll
llvmas foo.ll
produces bytecode that works
2005 Jan 11
2
[Fwd: Re: [LLVMdev] Shared library building problems on Darwin]
Michael,
I've implemented a LOADABLE_MODULE feature in the makefiles:
http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20050110/023147.html
The approach taken is almost what you described below. However, I want
to retain the distinction between a "regular" shared library and one
that can be dlopened. So, if you specify SHARED_LIBRARY=1 you get a
regular shared library
2007 Aug 21
0
[LLVMdev] Problems building llvm-gcc-4.2 on ppc32, OS X 10.4.10
Hi, I'm guessing that no one has tried this exact combination yet.
I'm trying to build the gcc4.2 front end with current LLVM SVN
on a G4 Powerbook running 10.4.10.
I started with this:
../gcc4.2-trunk/configure
--prefix=$HOME/Documents/hpcl/LLVM/llvm-gcc-4-2/install
--enable-llvm=$HOME/Documents/hpcl/LLVM/llvm-svn-obj/
--with-gmp=$HOME/Documents/hpcl/LLVM/llvm-gcc-4-2/libdeps
2005 Jan 07
1
[LLVMdev] Shared library building problems on Darwin
Hi, a while back I wrote that the llvm makefiles didn't create the
correct kind of file for use on darwin with -load.
Since then, both the shared library and makefile system have been
overhauled significantly.
So I checked again - as updated from CVS, the current makefiles don't
build the right object type on darwin.
If you follow the advice of 'Writing an LLVM Pass" tutorial,
2006 Apr 03
2
[LLVMdev] lli: problem finding external symbol
Hi, I have a large-ish application I'm trying to build with LLVM, so I
replaced g++ in the Makefiles with llvm-g++. This appears to work fine
when I pass -Wl,-native to generate an ELF executable, but I want to
control the inlining threshold it uses, so I am now passing
-Wl,-disable-inlining and -Wa,-disable-inlining, and having it
generate LLVM bytecode, then running opt -inlining to generate
2006 Sep 05
2
[LLVMdev] gfortran: array constructor problems
Hi, in order to get a handle on the questions in Chris's previous
email, I rebuilt LLVM with debugging info, and then rebuilt gcc4 with
CHECKING_ENABLED.
In the process, I ran into an assertion error when compiling the first
part of libgfortran:
../../src/gcc/llvm-convert.cpp:3871: failed assertion
`(TREE_CONSTANT(exp) || TREE_CODE(exp) == STRING_CST) && "Isn't a
2006 Apr 03
0
[LLVMdev] lli: problem finding external symbol
On Mon, 3 Apr 2006, Michael McCracken wrote:
> the bytecode with lli - I get the following error:
>
> $ lli -load=/home/mmccrack/linux/lib/libTau.sh leo-inline-300-tau.bc
> ERROR: Program used external function
> '__llvm_cxxeh_allocate_exception' which could not be resolved!
This is most likely because you are trying to link with llvmgcc, not with
llvm-g++. Make sure that
2006 Sep 11
2
[LLVMdev] gfortran calling convention
On 9/9/06, Michael McCracken <michael.mccracken at gmail.com> wrote:
> On 9/9/06, Steven Bosscher <stevenb.gcc at gmail.com> wrote:
> > On 9/9/06, Chris Lattner <sabre at nondot.org> wrote:
> > > On Sat, 9 Sep 2006, Steven Bosscher wrote:
> > > > You wrote:
> > > >> The NIST F77 test suite doesn't seem to be compatible with
2004 Jun 19
2
[LLVMdev] Problems loading passes on Mac OS X
Hi, I can't get opt to list (in -help) passes that I load using -load.
I see in the list archives that a similar problem has been brought up
before but I didn't see whether it was resolved. Also, this is on Mac
OS X, and the previous question was about Linux.
This problem happens with the Hello pass, so I'll use that to
illustrate. I'm using LLVM 1.2.
The plugin loads with no
2004 Jun 19
2
[LLVMdev] Problems loading passes on Mac OS X
Unfortunately it's not that easy, although I'd love to fix it if I can
figure out how.
OS X 10.3 does have dlfcn.h and dlopen() - for 10.3, they added the
dlcompat library that uses the OS X NSLink* stuff to support dlopen and
dlsym. configure seems to pick that up fine.
It seems like the code that's there already should work fine, so I'm
not sure where else to look.
I'm
2006 Sep 11
0
[LLVMdev] gfortran calling convention
Another option might be g95 instead of gfortran. I haven't used it for
a while, but I seem to recall it working fine in gcc 4.0.1.
On 9/11/06, Michael McCracken <michael.mccracken at gmail.com> wrote:
> On 9/9/06, Michael McCracken <michael.mccracken at gmail.com> wrote:
> > On 9/9/06, Steven Bosscher <stevenb.gcc at gmail.com> wrote:
> > > On 9/9/06, Chris
2004 Jun 19
2
[LLVMdev] Problems loading passes on Mac OS X
OK, seems like I've got some more looking to do.
From what I can find, the only difference with OS X and dynamic
libraries is that you can't depend on the order of calling static
constructors, but not that you can't depend on them getting called. :)
If I find that library handling in LLVM needs changes to work with OS
X, I'll send a patch.
Thanks,
-mike
On Jun 19, 2004,