Re: [Bug binutils/4334] MAKE FAILED: cpu-powerpc.o isn't added to libbfd.a ?

2007-05-24 Thread Nick Clifton

Hi Vincent,


Sorry, it doesn't work. The filesystem is always considered in binmode.
This is because you forgot the brackets in the awk regular expression !


I did ?


Here is the fixed line :
build_dir_mount_point=`df ${build_dir} | awk '/[0-9]%/{print $NF;}'`


Hmm, that looks just like the version I have here.  Strange.


With this, a textmode filesystem fails as expected !


Good.

However, a textmode filesystem mounted in /mnt/cabinmodern is detected as 
binmode and doesn't fail. Unfortunately, I always build my binutils in this 
directory :-)


Oh come on, seriously ?   OK, then we need a tighter grep.  Something like:

  is_binmode=`mount | grep "${build_dir_mount_point} " | grep 
"\(binmode\)"`


Would you like to try this out please ?

Cheers
  Nick




___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/4334] MAKE FAILED: cpu-powerpc.o isn't added to libbfd.a ?

2007-05-24 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2007-05-24 10:14 
---
Subject: Re:  MAKE FAILED: cpu-powerpc.o isn't added to
 libbfd.a ?

Hi Vincent,

> Sorry, it doesn't work. The filesystem is always considered in binmode.
> This is because you forgot the brackets in the awk regular expression !

I did ?

> Here is the fixed line :
> build_dir_mount_point=`df ${build_dir} | awk '/[0-9]%/{print $NF;}'`

Hmm, that looks just like the version I have here.  Strange.

> With this, a textmode filesystem fails as expected !

Good.

> However, a textmode filesystem mounted in /mnt/cabinmodern is detected as 
> binmode and doesn't fail. Unfortunately, I always build my binutils in this 
> directory :-)

Oh come on, seriously ?   OK, then we need a tighter grep.  Something like:

   is_binmode=`mount | grep "${build_dir_mount_point} " | grep 
"\(binmode\)"`

Would you like to try this out please ?

Cheers
   Nick




-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=4334

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


Re: [Bug binutils/4334] MAKE FAILED: cpu-powerpc.o isn't added to libbfd.a ?

2007-05-24 Thread Andreas Schwab
Nick Clifton <[EMAIL PROTECTED]> writes:

> Hi Vincent,
>
>> Sorry, it doesn't work. The filesystem is always considered in binmode.
>> This is because you forgot the brackets in the awk regular expression !
>
> I did ?

autoconf uses [] for quotes.

Andreas.

-- 
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/4334] MAKE FAILED: cpu-powerpc.o isn't added to libbfd.a ?

2007-05-24 Thread schwab at suse dot de

--- Additional Comments From schwab at suse dot de  2007-05-24 10:23 ---
Subject: Re:  MAKE FAILED: cpu-powerpc.o isn't added to libbfd.a ?

Nick Clifton <[EMAIL PROTECTED]> writes:

> Hi Vincent,
>
>> Sorry, it doesn't work. The filesystem is always considered in binmode.
>> This is because you forgot the brackets in the awk regular expression !
>
> I did ?

autoconf uses [] for quotes.

Andreas.



-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=4334

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/4515] bad definition of start address in ldscripts for OMAGIC

2007-05-24 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2007-05-24 11:50 
---


Hi Quentin,

> When making OMAGIC executables with ld with the swich -N, the ld script begins
> with :
> 
>> SECTIONS
>> {
>>  . = 0x1020;

It does ?  The version I have locally starts with ". = 0".

> It seems that giving to ld a script with . = 0x0 corrects the problem. 
> However,
> I'm unable to find out where to change in the sources.

The linker scripts are built by the genscripts.sh script in the linker source
directory.  They are constructed into the ldscripts/ directory in the build tree
and the script for the -N switch will have the extension .xbn.

The scripts are build from a template in the ld/scripttempl/ source directory,
together with information from a parameters file in ld/emulparam/ source
directory.  For the i486-aout target these should be the ld/scripttempl/aout.sc
file and the ld/emulparams/i386aout.sh.  The start address should then be
controlled by the value given to the TEXT_START_ADDR shell variable.

Cheers
  Nick


-- 
   What|Removed |Added

 Status|NEW |WAITING


http://sourceware.org/bugzilla/show_bug.cgi?id=4515

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/4334] MAKE FAILED: cpu-powerpc.o isn't added to libbfd.a ?

2007-05-24 Thread dj at redhat dot com

--- Additional Comments From dj at redhat dot com  2007-05-24 16:49 ---
IMHO the bug is that cygwin's bash isn't correctly stripping line endings while
doing command substitution; it should always allow CR/LF at the end of ``
substitutions, regardless of the mount mode.  Also, it should allow CR/LF as
word delimiters.

I don't think sticking our head in the sand is the right way to address this
problem.  Perhaps we should *test* for bogus CR/LF handling, and issue a more
appropriate error message?

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=4334

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/4284] Linker "relax" option results in bad subroutine calls

2007-05-24 Thread bjoern dot m dot haase at web dot de

--- Additional Comments From bjoern dot m dot haase at web dot de  
2007-05-24 20:05 ---
Maybe you could try to use the avr-ld option

 --no-call-ret-replacement The relaxation machine normally will
   substitute two immediately following call/ret
   instructions by a single jump instruction.
   This option disables this optimization.

There might be some assembler files in your operating system code that might
break with this optimization.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=4284

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils