You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix bus error in bcftools merge on armhf (32-bit hard-float)
While 32-bit ARM mostly allows unaligned access, under certain
conditions it can produce a bus error on unaligned access to
a float. To prevent this from happening in bcftools merge,
update code that accesses data via bcf_info_t::vptr and
bcf_fmt_t::p to use uint8_t pointers and the le_to_i* macros
in htslib/hts_endian.h. As a side-effect, this also makes bcftools
merge work on big-endian platforms should anyone attempt to run
it on one.
Fixes#2036 (test_vcf_merge failures on arm 32-bit with FPU: Bus
error).
0 commit comments