Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 May 2011 01:13:55 -0400
From:      Arnaud Lacombe <lacombar@gmail.com>
To:        Alexander Best <arundel@freebsd.org>
Cc:        amd64@freebsd.org, FreeBSD Tinderbox <tinderbox@freebsd.org>, current@freebsd.org
Subject:   Re: [head tinderbox] failure on amd64/amd64
Message-ID:  <BANLkTikgj2hTaf46UgVV56WNBkUgDOWT-A@mail.gmail.com>
In-Reply-To: <20110507101105.GA32422@freebsd.org>
References:  <201105070452.p474qvuw097711@freebsd-current.sentex.ca> <20110507101105.GA32422@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On Sat, May 7, 2011 at 6:11 AM, Alexander Best <arundel@freebsd.org> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTikgj2hTaf46UgVV56WNBkUgDOWT-A>