mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* master compile error
@ 2011-01-31  8:05 Belisko Marek
  2011-01-31  8:14 ` Sascha Hauer
  0 siblings, 1 reply; 3+ messages in thread
From: Belisko Marek @ 2011-01-31  8:05 UTC (permalink / raw)
  To: barebox

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.

Thanks,

marek
-- 
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
icq: 290551086
web: http://open-nandra.com

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: master compile error
  2011-01-31  8:05 master compile error Belisko Marek
@ 2011-01-31  8:14 ` Sascha Hauer
  2011-01-31 13:08   ` Jean-Christophe PLAGNIOL-VILLARD
  0 siblings, 1 reply; 3+ messages in thread
From: Sascha Hauer @ 2011-01-31  8:14 UTC (permalink / raw)
  To: Belisko Marek; +Cc: barebox

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: master compile error
  2011-01-31  8:14 ` Sascha Hauer
@ 2011-01-31 13:08   ` Jean-Christophe PLAGNIOL-VILLARD
  0 siblings, 0 replies; 3+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2011-01-31 13:08 UTC (permalink / raw)
  To: Sascha Hauer; +Cc: barebox

On 09:14 Mon 31 Jan     , Sascha Hauer wrote:
> 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.
please do not use this one
use 
import swab.h arch implementation form linux v2.3.37
commit be4146161b5316f4e7fb51c5a3c9ac0e5622c42d

it's independant from the libgcc update

Best Regards,
J.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-01-31 13:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-31  8:05 master compile error Belisko Marek
2011-01-31  8:14 ` Sascha Hauer
2011-01-31 13:08   ` Jean-Christophe PLAGNIOL-VILLARD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox