[PATCH 53/59] gmon: Only used -fno-tree-loop-distribute-patterns if compiler supports it

Adhemerval Zanella Netto adhemerval.zanella@linaro.org
Wed Oct 22 19:59:22 GMT 2025



On 22/10/25 16:56, Mark Wielaard wrote:
> Hi Adhemerval,
> 
> This was committed as commit ab22e5ec3739.  But the glibc-autoregen
> buildbot flags this because configure seems to contain some bits
> ("-Wno-unused-command-line-argument") that aren't in configure.ac
> 
> https://builder.sourceware.org/buildbot/#/builders/345/builds/214
> 
> Specifically this hunk:
> 
>> diff --git a/configure b/configure
>> index 26f6682c1e6..c8ed16bd79d 100755
>> --- a/configure
>> +++ b/configure
>> @@ -7515,7 +7515,8 @@ $conftest_code
>>  EOF
>>  
>>  saved_CC="$CC"
>> -CC="$TEST_CC"
>> +saved_CFLAGS="$CFLAGS"
>> +CC="$TEST_CC -Wno-unused-command-line-argument"
>>  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for traditional tls support in testing" >&5
>>  printf %s "checking for traditional tls support in testing... " >&6; }
>>  if test ${libc_cv_test_mtls_traditional+y}
> 
> And this one:
> 
>> @@ -8107,7 +8110,8 @@ if test "$TEST_CC" = "$CC"; then
>>  else
>>  
>>  saved_CC="$CC"
>> -CC="$TEST_CC"
>> +saved_CFLAGS="$CFLAGS"
>> +CC="$TEST_CC -Wno-unused-command-line-argument"
>>  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -Wfree-labels in testing" >&5
>>  printf %s "checking for -Wfree-labels in testing... " >&6; }
>>  if test ${libc_cv_test_cc_wfree_labels+y}
>> @@ -8167,7 +8171,8 @@ if test "$TEST_CC" = "$CC"; then
>>  else
>>  
>>  saved_CC="$CC"
>> -CC="$TEST_CC"
>> +saved_CFLAGS="$CFLAGS"
>> +CC="$TEST_CC -Wno-unused-command-line-argument"
>>  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -Wmissing-parameter-name in testing" >&5
>>  printf %s "checking for -Wmissing-parameter-name in testing... " >&6; }
>>  if test ${libc_cv_test_cc_wmissing_parameter_name+y}
> 
> Which don't seem to come from configure.ac
> 
> Could you regenerate configure and/or remove the above bits by hand?

I will fix it, I think I messed this up in my end.


More information about the Libc-alpha mailing list