bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Installation problems binutils-2.18 (part 3)


From: wim
Subject: Re: Installation problems binutils-2.18 (part 3)
Date: Wed, 9 Jul 2008 22:41:06 +0200

Dear Brian and Andreas !

Thank you very much for your analysis, looking furher in
the  as versions

address@hidden:~>  whereis as
as: /bin/as /usr/bin/as /usr/share/man/man1/as.1.gz

So quite strangely I have 2 times the as  asember
I 'am really surprised !

Checking further:

address@hidden:~> /bin/as --version
GNU assembler 2.9
Copyright 1997 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
This assembler was configured for a target of `i686-pc-linux-gnu'.


address@hidden:~> /usr/bin/as --version
GNU assembler 2.11.92.0.10 (SuSE)
Copyright 2001 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
This assembler was configured for a target of `i486-suse-linux'.

QUESTION:

IS IT ENOUGH  to throw away  the old version ?

Kind Regards,


Wim Eijsenga

-----------------------------------------------------------------------------------------------------------------




On Tuesday 08 July 2008 22:08, you wrote:
> wim wrote:
> > About the output of the following command:
> > gcc -print-prog-name=as
> >
> > The output is simply:
> >
> > as
>
> That was meant to be one single command:
>
> `gcc -print-prog-name=as` --version
>
> But anyway, that doesn't really matter.
>
> > address@hidden:/bin> as --version
> > GNU assembler 2.9
> > Copyright 1997 Free Software Foundation, Inc.
> > This program is free software; you may redistribute it under the terms of
> > the GNU General Public License.  This program has absolutely no warranty.
> > This assembler was configured for a target of `i686-pc-linux-gnu'.
>
> So you somehow have a modern gcc 4.2.4 and this ancient 11 year old
> assembler?  That's the cause of your problem:
>
> configure:4657: gcc -o conftest -O2   conftest.c  >&5
> /tmp/ccBCyz5e.s: Assembler messages:
> /tmp/ccBCyz5e.s:23: Warning: Bad .section directive: want a,w,x in
> string
> /tmp/ccBCyz5e.s:23: Error: Rest of line ignored. First ignored character
> is `M'.
>
> gcc is outputting directives that the assembler doesn't understand
> because it's much older.  You can't really expect tools with this large
> of a version dicrepancy to work together.  I don't even understand how
> you managed to compile this version of gcc because it's supposed to do
> configure checks of the assembler in order to enable functionality, but
> that's neither here nor there.
>
> I suggest that you ditch this self-compiled gcc and use whatever
> compiler came with your distro, as it will at least work harmoniously
> with this ancient binutils.  Use that combination to build a modern
> binutils, then rebuild a modern gcc and make sure it uses the updated
> binutils (e.g. by putting the new binutils first in PATH before the old
> one or by specifying --with-as and --with-ld.)
>
> Brian





reply via email to

[Prev in Thread] Current Thread [Next in Thread]