Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Apr 2013 15:24:02 +0200
From:      Oliver Pinter <oliver.pntr@gmail.com>
To:        davidxu <davidxu@FreeBSD.org>
Cc:        current <current@freebsd.org>
Subject:   swapcontext rewrite broke some software
Message-ID:  <CAPjTQNFOkxK=Qj%2BCrpTk1Xg9AmRs_oUXEMmPqWZA=iHKvqY7zg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi!

After this commit:

commit ac0cfc7fcb1b51ee6aeacfd676fa6dfbe11eefb5
Author: davidxu <davidxu@FreeBSD.org>
Date:   Wed Apr 10 02:40:03 2013 +0000

    swapcontext wrapper can not be implemented in C, the stack pointer saved in
    the context becomes invalid when the function returns, same as setjmp,
    it must be implemented in assemble language, see discussions in PR
    misc/177624.

Some* software not found the swapcontext functions after this commit.
Please add a sentence to UPDATING file and/or bump the
__FreeBSD_version to reflect this change.


* qemu



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPjTQNFOkxK=Qj%2BCrpTk1Xg9AmRs_oUXEMmPqWZA=iHKvqY7zg>