[Bug 220591] graphics/graphviz: fails to build on armv6 (451 ports skipped)

2017-07-10 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220591

--- Comment #1 from Dirk Meyer  ---
Created attachment 184219
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=184219&action=edit
patch-lib-common-shapes.c

patch for sincos

-- 
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"


[Bug 220591] graphics/graphviz: fails to build on armv6 (451 ports skipped)

2017-07-10 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220591

Dirk Meyer  changed:

   What|Removed |Added

 Status|New |In Progress

--- Comment #2 from Dirk Meyer  ---
Please try the attached patch

-- 
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"


[Bug 220591] graphics/graphviz: fails to build on armv6 (451 ports skipped)

2017-07-10 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220591

--- Comment #3 from Jan Beich  ---
Comment on attachment 184219
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=184219
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 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"


[Bug 220591] graphics/graphviz: fails to build on armv6 (451 ports skipped)

2017-07-10 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220591

mikael.uran...@gmail.com changed:

   What|Removed |Added

 CC||mikael.uran...@gmail.com

--- Comment #4 from mikael.uran...@gmail.com ---
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

-- 
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"


[Bug 220591] graphics/graphviz: fails to build on armv6 (451 ports skipped)

2017-07-10 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220591

--- Comment #5 from mikael.uran...@gmail.com ---
We build package for 11.0 on armv6 now?

-- 
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"


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

2017-07-10 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220590

mikael.uran...@gmail.com changed:

   What|Removed |Added

 CC||mikael.uran...@gmail.com

--- Comment #4 from mikael.uran...@gmail.com ---
(In reply to Jan Beich from comment #1)
Are you sure 12 is affected?

-- 
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"


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

2017-07-10 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220590

--- Comment #5 from Jan Beich  ---
(In reply to mikael.urankar from comment #4)
> Are you sure 12 is affected?

Ah, you're right! When writing comment 1 I've only checked whether sincos is
emitted but not if libm contains it. comment 3 example builds fine on 12.0 with
clang 4.0 and clang 5.0.

-- 
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"