Bug 207311 - lang/gcc6-aux: Assembler build fails with no such instruction
Summary: lang/gcc6-aux: Assembler build fails with no such instruction
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: John Marino
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-18 19:12 UTC by Lacey Powers
Modified: 2016-02-19 09:13 UTC (History)
0 users

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


Attachments
gcc6-aux build log (153.81 KB, text/x-log)
2016-02-18 19:13 UTC, Lacey Powers
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lacey Powers 2016-02-18 19:12:00 UTC

    
Comment 1 Lacey Powers 2016-02-18 19:13:02 UTC
Created attachment 167154 [details]
gcc6-aux build log
Comment 2 Lacey Powers 2016-02-18 19:15:23 UTC
OS: 10.2-RELEASE-p9
HW: Intel(R) Xeon(R) CPU E5-1650 v2 @ 3.50GHz

make.conf:

CPUTYPE?=native
DEFAULT_VERSIONS=  perl5=5.22 ruby=2.2 pgsql=9.4

If there is additional information needed, please let me know.
Comment 3 commit-hook freebsd_committer freebsd_triage 2016-02-18 22:12:02 UTC
A commit references this bug:

Author: marino
Date: Thu Feb 18 22:11:27 UTC 2016
New revision: 409135
URL: https://svnweb.freebsd.org/changeset/ports/409135

Log:
  lang/gcc6-aux: re-enable the -march filter

  It did not take long for gcc6-aux to fail again when CPUTYPE is
  set (this time to native).  Just block this settings by filtering
  out -march CFLAGS again to solve the issue permanently.

  PR:	207311

Changes:
  head/lang/gcc6-aux/Makefile.common
Comment 4 Lacey Powers 2016-02-19 01:55:29 UTC
This fixes the build issue for me. Thank you. Very much appreciated. =)
Comment 5 John Marino freebsd_committer freebsd_triage 2016-02-19 09:13:49 UTC
No problem, thanks for the report.
I was hoping CPUTYPE would work in any case, but it's just too unreliable to honor it apparently.