public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* ARM build failures
@ 2004-06-15 11:34 Nitin Shah
  2004-06-15 11:41 ` Paul Brook
  2004-06-15 15:55 ` Nick Clifton
  0 siblings, 2 replies; 5+ messages in thread
From: Nitin Shah @ 2004-06-15 11:34 UTC (permalink / raw)
  To: binutils

Hi,
While building the toolchain for --target=arm-coff getting this error and build get stop .

tc-arm.c:194: `EF_ARM_EABI_UNKNOWN' undeclared here (not in a function)
tc-arm.c: In function `md_begin':
tc-arm.c:11696: `EF_ARM_EABI_UNKNOWN' undeclared (first use in this function)
tc-arm.c:11696: (Each undeclared identifier is reported only once
tc-arm.c:11696: for each function it appears in.)
tc-arm.c:11728: `EF_ARM_EABI_VER3' undeclared (first use in this function)
tc-arm.c: At top level:
tc-arm.c:13476: `EF_ARM_EABI_UNKNOWN' undeclared here (not in a function)
tc-arm.c:13476: initializer element is not constant
tc-arm.c:13476: (near initialization for `arm_eabis[0].value')
tc-arm.c:13476: warning: missing initializer
tc-arm.c:13476: warning: (near initialization for `arm_eabis[0].value')
tc-arm.c:13476: initializer element is not constant
tc-arm.c:13476: (near initialization for `arm_eabis[0]')
tc-arm.c:13477: `EF_ARM_EABI_VER3' undeclared here (not in a function)
tc-arm.c:13477: initializer element is not constant
tc-arm.c:13477: (near initialization for `arm_eabis[1].value')
tc-arm.c:13477: warning: missing initializer
tc-arm.c:13477: warning: (near initialization for `arm_eabis[1].value')
tc-arm.c:13477: initializer element is not constant
tc-arm.c:13477: (near initialization for `arm_eabis[1]')
tc-arm.c:13478: initializer element is not constant
tc-arm.c:13478: (near initialization for `arm_eabis[2]')

Any inputs on this would be greatly appreciated.

************************************************************************************

Regards,
Nitin Shah
KPIT Cummins InfoSystems Ltd.
Pune, India

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Free download of GNU based tool-chains for Renesas' SH and H8 Series.
The following site also offers free technical support to its users. 
Visit http://www.kpitgnutools.com for details. 
Latest versions of KPIT GNU tools are released on June 1, 2004.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 

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

* Re: ARM build failures
  2004-06-15 11:34 ARM build failures Nitin Shah
@ 2004-06-15 11:41 ` Paul Brook
  2004-06-15 15:55 ` Nick Clifton
  1 sibling, 0 replies; 5+ messages in thread
From: Paul Brook @ 2004-06-15 11:41 UTC (permalink / raw)
  To: binutils; +Cc: Nitin Shah

On Tuesday 15 June 2004 12:30, Nitin Shah wrote:
> Hi,
> While building the toolchain for --target=arm-coff getting this error and
> build get stop .
>
> tc-arm.c:194: `EF_ARM_EABI_UNKNOWN' undeclared here (not in a function)
<...>

You don't say which version you are trying to build. This failure should have 
been fixed by this change:

2004-03-30  Nick Clifton  <nickc@redhat.com>

        * config/tc-arm.c (meabi_flags): Make its use conditional upon
        OBJ_ELF being defined.

Paul

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

* Re: ARM build failures
  2004-06-15 11:34 ARM build failures Nitin Shah
  2004-06-15 11:41 ` Paul Brook
@ 2004-06-15 15:55 ` Nick Clifton
  1 sibling, 0 replies; 5+ messages in thread
From: Nick Clifton @ 2004-06-15 15:55 UTC (permalink / raw)
  To: Nitin Shah; +Cc: binutils

Hi Nitin,

> While building the toolchain for --target=arm-coff getting this error and build get stop .
> 
> tc-arm.c:194: `EF_ARM_EABI_UNKNOWN' undeclared here (not in a function)

These constants are all defined in the ELF specific header file 
include/elf/arm.h.  They should not be referenced when you are building 
an arm-coff targeted version of the toolchain.  Which sources are you 
using ?

Cheers
   Nick


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

* RE: ARM build failures
@ 2004-06-16  4:51 Nitin Shah
  0 siblings, 0 replies; 5+ messages in thread
From: Nitin Shah @ 2004-06-16  4:51 UTC (permalink / raw)
  To: Nick Clifton; +Cc: binutils

Hi Nick,
Thanks.
I am using  binutils-040324 snapshot which was not patched for arm-coff build so I have applied patch given by you 
http://sources.redhat.com/ml/binutils/2004-03/msg00649.html

after this the build failure has gone and I am able to build the toolchain successfully.

Thank you once again.

************************************************************************************

Regards,
Nitin Shah
KPIT Cummins InfoSystems Ltd.
Pune, India

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Free download of GNU based tool-chains for Renesas' SH and H8 Series.
The following site also offers free technical support to its users. 
Visit http://www.kpitgnutools.com for details. 
Latest versions of KPIT GNU tools has released on June 1, 2004.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 

-----Original Message-----
From: Nick Clifton [mailto:nickc@redhat.com]
Sent: Tuesday, June 15, 2004 9:25 PM
To: Nitin Shah
Cc: binutils@sources.redhat.com
Subject: Re: ARM build failures


Hi Nitin,

> While building the toolchain for --target=arm-coff getting this error and build get stop .
> 
> tc-arm.c:194: `EF_ARM_EABI_UNKNOWN' undeclared here (not in a function)

These constants are all defined in the ELF specific header file 
include/elf/arm.h.  They should not be referenced when you are building 
an arm-coff targeted version of the toolchain.  Which sources are you 
using ?

Cheers
   Nick

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

* RE: ARM build failures
@ 2004-06-15 13:39 Nitin Shah
  0 siblings, 0 replies; 5+ messages in thread
From: Nitin Shah @ 2004-06-15 13:39 UTC (permalink / raw)
  To: Paul Brook, binutils

-----Original Message-----
From: Paul Brook [mailto:paul@codesourcery.com]
Sent: Tuesday, June 15, 2004 5:12 PM
To: binutils@sources.redhat.com
Cc: Nitin Shah
Subject: Re: ARM build failures


On Tuesday 15 June 2004 12:30, Nitin Shah wrote:
> Hi,
> While building the toolchain for --target=arm-coff getting this error and
> build get stop .
>
> tc-arm.c:194: `EF_ARM_EABI_UNKNOWN' undeclared here (not in a function)
<...>

You don't say which version you are trying to build. This failure should have 
been fixed by this change:

I am using  binutils-040324 snapshot and thanks for giving me patch link. After applied this patch the build failure has gone .


2004-03-30  Nick Clifton  <nickc@redhat.com>

        * config/tc-arm.c (meabi_flags): Make its use conditional upon
        OBJ_ELF being defined.

Paul

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

end of thread, other threads:[~2004-06-16  4:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-15 11:34 ARM build failures Nitin Shah
2004-06-15 11:41 ` Paul Brook
2004-06-15 15:55 ` Nick Clifton
2004-06-15 13:39 Nitin Shah
2004-06-16  4:51 Nitin Shah

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).