Displaying 9 results from an estimated 9 matches for "r_arm_thm_movw_abs_nc".
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
2015 Feb 26
3
[RFC PATCH v2] Encode optimize using libNe10
...8): undefined reference to `sincos'
collect2: error: ld returned 1 exit status
Forcing it to be enabled, linking against libNE10 fails:
CCLD libopus.la
/usr/bin/ld:
/home/tterribe/src/xiph/git/arm/Ne10/build/modules/libNE10.a(NE10_fft_generic_float32.neonintrinsic.cpp.o):
relocation R_ARM_THM_MOVW_ABS_NC against `a local symbol' can not be
used when making a shared object; recompile with -fPIC
/home/tterribe/src/xiph/git/arm/Ne10/build/modules/libNE10.a: error
adding symbols: Bad value
collect2: error: ld returned 1 exit status
Then attempting to build libNE10 with -DNE10_BUILD_SHARED fails...
2017 Jun 28
2
Building llvm with clang and lld on arm and the llvm arm backend relocation on position independent code
...t linaro.org> wrote:
>
> Hello Alessandro,
>
> Despite the statement in the HowToCrossCompileLLVM guide "If you’re
> using Clang as the cross-compiler, there is a problem in the LLVM ARM
> back-end that is producing absolute relocations on
> position-independent code (R_ARM_THM_MOVW_ABS_NC), so for now, you
> should disable PIC:" I can't find an existing upstream PR or any
> record that this has been fixed. If the ARM backend is still producing
> an R_ARM_THM_MOVW_ABS_NC relocation when -fpic is given as an option
> then it would be great to get a small reproduci...
2017 Jun 28
3
Building llvm with clang and lld on arm and the llvm arm backend relocation on position independent code
...Alessandro,
>>>
>>> Despite the statement in the HowToCrossCompileLLVM guide "If you’re
>>> using Clang as the cross-compiler, there is a problem in the LLVM ARM
>>> back-end that is producing absolute relocations on
>>> position-independent code (R_ARM_THM_MOVW_ABS_NC), so for now, you
>>> should disable PIC:" I can't find an existing upstream PR or any
>>> record that this has been fixed. If the ARM backend is still producing
>>> an R_ARM_THM_MOVW_ABS_NC relocation when -fpic is given as an option
>>> then it would b...
2017 Jun 28
3
Building llvm with clang and lld on arm and the llvm arm backend relocation on position independent code
...gt;>>> Despite the statement in the HowToCrossCompileLLVM guide "If you’re
>>>> using Clang as the cross-compiler, there is a problem in the LLVM ARM
>>>> back-end that is producing absolute relocations on
>>>> position-independent code (R_ARM_THM_MOVW_ABS_NC), so for now, you
>>>> should disable PIC:" I can't find an existing upstream PR or any
>>>> record that this has been fixed. If the ARM backend is still producing
>>>> an R_ARM_THM_MOVW_ABS_NC relocation when -fpic is given as an option...
2017 Jun 28
2
Building llvm with clang and lld on arm and the llvm arm backend relocation on position independent code
...gt; Despite the statement in the HowToCrossCompileLLVM guide "If you’re
>>>>> using Clang as the cross-compiler, there is a problem in the LLVM ARM
>>>>> back-end that is producing absolute relocations on
>>>>> position-independent code (R_ARM_THM_MOVW_ABS_NC), so for now, you
>>>>> should disable PIC:" I can't find an existing upstream PR or any
>>>>> record that this has been fixed. If the ARM backend is still producing
>>>>> an R_ARM_THM_MOVW_ABS_NC relocation when -fpic is given as an...
2015 Feb 26
0
[RFC PATCH v2] Encode optimize using libNe10
...> collect2: error: ld returned 1 exit status
>
>
> Forcing it to be enabled, linking against libNE10 fails:
>
> CCLD libopus.la
> /usr/bin/ld:
> /home/tterribe/src/xiph/git/arm/Ne10/build/modules/libNE10.a(NE10_fft_generic_float32.neonintrinsic.cpp.o):
> relocation R_ARM_THM_MOVW_ABS_NC against `a local symbol' can not be used
> when making a shared object; recompile with -fPIC
> /home/tterribe/src/xiph/git/arm/Ne10/build/modules/libNE10.a: error adding
> symbols: Bad value
> collect2: error: ld returned 1 exit status
>
>
> Then attempting to build libNE10...
2017 Jun 30
3
Building llvm with clang and lld on arm and the llvm arm backend relocation on position independent code
...the statement in the HowToCrossCompileLLVM guide "If you’re
>>>>>>> using Clang as the cross-compiler, there is a problem in the LLVM ARM
>>>>>>> back-end that is producing absolute relocations on
>>>>>>> position-independent code (R_ARM_THM_MOVW_ABS_NC), so for now, you
>>>>>>> should disable PIC:" I can't find an existing upstream PR or any
>>>>>>> record that this has been fixed. If the ARM backend is still producing
>>>>>>> an R_ARM_THM_MOVW_ABS_NC relocation when -fpic is...
2015 Feb 04
4
[RFC PATCH v2] Encode optimize using libNe10
Changes from RFC PATCH v1:
- passing arch parameter explicitly
- reduced stack usage by ~3.5K by using scaled NE10 fft version
- moved all optimization array functions to arm_celt_map.c
- Other cleanups pointed out by Timothy
Phil,
As you mentioned earlier, could you please address all
compile and linker errors/warnings coming out of Ne10 library?
You can find my working Ne10 repo at [1]
You