From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 3456 invoked from network); 19 Dec 2020 17:45:06 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 19 Dec 2020 17:45:06 -0000 Received: (qmail 11420 invoked by uid 550); 19 Dec 2020 17:45:00 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 11397 invoked from network); 19 Dec 2020 17:44:59 -0000 X-Virus-Scanned: Debian amavisd-new at disroot.org Mime-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1608399886; bh=KabRHL4GzUmG3liFn5yOjXx/fBvaPPmLTP81MbnPq44=; h=Subject:From:To:Date:In-Reply-To; b=ABL7JCXzaxdB5XDZA0apJ61a92WRlM2ZT+SGQ2JxKhVnh+DI/mJ55WLeGjU5lC436 5xA9q4qp0GuwfVGdCVjI97gKlaXReLLqnffVw4aSkD7WTnBT9tizT0v8zVgjPVj43M hMAavssmxWBpg/cIa62Pg/XfZjXBO+hXlFa/UuQoDwuO7G2Kswf+LOJfdpZIIQK72i nxnO7CXLLq29+izkSRsir11kldwmhMysQZfq5e9D4gYRorOXHzg+pN7z5WOagC/K+N z35VOt1lnJR67c9zmedilcPxlGmBtTdeFJKMwPNvPkH5djs0IEw8aiHiYGHyXf9TOx Sg8aNQXRMKILA== Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 From: =?utf-8?q?=C3=89rico_Nogueira?= To: Date: Sat, 19 Dec 2020 14:42:34 -0300 Message-Id: In-Reply-To: <741a27c05e04c27e2796abbe33fc22e5@schoepfer.info> Subject: Re: [musl] pthread_getname_np implementation On Sat Dec 19, 2020 at 4:23 AM -03, wrote: > Hi all, > > i'm new to this list. > > I'm trying to compile qt5-5.15.2 with gcc10.2 and musl-1.2.1, and after > some hours compiling i get: > > platform/default/thread.cpp: In function =E2=80=98std::string > mbgl::platform::getCurrentThreadName()=E2=80=99: > platform/default/thread.cpp:14:5: error: =E2=80=98pthread_getname_np=E2= =80=99 was > not > declared in this scope; did you mean =E2=80=98pthread_setname_np=E2=80=99= ? > 14 | pthread_getname_np(pthread_self(), name, sizeof(name)); > | ^~~~~~~~~~~~~~~~~~ > | pthread_setname_np > > I found this thread about musl/pthread_getname_np > https://www.openwall.com/lists/musl/2019/07/09/2 , > which says > "Based on the previous discussion of this and others' comments, I think > adding it[pthread_getname_np] is probably the right thing to do. I'll > look at it after > rolling the release. Ping the list again if I don't get around to it > soon." > So here is the ping :-) > > If there's another way around to get qt5 to compile, that's of course > also ok for me. You can patch it out [1] [1] https://github.com/void-linux/void-packages/blob/e64dd67f43c409d2b2db08= 214084e842d92ad620/srcpkgs/qt5/patches/0014-musl-set_thread_name_np.patch Implementing it in musl shouldn't be terribly hard either, I think. > > Thanks, > > Johannes