search for: pistocchi

Displaying 7 results from an estimated 7 matches for "pistocchi".

2017 Jun 30
3
Building llvm with clang and lld on arm and the llvm arm backend relocation on position independent code
...e your llvm and lld checkouts are not quite in synch. It will be worth updating llvm and lld to top of trunk. I've rebased the consolidated patch https://reviews.llvm.org/D34634 this morning, it might be worth trying that if you are seeing problems. Peter On 29 June 2017 at 22:09, Alessandro Pistocchi <apukfreelance at gmail.com> wrote: > Hi, I tried patching and rebuilding and now I get this error. Did I miss anything? > > /home/yawmoo/Desktop/clfs/sources/llvm/tools/lld/ELF/InputFiles.cpp:82:23: error: > no matching constructor for initialization of 'llvm::DWARFDebu...
2017 Jun 28
2
Building llvm with clang and lld on arm and the llvm arm backend relocation on position independent code
...mbers (e.g. D34035). That one corresponds to e.g. https://reviews.llvm.org/D34035 There's also https://reviews.llvm.org/D34634 which contains all of Peter's patches, but it's not going to rebase cleanly once the individual patches start going in. On 6/28/17, 10:56 AM, "Alessandro Pistocchi" <apukfreelance at gmail.com> wrote: Sorry for the noob question: where do I get the patches? I can see the bug but not a link to the patches ( I don't have a login if that is the issue ) Sent from my iPhone > On 28 Jun 2017, at 19:36, Shoaib Meenai...
2017 Jun 28
3
Building llvm with clang and lld on arm and the llvm arm backend relocation on position independent code
...es it should cover the following relocations: R_ARM_CALL (ARM BL/BLX) R_ARM_JUMP24 (ARM B) R_ARM_THM_CALL (Thumb BL/BLX) R_ARM_THM_JUMP19 (Thumb conditional B<cc>.w) R_ARM_THM_JMP24 (Thumb unconditional B.w) Peter On 28 June 2017 at 17:31, Alessandro Pistocchi <apukfreelance at gmail.com> wrote: > Oh, so it looks like I hit a bit of a wall there :-) I’ll take a look thanks. > > That bug talks about R_ARM_THM_CALL which I assume are thumb related. > > Will your implementation fix also R_ARM_CALL errors? >...
2017 Jun 28
3
Building llvm with clang and lld on arm and the llvm arm backend relocation on position independent code
...raised > https://bugs.llvm.org/show_bug.cgi?id=33612 that has a link to the > Phab reviews. If you are willing to build your own lld with additional > changes, you might be able to test out those patches. > > Good luck > > Peter > > On 28 June 2017 at 17:09, Alessandro Pistocchi <apukfreelance at gmail.com> wrote: >> >>> On 27 Jun 2017, at 13:25, Peter Smith <peter.smith at linaro.org> wrote: >>> >>> Hello Alessandro, >>> >>> Despite the statement in the HowToCrossCompileLLVM guide "If you’re >>&g...
2017 Jun 27
3
Building llvm with clang and lld on arm and the llvm arm backend relocation on position independent code
> On 26 Jun 2017, at 16:25, Rui Ueyama <ruiu at google.com> wrote: > > On Sun, Jun 25, 2017 at 6:40 AM, Alessandro Pistocchi via llvm-dev <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote: > Hi, > > I am trying to build a completely GNU free linux toolchain for the raspberry pi. > > I successfully managed to compile llvm and clang for armv7 hard float ( both as a cross co...
2017 Jun 28
2
Building llvm with clang and lld on arm and the llvm arm backend relocation on position independent code
...ailed make[1]: *** [tools/clang/tools/driver/CMakeFiles/clang.dir/all] Error 2 Makefile:149: recipe for target 'all' failed make: *** [all] Error 2 yawmoo at yawmoo-MRNM3AP:~/Desktop/clfs/sources/llvm-build-native-with-lld$ > > Peter > > On 27 June 2017 at 11:47, Alessandro Pistocchi via llvm-dev > <llvm-dev at lists.llvm.org> wrote: >> >> On 26 Jun 2017, at 16:25, Rui Ueyama <ruiu at google.com> wrote: >> >> On Sun, Jun 25, 2017 at 6:40 AM, Alessandro Pistocchi via llvm-dev >> <llvm-dev at lists.llvm.org> wrote: >>>...
2017 Jun 25
2
Building llvm with clang and lld on arm and the llvm arm backend relocation on position independent code
Hi, I am trying to build a completely GNU free linux toolchain for the raspberry pi. I successfully managed to compile llvm and clang for armv7 hard float ( both as a cross compiler and as a native compiler ) together with the following: Llvm with clang and lld Clang builtins Musl libc libc++, libc++abi, libunwind All works well with the only thing to notice being the need to use -fPIC in