Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Apr 2017 23:18:19 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Jonathan Chen <jonc@chen.org.nz>
Cc:        jhale@freebsd.org, freebsd-ports@freebsd.org
Subject:   Re: Building math/fftw3 on armv6
Message-ID:  <5D7C45AF-6ED8-423E-9740-30FF0C71C4EB@FreeBSD.org>
In-Reply-To: <CAJuc1zONKwFabPFqfu1mqqtZ8ESun%2B8djqkaqFD7tjEE8SYEow@mail.gmail.com>
References:  <CAJuc1zONKwFabPFqfu1mqqtZ8ESun%2B8djqkaqFD7tjEE8SYEow@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_C26F7DD7-E814-4536-8272-E8547991FCB2
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

On 8 Apr 2017, at 23:09, Jonathan Chen <jonc@chen.org.nz> wrote:
>=20
> I'm attempting to build math/fftw3 on 11-STABLE/armv6, r315896. I'm
> getting a build failure towards the end when building its internal
> tests.
>=20
> [...]
> Making all in tests
> gmake[3]: Entering directory
> '/tmp/usr/ports/math/fftw3/work/fftw-3.3.6-pl2/tests'
> cc -DHAVE_CONFIG_H -I. -I..  -I../kernel -I../libbench2 -I../dft
> -I../rdft -I../reodft -I../threads -I../api   -D_THREAD_SAFE -pthread
> -O -pipe  -O3 -ffast-math -fstrict-aliasing -fomit-frame-pointer -MT
> bench-bench.o -MD -MP -MF .deps/bench-bench.Tpo -c -o bench-bench.o
> `test -f 'bench.c' || echo './'`bench.c
> cc -DHAVE_CONFIG_H -I. -I..  -I../kernel -I../libbench2 -I../dft
> -I../rdft -I../reodft -I../threads -I../api   -D_THREAD_SAFE -pthread
> -O -pipe  -O3 -ffast-math -fstrict-aliasing -fomit-frame-pointer -MT
> bench-hook.o -MD -MP -MF .deps/bench-hook.Tpo -c -o bench-hook.o `test
> -f 'hook.c' || echo './'`hook.c
> cc -DHAVE_CONFIG_H -I. -I..  -I../kernel -I../libbench2 -I../dft
> -I../rdft -I../reodft -I../threads -I../api   -D_THREAD_SAFE -pthread
> -O -pipe  -O3 -ffast-math -fstrict-aliasing -fomit-frame-pointer -MT
> bench-fftw-bench.o -MD -MP -MF .deps/bench-fftw-bench.Tpo -c -o
> bench-fftw-bench.o `test -f 'fftw-bench.c' || echo './'`fftw-bench.c
> mv -f .deps/bench-fftw-bench.Tpo .deps/bench-fftw-bench.Po
> mv -f .deps/bench-hook.Tpo .deps/bench-hook.Po
> mv -f .deps/bench-bench.Tpo .deps/bench-bench.Po
> /bin/sh ../libtool  --tag=3DCC   --mode=3Dlink cc -D_THREAD_SAFE =
-pthread
> -O -pipe  -O3 -ffast-math -fstrict-aliasing -fomit-frame-pointer   -o
> bench bench-bench.o bench-hook.o bench-fftw-bench.o
> ../threads/libfftw3_threads.la ../libfftw3.la ../libbench2/libbench2.a
> -lm
> libtool: link: cc -D_THREAD_SAFE -pthread -O -pipe -O3 -ffast-math
> -fstrict-aliasing -fomit-frame-pointer -o .libs/bench bench-bench.o
> bench-hook.o bench-fftw-bench.o  ../threads/.libs/libfftw3_threads.so
> ../.libs/libfftw3.so ../libbench2/libbench2.a -lm -pthread -Wl,-rpath
> -Wl,/usr/local/lib
> ../libbench2/libbench2.a(verify-lib.o): In function `aphase_shift':
> verify-lib.c:(.text+0x578): undefined reference to `sincos'
> ../libbench2/libbench2.a(verify-lib.o): In function `tf_shift':
> verify-lib.c:(.text+0x1380): undefined reference to `sincos'
> verify-lib.c:(.text+0x1574): undefined reference to `sincos'
> verify-lib.c:(.text+0x1834): undefined reference to `sincos'
> cc: error: linker command failed with exit code 1 (use -v to see =
invocation)
> gmake[3]: *** [Makefile:400: bench] Error 1
> gmake[3]: Leaving directory
> '/tmp/usr/ports/math/fftw3/work/fftw-3.3.6-pl2/tests'
> gmake[2]: *** [Makefile:684: all-recursive] Error 1
> gmake[2]: Leaving directory =
'/tmp/usr/ports/math/fftw3/work/fftw-3.3.6-pl2'
> gmake[1]: *** [Makefile:549: all] Error 2
> gmake[1]: Leaving directory =
'/tmp/usr/ports/math/fftw3/work/fftw-3.3.6-pl2'
>=20
> The build *does* succeed for 11-STABLE/amd64, r315896. It appears to
> be an armv6 specific issue?

See https://bugs.freebsd.org/215977 for the full story.

-Dimitry



--Apple-Mail=_C26F7DD7-E814-4536-8272-E8547991FCB2
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.30

iEYEARECAAYFAljpU6MACgkQsF6jCi4glqO86wCg3xSvlerlwpSDokatUW0gAimr
fmUAoNaRpHiLdWq+k0AouwgcQbu+az2c
=f70N
-----END PGP SIGNATURE-----

--Apple-Mail=_C26F7DD7-E814-4536-8272-E8547991FCB2--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5D7C45AF-6ED8-423E-9740-30FF0C71C4EB>