On 08.10.2010 02:52, Michael Hope wrote:
Hi Marcin. Would you consider passing --enable-poison-system-directories to the cross compiler configure? This makes the '-Wpoison-system-directories' option available which warns you if the cross compiler picks up a library or header file from /usr instead of the cross-build environment.
How does this relate with the primary goal of getting performance improvements into the Linaro GCC for ARM? This is not even in GCC trunk, and introducing an option which is not recognized by anybody else introduces a potential for regressions, regardless the issues it is supposed to fix.
This specific option may only be set for cross builds, but there are other changes/backports in the Linaro GCC which do break package builds in the Ubuntu archive.
With my Ubuntu distribution hat on, these are regressions caused by the Linaro GCC changes, which cause effort to find, analyse and fix, either in Linaro GCC or in the package. The question is if the benefits of a change in Linaro GCC out-weights the efforts required to fix the package builds, for all architectures where Linaro GCC is used for the builds. We did make this decision for 4.4, but we should re-evaluate this maybe for 4.5 and definitely for 4.6 for the native Ubuntu builds.
Matthias