bug#39611: coreutils v8.31 fails to compile with -Ofast

2020-02-14 Thread zsugabubus
Hi,

$ export CFLAGS=-Ofast # Works with -O3
$ ./configure && make

/usr/bin/ld: lib/libcoreutils.a(strtold.o):(.data+0x0): multiple definition of 
`minus_zero'; lib/libcoreutils.a(strtod.o):(.data+0x0): first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:8537: src/od] Error 1
make[2]: *** Waiting for unfinished jobs
  CCLD src/printf
make[2]: Leaving directory '/build/upstream'
make[1]: *** [Makefile:12165: all-recursive] Error 1
make[1]: Leaving directory '/build/upstream'
make: *** [Makefile:6351: all] Error 2
make: Leaving directory '/build/upstream'

-- 
zsugabubus





bug#52033: a bug in paste command

2021-11-22 Thread zsugabubus
Hi,

On Mon, Nov 22, 2021 at 05:23:33AM +, Visser, Gerard wrote:
>   Hard as it is for me to believe, it seems I have uncovered a bug in the 
> paste command. I got unexpected/incorrect results in the course of my work 
> (which I can describe as merging two data files from some electronic test 
> equipment for the purposes of analysis and plotting). Attached is a tarfile 
> of a test case with two files and a log showing the incorrect results and the 
> version info of paste.
>I hope this email will reach the right people to investigate this.
> If it is a known issue and there is a workaround for me to use, please do 
> let me know.

It is only your terminal emulator that tricks you: Your file contains
carriage returns that moves cursor to the first column, so that next
line will appear on top of the previous.

$ file e f
e: ASCII text, with CRLF line terminators
f: ASCII text, with CRLF line terminators

If you do `paste e f | cat -A`, you can see it yourself what's going on.
Use `tr -d '\r'` to remove unwanted CRs.

-- 
zsugabubus