bug-binutils
[Top][All Lists]
Advanced

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

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


From: vincent dot riviere at freesbee dot fr
Subject: [Bug binutils/4334] MAKE FAILED: cpu-powerpc.o isn't added to libbfd.a ?
Date: 22 May 2007 19:46:57 -0000

------- Additional Comments From vincent dot riviere at freesbee dot fr  
2007-05-22 20:46 -------
Hi.

Yes, the "expand" trick solves the problem described here.
The last object file listed in ofiles is successfully added to libbfd.a

Here is a small testcase showing the problem (and the solution) without having 
to recompile the whole binutils.

$ cmd /c "md C:\devtxt"
$ mkdir -p /mnt/mtxt
$ mount -t "C:\devtxt" /mnt/mtxt

$ mount
...
C:\devtxt on /mnt/mtxt type system (textmode)
...

$ echo "a b c" >/mnt/mtxt/file
$ od -t x1 /mnt/mtxt/file
0000000 61 20 62 20 63 0d 0a
0000007
# Note that the file ends with 0d 0a,
# which is exactly what textmode is expected to do

$ echo `cat /mnt/mtxt/file` |od -t x1
0000000 61 20 62 20 63 0d 0a
0000007
# cat opens the file in binary mode (which is bad here)
# and doesn't perform any conversion

$ echo `expand /mnt/mtxt/file` |od -t x1
0000000 61 20 62 20 63 0a
0000006
# expand opens the file in text mode (which is what is expected)
# and and gets rid of the unwanted 0d.


-- 


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.




reply via email to

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