From owner-freebsd-current@FreeBSD.ORG Tue Apr 16 13:24:02 2013 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E20BFE2; Tue, 16 Apr 2013 13:24:02 +0000 (UTC) (envelope-from oliver.pntr@gmail.com) Received: from mail-ob0-x22b.google.com (mail-ob0-x22b.google.com [IPv6:2607:f8b0:4003:c01::22b]) by mx1.freebsd.org (Postfix) with ESMTP id A3DCCA65; Tue, 16 Apr 2013 13:24:02 +0000 (UTC) Received: by mail-ob0-f171.google.com with SMTP id er7so421632obc.2 for ; Tue, 16 Apr 2013 06:24:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to:cc :content-type; bh=+g1bMpfaZYg7yDy1FQz5II7n3IBOQb2II20dvVo4/Io=; b=IeOPqHCiRj4qgkmSQWelAH0MaRbi8j/X88zmigAODRQtgklyhIdppOTm2/Y5iR+RVq tVjxvMgDGh3WiXOiXLmrPLNTCv72MXbEcKnCAIM4ILqJURd6IvvGd5qqHNkQ6ZpegqeF rPZo/VmIrSUqDtw8LwRDMyYYGyyitbBJT3pSclN6Wwc0QrYGlj0vqY7PSAZeM4okyFfd 1NekW3Q9mZK6/pzKzShGN2HLO0H1qHiv+boiZwCvIXQVQR0prjDAfftHFyo68cf0C0eJ aYYb/maIu40PXI2+jotRS5W2OvvUyIpK9mpa95W6Ki5IsS7+6z6aLYGbs7Oq9Invdd5/ DVyw== MIME-Version: 1.0 X-Received: by 10.182.231.197 with SMTP id ti5mr803969obc.64.1366118642239; Tue, 16 Apr 2013 06:24:02 -0700 (PDT) Received: by 10.182.161.100 with HTTP; Tue, 16 Apr 2013 06:24:02 -0700 (PDT) Date: Tue, 16 Apr 2013 15:24:02 +0200 Message-ID: Subject: swapcontext rewrite broke some software From: Oliver Pinter To: davidxu Content-Type: text/plain; charset=ISO-8859-1 Cc: current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Apr 2013 13:24:02 -0000 Hi! After this commit: commit ac0cfc7fcb1b51ee6aeacfd676fa6dfbe11eefb5 Author: davidxu 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