Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/dist: make clang the default CC on FreeBSD #11380

Closed
ebfe opened this issue Jun 24, 2015 · 4 comments
Closed

cmd/dist: make clang the default CC on FreeBSD #11380

ebfe opened this issue Jun 24, 2015 · 4 comments

Comments

@ebfe
Copy link
Contributor

ebfe commented Jun 24, 2015

Since FreeBSD 10 gcc is no longer part of the base system. Running ./all.bash
without explicitly set CC fails due to gcc missing (unless gcc is installed
from ports and a symlink is made). As most of the freebsd builders seem to use
CC=clang it might as well be the default.

@bradfitz bradfitz added this to the Go1.5Maybe milestone Jun 24, 2015
@bradfitz
Copy link
Contributor

Yeah, we could probably (at least on FreeBSD and other BSDs) fall back to CC=clang if CC isn't set and gcc isn't in $PATH.

/cc @ianlancetaylor too

@mikioh mikioh changed the title Make clang the default CC on FreeBSD proposal: Make clang the default CC on FreeBSD Jun 24, 2015
@rsc
Copy link
Contributor

rsc commented Jun 29, 2015

This would fix #9108 too.

@rsc
Copy link
Contributor

rsc commented Jul 2, 2015

Too late for Go 1.5 though.

@rsc rsc modified the milestones: Go1.6Early, Go1.5Maybe Jul 2, 2015
@rsc rsc changed the title proposal: Make clang the default CC on FreeBSD cmd/dist: make clang the default CC on FreeBSD Jul 15, 2015
@rsc rsc added the Proposal label Jul 15, 2015
@mikioh mikioh removed the Proposal label Aug 29, 2015
@gopherbot
Copy link

CL https://golang.org/cl/16635 mentions this issue.

@rsc rsc closed this as completed in d8dd9c7 Nov 14, 2015
@golang golang locked and limited conversation to collaborators Nov 16, 2016
@rsc rsc unassigned adg Jun 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants