bug-binutils
[Top][All Lists]
Advanced

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

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


From: Nick Clifton
Subject: Re: [Bug binutils/4334] MAKE FAILED: cpu-powerpc.o isn't added to libbfd.a ?
Date: Thu, 24 May 2007 10:14:21 +0100
User-agent: Thunderbird 1.5.0.10 (X11/20070301)

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






reply via email to

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