> On 3 Feb 2023, at 19:47, Glenn Golden <g...@zplane.com> wrote: > > In an attempt to build coreutils with debug symbols, I was surprised to find > that this sequence: > > $ git clone https://github.com/coreutils/coreutils > $ cd coreutils/ > $ ./bootstrap > $ export CFLAGS=-g > $ ./configure --disable-silent-rules > $ make > > resulted in the attached build failure. (The build was clean up to that > point.) > > Seems to be 100% reproducible: Same behavior seen several times starting > from fresh git clone directory each time. Yet without the CFLAGS=-g, it > builds ok. > What am I doing wrong? >
Sometimes odd diagnostics occur with no optimisation. That doesn't make it an invalid bug though (but it might be a compiler bug).
signature.asc
Description: Message signed with OpenPGP