From owner-freebsd-ppc@freebsd.org Sat Feb 13 04:07:55 2016 Return-Path: Delivered-To: freebsd-ppc@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 BF9C3AA5F38 for ; Sat, 13 Feb 2016 04:07:55 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-211-153.reflexion.net [208.70.211.153]) (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 756261FF9 for ; Sat, 13 Feb 2016 04:07:54 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 26498 invoked from network); 13 Feb 2016 04:01:27 -0000 Received: from unknown (HELO mail-cs-02.app.dca.reflexion.local) (10.81.19.2) by 0 (rfx-qmail) with SMTP; 13 Feb 2016 04:01:27 -0000 Received: by mail-cs-02.app.dca.reflexion.local (Reflexion email security v7.80.0) with SMTP; Fri, 12 Feb 2016 23:01:08 -0500 (EST) Received: (qmail 31555 invoked from network); 13 Feb 2016 04:01:07 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with SMTP; 13 Feb 2016 04:01:07 -0000 X-No-Relay: not in my network X-No-Relay: not in my network Received: from [192.168.1.8] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 7B7431C43B3; Fri, 12 Feb 2016 20:01:07 -0800 (PST) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: I have submitted bug 207147 for the wrong path to vm/uma_int.h being in use for buikldworld Message-Id: <03666B99-308C-4CFF-AF8C-5C6578361590@dsl-only.net> Date: Fri, 12 Feb 2016 20:01:12 -0800 To: glebius@FreeBSD.org, FreeBSD PowerPC ML Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) X-Mailer: Apple Mail (2.2104) X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Feb 2016 04:07:55 -0000 I have submitted bug 207147: > powerpc 11.0-CURRENT -r295543: error: field 'uz_maxaction' has = incomplete type (blocking buildworld) for a "wrong header file (old) used in buildworld" sort of problem. The = submittal says in part (after applying my correction comment content to = the original wording): This traces back to the build using /usr/include instead of (in my = context) /usr/obj/gcc421/powerpc.powerpc/usr/src/tmp/usr/include and 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 = -Wall -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 type Note the "/usr/include" based path instead of a = /usr/obj/gcc421/powerpc.powerpc/usr/src/tmp/usr/include/vm/uma_int.h = path. Note the lack of any -I's or -isysroot's or such in the cc = command. Stop reading here unless you want more context details. src.conf content (make.conf empty): 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 = root@FBSDG4C0:/usr/obj/gcc421/powerpc.powerpc/usr/src/sys/GENERICvtsc-NODE= BUG 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.) =3D=3D=3D Mark Millard markmi at dsl-only.net