Bug 209171 - devel/qt5-qmake adds unwarranted -msse4.2 to CXXFLAGS
Summary: devel/qt5-qmake adds unwarranted -msse4.2 to CXXFLAGS
Status: Closed Not Enough Information
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-kde (group)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-30 20:09 UTC by Mikhail Teterin
Modified: 2018-01-04 18:55 UTC (History)
1 user (show)

See Also:
tcberner: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail Teterin freebsd_committer freebsd_triage 2016-04-30 20:09:27 UTC
My CPUs do not SSE4, but Makefile generated by qt5-qmake have -msse4.2 prepended to CXXFLAGS anyway. The CFLAGS are Ok, but CXXFLAGS are overly aggressive, which causes some programs to die from SIGILL.

I'm not sure, what causes the flag to be added by mistake -- my regular CFLAGS (and CXXFLAGS) say:

   -O2 -pipe -march=core2  -fstack-protector -fno-strict-aliasing
Comment 1 Tobias C. Berner freebsd_committer freebsd_triage 2016-09-28 21:09:14 UTC
Is this still relevant? And do you 'tweak' using make.conf (e.g. set CPUTYPE or other optimization relevant variables)?
Comment 2 Raphael Kubo da Costa freebsd_committer freebsd_triage 2018-01-04 18:55:01 UTC
Timeout, closing.