Re: Nanopolish: gcc-7 issue solved, but immintrin.h missing on most architectures (original) (raw)




Hi Andreas,

On 09/18/2017 01:54 PM, Andreas Tille wrote:

Strangely enough on i386 the build fails with

/usr/bin/ld: cannot find -lhdf5

which I do not understand as well ...

You add the following to the linker flags:

-L/usr/lib/$(shell dpkg-architecture -qDEB_TARGET_GNU_TYPE)/hdf5/serial

This is wrong on i386: DEB_TARGET_GNU_TYPE expands to i686-linux-gnu, while Debian uses i386-linux-gnu. Also, DEB_TARGET_* is definitely wrong unless you are building a cross-compiler. What you want here is DEB_HOST_MULTIARCH - that will be correct even if you are using a cross compiler.

Also, if the package requires intrinsics, you should depend on sse-support on i386 (but not on amd64, where SSE1 is always part of the base ISA).

Regards, Christian


Reply to: