https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220590

            Bug ID: 220590
           Summary: math/fftw3: fails to build on armv6 (729 ports
                    skipped)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: needs-patch, regression
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: jh...@freebsd.org
          Reporter: jbe...@freebsd.org
                CC: freebsd-toolchain@FreeBSD.org
          Assignee: jh...@freebsd.org
             Flags: maintainer-feedback?(jh...@freebsd.org)

3.3.5 built fine but 3.3.6 (both pl1 and pl2) don't. Both arm* and mips* have
LDBL_PREC=53 but 3.3.6 builds fine on mips*, so the issue is Clang-related. It
seems -O1 (or higher) combined with -ffast-math makes it emit references to
sincos() rather than sin() + cos().

../libbench2/libbench2.a(verify-lib.o): In function `aphase_shift':
verify-lib.c:(.text+0x580): undefined reference to `sincos'
../libbench2/libbench2.a(verify-lib.o): In function `tf_shift':
verify-lib.c:(.text+0x1440): undefined reference to `sincos'
verify-lib.c:(.text+0x1794): undefined reference to `sincos'
cc: error: linker command failed with exit code 1 (use -v to see invocation)

https://lists.freebsd.org/pipermail/freebsd-pkg-fallout/Week-of-Mon-20170703/498191.html
# fftw3
https://lists.freebsd.org/pipermail/freebsd-pkg-fallout/Week-of-Mon-20170703/498192.html
# fftw3-float
https://lists.freebsd.org/pipermail/freebsd-pkg-fallout/Week-of-Mon-20170703/498863.html
# fftw3-long

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"

Reply via email to