Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jun 2016 12:18:13 -0700
From:      Mark Millard <markmi@dsl-only.net>
To:        freebsd-arm <freebsd-arm@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: 11.0 -r301815 "kyua test -k /usr/tests/Kyuafile" on rpi2 [armv7-a/cortex-a7]: broken (24) and failing (59) lists
Message-ID:  <E9168CCF-F8B0-48F2-8119-E6FB13300697@dsl-only.net>
In-Reply-To: <F86BEFBC-9A3D-48A5-A389-2C97267ADE37@dsl-only.net>
References:  <F86BEFBC-9A3D-48A5-A389-2C97267ADE37@dsl-only.net>

next in thread | previous in thread | raw e-mail | index | archive | help
[I've added a list of core files generated and a few other notes.]

On 2016-Jun-13, at 10:29 AM, Mark Millard <markmi at dsl-only.net> =
wrote:

> With the newly less strict alignment requirements "kyua test -k =
/usr/tests/Kyuafile" runs to completion, unlike before.
>=20
>> =3D=3D=3D> Summary
>> Results read from =
/root/.kyua/store/results.usr_tests.20160613-080302-120731.db
>> Test cases: 5694 total, 54 skipped, 21 expected failures, 24 broken, =
59 failed
>> Total time: 8723.243s
>=20
>=20
> I only list the one line summaries below. Then I list various context =
details.
>=20
>> =3D=3D=3D> Broken tests
>> lib/msun/cexp_test:main  ->  broken: Received signal 6  [1.054s]
>> lib/msun/ctrig_test:main  ->  broken: Received signal 6  [1.074s]
>> lib/msun/exponential_test:main  ->  broken: Received signal 6  =
[1.045s]
>> lib/msun/fenv_test:main  ->  broken: Received signal 6  [1.048s]
>> lib/msun/fma_test:main  ->  broken: Received signal 6  [1.080s]
>> lib/msun/invctrig_test:main  ->  broken: Received signal 6  [1.091s]
>> lib/msun/invtrig_test:main  ->  broken: Received signal 6  [1.086s]
>> lib/msun/logarithm_test:main  ->  broken: Received signal 6  [1.054s]
>> lib/msun/lrint_test:main  ->  broken: Received signal 6  [1.069s]
>> lib/msun/nearbyint_test:main  ->  broken: Received signal 6  [1.066s]
>> lib/msun/rem_test:main  ->  broken: Received signal 6  [1.069s]
>> lib/msun/trig_test:main  ->  broken: Received signal 6  [1.070s]
>> sbin/growfs/legacy_test:main  ->  broken: Reported plan differs from =
actual executed tests  [0.459s]
>> sys/geom/class/eli/integrity_copy_test:main  ->  broken: Test case =
timed out  [1200.082s]
>> sys/geom/class/eli/integrity_hmac_test:main  ->  broken: Test case =
timed out  [600.138s]
>> sys/geom/class/eli/onetime_a_test:main  ->  broken: Test case timed =
out  [600.044s]
>> sys/sys/bitstring_test:bit_clear  ->  broken: Test case body timed =
out  [300.032s]
>> sys/sys/bitstring_test:bit_count  ->  broken: Premature exit; test =
case received signal 11 (core dumped)  [1.080s]
>> sys/sys/bitstring_test:bit_ffc  ->  broken: Premature exit; test case =
received signal 11 (core dumped)  [1.077s]
>> sys/sys/bitstring_test:bit_ffc_at  ->  broken: Premature exit; test =
case received signal 11 (core dumped)  [1.081s]
>> sys/sys/bitstring_test:bit_ffs  ->  broken: Premature exit; test case =
received signal 11 (core dumped)  [1.082s]
>> sys/sys/bitstring_test:bit_ffs_at  ->  broken: Premature exit; test =
case received signal 11 (core dumped)  [1.077s]
>> sys/sys/bitstring_test:bit_nclear  ->  broken: Premature exit; test =
case received signal 11 (core dumped)  [1.083s]
>> sys/sys/bitstring_test:bit_nset  ->  broken: Premature exit; test =
case received signal 11 (core dumped)  [1.079s]
>=20
>=20
>> =3D=3D=3D> Failed tests
>> lib/libc/c063/fstatat_test:fstatat_fd  ->  failed: =
/usr/src/contrib/netbsd-tests/lib/libc/c063/t_fstatat.c:74: memcmp(&st1, =
&st2, sizeof(st1)) =3D=3D 0 not met  [0.
>> 027s]
>> lib/libc/nss/gethostby_test:getipnodebyname_getaddrinfo_ipv4  ->  =
failed: /usr/src/lib/libc/tests/nss/gethostby_test.c:1335: =
run_tests(_hostlist_file, _snapshot
>> _file, 2, TEST_GETHOSTBYNAME2_GETADDRINFO, 0) =3D=3D 0 not met  =
[15.315s]
>> lib/libc/ssp/ssp_test:fgets  ->  failed: Test case body returned a =
non-ok exit code, but this is not allowed  [0.153s]
>> lib/libc/ssp/ssp_test:gets  ->  failed: Test case body returned a =
non-ok exit code, but this is not allowed  [0.158s]
>> lib/libc/ssp/ssp_test:memcpy  ->  failed: atf-check failed; see the =
output of the test for details  [0.148s]
>> lib/libc/ssp/ssp_test:memmove  ->  failed: atf-check failed; see the =
output of the test for details  [0.147s]
>> lib/libc/ssp/ssp_test:memset  ->  failed: atf-check failed; see the =
output of the test for details  [0.147s]
>> lib/libc/ssp/ssp_test:read  ->  failed: Test case body returned a =
non-ok exit code, but this is not allowed  [0.154s]
>> lib/libc/ssp/ssp_test:readlink  ->  failed: atf-check failed; see the =
output of the test for details  [0.155s]
>> lib/libc/ssp/ssp_test:snprintf  ->  failed: atf-check failed; see the =
output of the test for details  [0.149s]
>> lib/libc/ssp/ssp_test:sprintf  ->  failed: atf-check failed; see the =
output of the test for details  [0.149s]
>> lib/libc/ssp/ssp_test:stpcpy  ->  failed: atf-check failed; see the =
output of the test for details  [0.149s]
>> lib/libc/ssp/ssp_test:stpncpy  ->  failed: atf-check failed; see the =
output of the test for details  [0.147s]
>> lib/libc/ssp/ssp_test:strcat  ->  failed: atf-check failed; see the =
output of the test for details  [0.147s]
>> lib/libc/ssp/ssp_test:strcpy  ->  failed: atf-check failed; see the =
output of the test for details  [0.147s]
>> lib/libc/ssp/ssp_test:strncat  ->  failed: atf-check failed; see the =
output of the test for details  [0.147s]
>> lib/libc/ssp/ssp_test:strncpy  ->  failed: atf-check failed; see the =
output of the test for details  [0.146s]
>> lib/libc/ssp/ssp_test:vsnprintf  ->  failed: atf-check failed; see =
the output of the test for details  [0.150s]
>> lib/libc/ssp/ssp_test:vsprintf  ->  failed: atf-check failed; see the =
output of the test for details  [0.148s]
>> lib/libc/stdio/printbasic_test:int_within_limits  ->  failed: =
printf("%tu", (size_t)-1) =3D=3D> [18446744073709551615], expected =
[4294967295]<<NEWLINE>>  [0.030s]
>> lib/libc/stdio/scanfloat_test:infinities_and_nans  ->  failed: =
/usr/src/lib/libc/tests/stdio/scanfloat_test.c:191: =
fetestexcept(FE_INVALID) =3D=3D 0 not met  [0.031
>> s]
>> lib/libc/sys/mincore_test:mincore_resid  ->  failed: =
/usr/src/contrib/netbsd-tests/lib/libc/sys/t_mincore.c:225: =
check_residency(addr, npgs) =3D=3D 0 not met  [0.04
>> 0s]
>> lib/libc/sys/mincore_test:mincore_shmseg  ->  failed: =
/usr/src/contrib/netbsd-tests/lib/libc/sys/t_mincore.c:298: =
check_residency(addr, npgs) =3D=3D 0 not met  [0.0
>> 29s]
>> lib/libc/tls/tls_dynamic_test:t_tls_dynamic  ->  failed: 15 checks =
failed; see output for more details  [0.035s]
>> lib/libproc/proc_test:symbol_lookup  ->  failed: =
/usr/src/lib/libproc/tests/proc_test.c:116: state !=3D PS_STOP: process =
has state 4  [0.177s]
>> lib/libxo/functional_test:test_02__E  ->  failed: atf-check failed; =
see the output of the test for details  [0.166s]
>> lib/libxo/functional_test:test_02__H  ->  failed: atf-check failed; =
see the output of the test for details  [0.168s]
>> lib/libxo/functional_test:test_02__HIPx  ->  failed: atf-check =
failed; see the output of the test for details  [0.170s]
>> lib/libxo/functional_test:test_02__HP  ->  failed: atf-check failed; =
see the output of the test for details  [0.164s]
>> lib/libxo/functional_test:test_02__J  ->  failed: atf-check failed; =
see the output of the test for details  [0.169s]
>> lib/libxo/functional_test:test_02__JP  ->  failed: atf-check failed; =
see the output of the test for details  [0.166s]
>> lib/libxo/functional_test:test_02__T  ->  failed: atf-check failed; =
see the output of the test for details  [0.168s]
>> lib/libxo/functional_test:test_02__X  ->  failed: atf-check failed; =
see the output of the test for details  [0.169s]
>> lib/libxo/functional_test:test_02__XP  ->  failed: atf-check failed; =
see the output of the test for details  [0.168s]
>> lib/msun/conj_test:main  ->  failed: 9 tests of 42 failed  [0.034s]
>> lib/msun/ldexp_test:ldexp_denormal  ->  failed: 4 checks failed; see =
output for more details  [0.034s]
>> local/kyua/model/metadata_test:override_all_with_set_string  ->  =
failed: Line 253: disk_space !=3D md.required_disk_space() (16777216.00T =
!=3D 2.00G)  [0.047s]
>> local/kyua/testers/stacktrace_test:dump__cannot_find_gdb  ->  failed: =
testers/stacktrace_test.c:281: atf_utils_grep_file("execvp failed", =
"stacktrace") not met=20
>> [0.611s]
>> local/kyua/testers/stacktrace_test:dump__gdb_fail  ->  failed: =
testers/stacktrace_test.c:294: atf_utils_grep_file("foo", "stacktrace") =
not met  [0.610s]
>> local/kyua/testers/stacktrace_test:dump__gdb_times_out  ->  failed: =
testers/stacktrace_test.c:311: atf_utils_grep_file("foo", "stacktrace") =
not met  [0.614s]
>> local/kyua/testers/stacktrace_test:dump__integration  ->  failed: =
testers/stacktrace_test.c:233: atf_utils_grep_file("#0", "stacktrace") =
not met  [0.613s]
>> local/kyua/testers/stacktrace_test:dump__ok  ->  failed: =
testers/stacktrace_test.c:249: atf_utils_grep_file("frame 1", =
"stacktrace") not met  [0.614s]
>> local/kyua/testers/stacktrace_test:find_core__found__long  ->  =
failed: Core dumped, but no candidates found  [0.606s]
>> local/kyua/testers/stacktrace_test:find_core__found__short  ->  =
failed: Core dumped, but no candidates found  [0.603s]
>> local/kyua/testers/tap_parser_test:try_parse_plan__insane  ->  =
failed: testers/tap_parser_test.c:135: 'too long' not matched in 'Plan =
line includes out of range
>> numbers'  [0.032s]
>> sys/geom/class/eli/resize_test:main  ->  failed: 15 tests of 27 =
failed  [1.292s]
>> sys/kern/pipe/pipe_fstat_bug_test:main  ->  failed: Returned =
non-success exit status 1  [0.044s]
>> usr.bin/lastcomm/legacy_test:main  ->  failed: 4 tests of 6 failed  =
[0.151s]
>> usr.sbin/rpcbind/addrmerge_test:addrmerge_bindip  ->  failed: 1 =
checks failed; see output for more details  [0.035s]
>> usr.sbin/rpcbind/addrmerge_test:addrmerge_bindip_rev  ->  failed: 1 =
checks failed; see output for more details  [0.035s]
>> usr.sbin/rpcbind/addrmerge_test:addrmerge_localhost_only  ->  failed: =
1 checks failed; see output for more details  [0.034s]
>> usr.sbin/rpcbind/addrmerge_test:addrmerge_one_addr_on_each_subnet  -> =
 failed: 1 checks failed; see output for more details  [0.035s]
>> usr.sbin/rpcbind/addrmerge_test:addrmerge_one_addr_on_each_subnet_rev =
 ->  failed: 1 checks failed; see output for more details  [0.035s]
>> usr.sbin/rpcbind/addrmerge_test:addrmerge_point2point  ->  failed: 1 =
checks failed; see output for more details  [0.035s]
>> usr.sbin/rpcbind/addrmerge_test:addrmerge_point2point_rev  ->  =
failed: 1 checks failed; see output for more details  [0.033s]
>> usr.sbin/rpcbind/addrmerge_test:addrmerge_recvdstaddr  ->  failed: 1 =
checks failed; see output for more details  [0.035s]
>> usr.sbin/rpcbind/addrmerge_test:addrmerge_recvdstaddr_rev  ->  =
failed: 1 checks failed; see output for more details  [0.035s]
>> usr.sbin/rpcbind/addrmerge_test:addrmerge_singlehomed  ->  failed: 1 =
checks failed; see output for more details  [0.032s]
>> usr.sbin/sa/legacy_test:main  ->  failed: 12 tests of 13 failed  =
[0.340s]
>=20

An additional list: The core files generated

[Apparently kyua use does not look for redirections into places like =
/var/crash/ and so it does not find the cores generated in my =
configuration.]

# ls -lt /var/crash/*.core       =20
-rw-------  1 root  wheel  4767744 Jun 13 03:30 =
/var/crash/status_test.25922.core
-rw-------  1 root  wheel  4784128 Jun 13 03:30 =
/var/crash/child_test.25897.core
-rw-------  1 root  wheel  4784128 Jun 13 03:30 =
/var/crash/child_test.25891.core
-rw-------  1 root  wheel  4784128 Jun 13 03:30 =
/var/crash/child_test.25863.core
-rw-------  1 root  wheel  4784128 Jun 13 03:30 =
/var/crash/child_test.25860.core
-rw-------  1 root  wheel  4784128 Jun 13 03:30 =
/var/crash/child_test.25857.core
-rw-------  1 root  wheel  4784128 Jun 13 03:30 =
/var/crash/child_test.25854.core
-rw-------  1 root  wheel  4784128 Jun 13 03:30 =
/var/crash/child_test.25841.core
-rw-------  1 root  wheel  4784128 Jun 13 03:30 =
/var/crash/child_test.25838.core
-rw-------  1 root  wheel  4784128 Jun 13 03:29 =
/var/crash/sanity_test.25125.core
-rw-------  1 root  wheel  4784128 Jun 13 03:29 =
/var/crash/sanity_test.25122.core
-rw-------  1 root  wheel  4784128 Jun 13 03:29 =
/var/crash/sanity_test.25092.core
-rw-------  1 root  wheel  4784128 Jun 13 03:29 =
/var/crash/sanity_test.25089.core
-rw-------  1 root  wheel  4784128 Jun 13 03:29 =
/var/crash/sanity_test.25086.core
-rw-------  1 root  wheel  2482176 Jun 13 03:29 =
/var/crash/tap_helpers.24882.core
-rw-------  1 root  wheel  2482176 Jun 13 03:29 =
/var/crash/plain_helpers.24832.core
-rw-------  1 root  wheel  4603904 Jun 13 03:29 =
/var/crash/atf_helpers.24783.core
-rw-------  1 root  wheel  4603904 Jun 13 03:29 =
/var/crash/atf_helpers.24754.core
-rw-------  1 root  wheel  2482176 Jun 13 03:29 =
/var/crash/short.24532.core
-rw-------  1 root  wheel  2482176 Jun 13 03:29 =
/var/crash/long-name-that-may-.24529.core
-rw-------  1 root  wheel  2482176 Jun 13 03:29 =
/var/crash/short.24526.core
-rw-------  1 root  wheel  2482176 Jun 13 03:29 =
/var/crash/short.24523.core
-rw-------  1 root  wheel  2482176 Jun 13 03:29 =
/var/crash/short.24520.core
-rw-------  1 root  wheel  2482176 Jun 13 03:29 =
/var/crash/short.24517.core
-rw-------  1 root  wheel  2482176 Jun 13 03:29 =
/var/crash/dont-care.24514.core
-rw-------  1 root  wheel  4608000 Jun 13 03:29 =
/var/crash/run_test.24451.core
-rw-------  1 root  wheel  4689920 Jun 13 03:28 =
/var/crash/expect_all_pass.22473.core
-rw-------  1 root  wheel  4689920 Jun 13 03:28 =
/var/crash/metadata.20652.core
-rw-------  1 root  wheel  4689920 Jun 13 03:28 =
/var/crash/metadata.20557.core
-rw-------  1 root  wheel  4689920 Jun 13 03:28 =
/var/crash/metadata.20523.core
-rw-------  1 root  wheel  4689920 Jun 13 03:28 =
/var/crash/metadata.20470.core
-rw-------  1 root  wheel  4689920 Jun 13 03:28 =
/var/crash/metadata.20415.core
-rw-------  1 root  wheel  4689920 Jun 13 03:28 =
/var/crash/metadata.20359.core
-rw-------  1 root  wheel  4689920 Jun 13 03:28 =
/var/crash/metadata.20287.core
-rw-------  1 root  wheel  4620288 Jun 13 03:27 /var/crash/sh.16623.core
-rw-------  1 root  wheel  4759552 Jun 13 03:27 =
/var/crash/test_case_plain_hel.16610.core
-rw-------  1 root  wheel  4759552 Jun 13 03:27 =
/var/crash/test_case_plain_hel.16595.core
-rw-------  1 root  wheel  4767744 Jun 13 03:27 =
/var/crash/test_case_atf_helpe.16558.core
-rw-------  1 root  wheel  4767744 Jun 13 03:27 =
/var/crash/test_case_atf_helpe.16553.core
-rw-------  1 root  wheel  4767744 Jun 13 03:27 =
/var/crash/test_case_atf_helpe.16522.core
-rw-------  1 root  wheel  4620288 Jun 13 03:27 /var/crash/sh.16483.core
-rw-------  1 root  wheel  4689920 Jun 13 03:27 =
/var/crash/list_tests_helpers.16256.core
-rw-------  1 root  wheel  4788224 Jun 13 03:27 =
/var/crash/main_test.16232.core
-rw-------  1 root  wheel  4657152 Jun 13 03:27 =
/var/crash/plain_helpers.15805.core
-rw-------  1 root  wheel  4681728 Jun 13 03:26 =
/var/crash/cpp_helpers.15067.core
-rw-------  1 root  wheel  4608000 Jun 13 03:25 =
/var/crash/process_test.10574.core
-rw-------  1 root  wheel  4599808 Jun 13 03:12 =
/var/crash/bitstring_test.77944.core
-rw-------  1 root  wheel  4599808 Jun 13 03:12 =
/var/crash/bitstring_test.77942.core
-rw-------  1 root  wheel  4599808 Jun 13 03:12 =
/var/crash/bitstring_test.77940.core
-rw-------  1 root  wheel  4599808 Jun 13 03:12 =
/var/crash/bitstring_test.77938.core
-rw-------  1 root  wheel  4599808 Jun 13 03:12 =
/var/crash/bitstring_test.77936.core
-rw-------  1 root  wheel  4599808 Jun 13 03:12 =
/var/crash/bitstring_test.77934.core
-rw-------  1 root  wheel  4599808 Jun 13 03:12 =
/var/crash/bitstring_test.77932.core
-rw-------  1 root  wheel  4591616 Jun 13 01:50 =
/var/crash/trig_test.91205.core
-rw-------  1 root  wheel  4591616 Jun 13 01:50 =
/var/crash/rem_test.91202.core
-rw-------  1 root  wheel  4591616 Jun 13 01:50 =
/var/crash/nearbyint_test.91196.core
-rw-------  1 root  wheel  4591616 Jun 13 01:50 =
/var/crash/lrint_test.91190.core
-rw-------  1 root  wheel  4591616 Jun 13 01:50 =
/var/crash/logarithm_test.91187.core
-rw-------  1 root  wheel  4595712 Jun 13 01:50 =
/var/crash/invctrig_test.91184.core
-rw-------  1 root  wheel  4595712 Jun 13 01:50 =
/var/crash/invtrig_test.91181.core
-rw-------  1 root  wheel  4595712 Jun 13 01:50 =
/var/crash/fma_test.91175.core
-rw-------  1 root  wheel  4591616 Jun 13 01:50 =
/var/crash/fenv_test.91172.core
-rw-------  1 root  wheel  4591616 Jun 13 01:50 =
/var/crash/exponential_test.91169.core
-rw-------  1 root  wheel  4591616 Jun 13 01:50 =
/var/crash/ctrig_test.91166.core
-rw-------  1 root  wheel  4591616 Jun 13 01:50 =
/var/crash/cexp_test.91157.core
-rw-------  1 root  wheel   446464 Jun 13 01:46 =
/var/crash/target_prog.87653.core
-rw-------  1 root  wheel  4599808 Jun 13 01:45 =
/var/crash/getenv_test.85527.core
-rw-------  1 root  wheel  4599808 Jun 13 01:44 =
/var/crash/printf_test.85463.core
-rw-------  1 root  wheel  4669440 Jun 13 01:06 =
/var/crash/cpp_helpers.66582.core
-rw-------  1 root  wheel  4599808 Jun 13 01:06 =
/var/crash/sanity_test.64304.core
-rw-------  1 root  wheel  4599808 Jun 13 01:06 =
/var/crash/sanity_test.64300.core
-rw-------  1 root  wheel  4599808 Jun 13 01:06 =
/var/crash/sanity_test.64296.core
-rw-------  1 root  wheel  4599808 Jun 13 01:06 =
/var/crash/sanity_test.64292.core
-rw-------  1 root  wheel  4603904 Jun 13 01:06 =
/var/crash/process_test.64269.core

dmesg shows the following as well:
(This and /var/log/messages* only have the tail available of the full =
message sequence during the run. I did not separately record the whole =
thing.)

kern.ipc.maxpipekva exceeded; see tuning(7)
. . .
pid 81874 (sh), uid 0, was killed: exceeded maximum CPU limit
Jun 13 03:13:28 rpi2 kernel: pid 81874 (sh), uid 0, was killed: exceeded =
maximum CPU limit

There are a few "exited on signal" reports that do not say "(core =
dumped)":

pid 15215 (c_helpers), uid 977: exited on signal 6
pid 15217 (cpp_helpers), uid 977: exited on signal 6
. . .
pid 24658 (atf_result_test), uid 0: exited on signal 6


There are massive numbers of notices such as:

GEOM_ELI: md2.eli: Failed to authenticate 8192 bytes of data at offset =
712704.

(=46rom lack of initialization that would set checksums?) There are lots =
of other GEOM_ELI created, destroyed, Encryption, and Crypto lines as =
well.

> Context details:
>=20
>> # uname -apKU
>> FreeBSD rpi2 11.0-ALPHA3 FreeBSD 11.0-ALPHA3 #0 r301815M: Sat Jun 11 =
23:43:48 PDT 2016     =
markmi@FreeBSDx64:/usr/obj/clang/arm.armv6/usr/src/sys/RPI2-NODBG  ar
>> m armv6 1100116 1100116
>=20
> In use for the system build was:
>=20
>> XCFLAGS+=3D -march=3Darmv7-a -mcpu=3Dcortex-a7
>> XCXXFLAGS+=3D -march=3Darmv7-a -mcpu=3Dcortex-a7
>=20
> I do have a few local /usr/src changes/additions, but nearly all are =
only for powerpc and/or powerpc64 contexts:
>=20
>> # svnlite status /usr/src/
>> M       =
/usr/src/contrib/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
>> M       /usr/src/lib/csu/powerpc64/Makefile
>> ?       /usr/src/sys/amd64/include/include
>> ?       /usr/src/sys/arm/conf/RPI2-NODBG
>> ?       /usr/src/sys/arm/include/include
>> M       /usr/src/sys/boot/ofw/Makefile.inc
>> M       /usr/src/sys/boot/powerpc/Makefile
>> M       /usr/src/sys/boot/powerpc/Makefile.inc
>> M       /usr/src/sys/boot/uboot/Makefile.inc
>> M       /usr/src/sys/conf/Makefile.powerpc
>> M       /usr/src/sys/conf/kern.mk
>> M       /usr/src/sys/conf/kmod.mk
>> M       /usr/src/sys/dev/cxgb/ulp/tom/cxgb_listen.c
>> M       /usr/src/sys/dev/cxgbe/tom/t4_listen.c
>> ?       /usr/src/sys/powerpc/conf/GENERIC64-NODBG
>> ?       /usr/src/sys/powerpc/conf/GENERIC64vtsc
>> ?       /usr/src/sys/powerpc/conf/GENERIC64vtsc-NODEBUG
>> ?       /usr/src/sys/powerpc/conf/GENERICvtsc
>> ?       /usr/src/sys/powerpc/conf/GENERICvtsc-NODEBUG
>> ?       /usr/src/sys/powerpc/include/include
>> M       /usr/src/sys/powerpc/ofw/ofw_machdep.c
>> M       /usr/src/sys/powerpc/powerpc/exec_machdep.c
>> ?       /usr/src/sys/x86/include/include
>=20
> [The cxbg and cxbge changes just remove redundant declarations that =
stopped a amd64-gcc based build. But other areas have such issues and I =
quit trying eliminating such blocks to that tool chain. The =
include/include's are from something making symbolic links back to the =
parent include.]
>=20
> The kernel configuration was via:
>=20
>> # more /usr/src/sys/arm/conf/RPI2-NODBG=20
>> #
>> # RPI2 -- Custom configuration for the Raspberry Pi 2
>> #
>> # For more information on this file, please read the config(5) manual =
page,
>> # and/or the handbook section on Kernel Configuration Files:
>> #
>> #    =
http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-con=
fig.html
>> #
>> # The handbook is also available locally in /usr/share/doc/handbook
>> # if you've installed the doc distribution, otherwise always see the
>> # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
>> # latest information.
>> #
>> # An exhaustive list of options and more detailed explanations of the
>> # device lines is also present in the ../../conf/NOTES and NOTES =
files.
>> # If you are in doubt as to the purpose or necessity of a line, check =
first
>> # in NOTES.
>> #
>>=20
>> ident           RPI2-NODBG
>>=20
>> include         "RPI2"
>>=20
>> makeoptions     DEBUG=3D-g                # Build kernel with gdb(1) =
debug symbols
>> options         ALT_BREAK_TO_DEBUGGER
>> #options        VERBOSE_SYSINIT         # Enable verbose sysinit =
messages
>>=20
>> options         KDB                     # Enable kernel debugger =
support
>>=20
>> # For minimum debugger support (stable branch) use:
>> #options        KDB_TRACE               # Print a stack trace for a =
panic
>> options         DDB                     # Enable the kernel debugger
>>=20
>> nooptions       INVARIANTS              # Enable calls of extra =
sanity checking
>> nooptions       INVARIANT_SUPPORT       # Extra sanity checks of =
internal structures, required by INVARIANTS
>> nooptions       WITNESS                 # Enable checks to detect =
deadlocks and cycles
>> nooptions       WITNESS_SKIPSPIN        # Don't run witness on =
spinlocks for speed
>> nooptions       DIAGNOSTIC
>=20
>=20
> The armv6 11.0 -r301815 system was cross built from amd64, built using =
src.conf:
>=20
>> # more ~/src.configs/src.conf.rpi2-clang-bootstrap.amd64-host=20
>> TO_TYPE=3Darmv6
>> #
>> KERNCONF=3DRPI2-NODBG
>> TARGET=3Darm
>> .if ${.MAKE.LEVEL} =3D=3D 0
>> TARGET_ARCH=3D${TO_TYPE}
>> .export TARGET_ARCH
>> .endif
>> #
>> WITH_CROSS_COMPILER=3D
>> WITHOUT_SYSTEM_COMPILER=3D
>> #
>> #CPUTYPE=3Dsoft
>> WITH_LIBSOFT=3D
>> WITH_LIBCPLUSPLUS=3D
>> WITH_BINUTILS_BOOTSTRAP=3D
>> WITH_CLANG_BOOTSTRAP=3D
>> WITH_CLANG=3D
>> WITH_CLANG_IS_CC=3D
>> WITH_CLANG_FULL=3D
>> WITH_CLANG_EXTRAS=3D
>> WITH_LLDB=3D
>> #
>> WITH_BOOT=3D
>> WITHOUT_LIB32=3D
>> #
>> WITHOUT_ELFTOOLCHAIN_BOOTSTRAP=3D
>> WITHOUT_GCC_BOOTSTRAP=3D
>> WITHOUT_GCC=3D
>> WITHOUT_GCC_IS_CC=3D
>> WITHOUT_GNUCXX=3D
>> #
>> NO_WERROR=3D
>> #WERROR=3D
>> MALLOC_PRODUCTION=3D
>> #
>> WITH_DEBUG_FILES=3D
>> #
>> XCFLAGS+=3D -march=3Darmv7-a -mcpu=3Dcortex-a7
>> XCXXFLAGS+=3D -march=3Darmv7-a -mcpu=3Dcortex-a7
>> # There is no XCPPFLAGS but XCPP ets XCFLAGS content.
>=20
> and with the make.conf for the system build being empty:
>=20
>> # more ~/src.configs/make.conf=20
>> #
>=20
> =3D=3D=3D
> Mark Millard
> markmi at dsl-only.net


=3D=3D=3D
Mark Millard
markmi at dsl-only.net





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E9168CCF-F8B0-48F2-8119-E6FB13300697>