From owner-freebsd-current@FreeBSD.ORG Sun May 8 05:13:57 2011 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7839C1065670 for ; Sun, 8 May 2011 05:13:57 +0000 (UTC) (envelope-from lacombar@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3F1D28FC08 for ; Sun, 8 May 2011 05:13:56 +0000 (UTC) Received: by iwn33 with SMTP id 33so5072147iwn.13 for ; Sat, 07 May 2011 22:13:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=F06yVEXVgp6TZzW4RsOw7ukHx3tGWhPopRk8exrDHj8=; b=bDpJFhKv29vD0ZkQjI5ngQfzzdqLGJNAUzVyN+y6GFoBKbHQQ1mMko8mVGdHfLgrVm t01/ISCOqjbHWItqHqvAvqvtPUIvsK6APWz6DCe1m7JRQppK6o18NCUsNLB/CbhgYqNt pYNotzjdQT5OmOUTeru8ehk+00JV9ugGR9P90= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=hhqinhWVUr7szfpKHgfChg8LdHbYH4DPlyTJDgJO3vg27S7Fm7c9iKCw2nElgANOAj U+ZndvryLA97myHUbghIi7c9D6qmtBi4CecGTjeyMsbiqCjybBQffMj2RAobcckem0Gc I9Hb7KKnqgTjjFtwhzHO298VhYdKclzQvJPPI= MIME-Version: 1.0 Received: by 10.43.44.6 with SMTP id ue6mr4563918icb.69.1304831635777; Sat, 07 May 2011 22:13:55 -0700 (PDT) Received: by 10.42.167.5 with HTTP; Sat, 7 May 2011 22:13:55 -0700 (PDT) In-Reply-To: <20110507101105.GA32422@freebsd.org> References: <201105070452.p474qvuw097711@freebsd-current.sentex.ca> <20110507101105.GA32422@freebsd.org> Date: Sun, 8 May 2011 01:13:55 -0400 Message-ID: From: Arnaud Lacombe To: Alexander Best Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: amd64@freebsd.org, FreeBSD Tinderbox , current@freebsd.org Subject: Re: [head tinderbox] failure on amd64/amd64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 May 2011 05:13:57 -0000 Hi, On Sat, May 7, 2011 at 6:11 AM, Alexander Best wrote: >> [...] >> ld -b binary -d -warn-common -r -d -o wpifw.fwo wpi.fw >> cc -c -O2 -frename-registers -pipe -fno-strict-aliasing =A0-std=3Dc99 = =A0-Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes =A0-Wmissin= g-prototypes -Wpointer-arith -Winline -Wcast-qual =A0-Wundef -Wno-pointer-s= ign -fformat-extensions =A0-Wmissing-include-dirs -nostdinc =A0-I. -I/src/s= ys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include = opt_global.h -fno-common -finline-limit=3D8000 --param inline-unit-growth= =3D100 --param large-function-growth=3D1000 -DGPROF -falign-functions=3D16 = -DGPROF4 -DGUPROF -fno-builtin -fno-omit-frame-pointer -mcmodel=3Dkernel -m= no-red-zone =A0-mfpmath=3D387 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-s= se3 =A0-msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-= protector -Werror -pg -mprofiler-epilogue /src/sys/dev/xe/if_xe.c >> cc -c -O2 -frename-registers -pipe -fno-strict-aliasing =A0-std=3Dc99 = =A0-Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes =A0-Wmissin= g-prototypes -Wpointer-arith -Winline -Wcast-qual =A0-Wundef -Wno-pointer-s= ign -fformat-extensions =A0-Wmissing-include-dirs -nostdinc =A0-I. -I/src/s= ys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include = opt_global.h -fno-common -finline-limit=3D8000 --param inline-unit-growth= =3D100 --param large-function-growth=3D1000 -DGPROF -falign-functions=3D16 = -DGPROF4 -DGUPROF -fno-builtin -fno-omit-frame-pointer -mcmodel=3Dkernel -m= no-red-zone =A0-mfpmath=3D387 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-s= se3 =A0-msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-= protector -Werror -pg -mprofiler-epilogue /src/sys/dev/xe/if_xe_pccard.c >> cc -c -O2 -frename-registers -pipe -fno-strict-aliasing =A0-std=3Dc99 = =A0-Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes =A0-Wmissin= g-prototypes -Wpointer-arith -Winline -Wcast-qual =A0-Wundef -Wno-pointer-s= ign -fformat-extensions =A0-Wmissing-include-dirs -nostdinc =A0-I. -I/src/s= ys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include = opt_global.h -fno-common -finline-limit=3D8000 --param inline-unit-growth= =3D100 --param large-function-growth=3D1000 -DGPROF -falign-functions=3D16 = -DGPROF4 -DGUPROF -fno-builtin -fno-omit-frame-pointer -mcmodel=3Dkernel -m= no-red-zone =A0-mfpmath=3D387 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-s= se3 =A0-msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-= protector -Werror -pg -mprofiler-epilogue /src/sys/dev/xl/if_xl.c > > could somebody explain, why only on amd64 the default COPTFLAGS are -O2 > -frename-registers (even with DEBUG set)? judging from gcc(1) expecially > -frename-registers makes debugging very hard. > -> http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/conf/kern.pre.mk#rev1.45 A.