Displaying 7 results from an estimated 7 matches for "__aeabi_unwind_cpp_pr0".
2019 Nov 18
2
libunwind is not configured with -funwind-tables when building it for ARM Linux?
...inux, it should be built with the -funwind-tables flag. This flag is conditionally set here: https://github.com/llvm/llvm-project/blob/master/libunwind/CMakeLists.txt#L294, if the compiler “supports” it.
However, the CMake check fails with the following error:
```
ld.lld: error: undefined symbol: __aeabi_unwind_cpp_pr0
>>> referenced by src.cxx
>>> CMakeFiles/cmTC_e9739.dir/src.cxx.o:(.ARM.exidx.text.main+0x0)
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
Source file was:
int main() { return 0; }
```...
2019 Nov 18
2
libunwind is not configured with -funwind-tables when building it for ARM Linux?
...d yes, the problem is not with libgcc_s, because, as I’ve said, force-setting the -funwind-tables flag in libunwind configuration makes the problem go away.
So, the main question remains: when we’re configuring libunwind build, CMake checks the -funwind-tables flag and that check fails because the __aeabi_unwind_cpp_pr0 symbol is absent. This symbol should be defined in libunwind, which is not build yet. I’m having a hard time understanding how can this be even possible. Can it be that you are not experiencing the problem because your clang uses libgcc and not compiler-rt?
>
> Can I ask that you try and na...
2019 Nov 18
2
libunwind is not configured with -funwind-tables when building it for ARM Linux?
...ive compiler (MSVC), and then the just-built clang acts as a cross-compiler for the runtime libraries that you’ve mentioned.
>
> Peter
>
>> So, the main question remains: when we’re configuring libunwind build, CMake checks the -funwind-tables flag and that check fails because the __aeabi_unwind_cpp_pr0 symbol is absent. This symbol should be defined in libunwind, which is not build yet. I’m having a hard time understanding how can this be even possible. Can it be that you are not experiencing the problem because your clang uses libgcc and not compiler-rt?
>>
>>
>> Can I ask th...
2019 Nov 20
2
libunwind is not configured with -funwind-tables when building it for ARM Linux?
...and then the just-built clang acts as a cross-compiler for the runtime libraries that you’ve mentioned.
>>
>>
>> Peter
>>
>> So, the main question remains: when we’re configuring libunwind build, CMake checks the -funwind-tables flag and that check fails because the __aeabi_unwind_cpp_pr0 symbol is absent. This symbol should be defined in libunwind, which is not build yet. I’m having a hard time understanding how can this be even possible. Can it be that you are not experiencing the problem because your clang uses libgcc and not compiler-rt?
>>
>>
>> Can I ask th...
2014 Dec 08
2
[LLVMdev] Question about '-fno-exceptions' option and 'ExceptionsType' on MCAsmInfo with ARM.
...ng and
'ExceptionsType' on MCAsmInfo.
I am looking for a way to avoid generating stack unwinding codes when
compiling with the "armv7-none-linux-gnu" triple using clang. I tried
the '-fno-exceptions' option in order to do that, but unwinding function
symbols like '__aeabi_unwind_cpp_pr0' were still present. I think
'ExceptionType' of MCAsmInfo is set to ExceptionType::ARM with the above
target triple and it is not affected by the '-fno-exceptions' option. Am
I missing something about this, or do we need to provide an interface to
disable generation of excep...
2006 Jun 26
0
[klibc 22/43] arm support for klibc
...(uint64_t)al * bl;
+ v += (uint64_t)(al*bh+ah*bl) << 32;
+
+ return v;
+}
diff --git a/usr/klibc/arch/arm/aeabi_nonsense.S b/usr/klibc/arch/arm/aeabi_nonsense.S
new file mode 100644
index 0000000..c69eb11
--- /dev/null
+++ b/usr/klibc/arch/arm/aeabi_nonsense.S
@@ -0,0 +1,9 @@
+ .text
+ .globl __aeabi_unwind_cpp_pr0
+__aeabi_unwind_cpp_pr0:
+ .globl __aeabi_unwind_cpp_pr1
+__aeabi_unwind_cpp_pr1:
+ .globl __aeabi_unwind_cpp_pr2
+__aeabi_unwind_cpp_pr2:
+ .globl __aeabi_unwind_cpp_pr3
+__aeabi_unwind_cpp_pr3:
diff --git a/usr/klibc/arch/arm/crt0.S b/usr/klibc/arch/arm/crt0.S
new file mode 100644
index 0000000.....
2006 Jun 28
35
[klibc 00/31] klibc as a historyless patchset (updated and reorganized)
I have updated the klibc patchset based on feedback received. In
particular, the patchset has been reorganized so as not to break
git-bisect.
Additionally, this updates the patch base to 2.6.17-git12
(d38b69689c349f35502b92e20dafb30c62d49d63) and klibc 1.4.8; the main
difference on the klibc side is removal of obsolete code.
This is also available as a git tree at: