error while compiling LIBC

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

error while compiling LIBC

Vishwanath T. K.
Hi all,

I get following error while compiling glibc

initfini.c: Assembler messages:
initfini.c:46: Error: no such instruction: `align'
initfini.c:47: Error: invalid character '_' in mnemonic
initfini.c:69: Error: no such instruction: `align'
initfini.c:70: Error: invalid character '_' in mnemonic

tools used:

binutils-2.16.91.0.5
gcc-4.2-20060121
glibc-20060123

i have tried glibc-2.3.6 also, but same results.

Can anyone tell me what could be the problem?

Thanks in advance

Vishy
Reply | Threaded
Open this post in threaded view
|

Re: error while compiling LIBC

Robert Millan
On Thu, Feb 02, 2006 at 11:33:31AM +0530, Vishwanath T. K. wrote:
> Hi all,
>
> I get following error while compiling glibc
>
> initfini.c: Assembler messages:
> initfini.c:46: Error: no such instruction: `align'
> initfini.c:47: Error: invalid character '_' in mnemonic
> initfini.c:69: Error: no such instruction: `align'
> initfini.c:70: Error: invalid character '_' in mnemonic

Check the actual asm it's using:

  gcc ${all_the_other_flags} -S nitfini.c -o -

and the C source in lines 46-47 and 69-70

--
Robert Millan
Reply | Threaded
Open this post in threaded view
|

Re: error while compiling LIBC

Daniel Jacobowitz-2
In reply to this post by Vishwanath T. K.
> gcc-4.2-20060121

Upgrade; it was a bug in this version of GCC.

--
Daniel Jacobowitz
CodeSourcery