All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] Build failure for ARM devices
@ 2011-08-01  9:33 Hiremath, Vaibhav
  2011-08-01  9:38 ` Heiko Schocher
  2011-08-01 10:29 ` Wolfgang Denk
  0 siblings, 2 replies; 4+ messages in thread
From: Hiremath, Vaibhav @ 2011-08-01  9:33 UTC (permalink / raw)
  To: u-boot

Hi,

Today when I have rebased all my patches to latest denx/master, I have observed that the following commit has broken the build for ARM family of devices (in my case it's OMAP3). I have patch fixing this issue, which I will submit shortly.

Commit -
===================
commit 84b5e8022ef62b68df360392a55c4fc2f2e568d7
Author: Wolfgang Denk <wd@denx.de>
Date:   Fri Jul 29 14:42:18 2011 +0200

    Constify getenv(), setenv() and hash code functions

    This is needed to get rid of build warnings like

    main.c:311: warning: passing argument 2 of 'setenv' discards qualifiers from pointer target type

    which result from commit 09c2e90 "unify version_string".

    Signed-off-by: Wolfgang Denk <wd@denx.de>
    Cc: Andreas Bie<DF>mann <andreas.devel@googlemail.com>


Error log -
=================

arm-none-linux-gnueabi-gcc -DDO_DEPS_ONLY \
        -g  -Os   -fno-common -ffixed-r8 -msoft-float   -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x80008000 -I/db/psp_git/users/a0393758/omap-uboot-denx/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/codesourcery/2010q1-202/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.1/include -pipe  -DCONFIG_ARM -D__ARM__ -marm  -mabi=aapcs-linux -mno-thumb-interwork -march=armv5 -Wall -Wstrict-prototypes -fno-stack-protector -Wno-format-nonliteral -Wno-format-security   \
        -o lib/asm-offsets.s lib/asm-offsets.c -c -S
In file included from /db/psp_git/users/a0393758/omap-uboot-denx/include/common.h:276,
                 from lib/asm-offsets.c:18:
/db/psp_git/users/a0393758/omap-uboot-denx/include/asm/u-boot-arm.h:66: error: conflicting types for 'setenv'
/db/psp_git/users/a0393758/omap-uboot-denx/include/common.h:271: note: previous declaration of 'setenv' was here
make: *** [lib/asm-offsets.s] Error 1


Thanks,
Vaibhav

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

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

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-01  9:33 [U-Boot] Build failure for ARM devices Hiremath, Vaibhav
2011-08-01  9:38 ` Heiko Schocher
2011-08-01  9:40   ` Hiremath, Vaibhav
2011-08-01 10:29 ` Wolfgang Denk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.