Re: Nanopolish: gcc-7 issue solved, but immintrin.h missing on most architectures (original) (raw)
- To: Andreas Tille <andreas@an3as.eu>, 853568@bugs.debian.org, Debian Mentors List <debian-mentors@lists.debian.org>
- Subject: Re: Nanopolish: gcc-7 issue solved, but immintrin.h missing on most architectures
- From: Christian Seiler <christian@iwakd.de>
- Date: Mon, 18 Sep 2017 18:26:45 +0200
- Message-id: <[🔎] 2d63da68-a92c-192a-f0df-c8bad186e83a@iwakd.de>
- In-reply-to: <[🔎] 20170918115419.k2ez4pp4iumg6ndj@an3as.eu>
- References: <[🔎] 20170918115419.k2ez4pp4iumg6ndj@an3as.eu>
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:
- References:
- Prev by Date:Re: Nanopolish: gcc-7 issue solved, but immintrin.h missing on most architectures
- Next by Date:Bug#875764: marked as done (RFS: pybind11/2.2.1-1 [experimental])
- Previous by thread:Re: Nanopolish: gcc-7 issue solved, but immintrin.h missing on most architectures
- Next by thread:Bug#869926: marked as done (RFS: oprofile/1.2.0-1 [ITP])
- Index(es):