Hi all,
I am trying to use Linaro GCC 4.4 version(gcc-linaro-4.4-2010.02-0.tar.bz2) along with following components for
ChromiumOS build:
a) binutils-2.19.1-r1
b) glibc-2.10.1-r2
c) linux-headers-2.6.30-r1
I have modified one of existing gcc ebuild (Gentoo ebuild) so that Linaro GCC source code snapshot can be downloaded and compiled. But I am facing following issues.
Chromium OS build system, while compiling default toolchain's gcc component is downloading following gcc related source tarballs.
a) gcc-4.4.3.tar.bz2: It is main gcc source code.
b) gcc-4.4.3-patches-1.2.tar.bz2: It seems like some patches after code release.
c) gcc-4.4.3-uclibc-patches-1.0.tar.bz2: Not having idea about this. On google found that
uClibc (aka µClibc/ pronounced yew-see-lib-see) is a C library for developing embedded Linux systems.
No idea why this is reuquired? Or if it is mandatory for a gcc compilation or Chromium OS?
d) gcc-4.4.3-piepatches-v0.4.1.tar.bz2 |
e) gcc-4.4.3-specs-0.1.8.tar.bz2 | These two (d) and (e) are getting used as part of hardened tool-chain.
So my question to Linaro toolchain team:
I) Do we have same kind of uClibc patch available for Linaro-gcc? If yes how to get that?
II) Since ChromiumOS toolchain is tightly bound with build system, and ChromiumOS default profile is using "hardened" USE flag and hence using "hardened toolchain", it needs another two patches one is "PIE" and another "SPECS", as shown above.
Does Linaro-GCC supports this "hardened" feature? If yes how we can get correct versions of these (PIE and SPECS) two parts.
Meanwhile I am trying to switch ChromiusOS default profile from "hardened" to "non-hardened".
Thanks and Regards,
Pankaj Dubey
|