From: Lucas De Marchi <lucas.demarchi@profusion.mobi>
To: barebox@lists.infradead.org
Subject: [PATCH 0/4] Fixes for x86
Date: Wed, 9 Nov 2011 19:39:53 -0200 [thread overview]
Message-ID: <1320874797-14270-1-git-send-email-lucas.demarchi@profusion.mobi> (raw)
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
next reply other threads:[~2011-11-09 21:39 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-09 21:39 Lucas De Marchi [this message]
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
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=1320874797-14270-1-git-send-email-lucas.demarchi@profusion.mobi \
--to=lucas.demarchi@profusion.mobi \
--cc=barebox@lists.infradead.org \
/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