Re: Fwd: Any way to apply patch on some archs only?
Excerpts from olivier sallou's message of 2015-01-29 06:20:46 -0800:
> Forgot to CC the list
> ---------- Forwarded message ---------
> From: olivier sallou <firstname.lastname@example.org>
> Date: jeu. 29 janv. 2015 15:20
> Subject: Re: Any way to apply patch on some archs only?
> To: Ian Jackson <email@example.com>
> Sorry for quoting, sent from my phone...
> Yes this is this bug. Upstream will add conditions in code (ifdef...). This
> is fine because it is C, but for some other languages it may be more
> complex to test this.
I'd like to test this assertion as I don't know that many languages that
allow architecture dependent operations other than C/C++ and assembly
which is inherently arch specific.
If a language allows architecture dependent operations, it will give one
the ability to detect the architecture and diverge behavior for the sake
of correctness on all platforms. If it does not offer this ability, it
will likely suffer on all but the most popular architectures and thus
will eventually grow this ability.