mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/4] Fixes for x86
@ 2011-11-09 21:39 Lucas De Marchi
  2011-11-09 21:39 ` [PATCH 1/4] Make fprintf return number of bytes written Lucas De Marchi
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Lucas De Marchi @ 2011-11-09 21:39 UTC (permalink / raw)
  To: barebox

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


Regards,
Lucas De Marchi



Lucas De Marchi (4):
  Make fprintf return number of bytes written
  Add setupmbr to gitignore
  x86: fix build error because of missing header
  x86: fix symbol size calculation

 arch/x86/boot/pmjump.S           |    3 ++-
 arch/x86/include/asm/types.h     |    2 ++
 arch/x86/include/asm/unaligned.h |   14 ++++++++++++++
 arch/x86/lib/traveler.S          |   11 +++++++----
 common/console.c                 |    4 +++-
 common/console_simple.c          |    4 +++-
 include/stdio.h                  |    2 +-
 scripts/setupmbr/.gitignore      |    1 +
 8 files changed, 33 insertions(+), 8 deletions(-)
 create mode 100644 arch/x86/include/asm/unaligned.h
 create mode 100644 scripts/setupmbr/.gitignore

-- 
1.7.7.2


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

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

end of thread, other threads:[~2011-11-11 13:39 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-09 21:39 [PATCH 0/4] Fixes for x86 Lucas De Marchi
2011-11-09 21:39 ` [PATCH 1/4] Make fprintf return number of bytes written Lucas De Marchi
2011-11-10 10:53   ` Marc Kleine-Budde
2011-11-10 13:15     ` Lucas De Marchi
2011-11-10 13:20       ` Marc Kleine-Budde
2011-11-11 11:27   ` Sascha Hauer
2011-11-11 13:39     ` Lucas De Marchi
2011-11-09 21:39 ` [PATCH 2/4] Add setupmbr to gitignore Lucas De Marchi
2011-11-09 21:39 ` [PATCH 3/4] x86: fix build error because of missing header Lucas De Marchi
2011-11-09 21:39 ` [PATCH 4/4] x86: fix symbol size calculation Lucas De Marchi
2011-11-11 11:29 ` [PATCH 0/4] Fixes for x86 Sascha Hauer

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