bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/28791] [z80-unknown-elf-as]: new unexpected overflow warni


From: petemoore at gmx dot net
Subject: [Bug binutils/28791] [z80-unknown-elf-as]: new unexpected overflow warning in v2.37
Date: Tue, 18 Jan 2022 12:25:32 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=28791

--- Comment #1 from Pete Moore <petemoore at gmx dot net> ---
In case it helps with reproducing the test results, these are the docker files
I used for testing on Linux:

```
pmoore@Petes-iMac:~/tmp $ cat z80-unknown-elf-as-2.36.1.Dockerfile 
FROM ubuntu:20.04
RUN apt-get update && apt-get install -y curl build-essential
RUN curl -L https://ftpmirror.gnu.org/binutils/binutils-2.36.1.tar.gz >
binutils.tar.gz && tar zvfx binutils.tar.gz && cd binutils-2.36.1 &&
./configure --target=z80-unknown-elf --disable-werror && make && make install
&& cd ..
```

```
pmoore@Petes-iMac:~/tmp $ cat z80-unknown-elf-as-2.37.Dockerfile 
FROM ubuntu:20.04
RUN apt-get update && apt-get install -y curl build-essential
RUN curl -L https://ftpmirror.gnu.org/binutils/binutils-2.37.tar.gz >
binutils.tar.gz && tar zvfx binutils.tar.gz && cd binutils-2.37 && ./configure
--target=z80-unknown-elf --disable-werror && make && make install && cd ..
pmoore@Petes-iMac:~/tmp $ 
```

I built them with:

```
pmoore@Petes-iMac:~/tmp $ docker build -t test-invert-bits:2.36.1 -f
z80-unknown-elf-as-2.36.1.Dockerfile .
pmoore@Petes-iMac:~/tmp $ docker build -t test-invert-bits:2.37 -f
z80-unknown-elf-as-2.37.Dockerfile .
```

I ran the tests with:

```
pmoore@Petes-iMac:~/tmp $ docker run -ti --rm -v $(pwd):/test -w /test
test-invert-bits:2.36.1 z80-unknown-elf-as -o test-with-binutils-2.36.1.o
test.s
pmoore@Petes-iMac:~/tmp $ docker run -ti --rm -v $(pwd):/test -w /test
test-invert-bits:2.37 z80-unknown-elf-as -o test-with-binutils-2.37.o test.s
```

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

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