Subject: RE: [yocto] Building clang with Yocto
Hi Chan,
The errors that you are experiencing point to a mismatch between the target
architecture of the compiler, and the headers and libraries that the compiler
finds. There are several steps that are necessary to get right before you can
produce
t: Tuesday, December 23, 2014 1:21 AM
To: Paul Eggleton
Cc: Jim Rafert; yocto@yoctoproject.org
Subject: Re: [yocto] Building clang with Yocto
I tried ldd-ing my binary on my build machine since it doesn't work on my image
and it was built on glibc indeed. Since yocto is based on ulibc so it won&
M
To: Yu, Chan KitX
Cc: 'Liviu Gheorghisan'; 'Jim Rafert'; yocto@yoctoproject.org
Subject: Re: [yocto] Building clang with Yocto
Hi Chan Kit,
On Monday 22 December 2014 03:33:17 Yu, Chan KitX wrote:
> Here's an update FYI. I have managed to get clang sort of working. It
>
using.
From: Yu, Chan KitX [chan.kitx...@intel.com]
Sent: Tuesday, December 09, 2014 8:24 PM
To: Liviu Gheorghisan; Jim Rafert; yocto@yoctoproject.org
Subject: Re: [yocto] Building clang with Yocto
Liviu and Jim,
The thing is I’m trying to integrate LLVM+Clang together in the LLVM recipe.
Hi Chan Kit,
On Monday 22 December 2014 03:33:17 Yu, Chan KitX wrote:
> Here's an update FYI. I have managed to get clang sort of working. It
> compiles my sample code but I can't get the binary to execute. ./a.out
> simply returns:
>
>
> ./a.out: No such file or directory.
>
> I'm sure that a.
m Rafert; yocto@yoctoproject.org
Subject: RE: [yocto] Building clang with Yocto
Liviu and Jim,
The thing is I'm trying to integrate LLVM+Clang together in the LLVM recipe.
The modifications that I made are just adding Clang, compiler-rt and Clang
tools within the LLVM work directory. Using this
heorghisan [mailto:liviu.gheorghi...@enea.com]
Sent: Wednesday, December 10, 2014 12:27 AM
To: Yu, Chan KitX; Jim Rafert; yocto@yoctoproject.org
Subject: Re: [yocto] Building clang with Yocto
Hello Yu, Jim
I think you can get the clang executable into the SDK installer script with
something like thi
:* Yu, Chan KitX; Jim Rafert; yocto@yoctoproject.org
*Subject:* Re: [yocto] Building clang with Yocto
Hello Yu, Jim
I think you can get the clang executable into the SDK installer script
with something like this:
1. Add this dependency in nativesdk-packagegroup-sdk-host.bb:
*RDEPENDS_${PN
?
-Jim-
From: Liviu Gheorghisan [liviu.gheorghi...@enea.com]
Sent: Tuesday, December 09, 2014 9:27 AM
To: Yu, Chan KitX; Jim Rafert; yocto@yoctoproject.org
Subject: Re: [yocto] Building clang with Yocto
Hello Yu, Jim
I think you can get the clang executable into
Hello Yu, Jim
I think you can get the clang executable into the SDK installer script
with something like this:
1. Add this dependency in nativesdk-packagegroup-sdk-host.bb:
*RDEPENDS_${PN} += "nativesdk-"*
2. In the clang recipe add this install() overwrite for the nativesdk
class - this wil
I have attached the script. Basically, all that it does is extract the tarball
from the install script, untar it into a temp directory, install the rpm
created by the llvm build, then tar the temp directory back onto the tail of
the script.
The script lives in a subdirectory of the main poky di
I **think** I'm just inches away from success. I think I just need to invoke a
correct install command somewhere in the do_install function but so far I have
not managed to do so. But right now the alternative way of jamming the compiler
into the SDK sounds tempting to me.
-Original Message
Hi Jim,
How did you jam the clang compiler into the SDK tarball?
Chan Kit
-Original Message-
From: Jim Rafert [mailto:j...@spectralogic.com]
Sent: Tuesday, December 09, 2014 1:48 AM
To: yocto@yoctoproject.org; Yu, Chan KitX
Subject: Building clang with Yocto
Hello Chan,
I have been wo
Hello Chan,
I have been working to a similar goal, to include clang in the toolchain to be
used for compiling applications to run on the target. Using clang to compile
the OS and kernel are not required or desired by me.
You may get some insight from the thread I started in November on the
14 matches
Mail list logo