869a
![]() |
|
|
|
|
|||||||
| Installing & Upgrading Installing and upgrading FreeBSD. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
||||
|
||||
|
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}
Code:
CC=gcc46 CXX=g++46
__________________
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 |
| The Following User Says Thank You to Beeblebrox For This Useful Post: | ||
jozze (June 7th, 2013) | ||
![]() |
| Tags |
| ccache, clang, gcc46, wrong compiler |
| Thread Tools | |
| Display Modes | |
|
|
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 |