Hello, I'm trying to compile my kernel with Dtrace support enabled. I'm using gcc46 as the default compiler. The full command is
I have these settings in /etc/make.conf :
It looks like gcc46 fails to find something but I don't know what. Can someone help me please ?
# make buildkernel KERNCONF=cat_kernel WITH_CTF=1
. But as soon as the build process starts I get this error :
Code:
--------------------------------------------------------------
>>> stage 2.3: build tools
--------------------------------------------------------------
cd /usr/obj/usr/src/sys/cat_kernel; MAKESRCPATH=/usr/src/sys/dev/aic7xxx/aicasm make SSP_CFLAGS= -DNO_CPU_CFLAGS -DNO_CTF -f
/usr/src/sys/dev/aic7xxx/aicasm/Makefile
Warning: Object directory not changed from original /usr/obj/usr/src/sys/cat_kernel
gcc46 -O2 -pipe -nostdinc -I/usr/include -I. -I/usr/src/sys/dev/aic7xxx/aicasm -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -
Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-
align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -c
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c
gcc46: not found
*** Error code 127
I have these settings in /etc/make.conf :
Code:
# added by use.perl 2010-12-31 21:42:54
PERL_VERSION=5.10.1
.if !empty(.CURDIR:M/usr/ports/*) && exists(/usr/local/bin/gcc46)
CC=gcc46
CXX=g++46
CPP=cpp46
CFLAGS+=-msse2
.endif
It looks like gcc46 fails to find something but I don't know what. Can someone help me please ?