[vmkit-commits] Does llc compilation of glibj.zip work on 32 bits?

nicolas geoffray nicolas.geoffray at gmail.com
Sat Jul 24 03:09:24 PDT 2010


Hi Will,

I have successfully compiled glibj.zip on my linux/32bit machine, using
gcc-4.3.2 version.

Note that I haven't tested with llvm-gcc, and I have configured vmkit to use
the GCMmap2 GC, and not MMTk. What did you give to configure? If you're not
using llvm-gcc nor MMTk, llc should not complain about the GC.

Nicolas

On Wed, Jul 21, 2010 at 8:33 PM, Will Dietz <willdtz at gmail.com> wrote:

> Thanks for looking into this Nicolas!
>
> When I do the same on 32bit linux I get a different error complaining
> "unsupported GC: vkmit".
>
> Any thoughts?
>
> For what it's worth, the command line invocation the Makefile generates is
> this:
>
> /home/will/llvm/tot/llvm-objects-32/Release+Asserts/bin/llc
> -relocation-model=pic -disable-fp-elim glibj-optimized.zip.bc -o
> glibj.zip.s
>
> So it's using stock llc, is that right (seems that you'd need to load
> something to tell llc about the vmkit gc)?  I definitely don't know
> but thought I'd mention it.
>
> Thanks for your time,
>
> ~Will
>
> On Tue, Jul 20, 2010 at 6:33 PM, nicolas geoffray
> <nicolas.geoffray at gmail.com> wrote:
> > I will take a look on my linux/32bit machine whether it works tomorrow
> (and,
> > as you notice Minas, will take lots of coffee waiting for it to finish).
> It
> > used to work not so long ago. It is also the only platform where I could
> get
> > it working.
> > However, it has never been tested on a 64bits.
> > Nicolas
> >
> > On Wed, Jul 21, 2010 at 1:17 AM, Will Dietz <willdtz at gmail.com> wrote:
> >>
> >> Hi Minas, all,
> >>
> >> I haven't got it working on 64bit linux, 64bit Mac, or 32bit linux.
> >> Reports of it working on any platform/architecture would interest me
> >> as well.
> >>
> >> Both optimized and unoptimized glibj.bc fail when I try to use llc to
> >> convert them to machine code (glibj.s).
> >>
> >> ~Will
> >>
> >> On Tue, Jul 20, 2010 at 6:12 PM, Minas Abrahamyan <minas.subs at gmail.com
> >
> >> wrote:
> >> > Hi,
> >> >
> >> > Does llc compilation of glibj.zip work on 32 bits? or anywhere
> >> >
> >> > I reported bug about crushing of llc in llvmdev@ but yet unresponded
> >> > Talking about: http://vmkit.llvm.org/use_aot.html :
> >> >> make ENABLE_OPTIMIZED=1 REQUIRES_FRAME_POINTER=1
> >> >
> >> > -Minas
> >> > _______________________________________________
> >> > vmkit-commits mailing list
> >> > vmkit-commits at cs.uiuc.edu
> >> > http://lists.cs.uiuc.edu/mailman/listinfo/vmkit-commits
> >> >
> >> _______________________________________________
> >> vmkit-commits mailing list
> >> vmkit-commits at cs.uiuc.edu
> >> http://lists.cs.uiuc.edu/mailman/listinfo/vmkit-commits
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/vmkit-commits/attachments/20100724/d97b175f/attachment.html>


More information about the vmkit-commits mailing list