[oe] error: C preprocessor "arm-angstrom-linux-gnueabi-gcc -E" fails sanity check
Khem Raj
raj.khem at gmail.com
Wed Nov 24 18:42:16 UTC 2010
On Wed, Nov 24, 2010 at 9:32 AM, Zach Frey <zach at znfrey.com> wrote:
> Hi,
>
> I'm seeing a new error using git HEAD and trying to build for the omapzoom2:
>
>
> Build Configuration:
> BB_VERSION = "1.10.0"
> METADATA_BRANCH = "master"
> METADATA_REVISION = "20117ec"
> TARGET_ARCH = "arm"
> TARGET_OS = "linux-gnueabi"
> MACHINE = "omapzoom2"
> DISTRO = "angstrom"
> DISTRO_VERSION = "next"
> TARGET_FPU = "hard"
>
> | checking how to run the C preprocessor... arm-angstrom-linux-gnueabi-gcc
> -E
> | configure: error: in
> `/home/PHOENIX/frey/OE/build/tmp/work/armv7a-angstrom-linux-gnueabi/eglibc-2.12-r16.7+svnr11982/build-arm-angstrom-linux-gnueabi':
> | configure: error: C preprocessor "arm-angstrom-linux-gnueabi-gcc -E" fails
> sanity check
> | See `config.log' for more details.
> | ERROR: Function do_configure failed
>
> Suggestions? More info I can provide?
>
sometimes rebuilding gcc can be a bit tricky and I think thats what
might have happened in your case. So please rebuild the toolchain
bitbake -c clean eglibc eglibc-initial gcc-cross-initial
gcc-cross-intermediate gcc-cross gcc
bitbake <your image>
that should help if the cross compiler was broken by unstaging.
>
> Thanks,
> Zach Frey
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
More information about the Openembedded-devel
mailing list