[Buildroot] [PATCH v2] package/collectd: Specify FP layout based on endianness

Peter Korsgaard peter at korsgaard.com
Sun Nov 26 21:26:07 UTC 2017


>>>>> "Andrey" == Andrey Smirnov <andrew.smirnov at gmail.com> writes:

 > Big-endian CPUs store floating point as big endian (at lest majority
 > of them do), so, in order for 'network' plugin to work correctly (and
 > potentially any user of htond() in collectd's codebase),
 > --with-fp-layout=endianflip as opposed to --with-fp-layout=nothing
 > needs to be specified during configuration phase.

 > Cc: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
 > Cc: Arnout Vandecappelle <arnout at mind.be>
 > Cc: Gustavo Zacarias <gustavo at zacarias.com.ar>
 > Signed-off-by: Andrey Smirnov <andrew.smirnov at gmail.com>
 > ---

 > Changes in [v2]:

 >  - Patch converted to use target's endianness as opposed to CPU
 >    architecture
 
 >  - Added a notes about the discussion around "intswap"

 > [v2] http://lists.busybox.net/pipermail/buildroot/2017-October/205773.html

Committed to 2017.02.x and 2017.08.x, thanks.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list