[Bug 220590] math/fftw3: fails to build on armv6 (729 ports skipped)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jul 10 05:47:00 UTC 2017


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

--- Comment #3 from Jan Beich <jbeich at FreeBSD.org> ---
Here's a test case:

$ cat a.c
#include <stdio.h>
#include <math.h>

int main(int argc, char *argv[])
{
  printf("%Lf\n", cosl(5));
  printf("%Lf\n", sinl(5));
  return 0;
}

$ cc a.c -lm -O1 -funsafe-math-optimizations
/tmp/a-718f07.o: In function `main':
a.c:(.text+0x18): undefined reference to `sincos'
cc: error: linker command failed with exit code 1 (use -v to see invocation)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-toolchain mailing list