coreutils
[Top][All Lists]
Advanced

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

Re: Build failure with CFLAGS=-g


From: Sam James
Subject: Re: Build failure with CFLAGS=-g
Date: Fri, 3 Feb 2023 19:49:45 +0000


> On 3 Feb 2023, at 19:47, Glenn Golden <gdg@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).

Attachment: signature.asc
Description: Message signed with OpenPGP


reply via email to

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