[PATCH 0/4] Fixes for x86

Sascha Hauer s.hauer at pengutronix.de
Fri Nov 11 06:29:20 EST 2011


On Wed, Nov 09, 2011 at 07:39:53PM -0200, Lucas De Marchi wrote:
> The following patches are fixes for x86 in order to be able to build barebox
> with ARCH=x86 and generic_defconfig. Patch 3 fixes build for any version of gcc
> while the last one is specific to gcc 4.6 (I'm not sure about gcc 4.5).
> 
> With gcc 4.6 there's still an error, but when it's linking barebox, that I
> didn't find out how to fix. I thought the problem was in the linker or linker
> script but they seem to be ok since it works when compiled with gcc 4.4. The
> error is the following:
> 
>   LD      barebox
> ld: section .eh_frame loaded at [0000000000011a54,0000000000018ac3] overlaps section .barebox_initcalls loaded at [0000000000011a54,0000000000011a9b]
> make: *** [barebox] Error 1

Applied patches 2-4. For 1 I prefer the solution just posted.

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 |



More information about the barebox mailing list