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

* [U-Boot] Build failure for ARM devices
  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
  1 sibling, 1 reply; 4+ messages in thread
From: Heiko Schocher @ 2011-08-01  9:38 UTC (permalink / raw)
  To: u-boot

Hello Vaibhav,

Hiremath, Vaibhav wrote:
> 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.

see fix from Wolfgang here:

http://patchwork.ozlabs.org/patch/107519/

bye,
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

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

* [U-Boot] Build failure for ARM devices
  2011-08-01  9:38 ` Heiko Schocher
@ 2011-08-01  9:40   ` Hiremath, Vaibhav
  0 siblings, 0 replies; 4+ messages in thread
From: Hiremath, Vaibhav @ 2011-08-01  9:40 UTC (permalink / raw)
  To: u-boot

> -----Original Message-----
> From: Heiko Schocher [mailto:hs at denx.de]
> Sent: Monday, August 01, 2011 3:09 PM
> To: Hiremath, Vaibhav
> Cc: U-Boot at lists.denx.de
> Subject: Re: [U-Boot] Build failure for ARM devices
> 
> Hello Vaibhav,
> 
> Hiremath, Vaibhav wrote:
> > 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.
> 
> see fix from Wolfgang here:
> 
> http://patchwork.ozlabs.org/patch/107519/
> 
[Hiremath, Vaibhav] Hmmm ok.  Thanks for pointing to this. 

Thanks,
Vaibhav

> bye,
> Heiko
> --
> DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

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

* [U-Boot] Build failure for ARM devices
  2011-08-01  9:33 [U-Boot] Build failure for ARM devices Hiremath, Vaibhav
  2011-08-01  9:38 ` Heiko Schocher
@ 2011-08-01 10:29 ` Wolfgang Denk
  1 sibling, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2011-08-01 10:29 UTC (permalink / raw)
  To: u-boot

Dear "Hiremath, Vaibhav",

In message <19F8576C6E063C45BE387C64729E739404E398E5BF@dbde02.ent.ti.com> you wrote:
> 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.

Thanks, but please don't. We already have patches for this from 4
different people.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
In the pitiful, multipage, connection-boxed form to which  the  flow-
chart  has  today  been  elaborated, it has proved to be useless as a
design tool -- programmers draw flowcharts after, not before, writing
the programs they describe.                        - Fred Brooks, Jr.

^ 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.