Displaying 20 results from an estimated 10000 matches similar to: "[LLVMdev] implementing PIC for linux x86-64"
2008 May 30
1
[LLVMdev] implementing PIC for linux x86-64
I have been playing a bit with LLVM again and it looks like the
current major missing feature on Linux x86-64 is PIC.
Is anyone working on it? If not, I would like to do so. I have the ABI
documentation (http://www.x86-64.org/documentation/abi.pdf), but would
be glad if someone had some LLVM specific pointers. For example, from
the targets that do have support for PIC, which one is the one to be
2008 Jun 06
0
[LLVMdev] [patch] add support for PIC on linux x86-64
On Jun 6, 2008, at 11:55 AM, Dan Gohman wrote:
> On Fri, 2008-06-06 at 17:08 +0100, Rafael Espindola wrote:
>> 2008/6/6 Anton Korobeynikov <asl at math.spbu.ru>:
>>> Hello, Rafael
>>>
>>> Awesome! But... -ENOPATCH :(
>>
>> Attached now.
>
> Hi Rafael,
>
> Thanks a lot for working on this!
>
> I have one question about the
2008 Jun 06
2
[LLVMdev] [patch] add support for PIC on linux x86-64
On Fri, 2008-06-06 at 17:08 +0100, Rafael Espindola wrote:
> 2008/6/6 Anton Korobeynikov <asl at math.spbu.ru>:
> > Hello, Rafael
> >
> > Awesome! But... -ENOPATCH :(
>
> Attached now.
Hi Rafael,
Thanks a lot for working on this!
I have one question about the patch; why did you choose too add a new
enum, PICCallStyle, instead of reusing (possibly with some
2008 Jun 06
2
[LLVMdev] [patch] add support for PIC on linux x86-64
Hello, Rafael
> With this patch I was able to bootstrap gcc in linux x86-64 with
> shared libraries enabled :-)
Awesome! But... -ENOPATCH :(
--
With best regards, Anton Korobeynikov.
Faculty of Mathematics & Mechanics, Saint Petersburg State University.
2009 May 26
4
[LLVMdev] CVS binutils includes support for plugins, can use the llvm plugin.
For some time now the gold linker has support for plugins and llvm has
a plugin for it.
Unfortunately, it was still not possible to do fully transparent LTO
on linux because ar had no support for plugins and a library created
with llvm files in it would have no symbol table and would be rejected
by gold.
Today support for plugins has been committed to BFD. That is the file
format abstraction
2008 Jul 23
6
[LLVMdev] New llvm-gcc bootstrap failure
My nightly tester on x86_64-unknown-linux-gnu failed
to bootstrap llvm-gcc today:
Comparing stages 2 and 3
Bootstrap comparison failure!
./build/read-rtl.o differs
The updates since the last bootstrap (24 hours before):
went from revision 53904 to revision 53950.
Ciao,
Duncan.
2007 Nov 02
4
[LLVMdev] llvm-gcc bootsrtap on ARM
Hello,
I am trying to bootstrap on ARM linux EABI using a qemu chroot to
better test my changes on at least one more architecture.
I am using the following configure line:
../gcc/configure --prefix=/home/espindola/install/
--program-prefix=llvm- --enable-languages=c --disable-shared
--disable-multilib --enable-llvm=/home/espindola/build
--enable-checking arm-linux-gnueabi
The bootstrap fails
2008 Aug 22
0
[LLVMdev] New llvm-gcc bootstrap failure
2008/7/23 Duncan Sands <baldrick at free.fr>:
> My nightly tester on x86_64-unknown-linux-gnu failed
> to bootstrap llvm-gcc today:
>
> Comparing stages 2 and 3
> Bootstrap comparison failure!
> ./build/read-rtl.o differs
I am having the same problem. It was "introduced" by revision 54811,
so it looks like a memory corruption problem. Investigating.
> The
2009 Sep 17
2
[LLVMdev] Where should I put libLLVMgold.so??
Yes,it's indeedly the correct one,and new ld can also support -plugin
option,I don't know the reason of the trouble,
2009/9/17 Rafael Espindola <espindola at google.com>
> > llvm-gcc -use-gold-plugin a.a b.o -o hello
> >
> > which is similar with the example in the document,it tells me that
> > libLLVMgold.so can not be found ,but I truly put it in the
2008 Jun 04
0
[LLVMdev] Linux x86 testers needed!
Am Dienstag, den 03.06.2008, 10:13 -0700 schrieb Tanya M. Lattner:
> > I had planned to try again once 2.3 is out, but if you're short on Linux
> > testers, I'll join in.
> >
> > Available platforms:
> > * x86_64
> > * i686 compatibility
> > Given that I had problems getting the latter to run, I think I should
> > concentrate on x86_64.
>
2008 Jun 03
3
[LLVMdev] Linux x86 testers needed!
> I had planned to try again once 2.3 is out, but if you're short on Linux
> testers, I'll join in.
>
> Available platforms:
> * x86_64
> * i686 compatibility
> Given that I had problems getting the latter to run, I think I should
> concentrate on x86_64.
> Should I switch PIC off for that?
Thanks! Running a linux tester would be a huge help for the project.
2007 Jul 16
2
[LLVMdev] Problem compiling llvm-gcc
> I encountered the same error and the nice people from the llvm
> irc-channel suggested the attached patch. It enables compiling llvm-gcc
> for me, but i have not yet done any further testing and i also have no
> idea if this is the right way to fix the problem.
Nice. I will give it a try. I was trying to reduce a test case, but it
is a bit hard. I have a cpp that crashes cc1plus,
2007 Aug 03
4
[LLVMdev] How to access llvm Types from the codegen?
On 27/07/07, Evan Cheng <evan.cheng at apple.com> wrote:
> Code generator shouldn't introspect the LLVM type at all, except to
> get the size of the type. Anything needed should be encoded by the
> front-end. In the short term, please focus on getting parity with
> what we already have. This means x86-64 will be wrong, but it
> already is. As a second step we can then
2009 Sep 17
2
[LLVMdev] Where should I put libLLVMgold.so??
Hi,all
I'm using ubuntu8.04 and I'm installing gold-plugin along with the
document of that,
After I built the binutils and LLVM with plugin enabling,and I also
replace ld with ld-new which supports plugin,I tried to compile a hello
world program by this:
llvm-gcc -use-gold-plugin a.a b.o -o hello
which is similar with the example in the document,it tells me that
libLLVMgold.so can not
2008 Jun 07
1
[LLVMdev] [patch] add support for PIC on linux x86-64
> Yes, please remove PICCallStyle and have printPLT check for pic
> relocation model and Subtarget.isTargetELF().
Done.
> And where you are modifying this part of the code. Please rename
> printGOT, printStub, and printPLT to something that indicates they are
> predicate functions. Perhaps shouldPrintGOT, etc.?
Done.
Updated patch attached.
> Thanks,
>
> Evan
Cheers,
2009 Jan 20
0
[LLVMdev] linux build problem
On Jan 20, 2009, at 12:45 AM, Török Edwin wrote:
> On 2009-01-20 08:01, Bill Wendling wrote:
>> I'll need some more information than this. I don't have a Linux box,
>> so I can't tell. Do you have a .i file? How is autoconf being
>> confused? What does config.log say about it?
>>
>>
> I've seen this failure on my nightly builder too (SVN r62521),
2007 Jul 18
2
[LLVMdev] How to access llvm Types from the codegen?
In order to the code generators to lower functions arguments that have
the "byval" attribute, they would have to access the original argument
Type. For example, on linux x86_64 {i64, i64} should be passed on
registers and {i64, i64, i64} goes on the stack.
The problem is that when looking at (for example) FORMAL_ARGUMENTS,
the only thing that is present is the type of the pointer itself
2008 Jan 21
2
[LLVMdev] LLVM build freezes in scratchbox, ARM target
Hi,
I am new to LLVM and have been trying to get it working on
scratchbox (ARM target). When I try to build llvm-2.1, the build
freezes with the following output..
/scratchbox/compilers/arm-softfloat-linux-gcc-3.4.4-cs-2005q3-2-glibc-2.3.6/bin/sbox-arm-softfloat-linux-gnu-nm:
'libgcc/./_dvmd_lnx_s.o': No such file
mv -f libgcc/./_dvmd_lnx.visT libgcc/./_dvmd_lnx.vis
2009 Jan 20
4
[LLVMdev] linux build problem
On 2009-01-20 08:01, Bill Wendling wrote:
> On Jan 19, 2009, at 5:34 PM, John Regehr wrote:
>
>
>> Since yesterday I've been getting the error below when building llvm-
>> gcc
>> on Ubuntu Hardy on x86. For some reason, several instances of
>> autoconf
>> are getting confused and failing to detect a stdlib.h.
>>
>> John
>>
2009 Aug 03
3
[LLVMdev] Mirroring of LLVM repository
Dear All,
Currently the load of llvm.org is too high. This influences the whole
project services like buildbots, bugzilla, etc. It was found that this
workload is possible caused by massive mirroring of LLVM SVN
repository into git/hg/whatever. Please don't do that :)
1. Usually one don't need full history, this makes the mirroring much
easier and faster (do you *really* need r5000? I