Mailinglist Archive: opensuse-buildservice (177 mails)

< Previous Next >
Re: [opensuse-buildservice] Possibility to pick OBS workers with specific hardware requirements

On Monday 2016-12-12 15:23, Brüns, Stefan wrote:
and fall back to a portable implementation otherwise. Crashing is not an
option.

yes, or build it multiple times and place it into the right subdirectories
of %_libdir, so the runtime linker can decide to pick the right one.

Two problems (according to ld.so man page):
- only defined for up to sse2, not (S)SSE3, AVX, ...

Because the number of combinations explodes quickly, so this is
infeasible. The two modern methods are
1. GNU indirect functions (ifunc) -
http://willnewton.name/uncategorized/using-gnu-indirect-functions/
2. function MV - https://gcc.gnu.org/wiki/FunctionMultiVersioning

They require more source edits than just compile-and-ship-in-different-dirs,
yeah :-/
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >