Bug 224256

Summary: graphics/graphene: Does not build for ARMv6
Product: Ports & Packages Reporter: Marcel Bischoff <marcel>
Component: Individual Port(s)Assignee: freebsd-gnome (Nobody) <gnome>
Status: New ---    
Severity: Affects Only Me CC: freebsd-arm, mikael
Priority: --- Flags: bugzilla: maintainer-feedback? (gnome)
Version: Latest   
Hardware: arm   
OS: Any   
Attachments:
Description Flags
Poudriere build log none

Description Marcel Bischoff 2017-12-11 21:39:35 UTC
Created attachment 188732 [details]
Poudriere build log

Cross-building in Poudriere on a 11.1 machine. Please see the attached log file.

This issue prevents XFCE, Thunar and many related utilities to build at all.
Comment 2 Marcel Bischoff 2017-12-12 12:14:35 UTC
So what you're suggesting is adding

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

to make.conf and it should work?
Comment 3 Mikael Urankar freebsd_committer 2017-12-12 12:28:20 UTC
(In reply to marcel from comment #2)
yes
Comment 4 Marcel Bischoff 2017-12-12 12:32:34 UTC
(In reply to mikael.urankar from comment #3)

I will give this a try and update the status here.
Comment 5 Marcel Bischoff 2017-12-12 13:56:24 UTC
This did indeed work, thank you.

I'm leaving this issue open however since this is a non-obvious setting that is not documented anywhere. Ports should build on all supported platforms if at all possible. As this is possible, these settings should be merged into the build instructions for armv6 architectures.