Date: Sat, 19 Dec 2020 14:42:34 -0300 From: Érico Nogueira <ericonr@...root.org> To: <musl@...ts.openwall.com> Subject: Re: 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 ‘std::string > mbgl::platform::getCurrentThreadName()’: > platform/default/thread.cpp:14:5: error: ‘pthread_getname_np’ was > not > declared in this scope; did you mean ‘pthread_setname_np’? > 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   https://github.com/void-linux/void-packages/blob/e64dd67f43c409d2b2db08214084e842d92ad620/srcpkgs/qt5/patches/0014-musl-set_thread_name_np.patch Implementing it in musl shouldn't be terribly hard either, I think. > > Thanks, > > Johannes
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.