Displaying 20 results from an estimated 2000 matches similar to: "Cross compile x64 to AArch64 issues"
2020 Jun 22
2
Hardware ASan Generating Unknown Instruction
Thanks for the confirmation. From the assembly that was sent on the other
branch of the thread:
> .set .L.str, .L.str.hwasan-3458764513820540928
-3458764513820540928 = 0xd0 << 56
i.e. a "negative" tag.
So this appears to be the issue exactly.
Peter
On Mon, Jun 22, 2020 at 1:55 PM Derrick McKee <derrick.mckee at gmail.com>
wrote:
> Using lld fixes this issue.
>
2020 Jun 22
3
Hardware ASan Generating Unknown Instruction
I suspect that this is hitting the issue that I mentioned here:
https://reviews.llvm.org/D65857#1621335
We may need to do what I suggested there and restrict global tag entropy on
non-Android Linux to 7 bits. You can try working around this issue for now
by using lld as the linker (-fuse-ld=lld).
Peter
On Mon, Jun 22, 2020 at 1:37 PM Mitch Phillips via llvm-dev <
llvm-dev at
2020 Jun 22
3
Hardware ASan Generating Unknown Instruction
Hi,
I am trying to execute a simple hello world program compiled like so:
path/to/compiled/clang -o test --target=aarch64-linux-gnu
-march=armv8.5-a -fsanitize=hwaddress
--sysroot=/usr/aarch64-linux-gnu/
-L/usr/lib/gcc/aarch64-linux-gnu/10.1.0/ -g test.c
However, when I look at the disassembly, there is an unknown
instruction listed at 0x2d51c:
000000000002d4c0 main:
2d4c0: ff c3 00 d1
2016 Apr 25
2
bug: cross-compile Clang/LLVM for ARM using Clang/LLVM
Hi renato,
1. The command above is followed by the guide[ HowToCrossCompileLLVM.rst ]
and I specify some path(ex. <path-to-host-bin>).
2. The including x86_64 libraries is added because of some missing
libraries(ex. "error: Host compiler appears to require libatomic, but
cannot find it"). As I have found that the bugs needed to dealt with is
some ARM-dependent libraries, I
2013 Dec 17
2
[LLVMdev] compiler-rt for ARM-Linux with CMake?
How do I cross-compile compiler-rt for ARM-Linux with CMake?
Given a directory with sub-directories named 'llvm', 'compiler-rt',
and 'release' (which is a clang build directory), this build succeeds:
$ mkdir -p release-rt
$ cd release-rt
$ cmake ../llvm -G Ninja \
-DCMAKE_INSTALL_PREFIX=ship \
-DCMAKE_BUILD_TYPE=Release \
-DLLVM_ENABLE_ASSERTIONS=ON \
2016 May 06
3
build issue in llvm-clang cross tool chain for arm target
Hello All,
I am building llvm-clang cross tool chain for arm target, after successful
build for Linux host now I am now building toolchain for *arm target*.
However, I am getting below error message which seems to be confusing and
not getting any idea how to resolve this issue.
*Command :*
#CC='clang' CXX='clang++' cmake -G Ninja /home/iiita/crossbuild/llvm
2016 May 05
2
LLVM cross compilation for arm target
Hello All,
I am building llvm-clang tool chain for *arm target* by following the steps
from
http://clang.llvm.org/docs/CrossCompilation.html
*However when I tried following cmake command for build tool chain it gives
the error message :*
#CC='clang' CXX='clang++' cmake -G Ninja /home/iiita/llvm-exp/llvm
-DCMAKE_CROSSCOMPILING=True
2017 Oct 31
3
Cross compiling for Baremetal ARM without using GCC
Dear LLVM developers,
Hello,
I'm trying to find a way of cross-compiling my c code against Baremetal Cortex-M device (so target triple will be arm-none-eabi) only using LLVM/Clang, and not using anything from GNU (ld or libc).
I'm doing this to know which one of LLVM/clang and GCC produces smaller flash image size because saving flash is a big deal in our projects.
1) When I just follow
2019 Jun 08
2
Help Building LLVM for Android
Hey Guys,
I'm working on a project in Android related to System-level Audio DSP
Effects for Tuning Android Audio. I want to leverage Faust (
https://faust.grame.fr/) to allow users to program their own filters.
Faust provides a libfaust implementation which includes a JIT Compiler
which leverages LLVM and seems to be the best path for me to use.
Unfortunately I'm having problems
2018 Jul 23
2
Requesting for help.
Hello All,
I need some help with respect to cross compiling for ARM.
While trying to cross compile for the ARM target, I am hitting some errors.
I need some help in this.
I use the following command to cross compile for ARM Cortex A72 (ARM v8-a),
64 bit architecture:
*cmake -v CC='clang' CXX='clang++'
-DCMAKE_C_COMPILER=../build_directory_llvm/bin/clang
2016 Apr 25
2
bug: cross-compile Clang/LLVM for ARM using Clang/LLVM
Hi James, renato,
So how do I download the missing ARM libraries on Ubuntu14.04? I cannot
find any available libraries.
Best,
Liyang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160425/04dfc553/attachment.html>
2014 Apr 22
2
[LLVMdev] SCEV and induction variable identification
Hi Fellows,
The goal is to find the induction variable for a loop, where the
induction variable increments with the multiplication, division or shift
operations, like this one:
sz = 8;
do {
... ...
sz = sz / 2;
} while (sz)
Is SCEV capable of detecting the induction variable 'sz' in this case?
The code snippet I am using to solve the problem is
for each basic-block in a
2018 Feb 17
2
Configuring LLVM v6.0 RC2 on Windows
Hi LLVM-Devs,
When I try to configure LLVM v6.0 RC2 (SVN Rev #324869) on Windows (I
haven't yet had a chance to try on Linux), I get a series of errors such as
this:
CMake Error at cmake/modules/AddLLVM.cmake:1333 (add_dependencies):
The dependency target "(" of target "check-all" does not exist.
Call Stack (most recent call first):
CMakeLists.txt:937
2018 Feb 18
0
Configuring LLVM v6.0 RC2 on Windows
Maybe it's caused by the space after the X86 argument? Can you try removing all the -D flags, and see if that works? Then add them one by one to see which is the culprit?
-Dimitry
> On 17 Feb 2018, at 23:11, Martin J. O'Riordan via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> Hi LLVM-Devs,
>
> When I try to configure LLVM v6.0 RC2 (SVN Rev #324869) on Windows
2013 Oct 29
2
[LLVMdev] [compiler-rt] lit tests without x86
> What is the exact line you use to configure build tree, and the output you see?
cmake ../.. \
-G Ninja \
-DCMAKE_INSTALL_PREFIX=ship \
-DCMAKE_BUILD_TYPE=Release \
-DLLVM_ENABLE_ASSERTIONS=ON \
-DLLVM_TARGETS_TO_BUILD=ARM \
-DLLVM_DEFAULT_TARGET_TRIPLE=arm-none-linux-gnueabi \
-DLLVM_TARGET_ARCH=arm-none-linux-gnueabi \
-DLLVM_LIT_ARGS=-v
ninja check-all
2013 Oct 25
2
[LLVMdev] [compiler-rt] lit tests without x86
Are there any sanitizer lit tests in non-X86 configurations? For example:
$ cmake -DLLVM_TARGETS_TO_BUILD=ARM \
-DLLVM_DEFAULT_TARGET_TRIPLE=arm-none-linux-gnueabi \
-DLLVM_TARGET_ARCH=arm-none-linux-gnueabi
All ASan tests were removed from the build and all the other
sanitizers have tests but they all fail. Should they all be disabled
too? Or can we add a REQUIRES tag to get lit to
2015 Sep 01
4
HP EFI binaries
On Mon, Aug 31, 2015 at 07:59:06PM -0400, Gene Cumm via Syslinux wrote:
> On Mon, Aug 31, 2015 at 6:42 PM, Derrick M <derrick.martinez at gmail.com> wrote:
> > Thanks Gene!
> >
> > this one is much better
>
> EXCELLENT! That's what I wanted to see. It iterates through 3
> handles, printing the entire MAC buffer and the handle's memory
> address.
2004 May 23
5
PRI problem???
I have just finished installing a new asterisk box at my work. The box is
quite hefty, dual Zeon 2.8s with SCSI drives and 2Gb of memory. I have a 4
port Digium T1 card for channel bank and PRI access.
I activated a PRI from a local CLEC (DMS-500 based, National protocol).
This PRI is on slot 2 of the card and is set as the primary timing source.
It is ESF/B8ZS.
All the software is latest
2015 Aug 31
4
HP EFI binaries
On Mon, Aug 31, 2015 at 06:08:19AM -0400, Gene Cumm via Syslinux wrote:
> On Aug 30, 2015 8:42 PM, "Derrick" <derrick22 at gmail.com> wrote:
> >
> > Gene thanks, here is the output
> >
> > My IP is 10.2.49.10
> > Img @ 71d89718 = 8cdcd40ca5f0
> > Udp @ 71d89718 = 8cdcd40ca5f0
> > Udp @ 71d89718 = 8cdcd40ca5f0
> > Udp @ 71d89718 =
2004 May 28
3
Disable blind xfer
My SIP users need to transmit the "#" key as part of data entry. Asterisk
intercepts and initates a transfer function. I'm almost positive I've seen
this discussed somewhere, but none of my searches are finding it.
Anyone have a handy answer?
Tim McKee
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef