[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: #error "This file assumes that 'int' has exactly 32 bits.
From: |
Eric Blake |
Subject: |
Re: #error "This file assumes that 'int' has exactly 32 bits. |
Date: |
Fri, 09 Aug 2013 07:16:56 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7 |
On 08/09/2013 04:46 AM, I Love To Get Spamed wrote:
> arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mthumb-interwork
> -mfloat-abi=hard -mfpu=neon -mtune=cortex-a8
> --sysroot=/home/epic/setup-scripts/build/tmp-angstrom_v2013_06-eglibc/sysroots/beaglebone
> -std=gnu99 -I.
> -I/home/epic/setup-scripts/build/tmp-angstrom_v2013_06-eglibc/work/cortexa8hf-vfp-neon-angstrom-linux-gnueabi/bison/2.7-r1/bison-2.7/lib
> -I../intl -O2 -pipe -g -feliminate-unused-debug-types -c
> /home/epic/setup-scripts/build/tmp-angstrom_v2013_06-eglibc/work/cortexa8hf-vfp-neon-angstrom-linux-gnueabi/bison/2.7-r1/bison-2.7/lib/timevar.c
> In file included from
> /home/epic/setup-scripts/build/tmp-angstrom_v2013_06-eglibc/work/cortexa8hf-vfp-neon-angstrom-linux-gnueabi/bison/2.7-r1/bison-2.7/lib/../src/system.h:42:0,
> from
> /home/epic/setup-scripts/build/tmp-angstrom_v2013_06-eglibc/work/cortexa8hf-vfp-neon-angstrom-linux-gnueabi/bison/2.7-r1/bison-2.7/lib/timevar.c:35:
> ./inttypes.h:57:3: error: #error "This file assumes that 'int' has exactly
> 32 bits. Please report your platform and compiler to <address@hidden>."
Thanks for the report, but it is incomplete. You reported your compiler
(arm-angstrom-linux-gnueabi-gcc), but not necessarily your platform.
Given the compiler, is this an attempted cross-compile? What sizes does
your compiler assign to the basic types? Is this more a bug of
cross-compilation getting wrong guesses rather than actually having a
non-32-bit int? Can you show config.log snippets around the area of the
failure?
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature