Hi, On Sat, May 7, 2011 at 6:11 AM, Alexander Best <arun...@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 -std=c99 -Wall >> -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes >> -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign >> -fformat-extensions -Wmissing-include-dirs -nostdinc -I. -I/src/sys >> -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include >> opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 >> --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 >> -DGUPROF -fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone >> -mfpmath=387 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -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 -std=c99 -Wall >> -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes >> -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign >> -fformat-extensions -Wmissing-include-dirs -nostdinc -I. -I/src/sys >> -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include >> opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 >> --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 >> -DGUPROF -fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone >> -mfpmath=387 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -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 -std=c99 -Wall >> -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes >> -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign >> -fformat-extensions -Wmissing-include-dirs -nostdinc -I. -I/src/sys >> -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include >> opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 >> --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 >> -DGUPROF -fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone >> -mfpmath=387 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -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. _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"