mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Belisko Marek <marek.belisko@gmail.com>
Cc: barebox@lists.infradead.org
Subject: Re: master compile error
Date: Mon, 31 Jan 2011 09:14:09 +0100	[thread overview]
Message-ID: <20110131081409.GJ9041@pengutronix.de> (raw)
In-Reply-To: <AANLkTimL_AGd7_fC0h3Ae5e8YMR8N9v-K3qJujGqz4Fu@mail.gmail.com>

On Mon, Jan 31, 2011 at 03:05:13AM -0500, Belisko Marek wrote:
> Hi,
> 
> trying to compile current barebox
> (a45c3b961c7696e2f203f3fd981db78d92b747e6) from master branch and get
> following error (gcc 4.5.1):
> LD      barebox
> common/built-in.o: In function `image_get_data':
> /home/open-nandra/Downloads/barebox/include/image.h:280: undefined
> reference to `__bswapsi2'
> common/built-in.o: In function `image_multi_getimg':
> /home/open-nandra/Downloads/barebox/common/image.c:213: undefined
> reference to `__bswapsi2'
> common/built-in.o: In function `image_print_contents':
> /home/open-nandra/Downloads/barebox/common/image.c:279: undefined
> reference to `__bswapsi2'
> /home/open-nandra/Downloads/barebox/common/image.c:284: undefined
> reference to `__bswapsi2'
> /home/open-nandra/Downloads/barebox/common/image.c:285: undefined
> reference to `__bswapsi2'
> common/built-in.o:/home/open-nandra/Downloads/barebox/common/image.c:286:
> more undefined references to `__bswapsi2' follow
> make: *** [barebox] Error 1
> 
> I found this patch
> (http://lists.infradead.org/pipermail/barebox/2011-January/002693.html)
> but seems it's missing in master branch.

Does this patch work without

d62f824 arm: libgcc update to linux v2.6.37

?

I hesitated to apply d62f824 to master because it seems quite intrusive.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2011-01-31  8:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-31  8:05 Belisko Marek
2011-01-31  8:14 ` Sascha Hauer [this message]
2011-01-31 13:08   ` Jean-Christophe PLAGNIOL-VILLARD

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=20110131081409.GJ9041@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=marek.belisko@gmail.com \
    /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