public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Florian Weimer <fw@deneb.enyo.de>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: Florian Weimer via Libc-alpha <libc-alpha@sourceware.org>,
	 Florian Weimer <fweimer@redhat.com>,  DJ Delorie <dj@redhat.com>
Subject: Re: [PATCH] malloc: Remove bin scanning from memalign (bug 30723)
Date: Sat, 12 Aug 2023 15:23:44 +0200	[thread overview]
Message-ID: <87jzu0wg0v.fsf@mid.deneb.enyo.de> (raw)
In-Reply-To: <87bkfc92hf.fsf@linux-m68k.org> (Andreas Schwab's message of "Sat, 12 Aug 2023 08:52:28 +0200")

* Andreas Schwab:

> malloc.c: In function '_int_free':
> malloc.c:4496:13: error: unused variable 'fwd' [-Werror=unused-variable]
>  4496 |   mchunkptr fwd;               /* misc temp for linking */
>       |             ^~~
> malloc.c:4495:13: error: unused variable 'bck' [-Werror=unused-variable]
>  4495 |   mchunkptr bck;               /* misc temp for linking */
>       |             ^~~
> malloc.c:4494:19: error: unused variable 'prevsize' [-Werror=unused-variable]
>  4494 |   INTERNAL_SIZE_T prevsize;    /* size of previous contiguous chunk */
>       |                   ^~~~~~~~
> malloc.c:4493:7: error: unused variable 'nextinuse' [-Werror=unused-variable]
>  4493 |   int nextinuse;               /* true if nextchunk is used */
>       |       ^~~~~~~~~
> malloc.c:4492:19: error: unused variable 'nextsize' [-Werror=unused-variable]
>  4492 |   INTERNAL_SIZE_T nextsize;    /* its size */
>       |                   ^~~~~~~~
> malloc.c:4491:13: error: unused variable 'nextchunk' [-Werror=unused-variable]
>  4491 |   mchunkptr nextchunk;         /* next contiguous chunk */
>       |             ^~~~~~~~~
> cc1: all warnings being treated as errors
> make[2]: *** [../o-iterator.mk:9: /home/abuild/rpmbuild/BUILD/glibc-2.38.9000.31.g084fb31bc2/cc-base/malloc/malloc.o] Error 1

This is a disable-tcache configuration, right? Will fix.

  reply	other threads:[~2023-08-12 13:23 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-10 17:36 Florian Weimer
2023-08-10 18:04 ` DJ Delorie
2023-08-11  7:20   ` Florian Weimer
2023-08-11 23:14     ` DJ Delorie
2023-08-21 14:01     ` Sam James
2023-08-21 14:45       ` Florian Weimer
2023-08-11  8:54 ` Maxim Kuvyrkov
2023-08-11  9:14   ` Florian Weimer
2023-08-11 14:52     ` Florian Weimer
2023-08-12  6:52 ` Andreas Schwab
2023-08-12 13:23   ` Florian Weimer [this message]
2023-08-12 13:33     ` Florian Weimer
2023-08-12 14:50       ` Andreas Schwab
2023-08-14  2:14       ` Xi Ruoyao
2023-08-14  9:16   ` Florian Weimer
2023-08-15 11:58     ` Adhemerval Zanella Netto
2023-08-14  9:42 Florian Weimer
2023-08-14 20:49 ` DJ Delorie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87jzu0wg0v.fsf@mid.deneb.enyo.de \
    --to=fw@deneb.enyo.de \
    --cc=dj@redhat.com \
    --cc=fweimer@redhat.com \
    --cc=libc-alpha@sourceware.org \
    --cc=schwab@linux-m68k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).