Summary: | graphics/graphviz: fails to build on armv6 (451 ports skipped) | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Jan Beich <jbeich> | ||||
Component: | Individual Port(s) | Assignee: | Dirk Meyer <dinoex> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | linimon, mikael, toolchain | ||||
Priority: | --- | Keywords: | needs-patch | ||||
Version: | Latest | Flags: | dinoex:
maintainer-feedback+
|
||||
Hardware: | Any | ||||||
OS: | Any | ||||||
See Also: |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220590 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221182 |
||||||
Attachments: |
|
Description
Jan Beich
2017-07-10 06:12:00 UTC
Created attachment 184219 [details]
patch-lib-common-shapes.c
patch for sincos
Please try the attached patch Comment on attachment 184219 [details] patch-lib-common-shapes.c Doesn't help: $ make checking for sincos... no [...] ../../lib/gvc/.libs/libgvc.so: undefined reference to `sincos' cc: error: linker command failed with exit code 1 (use -v to see invocation) [...] ../../plugin/neato_layout/.libs/libgvplugin_neato_layout.so: undefined reference to `sincos' cc: error: linker command failed with exit code 1 (use -v to see invocation) I've also tried adding # Bug 220590: -ffast-math is broken without sincos in libm CFLAGS_armv6= -fno-unsafe-math-optimizations but it doesn't help due to the order of CFLAGS on command line. You can add CFLAGS+= -fno-builtin-sincos -fno-builtin-sin -fno-builtin-cos -fno-builtin-sincosf -fno-builtin-sinf -fno-builtin-cosf -fno-builtin-sincosl -fno-builtin-sinl -fno-builtin-cosl or ask mmel@ to mfc base r319047 We build package for 11.0 on armv6 now? A commit references this bug: Author: dinoex Date: Tue Jul 11 08:28:44 UTC 2017 New revision: 445473 URL: https://svnweb.freebsd.org/changeset/ports/445473 Log: - fix build on armv6 PR: 220591 Submitted by: Mikael Urankar Changes: head/graphics/graphviz/Makefile The CFLAGS must be set globally (in make.conf), a lot of multimedia and graphics ports are affected by this issue (on 11.0 and 11.1 at least), 12-CURRENT is not affected. I don't think it's a good idea to pollute every ports with this cflags. |