From owner-svn-src-all@freebsd.org Tue May 10 15:04:04 2016 Return-Path: Delivered-To: svn-src-all@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 B7DB1B365E8; Tue, 10 May 2016 15:04:04 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from mx1.sbone.de (bird.sbone.de [46.4.1.90]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 6387F110A; Tue, 10 May 2016 15:04:03 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 7E0D025D385E; Tue, 10 May 2016 15:04:00 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id B810DD1F7F9; Tue, 10 May 2016 15:03:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id 3StYZfRu0MIx; Tue, 10 May 2016 15:03:57 +0000 (UTC) Received: from [IPv6:fde9:577b:c1a9:4420:cabc:c8ff:fe8b:4fe6] (orange-tun0-ula.sbone.de [IPv6:fde9:577b:c1a9:4420:cabc:c8ff:fe8b:4fe6]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 7A6A5D1F7F7; Tue, 10 May 2016 15:03:57 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: svn commit: r299368 - head/sys/mips/conf From: "Bjoern A. Zeeb" In-Reply-To: <201605101459.u4AExmSj058254@repo.freebsd.org> Date: Tue, 10 May 2016 15:03:55 +0000 Cc: Adrian Chadd Content-Transfer-Encoding: quoted-printable Message-Id: <6BAD30F1-3F46-4221-B469-060BF37F9523@FreeBSD.org> References: <201605101459.u4AExmSj058254@repo.freebsd.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-Mailer: Apple Mail (2.3124) X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 May 2016 15:04:04 -0000 > On 10 May 2016, at 14:59 , Bjoern A. Zeeb wrote: >=20 > Author: bz > Date: Tue May 10 14:59:48 2016 > New Revision: 299368 > URL: https://svnweb.freebsd.org/changeset/base/299368 >=20 > Log: > siba depends on bhndbus; add the device to the kernel config. > This gets us past compiling and now only linking is failing on = builtins. head.svn% grep -r __builtin_ctz sys/dev/bhnd/ sys/dev/bhnd/bhndb/bhndb_private.h: dw_free =3D = &br->dw_alloc[__builtin_ctz(br->dwa_freelist)]; head.svn% grep -r __builtin_popcount !$ sys/dev/bhnd/bhndb/bhndb_subr.c: if = (__builtin_popcount(br->dwa_freelist) !=3D br->dwa_count) { Fixing this in the kernel on mips32 is beyond my commitment today. = Could you please have a look. SENTRY5 has not been compiling in a few = days now; alternatively siba should temporarily go out of the kernel = config until this is all resolved? 107 linking kernel.full 108 bhndb.o: In function `bhndb_try_activate_resource': 109 = /tank/users/bz/head.svn/sys/dev/bhnd/bhndb/bhndb.c:(.text+0xb20): = undefined reference to `__ctzsi2' 110 = /tank/users/bz/head.svn/sys/dev/bhnd/bhndb/bhndb.c:(.text+0xb20): = relocation truncated to fit: R_MIPS_26 against `__ctzsi2' 111 bhndb.o: In function `bhndb_bus_write_multi_stream_1': 112 = /tank/users/bz/head.svn/sys/dev/bhnd/bhndb/bhndb.c:(.text+0x290c): = undefined reference to `__ctzsi2' 113 = /tank/users/bz/head.svn/sys/dev/bhnd/bhndb/bhndb.c:(.text+0x290c): = relocation truncated to fit: R_MIPS_26 against `__ctzsi2' 114 bhndb.o: In function `bhndb_bus_read_1': 115 = /tank/users/bz/head.svn/sys/dev/bhnd/bhndb/bhndb.c:(.text+0x2b9c): = undefined reference to `__ctzsi2' 116 = /tank/users/bz/head.svn/sys/dev/bhnd/bhndb/bhndb.c:(.text+0x2b9c): = relocation truncated to fit: R_MIPS_26 against `__ctzsi2' 117 bhndb.o: In function `bhndb_bus_read_stream_1': 118 = /tank/users/bz/head.svn/sys/dev/bhnd/bhndb/bhndb.c:(.text+0x2dc0): = undefined reference to `__ctzsi2' 119 = /tank/users/bz/head.svn/sys/dev/bhnd/bhndb/bhndb.c:(.text+0x2dc0): = relocation truncated to fit: R_MIPS_26 against `__ctzsi2' 120 bhndb.o: In function `bhndb_bus_write_1': 121 = /tank/users/bz/head.svn/sys/dev/bhnd/bhndb/bhndb.c:(.text+0x2fec): = undefined reference to `__ctzsi2' 122 = /tank/users/bz/head.svn/sys/dev/bhnd/bhndb/bhndb.c:(.text+0x2fec): = relocation truncated to fit: R_MIPS_26 against `__ctzsi2' 123 = bhndb.o:/tank/users/bz/head.svn/sys/dev/bhnd/bhndb/bhndb.c:(.text+0x3218):= more undefined references to `__ctzsi2' follow 124 bhndb.o: In function `bhndb_bus_barrier': 125 = /tank/users/bz/head.svn/sys/dev/bhnd/bhndb/bhndb.c:(.text+0x3218): = relocation truncated to fit: R_MIPS_26 against `__ctzsi2' 126 bhndb.o: In function `bhndb_bus_write_multi_stream_4': 127 = /tank/users/bz/head.svn/sys/dev/bhnd/bhndb/bhndb.c:(.text+0x3464): = relocation truncated to fit: R_MIPS_26 against `__ctzsi2' 128 bhndb.o: In function `bhndb_bus_read_multi_stream_1': 129 = /tank/users/bz/head.svn/sys/dev/bhnd/bhndb/bhndb.c:(.text+0x3700): = relocation truncated to fit: R_MIPS_26 against `__ctzsi2' 130 bhndb.o: In function `bhndb_bus_write_multi_1': 131 = /tank/users/bz/head.svn/sys/dev/bhnd/bhndb/bhndb.c:(.text+0x3998): = relocation truncated to fit: R_MIPS_26 against `__ctzsi2' 132 bhndb.o: In function `bhndb_bus_read_multi_1': 133 = /tank/users/bz/head.svn/sys/dev/bhnd/bhndb/bhndb.c:(.text+0x3c30): = relocation truncated to fit: R_MIPS_26 against `__ctzsi2' 134 bhndb.o: In function `bhndb_bus_write_stream_1': 135 = /tank/users/bz/head.svn/sys/dev/bhnd/bhndb/bhndb.c:(.text+0x3ec8): = additional relocation overflows omitted from the output 136 bhndb_subr.o: In function `bhndb_free_resources': 137 = /tank/users/bz/head.svn/sys/dev/bhnd/bhndb/bhndb_subr.c:(.text+0x888): = undefined reference to `__popcountsi2' 138 *** [kernel.full] Error code 1=