Seems that rev. 1.114.2.4 of devfs_vnops.c broke the kernel build, due to a few structures' forward declarations (devfs_ops_f, devfs_vnodeops, devfs_specops). An excerpt from /etc/make.conf: -- cut here -- CPUTYPE?=p4 CFLAGS= -O2 -pipe CXXFLAGS+= -O2 -pipe -ffast-math BDECFLAGS= -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align \ -Wcast-qual -Wchar-subscripts -Winline \ -Wmissing-prototypes -Wnested-externs -Wpointer-arith \ -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings COPTFLAGS= -O2 -pipe -ffast-math -- and here -- -- If it's there, and you can see it, it's real. If it's not there, and you can see it, it's virtual. If it's there, and you can't see it, it's transparent. If it's not there, and you can't see it, you erased it.
Hi, On Sun, Sep 18, 2005 at 01:27:48PM +0300, Vlad GALU wrote:> Seems that rev. 1.114.2.4 of devfs_vnops.c broke the kernel build, > due to a few structures' forward declarations (devfs_ops_f, > devfs_vnodeops, devfs_specops). An excerpt from /etc/make.conf: > > -- cut here -- > CPUTYPE?=p4 > CFLAGS= -O2 -pipe > CXXFLAGS+= -O2 -pipe -ffast-math > BDECFLAGS= -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align \ > -Wcast-qual -Wchar-subscripts -Winline \ > -Wmissing-prototypes -Wnested-externs -Wpointer-arith \ > -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings > COPTFLAGS= -O2 -pipe -ffast-mathI think optimizations over -O2 is not supported (yet), but if that reveals a bug, it is still valuable to have it fixed ASAP. Would you please provide the error message and I will try to see if I could fix it? Cheers, -- Xin LI <delphij frontfree net> http://www.delphij.net/ See complete headers for GPG key and other information. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20050918/b4cb925d/attachment.bin