From owner-freebsd-amd64@FreeBSD.ORG Wed Jan 4 20:00:28 2012 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1FEF81065675 for ; Wed, 4 Jan 2012 20:00:28 +0000 (UTC) (envelope-from tomdean@mail.speakeasy.org) Received: from asbnvacz-mailrelay01.megapath.net (asbnvacz-mailrelay01.megapath.net [207.145.128.243]) by mx1.freebsd.org (Postfix) with ESMTP id CC72A8FC0C for ; Wed, 4 Jan 2012 20:00:27 +0000 (UTC) Received: from mail7.sea5.speakeasy.net (mail7.sea5.speakeasy.net [69.17.117.52]) by asbnvacz-mailrelay01.megapath.net (Postfix) with ESMTP id DB176A7109D for ; Wed, 4 Jan 2012 14:28:12 -0500 (EST) Received: (qmail 1447 invoked from network); 4 Jan 2012 19:28:11 -0000 Received: by simscan 1.4.0 ppid: 15891, pid: 16341, t: 1.1451s scanners: clamav: 0.88.2/m:52/d:13513 spam: 3.0.4 Received: from unknown (HELO P9X79.tddhome) (tomdean@[24.113.112.30]) (envelope-sender ) by mail7.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 4 Jan 2012 19:28:10 -0000 Received: from P9X79.tddhome (localhost [127.0.0.1]) by P9X79.tddhome (8.14.5/8.14.5) with ESMTP id q04JSE8C070550 for ; Wed, 4 Jan 2012 11:28:15 -0800 (PST) (envelope-from tomdean@P9X79.tddhome) Received: (from tomdean@localhost) by P9X79.tddhome (8.14.5/8.14.5/Submit) id q04JSEjX070547; Wed, 4 Jan 2012 11:28:14 -0800 (PST) (envelope-from tomdean) Date: Wed, 4 Jan 2012 11:28:14 -0800 (PST) Message-Id: <201201041928.q04JSEjX070547@P9X79.tddhome> From: "Thomas D. Dean" To: freebsd-amd64@freebsd.org X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail7.sea5 X-Spam-Level: X-Spam-Status: No, score=-2.0 required=8.0 tests=BAYES_20 autolearn=disabled version=3.0.4 Subject: make kernel and buildworld both fail X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jan 2012 20:00:28 -0000 I really only wanted to build a new kernel. But, I tried both after seeing failures. # uname -a FreeBSD P9X79.tddhome 9.0-PRERELEASE FreeBSD 9.0-PRERELEASE #1: \ Sun Dec 25 09:28:17 PST 2011 \ root@P9X79.tddhome:/usr/obj/usr/src/sys/GENERIC amd64 source up-to-date as of now, cvsup with *default release=cvs tag=RELENG_9 I tried cvsup 2 times with no changes to source tree. # cd /usr/src # make cleandir # make cleandir # env -i make kernel ... cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -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-sse -mcmodel=kernel -mno-red-zone -mno-mmx -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror /usr/src/sys/amd64/ia32/ia32_syscall.c cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -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-sse -mcmodel=kernel -mno-red-zone -mno-mmx -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror /usr/src/sys/amd64/ia32/ia32_misc.c cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -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-sse -mcmodel=kernel -mno-red-zone -mno-mmx -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror /usr/src/sys/compat/freebsd32/freebsd32_ioctl.c cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -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-sse -mcmodel=kernel -mno-red-zone -mno-mmx -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror /usr/src/sys/compat/freebsd32/freebsd32_misc.c /usr/src/sys/compat/freebsd32/freebsd32_misc.c: In function 'freebsd32_posix_fallocate': /usr/src/sys/compat/freebsd32/freebsd32_misc.c:2814: error: 'struct freebsd32_posix_fallocate_args' has no member named 'offset1' /usr/src/sys/compat/freebsd32/freebsd32_misc.c:2814: error: 'struct freebsd32_posix_fallocate_args' has no member named 'offset2' /usr/src/sys/compat/freebsd32/freebsd32_misc.c:2815: error: 'struct freebsd32_posix_fallocate_args' has no member named 'len1' /usr/src/sys/compat/freebsd32/freebsd32_misc.c:2815: error: 'struct freebsd32_posix_fallocate_args' has no member named 'len2' *** Error code 1 Stop in /usr/obj/usr/src/sys/GENERIC. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. =================================================================== After that failure, I did another cvsup with no changes to the source tree and tried buildworld. # env -i make buildworld sed -i "" -e '/\.note\.ABI-tag/s/progbits/note/' gcrt1_c.s gcc -O2 -pipe -I/usr/src/lib/csu/i386-elf/../common -I/usr/src/lib/csu/i386-elf/../../libc/include -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c -o gcrt1_c.o gcrt1_c.s gcc -O2 -pipe -I/usr/src/lib/csu/i386-elf/../common -I/usr/src/lib/csu/i386-elf/../../libc/include -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /usr/src/lib/csu/i386-elf/crt1_s.S /usr/src/lib/csu/i386-elf/crt1_s.S: Assembler messages: /usr/src/lib/csu/i386-elf/crt1_s.S:38: Error: suffix or operands invalid for `push' /usr/src/lib/csu/i386-elf/crt1_s.S:41: Error: bad register expression /usr/src/lib/csu/i386-elf/crt1_s.S:42: Error: bad register expression /usr/src/lib/csu/i386-elf/crt1_s.S:46: Error: suffix or operands invalid for `push' /usr/src/lib/csu/i386-elf/crt1_s.S:47: Error: suffix or operands invalid for `push' /usr/src/lib/csu/i386-elf/crt1_s.S:48: Error: suffix or operands invalid for `push' *** Error code 1 Stop in /usr/src/lib/csu/i386-elf. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. tomdean