From: Heiko Schocher <hs@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] cam_enc_4xx build failure
Date: Mon, 05 Mar 2012 09:39:39 +0100 [thread overview]
Message-ID: <4F547BCB.1010201@denx.de> (raw)
In-Reply-To: <201203050713.51779.marex@denx.de>
Hello Marek,
Marek Vasut wrote:
> Dear Heiko Schocher,
>
> cam_enc_4xx does not build with ELDK4.2 . Can you please come up with a patch?
Hups, tested only with ELDK-5.1 compile/works fine!
> Thanks in advance!
>
> Copyright (C) 2007 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
> Configuring for cam_enc_4xx board...
> cam_enc_4xx.c: In function 'menu_handle':
> cam_enc_4xx.c:609: warning: dereferencing type-punned pointer will break strict-
> aliasing rules
fixed
> arm-linux-ld: u-boot-spl: Not enough room for program headers, try linking with
> -N
Hmm.. I need here this patch (for ELDK-4.2 only):
diff --git a/config.mk b/config.mk
index ddaa477..1aaf2a2 100644
--- a/config.mk
+++ b/config.mk
@@ -254,7 +254,7 @@ ifneq ($(CONFIG_SYS_TEXT_BASE),)
LDFLAGS_u-boot += -Ttext $(CONFIG_SYS_TEXT_BASE)
endif
-LDFLAGS_u-boot-spl += -T $(obj)u-boot-spl.lds $(LDFLAGS_FINAL)
+LDFLAGS_u-boot-spl += -N -T $(obj)u-boot-spl.lds $(LDFLAGS_FINAL)
ifneq ($(CONFIG_SPL_TEXT_BASE),)
LDFLAGS_u-boot-spl += -Ttext $(CONFIG_SPL_TEXT_BASE)
endif
compiles/works with ELDK-4.2 compiles/works with ELDK-5.1 ...
a) better ideas for a fix?
b) If patch is OK, should I send for this issue in a seperate patch?
> arm-linux-ld: final link failed: Bad value
> make[1]: *** [/opt/work/jenkins/jobs/U-
> Boot/workspace/workspace/compiler/eldk4.2/device/arm___cam_enc_4xx/spl/u-boot-
> spl] Error 1
> make: *** [spl/u-boot-spl.bin] Error 2
> make: *** Waiting for unfinished jobs....
> cmd_pxe.c: In function 'do_pxe_get':
> cmd_pxe.c:334: warning: dereferencing type-punned pointer will break strict-
> aliasing rules
> cmd_pxe.c: In function 'get_relfile_envaddr':
> cmd_pxe.c:374: warning: dereferencing type-punned pointer will break strict-
> aliasing rules
> arm-linux-size: './u-boot': No such file
added Jason Hobbs <jason.hobbs@calxeda.com> to Cc.
Jason? Could you fix this?
Removed cmd_pxe support for the cam_enc_4xx board, as it is not needed.
Thanks!
bye,
Heiko
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
next prev parent reply other threads:[~2012-03-05 8:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-05 6:13 [U-Boot] cam_enc_4xx build failure Marek Vasut
2012-03-05 8:39 ` Heiko Schocher [this message]
2012-03-05 14:30 ` Jason Hobbs
2012-03-05 15:36 ` Marek Vasut
2012-03-05 16:32 ` Wolfgang Denk
2012-03-07 7:10 ` Heiko Schocher
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=4F547BCB.1010201@denx.de \
--to=hs@denx.de \
--cc=u-boot@lists.denx.de \
/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