Date: Sun, 27 Jan 2002 15:13:25 +0100 From: Wilko Bulte <wkb@freebie.xs4all.nl> To: freebsd-alpha@freebsd.org Subject: profile Alpha kernel no-go? Message-ID: <20020127151325.A25384@freebie.xs4all.nl>
next in thread | raw e-mail | index | archive | help
Hi Triggered by a remark from Murray that building the Alpha world takes so much longer than the x86 one I just tried if I can build a profiled kernel on the Alpha. It appears that is not possible: ds10#cd - /sys/compile/DS10 ds10#make depend cc -c -O -pipe -mcpu=ev4 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include -I../../contrib/ipfilter -DGPROF -D_KERNEL -include opt_global.h -elf -malign-functions=4 -mno-fp-regs -Wa,-mev56 ../../alpha/alpha/genassym.c cc1: Invalid option `align-functions=4' *** Error code 1 Stop in /usr/src/sys/compile/DS10. It seems to originate from .if defined(PROF) CFLAGS+= -malign-functions=4 .if ${PROFLEVEL} >= 2 IDENT+= -DGPROF4 -DGUPROF PROF+= -mprofiler-epilogue .endif .endif On x86 the -malign-functions is a valid option. On alpha it is not. As this is my first ever attempt at a profiled kernel please bear with me ;) Wilko -- | / o / /_ _ email: wilko@FreeBSD.org |/|/ / / /( (_) Bulte Arnhem, the Netherlands To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020127151325.A25384>