Bug 231796 - USES=compiler:c++0x doesn't select a c++03 capable compiler on the mips architecture
Summary: USES=compiler:c++0x doesn't select a c++03 capable compiler on the mips archi...
Status: Closed Works As Intended
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Port Management Team
URL:
Keywords:
Depends on:
Blocks: 231781
  Show dependency treegraph
 
Reported: 2018-09-29 06:05 UTC by Yuri Victorovich
Modified: 2018-09-30 03:05 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer freebsd_triage 2018-09-29 06:05:39 UTC
Testcase: audio/rhvoice

It uses -std=c++03, but adding USES=compiler:c++0x doesn't select the right compiler on the mips architecture.

I can't test this myself, information is based on bug#231781.
Comment 1 Antoine Brodin freebsd_committer freebsd_triage 2018-09-29 06:16:19 UTC
It selects gcc7 which currently doesn't work on mips.
Comment 2 Nathan 2018-09-30 02:54:36 UTC
(In reply to Yuri Victorovich from comment #0)

Which is why I said reporter's patch should be used, his didn't break mips and he reported that it fixed powerpc based archs
Comment 3 Yuri Victorovich freebsd_committer freebsd_triage 2018-09-30 03:05:16 UTC
(In reply to Nathan from comment #2)

I don't feel comfortable removing -std=xx that the project sets. USES=compiler is supposed to take care of this. In this case USES=compiler doesn't select a proper compiler, but this bug is set to "Works as Intended" for some reason.