Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 May 2016 15:03:55 +0000
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Cc:        Adrian Chadd <adrian@freebsd.org>
Subject:   Re: svn commit: r299368 - head/sys/mips/conf
Message-ID:  <6BAD30F1-3F46-4221-B469-060BF37F9523@FreeBSD.org>
In-Reply-To: <201605101459.u4AExmSj058254@repo.freebsd.org>
References:  <201605101459.u4AExmSj058254@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

> On 10 May 2016, at 14:59 , Bjoern A. Zeeb <bz@FreeBSD.org> 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=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6BAD30F1-3F46-4221-B469-060BF37F9523>