To be compatible with Linux.
PR: 238404
Paths
| Differential D25117 Authored by kib on Jun 3 2020, 3:51 PM.
Details Summary To be compatible with Linux. PR: 238404
Diff Detail
Event TimelineHerald added a subscriber: imp. · View Herald TranscriptJun 3 2020, 3:51 PM2020-06-03 15:51:06 (UTC+0) Harbormaster completed remote builds in B31461: Diff 72616.Jun 3 2020, 3:51 PM2020-06-03 15:51:07 (UTC+0) Comment Actions Thanks, I started doing this too but you are faster.
kib added inline comments.
Harbormaster completed remote builds in B31466: Diff 72625.Jun 3 2020, 4:59 PM2020-06-03 16:59:45 (UTC+0) This revision is now accepted and ready to land.Jun 3 2020, 5:11 PM2020-06-03 17:11:50 (UTC+0) Closed by commit rS361770: Add pthread_getname_np() and pthread_setname_np() aliases (authored by kib). · Explain WhyJun 3 2020, 8:54 PM2020-06-03 20:54:50 (UTC+0) This revision was automatically updated to reflect the committed changes. Comment Actions Make functions more compatible with Linux: Harbormaster completed remote builds in B31480: Diff 72659.Jun 4 2020, 11:56 AM2020-06-04 11:56:21 (UTC+0)
kib marked 4 inline comments as done. Comment ActionsFix exports aliases. Harbormaster completed remote builds in B31486: Diff 72669.Jun 4 2020, 5:22 PM2020-06-04 17:22:14 (UTC+0) This revision is now accepted and ready to land.Jun 4 2020, 7:53 PM2020-06-04 19:53:44 (UTC+0) Comment Actions Some Haskell ports are now failing with
Full log here: http://beefy18.nyi.freebsd.org/data/head-amd64-default/p538068_s361855/logs/hs-threadscope-0.2.12.log Don't tell me this is another breaking change that would require us to have another flavor of bootstrap compiler. Comment Actions
I do not know what exactly happens there, but the message itself means that the binary was built against newer libthr that exports the symbol, but then you tried to activate the binary with libthr that is older and does not export the symbol. We do support backward compatibility, where you can run binary against newer library than it was built against, but not older (that would be forward compatibility, unfortunately we still cannot see the future). Closed by commit rS362032: Add pthread_getname_np() and pthread_setname_np() aliases for (authored by kib). · Explain WhyJun 10 2020, 10:13 PM2020-06-10 22:13:46 (UTC+0) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 72669 include/pthread.h
lib/libc/include/namespace.h
lib/libc/include/un-namespace.h
lib/libthr/pthread.map
|