On 01/04/11 06:46, PANKAJ KUMAR DUBEY wrote:
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.

The Linaro tarball should replace both of these.

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?

I'm sure you *could* run ChromiumOS with Glibc, rather than uClibc, but there probably wouldn't be much point (unless uClibc lacks support for your platform?)

I suggest you try to apply these patches. If they fit, then you're probably ok. If they don't fit, it might be that they're not necessary in our toolchain.

If they don't fit, and you find the compiler output doesn't work correctly with uClibc, then that's a more tricky problem. :(

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.

You could simply try to apply these patches. If they fit, then they'll probably work. But I expect you can just omit them. I have not looked inside, but hardening patches usually make the compiler more picky and/or produce more paranoid output, but don't affect the user interface. If that's true then the build system probably won't notice if they're not there.

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?

No, we do not, but Linaro GCC 4.4 is based on CodeSourcery G++, and that does support uClibc on some targets, so it might just work.

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.

No, but as I said above, just omitting the hardening features might be ok. Alternatively, Ubuntu GCC applies hardening patches on top of Linaro GCC, so you might like to look there.

Hope that helps

Andrew

_______________________________________________
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain

Reply via email to