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

/src/tools/gcc.{jam,py} tries to use -mcpu=c3 for SPARC #72

Closed
tnn2 opened this issue Apr 25, 2015 · 3 comments
Closed

/src/tools/gcc.{jam,py} tries to use -mcpu=c3 for SPARC #72

tnn2 opened this issue Apr 25, 2015 · 3 comments

Comments

@tnn2
Copy link

tnn2 commented Apr 25, 2015

... but -mcpu=c3 is for VIA C3 X86 CPUs. That is broken. The default for SPARC should probably be -mcpu=v7.

@vprus
Copy link
Collaborator

vprus commented Apr 26, 2015

Is 'C3' a valid CPU name for Sparc really, or totally bogus? In other words, do you suggest to remove the line that say:

cpu-flags gcc OPTIONS : sparc : c3 : -mcpu=c3 : default ;

and make the following one:

cpu-flags gcc OPTIONS : sparc : v7 : -mcpu=v7 ;

into the default one?

@tnn2
Copy link
Author

tnn2 commented Apr 27, 2015

c3 is not valid for sparc, no. I've tested moving the default to v7 and it works fine on at least a NetBSD/sparc64 system. The c3 line should be removed.

@vprus
Copy link
Collaborator

vprus commented Apr 27, 2015

Thanks, I've fixed this in ec60c37.

@vprus vprus closed this as completed Apr 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants