U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Marek Vasut <marek.vasut@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v6 04/20] sandbox: Add compiler defines to support a 64-bit x86_64 platform
Date: Mon, 17 Oct 2011 23:01:50 +0200	[thread overview]
Message-ID: <201110172301.50564.marek.vasut@gmail.com> (raw)
In-Reply-To: <20111017205912.BBA9B140797D@gemini.denx.de>

On Monday, October 17, 2011 10:59:12 PM Wolfgang Denk wrote:
> Dear Simon Glass,
> 
> In message <1318270953-32482-5-git-send-email-sjg@chromium.org> you wrote:
> > This sets __WORDSIZE to 8 correctly on 64-bit machines.
> > 
> > Signed-off-by: Simon Glass <sjg@chromium.org>
> > ---
> > Changes in v2:
> > - Update commit message to remove 'temporary'
> > - Allow __WORDSIZE to be defined in Makefile / elsewhere
> > 
> >  include/compiler.h |   12 +++++++++++-
> >  1 files changed, 11 insertions(+), 1 deletions(-)
> 
> This commit breaks building of all (or at least almost all, probbaly
> all ARM and PPC) boards:
> 
> + ./MAKEALL ppc
> In file included from /home/wd/git/u-boot/work/include/image.h:36,
>                  from include/common.h:117:
> /home/wd/git/u-boot/work/include/compiler.h:119:2: error: #error
> "__SIZEOF_LONG__ has unexpected value"
> /home/wd/git/u-boot/work/include/compiler.h:128:2: error: #error
> "__WORDSIZE has unexpected value" In file included from
> /home/wd/git/u-boot/work/include/image.h:36, from include/common.h:117:
> ...
> 
> + ./MAKEALL arm
> In file included from /home/wd/git/u-boot/work/include/image.h:36,
>                  from include/common.h:117:
> /home/wd/git/u-boot/work/include/compiler.h:119:2: error: #error
> "__SIZEOF_LONG__ has unexpected value"
> /home/wd/git/u-boot/work/include/compiler.h:128:2: error: #error
> "__WORDSIZE has unexpected value" In file included from
> /home/wd/git/u-boot/work/include/image.h:36, from include/common.h:117:
> ...
> 
> This happend both when building on i686 and on x86_64 build hosts.
> 
> Please fix.
> 
> Best regards,
> 
> Wolfgang Denk

Finally, I'm not alone when it comes to breaking all boards ! :-)

Simon, next time, try running the MAKEALL to check if nothing is broken :-)

  reply	other threads:[~2011-10-17 21:01 UTC|newest]

Thread overview: 71+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-10 18:22 [U-Boot] [PATCH v6 0/20] New 'sandbox' test architecture for U-Boot Simon Glass
2011-10-10 18:22 ` [U-Boot] [PATCH v6 01/20] sandbox: Add architecture header files Simon Glass
2011-10-17 20:46   ` Wolfgang Denk
2011-10-10 18:22 ` [U-Boot] [PATCH v6 02/20] Fix use of int as pointer in image.c Simon Glass
2011-10-17 20:46   ` Wolfgang Denk
2011-10-10 18:22 ` [U-Boot] [PATCH v6 03/20] sandbox: Add architecture image support Simon Glass
2011-10-17 20:46   ` Wolfgang Denk
2011-10-18  8:28     ` 馬克泡
2011-10-18 15:28       ` Mike Frysinger
2011-10-18 15:43         ` 馬克泡
2011-10-18 16:07           ` Mike Frysinger
2011-10-18 18:36             ` Simon Glass
2011-10-10 18:22 ` [U-Boot] [PATCH v6 04/20] sandbox: Add compiler defines to support a 64-bit x86_64 platform Simon Glass
2011-10-17 20:47   ` Wolfgang Denk
2011-10-17 20:59   ` Wolfgang Denk
2011-10-17 21:01     ` Marek Vasut [this message]
2011-10-17 21:05       ` Wolfgang Denk
2011-10-17 21:11         ` Simon Glass
2011-10-17 21:03     ` Simon Glass
2011-10-17 21:10       ` Wolfgang Denk
2011-10-17 21:44         ` Simon Glass
2011-10-10 18:22 ` [U-Boot] [PATCH v6 05/20] sandbox: Add cpu files Simon Glass
2011-10-17 20:47   ` Wolfgang Denk
2011-10-10 18:22 ` [U-Boot] [PATCH v6 06/20] sandbox: Add architecture lib files Simon Glass
2011-10-17 20:47   ` Wolfgang Denk
2011-10-10 18:22 ` [U-Boot] [PATCH v6 07/20] sandbox: Add sandbox board Simon Glass
2011-10-17 20:48   ` Wolfgang Denk
2011-10-18  8:43   ` 馬克泡
2011-10-18 15:29     ` Mike Frysinger
2011-10-18 18:33       ` Simon Glass
2011-10-10 18:22 ` [U-Boot] [PATCH v6 08/20] sandbox: Add board info for architecture Simon Glass
2011-10-17 20:48   ` Wolfgang Denk
2011-10-17 21:54     ` Simon Glass
2011-10-17 21:57   ` Wolfgang Denk
2011-10-17 22:12     ` Simon Glass
2011-10-17 22:38       ` Mike Frysinger
2011-10-17 22:47         ` Simon Glass
2011-10-17 22:56           ` Mike Frysinger
2011-10-18  1:43             ` Simon Glass
2011-10-18  2:38             ` Mike Frysinger
2011-10-18  4:48               ` Simon Glass
2011-10-10 18:22 ` [U-Boot] [PATCH v6 09/20] sandbox: Add bootm support Simon Glass
2011-10-17 20:48   ` Wolfgang Denk
2011-10-10 18:22 ` [U-Boot] [PATCH v6 10/20] sandbox: Disable built-in malloc Simon Glass
2011-10-17 20:49   ` Wolfgang Denk
2011-10-10 18:22 ` [U-Boot] [PATCH v6 11/20] sandbox: Disable standalone/API support Simon Glass
2011-10-17 20:49   ` Wolfgang Denk
2011-10-25 21:28     ` Simon Glass
2011-10-10 18:22 ` [U-Boot] [PATCH v6 12/20] sandbox: Force command sections to be 4-byte aligned Simon Glass
2011-10-17 20:49   ` Wolfgang Denk
2011-10-10 18:22 ` [U-Boot] [PATCH v6 13/20] sandbox: Add OS dependent layer Simon Glass
2011-10-17 20:50   ` Wolfgang Denk
2011-10-10 18:22 ` [U-Boot] [PATCH v6 14/20] sandbox: Add main program Simon Glass
2011-10-17 20:50   ` Wolfgang Denk
2011-10-10 18:22 ` [U-Boot] [PATCH v6 15/20] sandbox: Add serial uart Simon Glass
2011-10-17 20:50   ` Wolfgang Denk
2011-10-10 18:22 ` [U-Boot] [PATCH v6 16/20] sandbox: Add basic config file Simon Glass
2011-10-17 20:50   ` Wolfgang Denk
2011-10-10 18:22 ` [U-Boot] [PATCH v6 17/20] Use uintptr_t for 32/64-bit compatibility Simon Glass
2011-10-17 20:51   ` Wolfgang Denk
2011-10-10 18:22 ` [U-Boot] [PATCH v6 18/20] Adjust dependency rules to permit per-file flags Simon Glass
2011-10-17 20:51   ` Wolfgang Denk
2011-10-18  5:46   ` Wolfgang Denk
2011-10-18 14:08     ` Simon Glass
2011-10-18 15:55       ` Simon Glass
2011-10-18 20:32         ` Wolfgang Denk
2011-10-18 20:55           ` Simon Glass
2011-10-10 18:22 ` [U-Boot] [PATCH v6 19/20] Add generic gpio.h in asm-generic Simon Glass
2011-10-17 20:51   ` Wolfgang Denk
2011-10-10 18:22 ` [U-Boot] [PATCH v6 20/20] sandbox: Makefile changes to build sandbox architecture Simon Glass
2011-10-17 20:51   ` Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201110172301.50564.marek.vasut@gmail.com \
    --to=marek.vasut@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox