mailing list of musl libc
 help / color / mirror / code / Atom feed
* setcontext/getcontext/makecontext missing?
@ 2016-02-04 14:09 Short, Todd
  2016-02-04 14:54 ` Szabolcs Nagy
  0 siblings, 1 reply; 10+ messages in thread
From: Short, Todd @ 2016-02-04 14:09 UTC (permalink / raw)
  To: musl

[-- Attachment #1: Type: text/plain, Size: 875 bytes --]

Hi,

It appears that setcontext/getcontext/makecontext are declared in ./include/ucontext.h, but there’s no definitions for them in musl. These three functions are part of libc/glibc.so:

GLIBC_2.0 setcontext
GLIBC_2.1 getcontext
GLIBC_2.1 makecontext

Since the functions are declared, is there any intent to put them into musl?

I ran into this when attempting to compile OpenSSL with musl. In the OpenSSL master branch, I’m able to do:

CC=musl-gcc ./config
make depend
make

However, ld fails because there is an undefined reference to setcontext, getcontext and makecontext. This is new async functionality in OpenSSL that uses these APIS.

This is as of musl:master:47314f1 and openssl:master:4c35c93


Thanks,

--
-Todd Short
// tshort@akamai.com<mailto:tshort@akamai.com>
// "One if by land, two if by sea, three if by the Internet."


[-- Attachment #2: Type: text/html, Size: 2541 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-02-07 10:05 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-04 14:09 setcontext/getcontext/makecontext missing? Short, Todd
2016-02-04 14:54 ` Szabolcs Nagy
2016-02-04 15:41   ` Rich Felker
2016-02-04 16:22     ` u-uy74
2016-02-04 17:01       ` Szabolcs Nagy
2016-02-05  9:21         ` u-uy74
2016-02-04 19:24       ` Rich Felker
2016-02-05  9:58         ` u-uy74
2016-02-07  5:20           ` Justin Cormack
2016-02-07 10:05             ` u-uy74

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

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 NNTP newsgroup(s).