unofficial mirror of libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Florian Weimer via Libc-alpha <libc-alpha@sourceware.org>
To: Siddhesh Poyarekar <siddhesh@sourceware.org>
Cc: libc-alpha@sourceware.org
Subject: Re: [PATCH v7 3/8] Move malloc hooks into a compat DSO
Date: Fri, 09 Jul 2021 11:22:41 +0200	[thread overview]
Message-ID: <87o8bbj0ym.fsf@oldenburg.str.redhat.com> (raw)
In-Reply-To: <8a3d2b7c-c22a-7026-5650-b24aac304e43@sourceware.org> (Siddhesh Poyarekar's message of "Fri, 9 Jul 2021 14:47:54 +0530")

* Siddhesh Poyarekar:

> On 7/9/21 1:47 PM, Florian Weimer via Libc-alpha wrote:
>> This has another issue on i686-gnu.  This looks like the locking code
>> does not work outside of libc:
>> /home/bmg/install/compilers/i686-gnu/lib/gcc/i686-glibc-gnu/11.1.1/../../../../i686-glibc-gnu/bin/ld:
>> /home/bmg/build/glibcs/i686-gnu/glibc/malloc/libc_malloc_debug_pic.a(malloc-debug.os):
>> in function `__malloc_info':
>> /home/bmg/src/glibc/malloc/malloc.c:5670: undefined reference to `__gsync_wait'
>> /home/bmg/install/compilers/i686-gnu/lib/gcc/i686-glibc-gnu/11.1.1/../../../../i686-glibc-gnu/bin/ld: /home/bmg/src/glibc/malloc/malloc.c:5756: undefined reference to `__gsync_wake'
>> I'm not entirely sure how this is supposed to work.  Clearly the
>> libc
>> locks work outside of libc for other DSOs, and libc_malloc_debug is
>> built with -DMODULE_NAME=libc_malloc_debug, so it should be recognized
>> as outside of libc.
>
> That is very strange, i686 had worked just fine on Fedora.  I'll take
> a closer look.

Sorry, it's i686-gnu, so Hurd.

Florian


  reply	other threads:[~2021-07-09  9:23 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-08 17:43 [PATCH v7 0/8] malloc hooks removal Siddhesh Poyarekar via Libc-alpha
2021-07-08 17:43 ` [PATCH v7 1/8] Remove __after_morecore_hook Siddhesh Poyarekar via Libc-alpha
2021-07-08 17:43 ` [PATCH v7 2/8] Remove __morecore and __default_morecore Siddhesh Poyarekar via Libc-alpha
2021-07-09  6:27   ` Florian Weimer via Libc-alpha
2021-07-09  7:02     ` Siddhesh Poyarekar via Libc-alpha
2021-07-09  7:46       ` Florian Weimer via Libc-alpha
2021-07-08 17:43 ` [PATCH v7 3/8] Move malloc hooks into a compat DSO Siddhesh Poyarekar via Libc-alpha
2021-07-09  8:08   ` Florian Weimer via Libc-alpha
2021-07-09  8:13     ` Siddhesh Poyarekar via Libc-alpha
2021-07-09  8:17   ` Florian Weimer via Libc-alpha
2021-07-09  9:17     ` Siddhesh Poyarekar via Libc-alpha
2021-07-09  9:22       ` Florian Weimer via Libc-alpha [this message]
2021-07-09  8:26   ` Florian Weimer via Libc-alpha
2021-07-09  9:21     ` Siddhesh Poyarekar via Libc-alpha
2021-07-08 17:43 ` [PATCH v7 4/8] mcheck: Wean away from malloc hooks Siddhesh Poyarekar via Libc-alpha
2021-07-08 17:43 ` [PATCH v7 5/8] Simplify __malloc_initialized Siddhesh Poyarekar via Libc-alpha
2021-07-08 17:43 ` [PATCH v7 6/8] mtrace: Wean away from malloc hooks Siddhesh Poyarekar via Libc-alpha
2021-07-08 17:43 ` [PATCH v7 7/8] glibc.malloc.check: " Siddhesh Poyarekar via Libc-alpha
2021-07-08 17:43 ` [PATCH v7 8/8] Remove " Siddhesh Poyarekar via Libc-alpha

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

  List information: https://www.gnu.org/software/libc/involved.html

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

  git send-email \
    --in-reply-to=87o8bbj0ym.fsf@oldenburg.str.redhat.com \
    --to=libc-alpha@sourceware.org \
    --cc=fweimer@redhat.com \
    --cc=siddhesh@sourceware.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).