Compiling the kernel gives me: cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/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 -fno-omit-frame-pointer -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/dev/ata/ata-all.c /usr/src/sys/dev/ata/ata-all.c: In function 'ata_device_ioctl': /usr/src/sys/dev/ata/ata-all.c:454: error: request for member 'max_iosize' in something not a structure or union /usr/src/sys/dev/ata/ata-all.c:454: error: request for member 'max_iosize' in something not a structure or union *** Error code 1 With a 6.4 of last night.... So I guess 6.4 -> 7.2 needs to go via 7.0 ?? --WjW
On Fri, 31 Jul 2009 11:27+0200, Willem Jan Withagen wrote:> With a 6.4 of last night....Michael Butler contributed a patch where ch->max_iosize was changed twice to atadev->max_iosize on line 454 in src/sys/dev/ata/ata-all.c. Either re-cvsup and hope for the best or apply the patch manually. See http://docs.freebsd.org/cgi/getmsg.cgi?fetch=407870+0+current/freebsd-stable for more details if you deleted the email> So I guess 6.4 -> 7.2 needs to go via 7.0 ??I'd do a binary upgrade to 7.2-R. gcc doesn't understand the -Wpointer-sign flag used when compiling RELENG_7_0_0_RELEASE using 6.4-STABLE? as of yesterday. I haven't tried to compile RELENG_7 using the same 6.4-STABLE system, so maybe I'll try that later today. If src/UPDATING could tell us how to get beyond the unrecognized -Wpointer-sign, the upgrade process using source would be a lot smoother. Trond. ? The 6.4-STABLE system mentioned is different from the system I'm using to send this mail. -- ---------------------------------------------------------------------- Trond Endrest?l | Trond.Endrestol@fagskolen.gjovik.no ACM, NAS, NUUG, SAGE, USENIX | FreeBSD 6.2-STABLE & Pine 4.64
Willem Jan Withagen wrote:> With a 6.4 of last night.... > > So I guess 6.4 -> 7.2 needs to go via 7.0 ??It is already fixed. http://svn.freebsd.org/changeset/base/195987 -- WBR, Andrey V. Elsukov
In message <4A72B8E4.6060509@withagen.nl>, Willem Jan Withagen (wjw@withagen.nl) wrote:> Compiling the kernel gives me: > > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. > -I/usr/src/sys -I/usr/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 -fno-omit-frame-pointer -mno-align-long-strings > -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 > -mno-sse3 -ffreestanding -Werror /usr/src/sys/dev/ata/ata-all.c > /usr/src/sys/dev/ata/ata-all.c: In function 'ata_device_ioctl': > /usr/src/sys/dev/ata/ata-all.c:454: error: request for member 'max_iosize' > in something not a structure or union > /usr/src/sys/dev/ata/ata-all.c:454: error: request for member 'max_iosize' > in something not a structure or union > *** Error code 1This was fixed earlier today so update your sources and try again. Cheers, Nick. --
and in 7.2-STABLE (built July 27) cvsuped today and failed with max_iosize error . JeffD _____________________________ M 0427565791 jeff.dowsley@mac.com On 31/07/2009, at 7:27 PM, Willem Jan Withagen wrote:> Compiling the kernel gives me: > > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested- > externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith - > Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions - > nostdinc -I. -I/usr/src/sys -I/usr/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 -fno-omit-frame-pointer -mno-align-long- > strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse - > mno-sse2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/dev/ata/ata- > all.c > /usr/src/sys/dev/ata/ata-all.c: In function 'ata_device_ioctl': > /usr/src/sys/dev/ata/ata-all.c:454: error: request for member > 'max_iosize' in something not a structure or union > /usr/src/sys/dev/ata/ata-all.c:454: error: request for member > 'max_iosize' in something not a structure or union > *** Error code 1 > > > With a 6.4 of last night.... > > So I guess 6.4 -> 7.2 needs to go via 7.0 ?? > > --WjW > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable- > unsubscribe@freebsd.org"