On Wed, Oct 09, 2013 at 10:04:13AM -0400, Dennis Ferguson wrote: > I did notice that removal of -fomit-frame-pointer for those architectures > was a recent change, however, and the build errors for evbcf looked like > this: > > # compile ld.elf_so/mdreloc.o > /build/evbcf/obj/tooldir.NetBSD-6.99.24-amd64/bin/m5407--netbsdelf-gcc -O1 > -fvisibility=hidden -O3 -fomit-frame-pointer -fstack-protector > -Wstack-protector --param ssp-buffer-size=1 -msoft-float -std=gnu99 -Wall > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare > -Wno-traditional -Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow > -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare > -Wsign-compare -Wformat=2 -Wno-format-zero-length -Wno-uninitialized > -Werror --sysroot=/build/evbcf/obj/destdir.evbcf -fpic -DELFSIZE=32 > -DLIBDIR=\"/usr/lib\" -D_PATH_RTLD=\"/libexec/ld.elf_so\" > -I/usr/src/libexec/ld.elf_so -I. -DRTLD_LOADER -D_RTLD_SOURCE -DCOMBRELOC > -D_FORTIFY_SOURCE=2 -c /usr/src/libexec/ld.elf_so/arch/m68k/mdreloc.c > cc1: warnings being treated as errors > /usr/src/libexec/ld.elf_so/arch/m68k/mdreloc.c:1:0: error: unwind tables > currently require a frame pointer for correctness > *** [mdreloc.o] Error code 1
Ah, so it is slightly older than the binutils change: our in-tree gcc was changed to generate unwind information by default. This makes sense now, thanks for clarification! Martin
