From owner-freebsd-bugs@freebsd.org Sat Feb 13 03:27:17 2016 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 28B6AAA3A1A for ; Sat, 13 Feb 2016 03:27:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0C7851180 for ; Sat, 13 Feb 2016 03:27:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u1D3RGdA028706 for ; Sat, 13 Feb 2016 03:27:16 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 207147] powerpc 11.0-CURRENT -r295543: error: field 'uz_maxaction' has incomplete type (blocking buildworld) Date: Sat, 13 Feb 2016 03:27:17 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: markmi@dsl-only.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Feb 2016 03:27:17 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207147 Bug ID: 207147 Summary: powerpc 11.0-CURRENT -r295543: error: field 'uz_maxaction' has incomplete type (blocking buildworld) Product: Base System Version: 11.0-CURRENT Hardware: ppc OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: markmi@dsl-only.net This traces back to the build using /usr/include instead of /usr/src/sys an= d so picking up an old vm/uma_int.h file. The detailed evidence follows. svnlite update -r295453 /usr/src (for an ^/head context) then a buildworld buildkernel got: --- all_subdir_libmemstat --- --- memstat_uma.So --- cc -fpic -DPIC -g -O2 -pipe -MD -MP -MF.depend.memstat_uma.So -MTmemstat_uma.So -std=3Dgnu99 -fstack-protector-strong -Wsystem-headers -W= all -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign = -c /usr/src/lib/libmemstat/memstat_uma.c -o memstat_uma.So . . . In file included from /usr/src/lib/libmemstat/memstat_uma.c:37: . . . --- all_subdir_libmemstat --- /usr/include/vm/uma_int.h:310: error: field 'uz_maxaction' has incomplete t= ype Note the "/usr/include" based path instead of a /usr/src/sys/vm/uma_int.h p= ath. Note the lack of any -I's in the cc command. Stop reading here unless you want more context details. src.conf content: TO_TYPE=3Dpowerpc KERNCONF=3DGENERICvtsc-NODEBUG TARGET=3Dpowerpc .if ${.MAKE.LEVEL} =3D=3D 0 TARGET_ARCH=3D${TO_TYPE} .export TARGET_ARCH .endif WITH_FAST_DEPEND=3D WITH_LIB32=3D WITH_BOOT=3D COMPILER_TYPE=3Dgcc WITHOUT_GCC_BOOTSTRAP=3D WITH_GCC=3D WITH_GCC_IS_CC=3D WITH_GNUCXX=3D WITHOUT_LIBCPLUSPLUS=3D WITHOUT_CLANG_BOOTSTRAP=3D WITHOUT_CLANG=3D WITHOUT_CLANG_IS_CC=3D WITHOUT_CLANG_FULL=3D WITHOUT_CLANG_EXTRAS=3D NO_WERROR=3D MALLOC_PRODUCTION=3D WITH_DEBUG_FILES=3D # freebsd-version -ku; uname -aKU 11.0-CURRENT 11.0-CURRENT FreeBSD FBSDG4C0 11.0-CURRENT FreeBSD 11.0-CURRENT #6 r295350M: Sat Feb 6 13:54:57 PST 2016=20=20=20=20 root@FBSDG4C0:/usr/obj/gcc421/powerpc.powerpc/usr/src/sys/GENERICvtsc-NODEB= UG=20 powerpc 1100097 1100097 Command used to buildworld buildkernel: env __MAKE_CONF=3D/root/src.configs/make.conf SRC_ENV_CONF=3D/root/src.configs/src.conf.powerpc-gcc421.powerpc-host MAKEOBJDIRPREFIX=3D/usr/obj/gcc421/powerpc.powerpc make -j 6 buildworld buildkernel (This is a classic gcc 4.2.1 TARGET_ARCH=3Dpowerpc context, not a clang 3.8= .0 based experiment.) --=20 You are receiving this mail because: You are the assignee for the bug.=