Bug 224256 - graphics/graphene: Does not build for ARMv6
Summary: graphics/graphene: Does not build for ARMv6
Status: Closed Overcome By Events
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 (Nobody)
Depends on:
Reported: 2017-12-11 21:39 UTC by Marcel Bischoff
Modified: 2020-12-19 14:35 UTC (History)
3 users (show)

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

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

Note You need to log in before you can comment on or make changes to this bug.
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)
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.
Comment 6 Tobias C. Berner freebsd_committer 2020-12-19 14:35:31 UTC
Moin moin 

Please re-open if this is still an issue.

mfg Tobias