869a ccache calls clang, not gcc46 - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Base System > Installing & Upgrading

Installing & Upgrading Installing and upgrading FreeBSD.

Reply
 
Thread Tools Display Modes
  #1  
Old January 23rd, 2013, 18:00
Beeblebrox's Avatar
Beeblebrox Beeblebrox is offline
Member
 
Join Date: Sep 2010
Posts: 714
Thanks: 39
Thanked 79 Times in 69 Posts
Default ccache calls clang, not gcc46

I seem to be getting an onslaught of odd errors these days...

I recently switched to the slower updated lang/gcc from lang/gcc46. As you know, the only difference is that lang/gcc updates are less frequent than gcc46.

I'm also running a pure clang world using WITH_CLANG_IS_CC. But now a strange problem: When I try to build a port, clang is being used by ccache (I can tell by the output). The only way to ensure that gcc46 is used as compiler is to disable in /etc/make.conf this:
Code:
#CC:=${CC:C,^gcc46,/usr/local/libexec/ccache/world/gcc46,1}
#CXX:=${CXX:C,^g\+\+\46,/usr/local/libexec/ccache/world/g++46,1}
And enable this:
Code:
CC=gcc46
CXX=g++46
I have played around with some settings but I get no results.
__________________
branch:head - root on zfs - amd64
BLUES, ELWOOD
ILLINOIS LICENSE : B263-1655-2187
CURRENTLY UNDER SUSPENSION
WARRANTS OUTSTANDING : PARKG. 116
MOVING VIOLATIONS : 56
ARREST DRIVER ... IMPOUND VEHICLE
Reply With Quote
The Following User Says Thank You to Beeblebrox For This Useful Post:
jozze (June 7th, 2013)
Reply

Tags
ccache, clang, gcc46, wrong compiler

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[HOWTO] buildworld using clang + ccache Beeblebrox Howtos & FAQs (Moderated) 21 June 7th, 2013 21:57
intercepting system calls reoknite FreeBSD Development 3 June 25th, 2012 09:37
I hate gcc46. fender0107401 Installation and Maintenance of FreeBSD Ports or Packages 6 October 5th, 2011 01:55
(Benchmarks) To clang or not to clang falkman General 2 July 15th, 2011 08:10
regarding system calls and kernel v8.1 bronzebeard Userland Programming & Scripting 2 August 31st, 2010 00:25


All times are GMT +1. The time now is 10:15.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0