kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #22823
Re: [RFC PATCH] No more boost::context
-
To:
Simon Richter <Simon.Richter@xxxxxxxxxx>, <kicad-developers@xxxxxxxxxxxxxxxxxxx>
-
From:
Tomasz Wlostowski <tomasz.wlostowski@xxxxxxx>
-
Date:
Thu, 21 Jan 2016 20:00:36 +0100
-
Authentication-results:
spf=pass (sender IP is 188.184.36.50) smtp.mailfrom=cern.ch; lists.launchpad.net; dkim=none (message not signed) header.d=none;lists.launchpad.net; dmarc=bestguesspass action=none header.from=cern.ch;
-
In-reply-to:
<56A108AA.8060204@hogyros.de>
-
Spamdiagnosticmetadata:
NSPM
-
Spamdiagnosticoutput:
1:23
-
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1
On 21.01.2016 17:34, Simon Richter wrote:
> Hi,
>
> Am 21.01.2016 um 14:42 schrieb Tomasz Wlostowski:
>
>> I've tested the new context switching code on Linux, OSX (El
>> Capitan) & Windows (all OS 32-bit and 64-bit Intel). Supported
>> compilers are GCC and Clang.
>
> Wouldn't that kill all non-Intel platforms? IIRC there are a number
> of people running KiCad on ARM based systems, and Debian will
> certainly complain if ten architectures are dropped.
Hi,
My intentions are very far from killing any platform (maybe except the
8051 ;-)
I don't mind including the rest of boost::context code in the new
library (ARM included) if somebody tests it on these platforms. It's
just a script-driven conversion, but the compiler/ABI detection code
must be written and tested. I'll try to build it for ARM and test on a
raspi as soon as I'll find some time.
Currently Kicad supports only Intel-based platforms and the patch is
intended to make them build reliably. What happens if Boost devs
decide to change the ABI of the context library once again, like they
did between 1.55 and 1.56? Should we #ifdef all our code to support
every Boost configuration on the planet?
We can't be responsible for every single build on every single
architecture and OS.
Regards,
Tom
Follow ups
References