From owner-freebsd-ppc@freebsd.org Sun Aug 6 21:44:52 2017 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 ED816DCB97A for ; Sun, 6 Aug 2017 21:44:52 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-89.reflexion.net [208.70.210.89]) (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 AB9B46F0B9 for ; Sun, 6 Aug 2017 21:44:51 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 16009 invoked from network); 6 Aug 2017 21:44:45 -0000 Received: from unknown (HELO mail-cs-01.app.dca.reflexion.local) (10.81.19.1) by 0 (rfx-qmail) with SMTP; 6 Aug 2017 21:44:45 -0000 Received: by mail-cs-01.app.dca.reflexion.local (Reflexion email security v8.40.2) with SMTP; Sun, 06 Aug 2017 17:44:45 -0400 (EDT) Received: (qmail 32462 invoked from network); 6 Aug 2017 21:44:45 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 6 Aug 2017 21:44:45 -0000 Received: from [192.168.1.109] (c-67-170-167-181.hsd1.or.comcast.net [67.170.167.181]) by iron2.pdx.net (Postfix) with ESMTPSA id 596D2EC88B5; Sun, 6 Aug 2017 14:44:44 -0700 (PDT) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: I have submitted bugzilla 221107 for a (e.g.) -r321706 system clang 5 vintage TARGET_ARCH=powerpc buildkernel failure for aha.kld: R_PPC_PLTREL24 reloc against local symbol Date: Sun, 6 Aug 2017 14:44:43 -0700 References: <186BF66E-04E5-4663-AD0B-E07A9C631925@dsl-only.net> <636276E6-BA4C-4C28-84FF-A34BDF1F1702@dsl-only.net> To: Dimitry Andric , FreeBSD Toolchain , FreeBSD PowerPC ML , FreeBSD Current In-Reply-To: <636276E6-BA4C-4C28-84FF-A34BDF1F1702@dsl-only.net> Message-Id: <51700A90-8DB5-4D81-AC83-D3FB0FDEFED7@dsl-only.net> X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Aug 2017 21:44:53 -0000 [-r322109 update failed for agp.kld instead. It may just be a race for which happens first during the build.] On 2017-Jul-30, at 3:03 PM, Mark Millard wrote: > [Just correcting the -r's to be -r321706.] >=20 > On 2017-Jul-30, at 1:34 PM, Mark Millard wrote: >=20 > I experiment with system clang targeting powerpc > (and powerpc64). Until recently I could buildkernel > via system clang 4 (but it had problems if tried to > boot such a kernel). After clang 5 it no longer > completes the buildkernel. I'm submitting based on > a -r321706 build attempt. The system binutils are > in use. >=20 > The technical material from the submittal is. . . >=20 > First I list what the R_PPC_PLTREL24 is tied to > then the error text then the build context. >=20 > objdump reports that the .text+0x2b94 involved > is in aha_isa_probe and is a reference to aha_alloc: >=20 > (sorted objdump -x output:) > 00002b78 R_PPC_PLTREL24 bus_alloc_resource > 00002b88 R_PPC_PLTREL24 rman_get_start > 00002b94 R_PPC_PLTREL24 aha_alloc > 00002b96 R_PPC_ADDR32 .debug_str+0x0000266c > 00002b9c R_PPC_PLTREL24 aha_probe > 00002b9f R_PPC_ADDR32 .debug_str+0x00001904 >=20 > (objdump -d --prefix-addresses output:) > 00002aa4 mflr r0 > . . . > 00002b7c cmplwi r3,0 > 00002b80 stw r3,188(r28) > 00002b84 beq 00002c1c > 00002b88 bl 00002b88 > 00002b8c mr r3,r28 > 00002b90 mr r27,r4 > 00002b94 bl 00002b94 > 00002b98 mr r3,r28 > 00002b9c bl 00002b9c > 00002ba0 cmplwi r3,0 >=20 >=20 > --- all_subdir_aha --- > Building = /usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys/GENERICvtsc-NODBG/m= odules/usr/src/sys/modules/aha/aha.kld > . . . > --- all_subdir_aha --- > Building = /usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys/GENERICvtsc-NODBG/m= odules/usr/src/sys/modules/aha/aha.ko.full > . . . > --- aha.ko.full --- > ld: aha.kld(.text+0x2b94): R_PPC_PLTREL24 reloc against local symbol > aha.kld: could not read symbols: Bad value > . . . > --- all_subdir_aha --- > *** [aha.ko.full] Error code 1 >=20 > make[4]: stopped in /usr/src/sys/modules/aha > .ERROR_TARGET=3D'aha.ko.full' > = .ERROR_META_FILE=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys= /GENERICvtsc-NODBG/modules/usr/src/sys/modules/aha/aha.ko.full.meta' > .MAKE.LEVEL=3D'4' > MAKEFILE=3D'' > .MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dyes= verbose' > _ERROR_CMD=3D'ld -m elf32ppc_fbsd -Bshareable -znotext -d -warn-common = -o aha.ko.full aha.kld;' > .CURDIR=3D'/usr/src/sys/modules/aha' > .MAKE=3D'make' > = .OBJDIR=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys/GENERICv= tsc-NODBG/modules/usr/src/sys/modules/aha' > .TARGETS=3D'all' > DESTDIR=3D'' > LD_LIBRARY_PATH=3D'' > MACHINE=3D'powerpc' > MACHINE_ARCH=3D'powerpc' > = MAKEOBJDIRPREFIX=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys= /GENERICvtsc-NODBG/modules' > MAKESYSPATH=3D'/usr/src/share/mk' > MAKE_VERSION=3D'20170720' > --- all_subdir_agp --- > Building = /usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys/GENERICvtsc-NODBG/m= odules/usr/src/sys/modules/agp/agp.ko.full > --- all_subdir_aha --- > = PATH=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/tmp/legacy/usr/= sbin:/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/tmp/legacy/usr/bin= :/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/tmp/legacy/bin:/usr/ob= j/powerpcvtsc_clang/powerpc.powerpc/usr/src/tmp/usr/sbin:/usr/obj/powerpcv= tsc_clang/powerpc.powerpc/usr/src/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bi= n' > SRCTOP=3D'/usr/src' > = OBJTOP=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys/GENERICvt= sc-NODBG/modules/usr/src' > .MAKE.MAKEFILES=3D'/usr/src/share/mk/sys.mk = /usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk = /root/src.configs/src.conf.powerpc-clang-bootstrap.amd64-host = /usr/src/share/mk/bsd.mkopt.mk /usr/src/share/mk/bsd.suffixes.mk = /root/src.configs/make.conf /usr/src/share/mk/local.sys.mk = /usr/src/share/mk/src.sys.mk /dev/null /usr/src/sys/modules/aha/Makefile = /usr/src/share/mk/bsd.kmod.mk /usr/src/sys/conf/kmod.mk = /usr/src/share/mk/bsd.init.mk /usr/src/share/mk/bsd.opts.mk = /usr/src/share/mk/bsd.cpu.mk /usr/src/share/mk/local.init.mk = /usr/src/share/mk/src.init.mk /usr/src/sys/modules/aha/../Makefile.inc = /usr/src/share/mk/bsd.own.mk /usr/src/share/mk/bsd.compiler.mk = /usr/src/share/mk/bsd.linker.mk /usr/src/sys/conf/kern.opts.mk = /usr/src/sys/conf/config.mk /usr/src/share/mk/bsd.links.mk = /usr/src/share/mk/bsd.dep.mk /usr/src/share/mk/bsd.clang-analyze.mk = /usr/src/share/mk/bsd.obj.mk /usr/src/share/mk/bsd.subdir.mk = /usr/src/sys/conf/kern.mk' > .PATH=3D'. /usr/src/sys/modules/aha /usr/src/sys/dev/aha = /usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys/GENERICvtsc-NODBG' > 1 error >=20 > make[4]: stopped in /usr/src/sys/modules/aha > .ERROR_TARGET=3D'aha.ko.full' > = .ERROR_META_FILE=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys= /GENERICvtsc-NODBG/modules/usr/src/sys/modules/aha/aha.ko.full.meta' > .MAKE.LEVEL=3D'4' > MAKEFILE=3D'' > .MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dyes= verbose' > _ERROR_CMD=3D'ld -m elf32ppc_fbsd -Bshareable -znotext -d -warn-common = -o aha.ko.full aha.kld;' > .CURDIR=3D'/usr/src/sys/modules/aha' > .MAKE=3D'make' > = .OBJDIR=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys/GENERICv= tsc-NODBG/modules/usr/src/sys/modules/aha' > .TARGETS=3D'all' > DESTDIR=3D'' > LD_LIBRARY_PATH=3D'' > MACHINE=3D'powerpc' > MACHINE_ARCH=3D'powerpc' > = MAKEOBJDIRPREFIX=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys= /GENERICvtsc-NODBG/modules' > MAKESYSPATH=3D'/usr/src/share/mk' > MAKE_VERSION=3D'20170720' > = PATH=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/tmp/legacy/usr/= sbin:/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/tmp/legacy/usr/bin= :/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/tmp/legacy/bin:/usr/ob= j/powerpcvtsc_clang/powerpc.powerpc/usr/src/tmp/usr/sbin:/usr/obj/powerpcv= tsc_clang/powerpc.powerpc/usr/src/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bi= n' > SRCTOP=3D'/usr/src' > = OBJTOP=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys/GENERICvt= sc-NODBG/modules/usr/src' > .MAKE.MAKEFILES=3D'/usr/src/share/mk/sys.mk = /usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk = /root/src.configs/src.conf.powerpc-clang-bootstrap.amd64-host = /usr/src/share/mk/bsd.mkopt.mk /usr/src/share/mk/bsd.suffixes.mk = /root/src.configs/make.conf /usr/src/share/mk/local.sys.mk = /usr/src/share/mk/src.sys.mk /dev/null /usr/src/sys/modules/aha/Makefile = /usr/src/share/mk/bsd.kmod.mk /usr/src/sys/conf/kmod.mk = /usr/src/share/mk/bsd.init.mk /usr/src/share/mk/bsd.opts.mk = /usr/src/share/mk/bsd.cpu.mk /usr/src/share/mk/local.init.mk = /usr/src/share/mk/src.init.mk /usr/src/sys/modules/aha/../Makefile.inc = /usr/src/share/mk/bsd.own.mk /usr/src/share/mk/bsd.compiler.mk = /usr/src/share/mk/bsd.linker.mk /usr/src/sys/conf/kern.opts.mk = /usr/src/sys/conf/config.mk /usr/src/share/mk/bsd.links.mk = /usr/src/share/mk/bsd.dep.mk /usr/src/share/mk/bsd.clang-analyze.mk = /usr/src/share/mk/bsd.obj.mk /usr/src/share/mk/bsd.subdir.mk = /usr/src/sys/conf/kern.mk' > .PATH=3D'. /usr/src/sys/modules/aha /usr/src/sys/dev/aha = /usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys/GENERICvtsc-NODBG' > *** [all_subdir_aha] Error code 2 >=20 >=20 > Build context: >=20 > = ~/sys_build_scripts.amd64-host/make_powerpcvtsc_nodebug_clang_bootstrap-am= d64-host.sh -j8 buildworld buildkernel >=20 > # more = ~/sys_build_scripts.amd64-host/make_powerpcvtsc_nodebug_clang_bootstrap-am= d64-host.sh=20 > kldload -n filemon && \ > script = ~/sys_typescripts/typescript_make_powerpcvtsc_nodebug_clang_bootstrap-amd6= 4-host-$(date +%Y-%m-%d:%H:%M:%S) \ > env __MAKE_CONF=3D"/root/src.configs/make.conf" SRCCONF=3D"/dev/null" = SRC_ENV_CONF=3D"/root/src.configs/src.conf.powerpc-clang-bootstrap.amd64-h= ost" \ > WITH_META_MODE=3Dyes \ > MAKEOBJDIRPREFIX=3D"/usr/obj/powerpcvtsc_clang" \ > make $* >=20 > C# more /root/src.configs/make.conf > CFLAGS.gcc+=3D -v >=20 > # more /root/src.configs/src.conf.powerpc-clang-bootstrap.amd64-host > TO_TYPE=3Dpowerpc > # > KERNCONF=3DGENERICvtsc-NODBG > TARGET=3D${TO_TYPE} > .if ${.MAKE.LEVEL} =3D=3D 0 > TARGET_ARCH=3D${TO_TYPE} > .export TARGET_ARCH > .endif > # > WITH_CROSS_COMPILER=3D > WITHOUT_SYSTEM_COMPILER=3D > # > WITH_LIBCPLUSPLUS=3D > WITH_BINUTILS_BOOTSTRAP=3D > WITH_ELFTOOLCHAIN_BOOTSTRAP=3D > WITH_CLANG_BOOTSTRAP=3D > WITH_CLANG=3D > WITH_CLANG_IS_CC=3D > WITH_CLANG_FULL=3D > WITH_CLANG_EXTRAS=3D > WITHOUT_LLD=3D > # lldb requires missing atomic 8-byte operations for powerpc (non-64) > WITHOUT_LLDB=3D > # > WITH_BOOT=3D > WITHOUT_LIB32=3D > # > WITHOUT_GCC_BOOTSTRAP=3D > WITHOUT_GCC=3D > WITHOUT_GCC_IS_CC=3D > WITHOUT_GNUCXX=3D > # > NO_WERROR=3D > # > # Use WERROR to avoid stopping at the likes of: > # error: implicit conversion from 'int' to 'int8_t' (aka 'signed = char') changes value from 128 to -128 [-Werror,-Wconstant-conversion] > WERROR=3D > MALLOC_PRODUCTION=3D > # > WITH_REPRODUCIBLE_BUILD=3D > WITH_DEBUG_FILES=3D I have updated bugzilla 221107 for that building -r322109 as an update the failure changed to agp.kld but for the same kind of error notices: --- all_subdir_agp --- Building = /usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys/GENERICvtsc-NODBG/m= odules/usr/src/sys/modules/agp/agp.ko.full . . . --- all_subdir_agp --- --- agp.ko.full --- ld: agp.kld(.text+0x2e08): R_PPC_PLTREL24 reloc against local symbol agp.kld: could not read symbols: Bad value *** [agp.ko.full] Error code 1 make[4]: stopped in /usr/src/sys/modules/agp .ERROR_TARGET=3D'agp.ko.full' = .ERROR_META_FILE=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys= /GENERICvtsc-NODBG/modules/usr/src/sys/modules/agp/agp.ko.full.meta' .MAKE.LEVEL=3D'4' MAKEFILE=3D'' .MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dyes = verbose' _ERROR_CMD=3D'ld -m elf32ppc_fbsd -Bshareable -znotext -d -warn-common = -o agp.ko.full agp.kld;' .CURDIR=3D'/usr/src/sys/modules/agp' .MAKE=3D'make' = .OBJDIR=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys/GENERICv= tsc-NODBG/modules/usr/src/sys/modules/agp' .TARGETS=3D'all' DESTDIR=3D'' LD_LIBRARY_PATH=3D'' MACHINE=3D'powerpc' MACHINE_ARCH=3D'powerpc' = MAKEOBJDIRPREFIX=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys= /GENERICvtsc-NODBG/modules' MAKESYSPATH=3D'/usr/src/share/mk' MAKE_VERSION=3D'20170720' = PATH=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/tmp/legacy/usr/= sbin:/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/tmp/legacy/usr/bin= :/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/tmp/legacy/bin:/usr/ob= j/powerpcvtsc_clang/powerpc.powerpc/usr/src/tmp/usr/sbin:/usr/obj/powerpcv= tsc_clang/powerpc.powerpc/usr/src/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bi= n' SRCTOP=3D'/usr/src' = OBJTOP=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys/GENERICvt= sc-NODBG/modules/usr/src' .MAKE.MAKEFILES=3D'/usr/src/share/mk/sys.mk = /usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk = /root/src.configs/src.conf.powerpc-clang-bootstrap.amd64-host = /usr/src/share/mk/bsd.mkopt.mk /usr/src/share/mk/bsd.suffixes.mk = /root/src.configs/make.conf /usr/src/share/mk/local.sys.mk = /usr/src/share/mk/src.sys.mk /dev/null /usr/src/sys/modules/agp/Makefile = /usr/src/share/mk/bsd.kmod.mk /usr/src/sys/conf/kmod.mk = /usr/src/share/mk/bsd.init.mk /usr/src/share/mk/bsd.opts.mk = /usr/src/share/mk/bsd.cpu.mk /usr/src/share/mk/local.init.mk = /usr/src/share/mk/src.init.mk /usr/src/sys/modules/agp/../Makefile.inc = /usr/src/share/mk/bsd.own.mk /usr/src/share/mk/bsd.compiler.mk = /usr/src/share/mk/bsd.linker.mk /usr/src/sys/conf/kern.opts.mk = /usr/src/sys/conf/config.mk /usr/src/share/mk/bsd.links.mk = /usr/src/share/mk/bsd.dep.mk /usr/src/share/mk/bsd.clang-analyze.mk = /usr/src/share/mk/bsd.obj.mk /usr/src/share/mk/bsd.subdir.mk = /usr/src/sys/conf/kern.mk' .PATH=3D'. /usr/src/sys/modules/agp /usr/src/sys/dev/agp = /usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys/GENERICvtsc-NODBG' 1 error --- all_subdir_aha --- A failure has been detected in another branch of the parallel make make[4]: stopped in /usr/src/sys/modules/aha .ERROR_TARGET=3D'' .ERROR_META_FILE=3D'' .MAKE.LEVEL=3D'4' MAKEFILE=3D'' .MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dyes = verbose' _ERROR_CMD=3D'.PHONY' .CURDIR=3D'/usr/src/sys/modules/aha' .MAKE=3D'make' = .OBJDIR=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys/GENERICv= tsc-NODBG/modules/usr/src/sys/modules/aha' .TARGETS=3D'all' DESTDIR=3D'' LD_LIBRARY_PATH=3D'' MACHINE=3D'powerpc' MACHINE_ARCH=3D'powerpc' = MAKEOBJDIRPREFIX=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys= /GENERICvtsc-NODBG/modules' MAKESYSPATH=3D'/usr/src/share/mk' MAKE_VERSION=3D'20170720' = PATH=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/tmp/legacy/usr/= sbin:/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/tmp/legacy/usr/bin= :/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/tmp/legacy/bin:/usr/ob= j/powerpcvtsc_clang/powerpc.powerpc/usr/src/tmp/usr/sbin:/usr/obj/powerpcv= tsc_clang/powerpc.powerpc/usr/src/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bi= n' SRCTOP=3D'/usr/src' = OBJTOP=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys/GENERICvt= sc-NODBG/modules/usr/src' .MAKE.MAKEFILES=3D'/usr/src/share/mk/sys.mk = /usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk = /root/src.configs/src.conf.powerpc-clang-bootstrap.amd64-host = /usr/src/share/mk/bsd.mkopt.mk /usr/src/share/mk/bsd.suffixes.mk = /root/src.configs/make.conf /usr/src/share/mk/local.sys.mk = /usr/src/share/mk/src.sys.mk /dev/null /usr/src/sys/modules/aha/Makefile = /usr/src/share/mk/bsd.kmod.mk /usr/src/sys/conf/kmod.mk = /usr/src/share/mk/bsd.init.mk /usr/src/share/mk/bsd.opts.mk = /usr/src/share/mk/bsd.cpu.mk /usr/src/share/mk/local.init.mk = /usr/src/share/mk/src.init.mk /usr/src/sys/modules/aha/../Makefile.inc = /usr/src/share/mk/bsd.own.mk /usr/src/share/mk/bsd.compiler.mk = /usr/src/share/mk/bsd.linker.mk /usr/src/sys/conf/kern.opts.mk = /usr/src/sys/conf/config.mk /usr/src/share/mk/bsd.links.mk = /usr/src/share/mk/bsd.dep.mk /usr/src/share/mk/bsd.clang-analyze.mk = /usr/src/share/mk/bsd.obj.mk /usr/src/share/mk/bsd.subdir.mk = /usr/src/sys/conf/kern.mk' .PATH=3D'. /usr/src/sys/modules/aha /usr/src/sys/dev/aha = /usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys/GENERICvtsc-NODBG' *** [all_subdir_aha] Error code 2 =3D=3D=3D Mark Millard markmi at dsl-only.net From owner-freebsd-ppc@freebsd.org Sun Aug 6 22:31:57 2017 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 7156DDCE3DA for ; Sun, 6 Aug 2017 22:31:57 +0000 (UTC) (envelope-from specials@furthermore.co.za) Received: from furthermoreincconsultancy.co.za (static-ip-188-138-82-156.inaddr.ip-pool.com [188.138.82.156]) by mx1.freebsd.org (Postfix) with ESMTP id 2037B71210 for ; Sun, 6 Aug 2017 22:31:56 +0000 (UTC) (envelope-from specials@furthermore.co.za) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; s=mail; d=furthermoreincconsultancy.co.za; h=Date:Message-ID:From:To:Subject:MIME-Version:Content-Type; i=postmaster@furthermoreincconsultancy.co.za; bh=6UoWvTgtjMc9qsLxqLh5N7NSw7I=; b=Fz1rfrqDoTVkW+oFpdYWbxb1RSpDhP/tzjiWq+qN7IiZKZYImCB6oJbSzCwsnyVqsjTIsXJi+pmx /DHpVYpxe6CB9YNc/0jH6BM5WAPNmcvym8hJikMYrBimoxdLl1OEWwMhyQR0kc8113A6nl/kSLAm 8yzUZHcyKV3tvJZxUZ0= Received: from specials@furthermore.co.za (41.164.39.47) by furthermoreincconsultancy.co.za id hgucdq0001gl for ; Mon, 7 Aug 2017 00:31:56 +0200 (envelope-from ) Date: Mon, 07 Aug 2017 00:31:56 +0200 Message-ID: <2017870315629AMUNIQUEID@USER-PC> From: i5 Desktop Special To: freebsd-ppc@freebsd.org Subject: i5 Desktop Special - EXTENDED TILL TUES 8 AUG - R3999 X-Mailer: AutoMSW (www.automsw.com) ID: 1386816 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Aug 2017 22:31:57 -0000 i5 Desktop PC - only R3999 = EXTENDED TILL TUESDAY 8 AUG 2017 5 Desktop PC 350GB Hard Drive 4GB Memory = 3.1GHZ Intel=AE Core=99 i5-650 Processor 8 x USB Slots DVD Reader/Writer Installed with Windows 7 System FREE APPS (VLC / Adobe Reader / Open Office) FREE Keyboard and Mouse This desktop is designed for powerful use, and is suitable for many purpos= es such as GAMING, OFFICE PC, DESIGNING WORK, ETC. = It is powerful enough to handle a lot of work load, and will NOT let you d= own, regardless of your requirements. The small design lets you use it in very tight spaces, such as a bedroom, = office cubicles, limited desk space. It is a robust desktop, so it can be used=A0 without fear of damage to the= casing, or internal components. It come fully installed with Windows 7, and Open Office, so you can start = using it IMMEDIATELY REASONS TO OWN THIS PC Incredible Performance Boosts productivity Green Features =96 Uses very little resources to run = Ergonomic Design Industrial quality design and materials Suitable for everyone FREE EXTRAS USB Keyboard USB Mouse Programmes Pre-Installed Windows 7 64bit Open Office Adobe Reader VLC Media Player =A0Email us today on desktop@products-sales.co.za for more information or = to purchase or call 021 903 0501 / 021 903 0118 =A0Renewed/refurbished to brand new. No Monitor included =A0Delivery to your door via courier or collection can be arranged (R99) =A0 =A0OFFER VALID TILL TUESDAY 8 AUG 2017 ONLY!! =A0_______________________________________________________ Why am I receiving this message? 1. You subscribed on one of our many related websites 2. A friend has forwarded you this message 3. You have had previous communications with one of our linked websites. = Eg. You have requested quotes/bookings/info regarding related products fro= m us How do I Unsubscribe? Reply to this e-mail with the word "Unsubscribe" =A0 Notes: Pictures are a representation of the item, but might differ with certain a= spects All prices are subject to change without notice Stock levels are not guaranteed and items might be place on back-order Courier charges are estimates, all courier charges will be quoted per orde= r. By accepting this email without unsubscribing, possible further marketing = emails will be sent to you. From owner-freebsd-ppc@freebsd.org Thu Aug 10 13:17:58 2017 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 A2377DD2601 for ; Thu, 10 Aug 2017 13:17:58 +0000 (UTC) (envelope-from andy.silva@snsmarketreports.com) Received: from mailer238.gate85.rs.smtp.com (mailer238.gate85.rs.smtp.com [74.91.85.238]) (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 4A18C83F85 for ; Thu, 10 Aug 2017 13:17:57 +0000 (UTC) (envelope-from andy.silva@snsmarketreports.com) X-MSFBL: 6ZrrICsrnrPOha6qNMDDCeEUfBl/PiNQJJs35UjLxu8=|eyJiIjoiU25zdGVsZWN vbV9kZWRpY2F0ZWRfcG9vbF83NF85MV84NV8yMzgiLCJyIjoiZnJlZWJzZC1wcGN AZnJlZWJzZC5vcmciLCJnIjoiU25zdGVsZWNvbV9kZWRpY2F0ZWRfcG9vbCJ9 Received: from [192.168.85.76] ([192.168.85.76:33594] helo=[10.0.1.29]) by rs-ord-mta01-out2.smtp.com (envelope-from ) (ecelerity 4.2.1.55028 r(Core:4.2.1.12)) with ESMTP id 43/60-07034-D485C895; Thu, 10 Aug 2017 12:57:49 +0000 Received: from 10.255.0.55 by Caffeine (rs-ord-mtsp-c01-adv2) with SMTP id ee5d9ee2-1137-4d87-8495-b9ec1735417d for freebsd-ppc@freebsd.org; Thu, 10 Aug 2017 12:57:14 +0000 (UTC) Received: from [65.49.242.4] ([65.49.242.4:56494] helo=gull-dhcp-65-49-242-4.bloombb.net) by rs-ord-mtsp-mta03-in2.int.smtp.com (envelope-from ) (ecelerity 4.1.0.46749 r(Core:4.1.0.4)) with ESMTPA id A0/CE-04502-A285C895; Thu, 10 Aug 2017 12:57:14 +0000 MIME-Version: 1.0 From: "Andy Silva" Reply-To: andy.silva@snsmarketreports.com To: freebsd-ppc@freebsd.org Subject: The C-RAN (Centralized Radio Access Network) Ecosystem: 2017 - 2030 - Opportunities, Challenges, Strategies & Forecasts (Report) X-Mailer: Smart_Send_2_0_138 Date: Thu, 10 Aug 2017 08:57:12 -0400 Message-ID: <88883996142162770517464@Ankur> X-SMTPCOM-Tracking-Number: ee5d9ee2-1137-4d87-8495-b9ec1735417d X-SMTPCOM-Sender-ID: 6008902 Feedback-ID: 6008902:SMTPCOM DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=snsresearchreports.com; i=@snsresearchreports.com; q=dns/txt; s=snskey; t=1502369842; h=MIME-Version : From : Reply-To : To : Subject : Content-Type : Date : Message-ID : From : Subject : Date; bh=8TAySkUC7d3U8p7P9Hi4OOZEGZQ7UAxJcyNxdGY7GJ0=; b=oSCgY4utfLQkSUFzZnHTAKoGP/Aw5Xvm0FyTSyFsjBIkRgrakQDMN/opeP8cnD/znxeCvS sFvd1sb1rLWn6huKcgx+HGZqL3hX6S+CIAgxdFzLEQyzvn6WLbbfixs1bX8Wjy8XoHGCoKFr fhBvadNVgI8pWkIG5g/vuwl4COInDCAXRZoECof99HrVK4vA5OWPqAtL1xwwuc14p4Rd0/k/ ByVJYhFvMCRgiosilM9Q2ER+U8l1n2LpM7NQ7rWlxYJeA1NMU4+8uiSZQGl/hEH/9ncCqFBO UYBkKop0WHyzqCE96BD+Udtqr5Jl0/B0aG5xMmAZRn7oCAfgewt4Qdjg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=snsresearchreports.com; i=@snsresearchreports.com; q=dns/txt; s=snskey; t=1502369842; h=MIME-Version : From : Reply-To : To : Subject : Content-Type : Date : Message-ID : From : Subject : Date; bh=8TAySkUC7d3U8p7P9Hi4OOZEGZQ7UAxJcyNxdGY7GJ0=; b=oSCgY4utfLQkSUFzZnHTAKoGP/Aw5Xvm0FyTSyFsjBIkRgrakQDMN/opeP8cnD/znxeCvS sFvd1sb1rLWn6huKcgx+HGZqL3hX6S+CIAgxdFzLEQyzvn6WLbbfixs1bX8Wjy8XoHGCoKFr fhBvadNVgI8pWkIG5g/vuwl4COInDCAXRZoECof99HrVK4vA5OWPqAtL1xwwuc14p4Rd0/k/ ByVJYhFvMCRgiosilM9Q2ER+U8l1n2LpM7NQ7rWlxYJeA1NMU4+8uiSZQGl/hEH/9ncCqFBO UYBkKop0WHyzqCE96BD+Udtqr5Jl0/B0aG5xMmAZRn7oCAfgewt4Qdjg== X-Report-Abuse: SMTP.com is an email service provider. Our abuse team cares about your feedback. Please contact abuse@smtp.com for further investigation. Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Aug 2017 13:17:58 -0000 The C-RAN (Centralized Radio Access Network) Ecosystem: 2017 =96 2030 =96 O= pportunities, Challenges, Strategies & Forecasts (Report) Hello Please find the latest SNS Research report summary to you and your team, " = The C-RAN (Centralized Radio Access Network) Ecosystem: 2017 =96 2030 =96 O= pportunities, Challenges, Strategies & Forecasts " Below is the report high= light and if you like I can send you sample pages for your details inside. =20 Centralized RAN or C-RAN is an architectural shift in RAN (Radio Access Net= work) design, where the bulk of baseband processing is centralized and aggr= egated for a large number of distributed radio nodes. In comparison to stan= dalone clusters of base stations, C-RAN provides significant performance an= d economic benefits such as baseband pooling, enhanced coordination between= cells, virtualization, network extensibility, smaller deployment footprint= and reduced power consumption. Initially popularized by Japanese and South Korean mobile operators, C-RAN = technology is beginning to gain momentum worldwide with major tier 1 operat= ors =96 including Verizon Communications, AT&T, Sprint, China Mobile, Voda= fone, TIM (Telecom Italia Mobile), Orange and Telef=F3nica =96 seeking to = leverage the benefits of centralized baseband processing. SNS Research estimates that global investments in C-RAN architecture networ= ks will reach nearly $9 Billion by the end of 2017. The market is further e= xpected to grow at a CAGR of approximately 24% between 2017 and 2020. These= investments will include spending on RRHs (Remote Radio Heads), BBUs (Base= band Units) and fronthaul transport network equipment. Report Information: Release Date: July 2017 Number of Pages: 430 Number of Tables and Figures: 115 Key Questions Answered: The report provides answers to the following key questions: How big is the C-RAN opportunity=3F What trends, challenges and barriers are influencing its growth=3F How is the ecosystem evolving by segment and region=3F What will the market size be in 2020 and at what rate will it grow=3F Which submarkets will see the highest percentage of growth=3F How can C-RAN facilitate the management of interference and LTE-Advanced fe= atures such as CoMP (Coordinated Multi-Point)=3F What are the benefits and drawbacks of each baseband functional split optio= n=3F How can C-RAN reduce the TCO (Total Cost of Ownership) of RAN deployments=3F What are the prospects of wireless fronthaul technologies=3F Is Ethernet a feasible solution for fronthaul networking=3F How big is the market for vRAN/Cloud RAN networks=3F How can mobile operators future-proof their RAN investments for 5G upgrades=3F Who are the key market players and what are their strategies=3F What strategies should C-RAN solution providers and mobile operators adopt = to remain competitive=3F Key Findings: The report has the following key findings: Expected to reach nearly $9 Billion in global spending by the end of 2017, = C-RAN is increasingly becoming the preferred approach to deploy future mobi= le networks. The market is further expected to grow at a CAGR of approximat= ely 24% between 2017 and 2020. Small cells are also beginning to be deployed in a C-RAN architecture to le= verage the benefits of resource pooling and multi-cell coordination. This t= rend is particularly prevalent in the indoor and enterprise segments, with = a number of dedicated vendor solutions such as CommScope's OneCell, SpiderC= loud's E-RAN, Ericsson's Radio Dot, and Huawei's LampSite. Mobile operators are exploring multiple baseband functional split options f= or C-RAN implementation, as they seek to ease the transition to 5G networks= while reducing fronthaul costs. By the end of 2020, SNS Research estimates that vRAN/Cloud RAN deployments = with virtualized baseband processing will account for nearly 20% of all C-R= AN investments. The vendor arena is continuing to consolidate with several prominent M&A de= als such as Mavenir Systems' recent merger with C-RAN specialist Ranzure Ne= tworks, which has positioned the company as an end-to-end provider of 5G-re= ady mobile network solutions. The report covers the following topics: C-RAN ecosystem Market drivers and barriers Key architectural components (RRH, BBU and fronthaul) Competing RAN architectures including traditional macrocell base stations, = standalone small cells and DAS (Distributed Antenna Systems) Key trends including baseband functional splitting, enterprise RAN, vRAN (V= irtualized RAN)/Cloud RAN, MEC (Mobile Edge Computing) and RANaaS (RAN-as-a= -Service) Fronthaul networking technologies and interface options C-RAN deployment models and mobile operator case studies Regulatory landscape and standardization Industry roadmap and value chain Profiles and strategies of over 230 leading ecosystem players including ena= bling technology providers, radio equipment suppliers, BBU vendors, frontha= ul network equipment vendors and mobile operators Strategic recommendations for ecosystem players including C-RAN solution pr= oviders and mobile operators Market analysis and forecasts from 2017 till 2030 Report Pricing: =20 Single User License: USD 2,500 Company Wide License: USD 3,500 =20 Ordering Process: =20 Please provide the following information: Report Title - Report License - (Single User/Company Wide) Name - Email - Job Title - Company - Invoice Address - Please contact me if you have any questions, like to see table of contents,= sample pages and wish to purchase a copy. I look forward to hearing from you. =20 Kind Regards =20 Andy Silva Marketing Executive Signals and Systems Telecom andy.silva@snsmarketreports.com =20 Table of Contents 1 Chapter 1: Introduction 1.1 Executive Summary 1.2 Topics Covered 1.3 Forecast Segmentation 1.4 Key Questions Answered 1.5 Key Findings 1.6 Methodology 1.7 Target Audience 1.8 Companies & Organizations Mentioned =20 2 Chapter 2: An Overview of C-RAN 2.1 What is C-RAN=3F 2.1.1 Decoupling the Base Station 2.1.2 Brief History 2.2 Competing RAN Architectures 2.2.1 Traditional Macrocells 2.2.2 Small Cells 2.2.3 DAS (Distributed Antenna Systems) 2.3 Key Architectural Components for C-RAN 2.3.1 RRH (Remote Radio Head) 2.3.2 BBU (Baseband Unit) 2.3.3 Fronthaul 2.4 Baseband Functional Split Approaches 2.4.1 Fully Centralized Baseband Processing: PHY-RF Split 2.4.2 Partially Centralized Functional Splits 2.4.2.1 Intra-PHY Split 2.4.2.2 MAC-PHY Split 2.4.2.3 Intra-MAC Split 2.4.2.4 RLC-MAC Split 2.4.2.5 Intra-RLC Split 2.4.2.6 PDCP-RLC Split 2.4.2.7 RRC-PDCP Split 2.5 Fronthaul Interface Options & Technologies 2.5.1 Interface Options 2.5.1.1 CPRI (Common Public Radio Interface) 2.5.1.2 OBSAI (Open Base Station Architecture Initiative) 2.5.1.3 ORI (Open Radio Interface) 2.5.1.4 Ethernet 2.5.2 Transport Networking Technologies 2.5.2.1 Dedicated Fiber (Dark Fiber) 2.5.2.2 WDM (Wavelength Division Multiplexing) 2.5.2.3 PON (Passive Optical Network) 2.5.2.4 OTN (Optical Transport Network) 2.5.2.5 Ethernet 2.5.2.6 G.Fast 2.5.2.7 Microwave 2.5.2.8 Millimeter Wave 2.6 vRAN (Virtualized RAN): Transforming C-RAN to Cloud RAN 2.6.1 Leveraging Commodity Technologies 2.6.2 Moving RAN to the Cloud 2.7 Market Growth Drivers 2.7.1 Capacity & Coverage Improvement: Addressing the Mobile Data Traffic T= sunami 2.7.2 Towards Greener RANs: Cost Efficiency & Energy Savings 2.7.3 Agile & Flexible Network Architecture 2.7.4 Enhanced Support for Advanced RAN Coordination Features 2.7.5 The Benefits of Virtualization 2.7.6 Bringing Intelligence to the Edge: MEC (Mobile Edge Computing) 2.7.7 Impact of 5G Rollouts 2.8 Market Barriers 2.8.1 Fronthaul Investments 2.8.2 Virtualization Challenges 2.8.3 Vendor Proprietary Functional Splits 2.8.4 Migration From Legacy Architectures =20 3 Chapter 3: Standardization, Regulatory & Collaborative Initiatives 3.1 3GPP (3rd Generation Partnership Project) 3.1.1 Complementary Features to Support C-RAN 3.1.2 Functional Splits for C-RAN Implementation in 5G Networks 3.2 Broadband Forum 3.2.1 TR-069 for Radio Unit Management 3.3 CPRI Initiative 3.3.1 CPRI Releases 1.4 to 7.0 for 3G & LTE Fronthaul 3.3.2 eCPRI for 5G Fronthaul 3.4 ETSI (European Telecommunications Standards Institute) 3.4.1 ORI for Fronthaul 3.4.2 NFV (Network Functions Virtualization) for Cloud RAN 3.4.3 MEC (Multi-Access Edge Computing) 3.4.4 Millimeter Wave Transmission for Fronthaul & Other Work 3.5 IEEE (Institute of Electrical and Electronics Engineers) 3.5.1 IEEE 802.1CM: TSN (Time-Sensitive Networking) for Fronthaul 3.5.2 IEEE P1904.3: Standard for RoE (Radio over Ethernet) Encapsulations a= nd Mappings 3.5.3 IEEE 1914: NGFI (Next Generation Fronthaul Interface) Working Group 3.5.4 Other Standards & Work Groups 3.6 ITU (International Telecommunications Union) 3.6.1 FG IMT-2020 (Focus Group on IMT-2020) 3.7 MEF (Metro Ethernet Forum) 3.7.1 Ethernet Transport for Small Cells & C-RAN 3.8 NGMN (Next Generation Mobile Networks) Alliance 3.8.1 P-CRAN (Project Centralized RAN) 3.8.2 RAN Evolution Project 3.8.3 5G Work Program & Other Work 3.9 ONF (Open Networking Foundation) & ON.Lab (Open Networking Lab) 3.9.1 CORD (Central Office Re-Architected as a Datacenter) 3.9.2 M-CORD (M-Central Office Re-Architected as a Datacenter) 3.10 OSA (OpenAirInterface Software Alliance) 3.10.1 LTE vRAN Implementation 3.11 SCF (Small Cell Forum) 3.11.1 Release 8: Small Cell Virtualization 3.11.2 Release 9: Network Densification and Evolution to 5G 3.12 TIP (Telecom Infra Project) 3.12.1 OpenCellular =96 Wireless Access Design Platform 3.12.2 Solutions Integration =96 Unbundled RAN Architecture 3.12.3 vRAN Fronthaul 3.12.4 Open Optical Packet Transport & Other Projects 3.13 xRAN Consortium 3.13.1 Standardization for Software-Based RAN =20 4 Chapter 4: C-RAN Deployment Models & Case Studies 4.1 Deployment Models 4.1.1 Localized 4.1.2 Enterprise & Indoor 4.1.3 Highly Centralized 4.1.4 Virtualized & Cloud RAN 4.2 Mobile Operator Case Studies 4.2.1 Am=E9rica M=F3vil Group 4.2.2 AT&T 4.2.3 BT Group 4.2.4 China Mobile 4.2.5 China Telecom 4.2.6 China Unicom 4.2.7 KDDI Corporation 4.2.8 KPN 4.2.9 KT Corporation 4.2.10 LG Uplus 4.2.11 MegaFon 4.2.12 NTT DoCoMo 4.2.13 Orange 4.2.14 SK Telecom 4.2.15 SoftBank Group & Sprint Corporation 4.2.16 Telef=F3nica Group 4.2.17 Telenor Group 4.2.18 Telus Corporation 4.2.19 TIM (Telecom Italia Mobile) 4.2.20 Verizon Communications 4.2.21 Vodafone Group 4.2.22 Zain Group =20 5 Chapter 5: Industry Roadmap & Value Chain 5.1 Industry Roadmap 5.1.1 2017 =96 2020: Gaining Worldwide Traction 5.1.2 2020 =96 2025: The Cloud RAN Era =96 Moving Towards RAN Virtualization 5.1.3 2025 =96 2030: Continued Investments with 5G Network Rollouts 5.2 Value Chain 5.2.1 Enabling Technology Providers 5.2.2 Radio Equipment Suppliers 5.2.3 RAN Vendors 5.2.4 Fronthaul Network Equipment Vendors 5.2.5 Mobile Operators 5.2.6 Test, Measurement & Performance Specialists =20 6 Chapter 6: Key Market Players 6.1 3Roam 6.2 6WIND 6.3 Accelink Technologies Corporation 6.4 Accelleran 6.5 Actelis Networks 6.6 ADLINK Technology 6.7 ADTRAN 6.8 ADVA Optical Networking 6.9 Advantech 6.10 Airspan Networks 6.11 Alpha Networks 6.12 Altiostar Networks 6.13 Amarisoft 6.14 Anritsu Corporation 6.15 APRESIA Systems 6.16 Aquantia Corporation 6.17 Argela 6.18 Aricent 6.19 ARM Holdings 6.20 ARRIS International 6.21 Artemis Networks 6.22 Artesyn Embedded Technologies 6.23 Artiza Networks 6.24 ASOCS 6.25 ASTRI (Hong Kong Applied Science and Technology Research Institute) 6.26 Aviat Networks 6.27 Azcom Technology 6.28 Baicells Technologies 6.29 Benetel 6.30 Blu Wireless Technology 6.31 BluWan 6.32 Boomsense/Bangxun Technology 6.33 BridgeWave Communications 6.34 Broadcom 6.35 CableFree (Wireless Excellence) 6.36 Cadence Design Systems 6.37 Calix 6.38 Cambium Networks 6.39 Casa Systems 6.40 Cavium 6.41 CBNL (Cambridge Broadband Networks Ltd.) 6.42 CCI (Communication Components, Inc.) 6.43 CCS (Cambridge Communication Systems) 6.44 cellXica 6.45 Ceragon Networks 6.46 CEVA 6.47 Ciena Corporation 6.48 Cisco Systems 6.49 Clavister 6.50 Cobham Wireless 6.51 Coherent Logix 6.52 Collision Communications 6.53 Comcores 6.54 CommAgility 6.55 CommScope 6.56 Contela 6.57 Corecess 6.58 Coriant 6.59 Corning 6.60 Dali Wireless 6.61 DASAN Zhone Solutions 6.62 Datang Mobile 6.63 Dell Technologies 6.64 DragonWave 6.65 eASIC Corporation 6.66 E-Band Communications 6.67 EBlink 6.68 ECI Telecom 6.69 Ekinops 6.70 ELVA-1 6.71 Eoptolink Technology 6.72 Ericsson 6.73 Ethernity Networks 6.74 ETRI (Electronics & Telecommunications Research Institute, South Korea) 6.75 Exalt Wireless 6.76 EXFO 6.77 ExteNet Systems 6.78 Extreme Networks 6.79 Facebook 6.80 Fairwaves 6.81 Faraday Technology Corporation 6.82 FastBack Networks 6.83 FiberHome Technologies 6.84 FibroLan 6.85 Finisar Corporation 6.86 Flex Logix Technologies 6.87 Foxconn Interconnect Technology 6.88 Fraunhofer FOKUS (Institute for Open Communication Systems) 6.89 Fraunhofer HHI (Heinrich Hertz Institute) 6.90 Frog Cellsat 6.91 Fujian Sunnada Network Technology 6.92 Fujitsu 6.93 Furukawa Electric Group 6.94 GigaLight 6.95 GlobalFoundaries 6.96 Google 6.97 HCL Technologies 6.98 HFR 6.99 Hisense 6.100 Hitachi 6.101 HPE (Hewlett Packard Enterprise) 6.102 Huahuan 6.103 Huawei 6.104 HUBER+SUHNER 6.105 HXI 6.106 IBM Corporation 6.107 IDT (Integrated Device Technology) 6.108 Imec International 6.109 InCoax 6.110 Infineon Technologies 6.111 Infinera 6.112 InfiNet Wireless 6.113 InnoLight Technology 6.114 Intel Corporation 6.115 InterDigital 6.116 Intracom Telecom 6.117 IP Light 6.118 ip.access 6.119 IPITEK 6.120 Iskratel 6.121 IS-Wireless 6.122 ITRI (Industrial Technology Research Institute, Taiwan) 6.123 JMA Wireless 6.124 JRC (Japan Radio Company) 6.125 Juni Global 6.126 Kathrein-Werke KG 6.127 KEYMILE 6.128 Keysight Technologies 6.129 Kisan Telecom 6.130 KMW 6.131 Lattice Semiconductor 6.132 LightPointe Communications 6.133 Lindsay Broadband 6.134 Loea Corporation 6.135 Lumentum 6.136 Luminate Wireless 6.137 MACOM Technology Solutions Holdings 6.138 Maja Systems 6.139 Maven Wireless 6.140 Mavenir Systems 6.141 MAX4G 6.142 MaxLinear 6.143 Mellanox Technologies 6.144 Microsemi Corporation 6.145 Microwave Networks 6.146 MIMOtech 6.147 Mitsubishi Electric Corporation 6.148 Mobiveil 6.149 Molex 6.15 Moseley Associates 6.151 MRV Communications 6.152 MTI (Microelectronics Technology, Inc.) 6.153 N.A.T. 6.154 Nash Technologies 6.155 NEC Corporation 6.156 Netonomics 6.157 NETSCOUT Systems 6.158 New Postcom Equipment 6.159 Nexcomm Systems 6.16 NexxCom Wireless 6.161 Node-H 6.162 Nokia Networks 6.163 NuRAN Wireless 6.164 NXP Semiconductors 6.165 Octasic 6.166 OE Solutions 6.167 Omnitron Systems 6.168 OneAccess Networks 6.169 Parallel Wireless 6.17 Peraso Technologies 6.171 Phluido 6.172 PMN (Private Mobile Networks) 6.173 Polewall 6.174 Potevio 6.175 Proxim Wireless Corporation 6.176 Qualcomm 6.177 Qucell 6.178 Qwilt 6.179 RACOM 6.18 RAD Data Communications 6.181 Radisys Corporation 6.182 RADWIN 6.183 Raisecom 6.184 Range Networks 6.185 Red Hat 6.186 Redline Communications 6.187 REMEC Broadband Wireless Networks 6.188 Saguna Networks 6.189 SAI Technology 6.19 Samji Electronics 6.191 Samsung Electronics 6.192 Sarokal Test Systems 6.193 SerComm Corporation 6.194 SIAE Microelectronica 6.195 Siklu Communication 6.196 Sistelbanda 6.197 SITRONICS 6.198 SK Telesys 6.199 SkyFiber 6.2 Solectek Corporation 6.201 SOLiD 6.202 Sooktha 6.203 Source Photonics 6.204 Spectronite 6.205 SpiderCloud Wireless 6.206 SRS (Software Radio Systems) 6.207 Star Solutions 6.208 Sumitomo Electric Industries 6.209 Sunwave Solutions 6.21 Tarana Wireless 6.211 Tata Elxsi 6.212 TEKTELIC Communications 6.213 Telco Systems 6.214 Tellabs 6.215 Tellion 6.216 Telrad Networks 6.217 TI (Texas Instruments) 6.218 Trango Systems 6.219 Transition Networks 6.22 Ubiquoss 6.221 UTStarcom 6.222 Vanu 6.223 Viavi Solutions 6.224 VMware 6.225 Vubiq Networks 6.226 Wave1 6.227 WiPro 6.228 Xelic 6.229 Xilinx 6.23 ZTE =20 7 Chapter 7: Market Analysis & Forecasts 7.1 Global Outlook for C-RAN Investments 7.2 Segmentation by Air Interface Technology 7.2.1 3G & LTE 7.2.2 5G NR (New Radio) 7.3 Segmentation by Network Architecture 7.3.1 Non-Virtualized C-RAN 7.3.2 vRAN/Cloud RAN 7.4 Segmentation by Submarket 7.4.1 RRHs 7.4.2 RRH Segmentation by Air Interface Technology 7.4.2.1 3G & LTE 7.4.2.2 5G NR 7.4.3 RRH Segmentation by Deployment Model 7.4.3.1 Indoor 7.4.3.2 Outdoor 7.4.4 RRH Segmentation by Cell Size 7.4.4.1 Small Cells 7.4.4.2 Macrocells 7.4.5 BBUs 7.4.6 BBU Segmentation by Air Interface Technology 7.4.6.1 3G & LTE 7.4.6.2 5G NR 7.4.7 Fronthaul 7.4.8 Fronthaul Segmentation by Transport Network Technology 7.4.8.1 Dedicated Fiber 7.4.8.2 WDM 7.4.8.3 OTN & PON 7.4.8.4 Ethernet 7.4.8.5 Microwave 7.4.8.6 Millimeter Wave 7.4.8.7 G.Fast & Others 7.5 Segmentation by Region 7.5.1 RRHs 7.5.2 BBUs 7.5.3 Fronthaul 7.6 Asia Pacific 7.6.1 RRHs 7.6.2 BBUs 7.6.3 Fronthaul 7.7 Eastern Europe 7.7.1 RRHs 7.7.2 BBUs 7.7.3 Fronthaul 7.8 Latin & Central America 7.8.1 RRHs 7.8.2 BBUs 7.8.3 Fronthaul 7.9 Middle East & Africa 7.9.1 RRHs 7.9.2 BBUs 7.9.3 Fronthaul 7.1 North America 7.10.1 RRHs 7.10.2 BBUs 7.10.3 Fronthaul 7.11 Western Europe 7.11.1 RRHs 7.11.2 BBUs 7.11.3 Fronthaul =20 8 Chapter 8: Conclusion & Strategic Recommendations 8.1 Why is the Market Poised to Grow=3F 8.2 Competitive Industry Landscape: Acquisitions, Alliances & Consolidation 8.3 Setting the Foundation for 5G NR (New Radio) Upgrades 8.4 Integration with MEC (Mobile Edge Computing) 8.5 Towards a User Centric RAN Architecture 8.6 RAN Disaggregation: Blurring the Lines Between Small Cells and C-RAN 8.7 The Emergence of Enterprise RAN Platforms 8.8 Prospects of Cloud RAN 8.9 RANaaS (RAN-as-a-Service): Envisioning the Future of C-RAN 8.1 Enabling RAN Slicing 8.11 What is the Cost Savings Potential of C-RAN=3F 8.12 Geographic Outlook: Which Countries Offer the Highest Growth Potential=3F 8.13 Which Submarket will Lead the Market=3F 8.14 Strategic Recommendations 8.14.1 C-RAN Solution Providers 8.14.2 Mobile Operators =20 List of Figures: Figure 1: C-RAN Architecture Figure 2: Key Characteristics of Small Cells Figure 3: Key RRH & BBU Functions Figure 4: RAN Functional Split Options Figure 5: Examples of Maximum Required Bitrate on a Fronthaul Link for Poss= ible PHY-RF Split Figure 6: Performance Comparison of RAN Functional Split Options Figure 7: CPRI Protocol Layers Figure 8: vRAN Architecture Figure 9: Cloud RAN Concept Figure 10: Annual Global Throughput of Mobile Network Data Traffic by Regio= n: 2017 =96 2030 (Exabytes) Figure 11: ETSI NFV Architecture Figure 12: M-CORD Focus Areas Figure 13: Small Cell Forum's Release Publication Process Figure 14: nFAPI Interfaces Figure 15: Localized C-RAN Deployment Model Figure 16: Enterprise C-RAN Deployment Model Figure 17: China Mobile=92s Cloud RAN Vision Figure 18: NTT DoCoMo=92s Advanced C-RAN Architecture Figure 19: Orange's Vision of C-RAN Fronthaul Implementation Figure 20: SK Telecom's SDRAN (Software Defined RAN) Architecture Figure 21: SoftBank's Virtualized Small Cell Trial Figure 22: C-RAN Industry Roadmap Figure 23: C-RAN Value Chain Figure 24: Global C-RAN Revenue: 2017 =96 2030 ($ Million) Figure 25: Global C-RAN RRH & BBU Revenue by Air Interface Technology: 2017= =96 2030 ($ Million) Figure 26: Global C-RAN RRH & BBU Revenue in 3G & LTE Networks: 2017 =96 20= 30 ($ Million) Figure 27: Global C-RAN RRH & BBU Revenue in 5G NR Networks: 2017 =96 2030 = ($ Million) Figure 28: Global C-RAN RRH & BBU Revenue by Network Architecture: 2017 =96= 2030 ($ Million) Figure 29: Global Non-Virtualized C-RAN Revenue: 2017 =96 2030 ($ Million) Figure 30: Global vRAN/Cloud RAN Revenue: 2017 =96 2030 ($ Million) Figure 31: Global C-RAN Revenue by Submarket: 2017 =96 2030 ($ Million) Figure 32: Global RRH Unit Shipments: 2017 =96 2030 (Thousands of Units) Figure 33: Global RRH Unit Shipment Revenue: 2017 =96 2030 ($ Million) Figure 34: Global RRH Unit Shipments by Air Interface Technology: 2017 =96 = 2030 (Thousands of Units) Figure 35: Global RRH Unit Shipment Revenue by Air Interface Technology: 20= 17 =96 2030 ($ Million) Figure 36: Global 3G & LTE RRH Unit Shipments: 2017 =96 2030 (Thousands of = Units) Figure 37: Global 3G & LTE RRH Unit Shipment Revenue: 2017 =96 2030 ($ Mill= ion) Figure 38: Global 5G NR RRH Unit Shipments: 2017 =96 2030 (Thousands of Uni= ts) Figure 39: Global 5G NR RRH Unit Shipment Revenue: 2017 =96 2030 ($ Million) Figure 40: Global RRH Unit Shipments by Deployment Model: 2017 =96 2030 (Th= ousands of Units) Figure 41: Global RRH Unit Shipment Revenue by Deployment Model: 2017 =96 2= 030 ($ Million) Figure 42: Global Indoor RRH Unit Shipments: 2017 =96 2030 (Thousands of Un= its) Figure 43: Global Indoor RRH Unit Shipment Revenue: 2017 =96 2030 ($ Millio= n) Figure 44: Global Outdoor RRH Unit Shipments: 2017 =96 2030 (Thousands of U= nits) Figure 45: Global Outdoor RRH Unit Shipment Revenue: 2017 =96 2030 ($ Milli= on) Figure 46: Global RRH Unit Shipments by Cell Size: 2017 =96 2030 (Thousands= of Units) Figure 47: Global RRH Unit Shipment Revenue by Cell Size: 2017 =96 2030 ($ = Million) Figure 48: Global Small Cell RRH Unit Shipments: 2017 =96 2030 (Thousands o= f Units) Figure 49: Global Small Cell RRH Unit Shipment Revenue: 2017 =96 2030 ($ Mi= llion) Figure 50: Global Macrocell RRH Unit Shipments: 2017 =96 2030 (Thousands of= Units) Figure 51: Global Macrocell RRH Unit Shipment Revenue: 2017 =96 2030 ($ Mil= lion) Figure 52: Global C-RAN BBU Shipments: 2017 =96 2030 (Thousands of Units) Figure 53: Global C-RAN BBU Shipment Revenue: 2017 =96 2030 ($ Million) Figure 54: Global C-RAN BBU Shipments by Air Interface Technology: 2017 =96= 2030 (Thousands of Units) Figure 55: Global C-RAN BBU Shipment Revenue by Air Interface Technology: 2= 017 =96 2030 ($ Million) Figure 56: Global 3G & LTE C-RAN BBU Shipments: 2017 =96 2030 (Thousands of= Units) Figure 57: Global 3G & LTE C-RAN BBU Shipment Revenue: 2017 =96 2030 ($ Mil= lion) Figure 58: Global 5G NR C-RAN BBU Shipments: 2019 =96 2030 (Thousands of Un= its) Figure 59: Global 5G NR C-RAN BBU Shipment Revenue: 2019 =96 2030 ($ Millio= n) Figure 60: Global Fronthaul Revenue: 2017 =96 2030 ($ Million) Figure 61: Global Fronthaul Revenue by Transport Network Technology: 2017 = =96 2030 ($ Million) Figure 62: Global Dedicated Fiber Fronthaul Revenue: 2017 =96 2030 ($ Milli= on) Figure 63: Global WDM Fronthaul Revenue: 2017 =96 2030 ($ Million) Figure 64: Global OTN & PON Fronthaul Revenue: 2017 =96 2030 ($ Million) Figure 65: Global Ethernet Fronthaul Revenue: 2017 =96 2030 ($ Million) Figure 66: Global Microwave Fronthaul Revenue: 2017 =96 2030 ($ Million) Figure 67: Global Millimeter Wave Fronthaul Revenue: 2017 =96 2030 ($ Milli= on) Figure 68: Global G.Fast & Other Technologies Fronthaul Revenue: 2017 =96 2= 030 ($ Million) Figure 69: C-RAN Revenue by Region: 2017 =96 2030 ($ Million) Figure 70: RRH Unit Shipments by Region: 2017 =96 2030 (Thousands of Units) Figure 71: RRH Unit Shipment Revenue by Region: 2017 =96 2030 ($ Million) Figure 72: C-RAN BBU Shipments by Region: 2017 =96 2030 (Thousands of Units) Figure 73: C-RAN BBU Shipment Revenue by Region: 2017 =96 2030 ($ Million) Figure 74: Fronthaul Revenue by Region: 2017 =96 2030 ($ Million) Figure 75: Asia Pacific C-RAN Revenue: 2017 =96 2030 ($ Million) Figure 76: Asia Pacific RRH Unit Shipments: 2017 =96 2030 (Thousands of Uni= ts) Figure 77: Asia Pacific RRH (Remote Radio Head) Unit Shipment Revenue: 2017= =96 2030 ($ Million) Figure 78: Asia Pacific C-RAN BBU Shipments: 2017 =96 2030 (Thousands of Un= its) Figure 79: Asia Pacific C-RAN BBU Shipment Revenue: 2017 =96 2030 ($ Millio= n) Figure 80: Asia Pacific Fronthaul Revenue: 2017 =96 2030 ($ Million) Figure 81: Eastern Europe C-RAN Revenue: 2017 =96 2030 ($ Million) Figure 82: Eastern Europe RRH Unit Shipments: 2017 =96 2030 (Thousands of U= nits) Figure 83: Eastern Europe RRH Unit Shipment Revenue: 2017 =96 2030 ($ Milli= on) Figure 84: Eastern Europe C-RAN BBU Shipments: 2017 =96 2030 (Thousands of = Units) Figure 85: Eastern Europe C-RAN BBU Shipment Revenue: 2017 =96 2030 ($ Mill= ion) Figure 86: Eastern Europe Fronthaul Revenue: 2017 =96 2030 ($ Million) Figure 87: Latin & Central America C-RAN Revenue: 2017 =96 2030 ($ Million) Figure 88: Latin & Central America RRH Unit Shipments: 2017 =96 2030 (Thous= ands of Units) Figure 89: Latin & Central America RRH Unit Shipment Revenue: 2017 =96 2030= ($ Million) Figure 90: Latin & Central America C-RAN BBU Shipments: 2017 =96 2030 (Thou= sands of Units) Figure 91: Latin & Central America C-RAN BBU Shipment Revenue: 2017 =96 203= 0 ($ Million) Figure 92: Latin & Central America Fronthaul Revenue: 2017 =96 2030 ($ Mill= ion) Figure 93: Middle East & Africa C-RAN Revenue: 2017 =96 2030 ($ Million) Figure 94: Middle East & Africa RRH Unit Shipments: 2017 =96 2030 (Thousand= s of Units) Figure 95: Middle East & Africa RRH Unit Shipment Revenue: 2017 =96 2030 ($= Million) Figure 96: Middle East & Africa C-RAN BBU Shipments: 2017 =96 2030 (Thousan= ds of Units) Figure 97: Middle East & Africa C-RAN BBU Shipment Revenue: 2017 =96 2030 (= $ Million) Figure 98: Middle East & Africa Fronthaul Revenue: 2017 =96 2030 ($ Millio= n) Figure 99: North America C-RAN Revenue: 2017 =96 2030 ($ Million) Figure 100: North America RRH Unit Shipments: 2017 =96 2030 (Thousands of U= nits) Figure 101: North America RRH Unit Shipment Revenue: 2017 =96 2030 ($ Milli= on) Figure 102: North America C-RAN BBU Shipments: 2017 =96 2030 (Thousands of = Units) Figure 103: North America C-RAN BBU Shipment Revenue: 2017 =96 2030 ($ Mill= ion) Figure 104: North America Fronthaul Revenue: 2017 =96 2030 ($ Million) Figure 105: Western Europe C-RAN Revenue: 2017 =96 2030 ($ Million) Figure 106: Western Europe RRH Unit Shipments: 2017 =96 2030 (Thousands of = Units) Figure 107: Western Europe RRH Unit Shipment Revenue: 2017 =96 2030 ($ Mill= ion) Figure 108: Western Europe C-RAN BBU Shipments: 2017 =96 2030 (Thousands of= Units) Figure 109: Western Europe C-RAN BBU Shipment Revenue: 2017 =96 2030 ($ Mil= lion) Figure 110: Western Europe Fronthaul Revenue: 2017 =96 2030 ($ Million) Figure 111: Global Enterprise RAN Investments: 2017 =96 2030 ($ Million) Figure 112: Distribution of C-RAN Investments by Network Architecture: 2020= (%) Figure 113: Conceptual Architecture for Network Slicing in Mobile Networks Figure 114: TCO Comparison Between Conventional RAN, C-RAN and Cloud RAN Ar= chitectures ($ per GB) Figure 115: Global C-RAN Spending Breakdown by Submarket: 2020 (%) =20 To unsubscribe send an email with unsubscribe in the subject line to: remov= e@snsreports.com =20 From owner-freebsd-ppc@freebsd.org Fri Aug 11 02:22:46 2017 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 D577FCFE96A for ; Fri, 11 Aug 2017 02:22:46 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-81.reflexion.net [208.70.210.81]) (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 993D47FA3E for ; Fri, 11 Aug 2017 02:22:46 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 26709 invoked from network); 11 Aug 2017 02:24:29 -0000 Received: from unknown (HELO rtc-sm-01.app.dca.reflexion.local) (10.81.150.1) by 0 (rfx-qmail) with SMTP; 11 Aug 2017 02:24:29 -0000 Received: by rtc-sm-01.app.dca.reflexion.local (Reflexion email security v8.40.2) with SMTP; Thu, 10 Aug 2017 22:22:44 -0400 (EDT) Received: (qmail 8714 invoked from network); 11 Aug 2017 02:22:44 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 11 Aug 2017 02:22:44 -0000 Received: from [192.168.1.26] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 8E898EC8559; Thu, 10 Aug 2017 19:22:43 -0700 (PDT) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: I have submitted bugzilla 221107 for a (e.g.) -r321706 system clang 5 vintage TARGET_ARCH=powerpc buildkernel failure for aha.kld: R_PPC_PLTREL24 reloc against local symbol Date: Thu, 10 Aug 2017 19:22:43 -0700 References: <186BF66E-04E5-4663-AD0B-E07A9C631925@dsl-only.net> <636276E6-BA4C-4C28-84FF-A34BDF1F1702@dsl-only.net> <51700A90-8DB5-4D81-AC83-D3FB0FDEFED7@dsl-only.net> To: Dimitry Andric , FreeBSD Toolchain , FreeBSD PowerPC ML , FreeBSD Current , Ed Maste In-Reply-To: <51700A90-8DB5-4D81-AC83-D3FB0FDEFED7@dsl-only.net> Message-Id: <46806707-4FB6-4265-A5B3-F3D4EF3C861C@dsl-only.net> X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Aug 2017 02:22:47 -0000 [A top post about the failing R_PPC_PLTREL24 since the material does not flow well as a sequential read from prior material. I found that the .kld does not match the contributing .o for GLOBAL status for routines and the LOCAL in the .kld is rejected by ld in ppc_elf_check_relocs.] There is something consistent between the two example failures. (The examples here are from a more recent head version for a buildkernel attempt.) (I inserted some lines not matched by the shown grep.) # readelf -a = /usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys/GENERICvtsc-NODBG/m= odules/usr/src/sys/modules/aha/aha.kld | grep aha_alloc 00002b8c 00003e12 R_PPC_PLTREL24 00000000 aha_alloc + 0 000031a8 00003e12 R_PPC_PLTREL24 00000000 aha_alloc + 0 Symbol table (.symtab) contains 180 entries: Num: Value Size Type Bind Vis Ndx Name 62: 0000000000000000 96 FUNC LOCAL DEFAULT 1 aha_alloc but in aha.o : 44: 0000000000000000 96 FUNC GLOBAL DEFAULT 2 aha_alloc # readelf -a = /usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys/GENERICvtsc-NODBG/m= odules/usr/src/sys/modules/agp/agp.kld | grep agp_find_caps 00002e08 00004912 R_PPC_PLTREL24 00000000 agp_find_caps + 0 Symbol table (.symtab) contains 180 entries: Num: Value Size Type Bind Vis Ndx Name 73: 0000000000000000 172 FUNC LOCAL DEFAULT 1 agp_find_caps but in agp.o : 58: 0000000000000000 172 FUNC GLOBAL DEFAULT 2 agp_find_caps building the .kld's is turning GLOBAL into LOCAL -- and the LOCAL is being rejected by: /usr/src/contrib/binutils/bfd/elf32-ppc.c in its routine: /* Look through the relocs for a section during the first phase, and allocate space in the global offset table or procedure linkage table. */ =20 static bfd_boolean ppc_elf_check_relocs (bfd *abfd, struct bfd_link_info *info, asection *sec, const Elf_Internal_Rela *relocs) via: r_symndx =3D ELF32_R_SYM (rel->r_info); if (r_symndx < symtab_hdr->sh_info) h =3D NULL; else =20 . . . tls_type =3D 0; r_type =3D ELF32_R_TYPE (rel->r_info); . . . =20 switch (r_type) { . . . case R_PPC_PLT32: case R_PPC_PLTREL24: case R_PPC_PLTREL32: case R_PPC_PLT16_LO: case R_PPC_PLT16_HI: case R_PPC_PLT16_HA: #ifdef DEBUG fprintf (stderr, "Reloc requires a PLT entry\n"); #endif /* This symbol requires a procedure linkage table entry. We actually build the entry in finish_dynamic_symbol, because this might be a case of linking PIC code without linking in any dynamic objects, in which case we don't need to generate a procedure linkage table after all. */ =20 if (h =3D=3D NULL) { /* It does not make sense to have a procedure linkage table entry for a local symbol. */ (*_bfd_error_handler) (_("%B(%A+0x%lx): %s reloc against " "local symbol"), abfd, sec, (long) rel->r_offset, ppc_elf_howto_table[r_type]->name); bfd_set_error (bfd_error_bad_value); return FALSE; } else . . . =3D=3D=3D Mark Millard markmi at dsl-only.net On 2017-Aug-6, at 2:44 PM, Mark Millard wrote: [-r322109 update failed for agp.kld instead. It may just be a race for which happens first during the build.] On 2017-Jul-30, at 3:03 PM, Mark Millard wrote: > [Just correcting the -r's to be -r321706.] >=20 > On 2017-Jul-30, at 1:34 PM, Mark Millard wrote: >=20 > I experiment with system clang targeting powerpc > (and powerpc64). Until recently I could buildkernel > via system clang 4 (but it had problems if tried to > boot such a kernel). After clang 5 it no longer > completes the buildkernel. I'm submitting based on > a -r321706 build attempt. The system binutils are > in use. >=20 > The technical material from the submittal is. . . >=20 > First I list what the R_PPC_PLTREL24 is tied to > then the error text then the build context. >=20 > objdump reports that the .text+0x2b94 involved > is in aha_isa_probe and is a reference to aha_alloc: >=20 > (sorted objdump -x output:) > 00002b78 R_PPC_PLTREL24 bus_alloc_resource > 00002b88 R_PPC_PLTREL24 rman_get_start > 00002b94 R_PPC_PLTREL24 aha_alloc > 00002b96 R_PPC_ADDR32 .debug_str+0x0000266c > 00002b9c R_PPC_PLTREL24 aha_probe > 00002b9f R_PPC_ADDR32 .debug_str+0x00001904 >=20 > (objdump -d --prefix-addresses output:) > 00002aa4 mflr r0 > . . . > 00002b7c cmplwi r3,0 > 00002b80 stw r3,188(r28) > 00002b84 beq 00002c1c > 00002b88 bl 00002b88 > 00002b8c mr r3,r28 > 00002b90 mr r27,r4 > 00002b94 bl 00002b94 > 00002b98 mr r3,r28 > 00002b9c bl 00002b9c > 00002ba0 cmplwi r3,0 >=20 >=20 > --- all_subdir_aha --- > Building = /usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys/GENERICvtsc-NODBG/m= odules/usr/src/sys/modules/aha/aha.kld > . . . > --- all_subdir_aha --- > Building = /usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys/GENERICvtsc-NODBG/m= odules/usr/src/sys/modules/aha/aha.ko.full > . . . > --- aha.ko.full --- > ld: aha.kld(.text+0x2b94): R_PPC_PLTREL24 reloc against local symbol > aha.kld: could not read symbols: Bad value > . . . > --- all_subdir_aha --- > *** [aha.ko.full] Error code 1 >=20 > make[4]: stopped in /usr/src/sys/modules/aha > .ERROR_TARGET=3D'aha.ko.full' > = .ERROR_META_FILE=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys= /GENERICvtsc-NODBG/modules/usr/src/sys/modules/aha/aha.ko.full.meta' > .MAKE.LEVEL=3D'4' > MAKEFILE=3D'' > .MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dyes= verbose' > _ERROR_CMD=3D'ld -m elf32ppc_fbsd -Bshareable -znotext -d -warn-common = -o aha.ko.full aha.kld;' > .CURDIR=3D'/usr/src/sys/modules/aha' > .MAKE=3D'make' > = .OBJDIR=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys/GENERICv= tsc-NODBG/modules/usr/src/sys/modules/aha' > .TARGETS=3D'all' > DESTDIR=3D'' > LD_LIBRARY_PATH=3D'' > MACHINE=3D'powerpc' > MACHINE_ARCH=3D'powerpc' > = MAKEOBJDIRPREFIX=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys= /GENERICvtsc-NODBG/modules' > MAKESYSPATH=3D'/usr/src/share/mk' > MAKE_VERSION=3D'20170720' > --- all_subdir_agp --- > Building = /usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys/GENERICvtsc-NODBG/m= odules/usr/src/sys/modules/agp/agp.ko.full > --- all_subdir_aha --- > = PATH=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/tmp/legacy/usr/= sbin:/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/tmp/legacy/usr/bin= :/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/tmp/legacy/bin:/usr/ob= j/powerpcvtsc_clang/powerpc.powerpc/usr/src/tmp/usr/sbin:/usr/obj/powerpcv= tsc_clang/powerpc.powerpc/usr/src/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bi= n' > SRCTOP=3D'/usr/src' > = OBJTOP=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys/GENERICvt= sc-NODBG/modules/usr/src' > .MAKE.MAKEFILES=3D'/usr/src/share/mk/sys.mk = /usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk = /root/src.configs/src.conf.powerpc-clang-bootstrap.amd64-host = /usr/src/share/mk/bsd.mkopt.mk /usr/src/share/mk/bsd.suffixes.mk = /root/src.configs/make.conf /usr/src/share/mk/local.sys.mk = /usr/src/share/mk/src.sys.mk /dev/null /usr/src/sys/modules/aha/Makefile = /usr/src/share/mk/bsd.kmod.mk /usr/src/sys/conf/kmod.mk = /usr/src/share/mk/bsd.init.mk /usr/src/share/mk/bsd.opts.mk = /usr/src/share/mk/bsd.cpu.mk /usr/src/share/mk/local.init.mk = /usr/src/share/mk/src.init.mk /usr/src/sys/modules/aha/../Makefile.inc = /usr/src/share/mk/bsd.own.mk /usr/src/share/mk/bsd.compiler.mk = /usr/src/share/mk/bsd.linker.mk /usr/src/sys/conf/kern.opts.mk = /usr/src/sys/conf/config.mk /usr/src/share/mk/bsd.links.mk = /usr/src/share/mk/bsd.dep.mk /usr/src/share/mk/bsd.clang-analyze.mk = /usr/src/share/mk/bsd.obj.mk /usr/src/share/mk/bsd.subdir.mk = /usr/src/sys/conf/kern.mk' > .PATH=3D'. /usr/src/sys/modules/aha /usr/src/sys/dev/aha = /usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys/GENERICvtsc-NODBG' > 1 error >=20 > make[4]: stopped in /usr/src/sys/modules/aha > .ERROR_TARGET=3D'aha.ko.full' > = .ERROR_META_FILE=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys= /GENERICvtsc-NODBG/modules/usr/src/sys/modules/aha/aha.ko.full.meta' > .MAKE.LEVEL=3D'4' > MAKEFILE=3D'' > .MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dyes= verbose' > _ERROR_CMD=3D'ld -m elf32ppc_fbsd -Bshareable -znotext -d -warn-common = -o aha.ko.full aha.kld;' > .CURDIR=3D'/usr/src/sys/modules/aha' > .MAKE=3D'make' > = .OBJDIR=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys/GENERICv= tsc-NODBG/modules/usr/src/sys/modules/aha' > .TARGETS=3D'all' > DESTDIR=3D'' > LD_LIBRARY_PATH=3D'' > MACHINE=3D'powerpc' > MACHINE_ARCH=3D'powerpc' > = MAKEOBJDIRPREFIX=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys= /GENERICvtsc-NODBG/modules' > MAKESYSPATH=3D'/usr/src/share/mk' > MAKE_VERSION=3D'20170720' > = PATH=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/tmp/legacy/usr/= sbin:/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/tmp/legacy/usr/bin= :/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/tmp/legacy/bin:/usr/ob= j/powerpcvtsc_clang/powerpc.powerpc/usr/src/tmp/usr/sbin:/usr/obj/powerpcv= tsc_clang/powerpc.powerpc/usr/src/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bi= n' > SRCTOP=3D'/usr/src' > = OBJTOP=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys/GENERICvt= sc-NODBG/modules/usr/src' > .MAKE.MAKEFILES=3D'/usr/src/share/mk/sys.mk = /usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk = /root/src.configs/src.conf.powerpc-clang-bootstrap.amd64-host = /usr/src/share/mk/bsd.mkopt.mk /usr/src/share/mk/bsd.suffixes.mk = /root/src.configs/make.conf /usr/src/share/mk/local.sys.mk = /usr/src/share/mk/src.sys.mk /dev/null /usr/src/sys/modules/aha/Makefile = /usr/src/share/mk/bsd.kmod.mk /usr/src/sys/conf/kmod.mk = /usr/src/share/mk/bsd.init.mk /usr/src/share/mk/bsd.opts.mk = /usr/src/share/mk/bsd.cpu.mk /usr/src/share/mk/local.init.mk = /usr/src/share/mk/src.init.mk /usr/src/sys/modules/aha/../Makefile.inc = /usr/src/share/mk/bsd.own.mk /usr/src/share/mk/bsd.compiler.mk = /usr/src/share/mk/bsd.linker.mk /usr/src/sys/conf/kern.opts.mk = /usr/src/sys/conf/config.mk /usr/src/share/mk/bsd.links.mk = /usr/src/share/mk/bsd.dep.mk /usr/src/share/mk/bsd.clang-analyze.mk = /usr/src/share/mk/bsd.obj.mk /usr/src/share/mk/bsd.subdir.mk = /usr/src/sys/conf/kern.mk' > .PATH=3D'. /usr/src/sys/modules/aha /usr/src/sys/dev/aha = /usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys/GENERICvtsc-NODBG' > *** [all_subdir_aha] Error code 2 >=20 >=20 > Build context: >=20 > = ~/sys_build_scripts.amd64-host/make_powerpcvtsc_nodebug_clang_bootstrap-am= d64-host.sh -j8 buildworld buildkernel >=20 > # more = ~/sys_build_scripts.amd64-host/make_powerpcvtsc_nodebug_clang_bootstrap-am= d64-host.sh=20 > kldload -n filemon && \ > script = ~/sys_typescripts/typescript_make_powerpcvtsc_nodebug_clang_bootstrap-amd6= 4-host-$(date +%Y-%m-%d:%H:%M:%S) \ > env __MAKE_CONF=3D"/root/src.configs/make.conf" SRCCONF=3D"/dev/null" = SRC_ENV_CONF=3D"/root/src.configs/src.conf.powerpc-clang-bootstrap.amd64-h= ost" \ > WITH_META_MODE=3Dyes \ > MAKEOBJDIRPREFIX=3D"/usr/obj/powerpcvtsc_clang" \ > make $* >=20 > C# more /root/src.configs/make.conf > CFLAGS.gcc+=3D -v >=20 > # more /root/src.configs/src.conf.powerpc-clang-bootstrap.amd64-host > TO_TYPE=3Dpowerpc > # > KERNCONF=3DGENERICvtsc-NODBG > TARGET=3D${TO_TYPE} > .if ${.MAKE.LEVEL} =3D=3D 0 > TARGET_ARCH=3D${TO_TYPE} > .export TARGET_ARCH > .endif > # > WITH_CROSS_COMPILER=3D > WITHOUT_SYSTEM_COMPILER=3D > # > WITH_LIBCPLUSPLUS=3D > WITH_BINUTILS_BOOTSTRAP=3D > WITH_ELFTOOLCHAIN_BOOTSTRAP=3D > WITH_CLANG_BOOTSTRAP=3D > WITH_CLANG=3D > WITH_CLANG_IS_CC=3D > WITH_CLANG_FULL=3D > WITH_CLANG_EXTRAS=3D > WITHOUT_LLD=3D > # lldb requires missing atomic 8-byte operations for powerpc (non-64) > WITHOUT_LLDB=3D > # > WITH_BOOT=3D > WITHOUT_LIB32=3D > # > WITHOUT_GCC_BOOTSTRAP=3D > WITHOUT_GCC=3D > WITHOUT_GCC_IS_CC=3D > WITHOUT_GNUCXX=3D > # > NO_WERROR=3D > # > # Use WERROR to avoid stopping at the likes of: > # error: implicit conversion from 'int' to 'int8_t' (aka 'signed = char') changes value from 128 to -128 [-Werror,-Wconstant-conversion] > WERROR=3D > MALLOC_PRODUCTION=3D > # > WITH_REPRODUCIBLE_BUILD=3D > WITH_DEBUG_FILES=3D I have updated bugzilla 221107 for that building -r322109 as an update the failure changed to agp.kld but for the same kind of error notices: --- all_subdir_agp --- Building = /usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys/GENERICvtsc-NODBG/m= odules/usr/src/sys/modules/agp/agp.ko.full . . . --- all_subdir_agp --- --- agp.ko.full --- ld: agp.kld(.text+0x2e08): R_PPC_PLTREL24 reloc against local symbol agp.kld: could not read symbols: Bad value *** [agp.ko.full] Error code 1 make[4]: stopped in /usr/src/sys/modules/agp .ERROR_TARGET=3D'agp.ko.full' = .ERROR_META_FILE=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys= /GENERICvtsc-NODBG/modules/usr/src/sys/modules/agp/agp.ko.full.meta' .MAKE.LEVEL=3D'4' MAKEFILE=3D'' .MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dyes = verbose' _ERROR_CMD=3D'ld -m elf32ppc_fbsd -Bshareable -znotext -d -warn-common = -o agp.ko.full agp.kld;' .CURDIR=3D'/usr/src/sys/modules/agp' .MAKE=3D'make' = .OBJDIR=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys/GENERICv= tsc-NODBG/modules/usr/src/sys/modules/agp' .TARGETS=3D'all' DESTDIR=3D'' LD_LIBRARY_PATH=3D'' MACHINE=3D'powerpc' MACHINE_ARCH=3D'powerpc' = MAKEOBJDIRPREFIX=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys= /GENERICvtsc-NODBG/modules' MAKESYSPATH=3D'/usr/src/share/mk' MAKE_VERSION=3D'20170720' = PATH=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/tmp/legacy/usr/= sbin:/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/tmp/legacy/usr/bin= :/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/tmp/legacy/bin:/usr/ob= j/powerpcvtsc_clang/powerpc.powerpc/usr/src/tmp/usr/sbin:/usr/obj/powerpcv= tsc_clang/powerpc.powerpc/usr/src/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bi= n' SRCTOP=3D'/usr/src' = OBJTOP=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys/GENERICvt= sc-NODBG/modules/usr/src' .MAKE.MAKEFILES=3D'/usr/src/share/mk/sys.mk = /usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk = /root/src.configs/src.conf.powerpc-clang-bootstrap.amd64-host = /usr/src/share/mk/bsd.mkopt.mk /usr/src/share/mk/bsd.suffixes.mk = /root/src.configs/make.conf /usr/src/share/mk/local.sys.mk = /usr/src/share/mk/src.sys.mk /dev/null /usr/src/sys/modules/agp/Makefile = /usr/src/share/mk/bsd.kmod.mk /usr/src/sys/conf/kmod.mk = /usr/src/share/mk/bsd.init.mk /usr/src/share/mk/bsd.opts.mk = /usr/src/share/mk/bsd.cpu.mk /usr/src/share/mk/local.init.mk = /usr/src/share/mk/src.init.mk /usr/src/sys/modules/agp/../Makefile.inc = /usr/src/share/mk/bsd.own.mk /usr/src/share/mk/bsd.compiler.mk = /usr/src/share/mk/bsd.linker.mk /usr/src/sys/conf/kern.opts.mk = /usr/src/sys/conf/config.mk /usr/src/share/mk/bsd.links.mk = /usr/src/share/mk/bsd.dep.mk /usr/src/share/mk/bsd.clang-analyze.mk = /usr/src/share/mk/bsd.obj.mk /usr/src/share/mk/bsd.subdir.mk = /usr/src/sys/conf/kern.mk' .PATH=3D'. /usr/src/sys/modules/agp /usr/src/sys/dev/agp = /usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys/GENERICvtsc-NODBG' 1 error --- all_subdir_aha --- A failure has been detected in another branch of the parallel make make[4]: stopped in /usr/src/sys/modules/aha .ERROR_TARGET=3D'' .ERROR_META_FILE=3D'' .MAKE.LEVEL=3D'4' MAKEFILE=3D'' .MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dyes = verbose' _ERROR_CMD=3D'.PHONY' .CURDIR=3D'/usr/src/sys/modules/aha' .MAKE=3D'make' = .OBJDIR=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys/GENERICv= tsc-NODBG/modules/usr/src/sys/modules/aha' .TARGETS=3D'all' DESTDIR=3D'' LD_LIBRARY_PATH=3D'' MACHINE=3D'powerpc' MACHINE_ARCH=3D'powerpc' = MAKEOBJDIRPREFIX=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys= /GENERICvtsc-NODBG/modules' MAKESYSPATH=3D'/usr/src/share/mk' MAKE_VERSION=3D'20170720' = PATH=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/tmp/legacy/usr/= sbin:/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/tmp/legacy/usr/bin= :/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/tmp/legacy/bin:/usr/ob= j/powerpcvtsc_clang/powerpc.powerpc/usr/src/tmp/usr/sbin:/usr/obj/powerpcv= tsc_clang/powerpc.powerpc/usr/src/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bi= n' SRCTOP=3D'/usr/src' = OBJTOP=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys/GENERICvt= sc-NODBG/modules/usr/src' .MAKE.MAKEFILES=3D'/usr/src/share/mk/sys.mk = /usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk = /root/src.configs/src.conf.powerpc-clang-bootstrap.amd64-host = /usr/src/share/mk/bsd.mkopt.mk /usr/src/share/mk/bsd.suffixes.mk = /root/src.configs/make.conf /usr/src/share/mk/local.sys.mk = /usr/src/share/mk/src.sys.mk /dev/null /usr/src/sys/modules/aha/Makefile = /usr/src/share/mk/bsd.kmod.mk /usr/src/sys/conf/kmod.mk = /usr/src/share/mk/bsd.init.mk /usr/src/share/mk/bsd.opts.mk = /usr/src/share/mk/bsd.cpu.mk /usr/src/share/mk/local.init.mk = /usr/src/share/mk/src.init.mk /usr/src/sys/modules/aha/../Makefile.inc = /usr/src/share/mk/bsd.own.mk /usr/src/share/mk/bsd.compiler.mk = /usr/src/share/mk/bsd.linker.mk /usr/src/sys/conf/kern.opts.mk = /usr/src/sys/conf/config.mk /usr/src/share/mk/bsd.links.mk = /usr/src/share/mk/bsd.dep.mk /usr/src/share/mk/bsd.clang-analyze.mk = /usr/src/share/mk/bsd.obj.mk /usr/src/share/mk/bsd.subdir.mk = /usr/src/sys/conf/kern.mk' .PATH=3D'. /usr/src/sys/modules/aha /usr/src/sys/dev/aha = /usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys/GENERICvtsc-NODBG' *** [all_subdir_aha] Error code 2 =3D=3D=3D Mark Millard markmi at dsl-only.net From owner-freebsd-ppc@freebsd.org Fri Aug 11 05:25:00 2017 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 11955DB7B99 for ; Fri, 11 Aug 2017 05:25:00 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-81.reflexion.net [208.70.210.81]) (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 C479713B1 for ; Fri, 11 Aug 2017 05:24:59 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 5532 invoked from network); 11 Aug 2017 05:24:57 -0000 Received: from unknown (HELO rtc-sm-01.app.dca.reflexion.local) (10.81.150.1) by 0 (rfx-qmail) with SMTP; 11 Aug 2017 05:24:57 -0000 Received: by rtc-sm-01.app.dca.reflexion.local (Reflexion email security v8.40.2) with SMTP; Fri, 11 Aug 2017 01:24:57 -0400 (EDT) Received: (qmail 10861 invoked from network); 11 Aug 2017 05:24:57 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 11 Aug 2017 05:24:57 -0000 Received: from [192.168.1.26] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 1019CEC8AE2; Thu, 10 Aug 2017 22:24:57 -0700 (PDT) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: I have submitted bugzilla 221107 for a (e.g.) -r321706 system clang 5 vintage TARGET_ARCH=powerpc buildkernel failure for aha.kld: R_PPC_PLTREL24 reloc against local symbol Date: Thu, 10 Aug 2017 22:24:56 -0700 References: <186BF66E-04E5-4663-AD0B-E07A9C631925@dsl-only.net> <636276E6-BA4C-4C28-84FF-A34BDF1F1702@dsl-only.net> <51700A90-8DB5-4D81-AC83-D3FB0FDEFED7@dsl-only.net> <46806707-4FB6-4265-A5B3-F3D4EF3C861C@dsl-only.net> To: Dimitry Andric , Ed Maste , FreeBSD Toolchain , FreeBSD PowerPC ML , FreeBSD Current In-Reply-To: <46806707-4FB6-4265-A5B3-F3D4EF3C861C@dsl-only.net> Message-Id: X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Aug 2017 05:25:00 -0000 [clang 5 generates R_PPC_PLTREL24 in the .o files for global symbols in places gcc 4.2.1 generates R_PPC_ADDR16_HA / R_PPC_ADDR16_LO pairs.] On 2017-Aug-10, at 7:22 PM, Mark Millard wrote: > [A top post about the failing R_PPC_PLTREL24 since > the material does not flow well as a sequential > read from prior material. I found that the .kld > does not match the contributing .o for GLOBAL > status for routines and the LOCAL in the .kld is > rejected by ld in ppc_elf_check_relocs.] >=20 > There is something consistent between the two example > failures. (The examples here are from a more recent > head version for a buildkernel attempt.) >=20 > (I inserted some lines not matched by the shown grep.) >=20 > # readelf -a = /usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys/GENERICvtsc-NODBG/m= odules/usr/src/sys/modules/aha/aha.kld | grep aha_alloc > 00002b8c 00003e12 R_PPC_PLTREL24 00000000 aha_alloc + 0 > 000031a8 00003e12 R_PPC_PLTREL24 00000000 aha_alloc + 0 > Symbol table (.symtab) contains 180 entries: > Num: Value Size Type Bind Vis Ndx Name > 62: 0000000000000000 96 FUNC LOCAL DEFAULT 1 aha_alloc >=20 > but in aha.o : >=20 > 44: 0000000000000000 96 FUNC GLOBAL DEFAULT 2 aha_alloc >=20 > # readelf -a = /usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys/GENERICvtsc-NODBG/m= odules/usr/src/sys/modules/agp/agp.kld | grep agp_find_caps > 00002e08 00004912 R_PPC_PLTREL24 00000000 agp_find_caps + 0 > Symbol table (.symtab) contains 180 entries: > Num: Value Size Type Bind Vis Ndx Name > 73: 0000000000000000 172 FUNC LOCAL DEFAULT 1 = agp_find_caps >=20 > but in agp.o : >=20 > 58: 0000000000000000 172 FUNC GLOBAL DEFAULT 2 = agp_find_caps >=20 > building the .kld's is turning GLOBAL into LOCAL -- and the LOCAL > is being rejected by: >=20 > /usr/src/contrib/binutils/bfd/elf32-ppc.c >=20 > in its routine: >=20 > /* Look through the relocs for a section during the first phase, and > allocate space in the global offset table or procedure linkage > table. */ >=20 > static bfd_boolean > ppc_elf_check_relocs (bfd *abfd, > struct bfd_link_info *info, > asection *sec, > const Elf_Internal_Rela *relocs) >=20 > via: >=20 >=20 > r_symndx =3D ELF32_R_SYM (rel->r_info); > if (r_symndx < symtab_hdr->sh_info) > h =3D NULL; > else =20 >=20 > . . . > tls_type =3D 0; > r_type =3D ELF32_R_TYPE (rel->r_info); > . . . =20 > switch (r_type) > { > . . . > case R_PPC_PLT32: > case R_PPC_PLTREL24: > case R_PPC_PLTREL32: > case R_PPC_PLT16_LO: > case R_PPC_PLT16_HI: > case R_PPC_PLT16_HA: > #ifdef DEBUG > fprintf (stderr, "Reloc requires a PLT entry\n"); > #endif > /* This symbol requires a procedure linkage table entry. We > actually build the entry in finish_dynamic_symbol, > because this might be a case of linking PIC code without > linking in any dynamic objects, in which case we don't > need to generate a procedure linkage table after all. */ >=20 > if (h =3D=3D NULL) > { > /* It does not make sense to have a procedure linkage > table entry for a local symbol. */ > (*_bfd_error_handler) (_("%B(%A+0x%lx): %s reloc against = " > "local symbol"), > abfd, > sec, > (long) rel->r_offset, > = ppc_elf_howto_table[r_type]->name); > bfd_set_error (bfd_error_bad_value); > return FALSE; > } > else > . . . clang 5 and gcc 4.2.1 do not match for what goes in aha*.o and agp*.o files for the problem symbols in clang 5's output: gcc 4.2.1 ( R_PPC_ADDR16_HA / R_PPC_ADDR16_LO ): # readelf -at = /usr/obj/powerpcvtsc_gcc421/powerpc.powerpc/usr/src/sys/GENERICvtsc-NODBG/= modules/usr/src/sys/modules/aha/aha*.o | grep aha_alloc 50: 0000000000000514 112 FUNC GLOBAL DEFAULT 1 aha_alloc 00000032 00003206 R_PPC_ADDR16_HA 00000000 aha_alloc + 0 0000003e 00003204 R_PPC_ADDR16_LO 00000000 aha_alloc + 0 0000052a 00003206 R_PPC_ADDR16_HA 00000000 aha_alloc + 0 0000052e 00003204 R_PPC_ADDR16_LO 00000000 aha_alloc + 0 50: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND aha_alloc # readelf -at = /usr/obj/powerpcvtsc_gcc421/powerpc.powerpc/usr/src/sys/GENERICvtsc-NODBG/= modules/usr/src/sys/modules/agp/agp*.o | grep caps 0000204a 00003a06 R_PPC_ADDR16_HA 00000434 agp_find_caps + 0 0000204e 00003a04 R_PPC_ADDR16_LO 00000434 agp_find_caps + 0 00002312 00003a06 R_PPC_ADDR16_HA 00000434 agp_find_caps + 0 0000231a 00003a04 R_PPC_ADDR16_LO 00000434 agp_find_caps + 0 00000000 00003a01 R_PPC_ADDR32 00000434 agp_find_caps + 0 58: 0000000000000434 192 FUNC GLOBAL DEFAULT 1 agp_find_caps 000002be 00003906 R_PPC_ADDR16_HA 00000000 agp_find_caps + 0 000002c6 00003904 R_PPC_ADDR16_LO 00000000 agp_find_caps + 0 57: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND agp_find_caps clang 5 ( R_PPC_PLTREL24 ): # readelf -at = /usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys/GENERICvtsc-NODBG/m= odules/usr/src/sys/modules/aha/aha*.o | grep aha_alloc 44: 0000000000000000 96 FUNC GLOBAL DEFAULT 2 aha_alloc 000000f0 00002e12 R_PPC_PLTREL24 00000000 aha_alloc + 0 0000070c 00002e12 R_PPC_PLTREL24 00000000 aha_alloc + 0 46: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND aha_alloc # readelf -at = /usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys/GENERICvtsc-NODBG/m= odules/usr/src/sys/modules/agp/agp*.o | grep caps 58: 0000000000000000 172 FUNC GLOBAL DEFAULT 2 agp_find_caps 00000138 00003512 R_PPC_PLTREL24 00000000 agp_find_caps + 0 53: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND agp_find_caps (Turning some R_PPC_PLTREL24 into LOCAL for *.kld files is a no-no as far as powerpc (32-bit) ld is concerned.) =3D=3D=3D Mark Millard markmi at dsl-only.net From owner-freebsd-ppc@freebsd.org Sat Aug 12 03:56:27 2017 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 54F67DDEF55 for ; Sat, 12 Aug 2017 03:56:27 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 38C9F718B2 for ; Sat, 12 Aug 2017 03:56:27 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1354) id 7B73D1E107; Sat, 12 Aug 2017 03:56:26 +0000 (UTC) From: Jan Beich To: freebsd-ppc@freebsd.org Subject: Re: svn commit: r447814 - head/www/firefox/files References: <201708120349.v7C3nuXS052281@repo.freebsd.org> Date: Sat, 12 Aug 2017 05:56:23 +0200 In-Reply-To: <201708120349.v7C3nuXS052281@repo.freebsd.org> (Jan Beich's message of "Sat, 12 Aug 2017 03:49:56 +0000 (UTC)") Message-ID: <378x-e8wo-wny@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Aug 2017 03:56:27 -0000 Jan Beich writes: > Author: jbeich > Date: Sat Aug 12 03:49:56 2017 > New Revision: 447814 > URL: https://svnweb.freebsd.org/changeset/ports/447814 > > Log: > www/firefox: unbreak on big-endians (e.g. powerpc*, sparc64) > > ERROR: --disable-skia is not supported anymore > > In file included from objdir/gfx/2d/Unified_cpp_gfx_2d1.cpp:101: > gfx/2d/ScaledFontBase.cpp:217:39: error: use of undeclared identifier 'PathSkia' > RefPtr path = MakeAndAddRef(skPath, FillRule::FILL_WINDING); > ^ Can anyone check build/runtime on powerpc and powerpc64? Firefox 55.0.1 still supports build without Rust.