From owner-freebsd-alpha Sun Jan 27 6:13:40 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from freebie.xs4all.nl (freebie.xs4all.nl [213.84.32.253]) by hub.freebsd.org (Postfix) with ESMTP id A525B37B402 for ; Sun, 27 Jan 2002 06:13:26 -0800 (PST) Received: (from wkb@localhost) by freebie.xs4all.nl (8.11.6/8.11.6) id g0REDPw29076 for freebsd-alpha@freebsd.org; Sun, 27 Jan 2002 15:13:25 +0100 (CET) (envelope-from wkb) Date: Sun, 27 Jan 2002 15:13:25 +0100 From: Wilko Bulte To: freebsd-alpha@freebsd.org Subject: profile Alpha kernel no-go? Message-ID: <20020127151325.A25384@freebie.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-OS: FreeBSD 4.5-RC X-PGP: finger wilko@freebsd.org Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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