Bug 224256 - graphics/graphene: Does not build for ARMv6
Summary: graphics/graphene: Does not build for ARMv6
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: arm Any
: --- Affects Only Me
Assignee: freebsd-gnome mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-11 21:39 UTC by marcel
Modified: 2017-12-12 13:56 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (gnome)


Attachments
Poudriere build log (44.98 KB, text/plain)
2017-12-11 21:39 UTC, marcel
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description marcel 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 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 2017-12-12 12:28:20 UTC
(In reply to marcel from comment #2)
yes
Comment 4 marcel 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 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.