-HEAD unbuildable for RPI3?

Karl Denninger karl at denninger.net
Thu Feb 23 15:08:45 UTC 2017


On 2/22/2017 22:44, Karl Denninger wrote:
> On 2/22/2017 22:19, Karl Denninger wrote:
>> On 2/22/2017 19:23, Tony Hain wrote:
>>> Something must have been trashed in some crypto libraries last night. I haven't been able to buildworld for a BBB all day either. Tried several svn updates during the day, and all failed to build, though I didn't keep track of all the failures. Just wiped the workspace, updated and tried again. The last complete build I had was r314061.
>>> Latest ---- 
>>> Image name is:
>>> FreeBSD-armv6-12.0-BEAGLEBONE-314112M.img
>>> ...
>>> --- ssh-pkcs11-helper.o ---
>>> cc -target armv6-gnueabihf-freebsd12.0 --sysroot=/home/tony/beaglebone/obj/arm.armv6/usr/src/tmp -B/home/tony/beaglebone/obj/arm.armv6/usr/src/tmp/usr/bin  -O -pipe   -I/usr/src/secure/libexec/ssh-pkcs11-helper/../../../crypto/openssh -include ssh_namespace.h -DHAVE_LDNS=1 -g -MD  -MF.depend.ssh-pkcs11-helper.o -MTssh-pkcs11-helper.o -std=gnu99 -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses  -Qunused-arguments  -c /usr/src/secure/libexec/ssh-pkcs11-helper/../../../crypto/openssh/ssh-pkcs11-helper.c -o ssh-pkcs11-helper.o
>>> --- all_subdir_tests ---
>>> /usr/src/tests/sys/kern/ptrace_test.c:1694:3: error: implicit declaration of function 'breakpoint' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
>>>                 breakpoint();
>>>                 ^
>>> 1 error generated.
>>> *** [ptrace_test.o] Error code 1
>>>
>>> make[6]: stopped in /usr/src/tests/sys/kern
>>> 1 error
>>>
>>> make[6]: stopped in /usr/src/tests/sys/kern
>>> *** [ptrace_test] Error code 2
>>>
>> I'm getting a blowup in the same place now... which is different than
>> what I was getting earlier.
>>
>> Something got boogered but I'm not sure exactly when -- I looked through
>> the commit logs for today and didn't see anything obvious -- I haven't
>> updated in a few days, so it could have been anywhere in the last week
>> or so.
>>
> The offending commit is here:
>
> root at NewFS:/pics/CrossBuild-12/src/tests/sys/kern # svnlite log -r314075
> --diff ptrace_test.c | more
> ------------------------------------------------------------------------
> r314075 | badger | 2017-02-21 22:35:07 -0600 (Tue, 21 Feb 2017) | 7 lines
>
> Fix world build for archs where __builtin_debugtrap() does not work.
>
> The offending code was introduced in r313992.
>
> Reported by:    rpokala
> Approved by:    kib (mentor)
>
>
> Index: ptrace_test.c
> ===================================================================
> --- ptrace_test.c       (revision 314074)
> +++ ptrace_test.c       (revision 314075)
> @@ -37,6 +37,7 @@
>  #include <sys/user.h>
>  #include <sys/wait.h>
>  #include <errno.h>
> +#include <machine/cpufunc.h>
>  #include <pthread.h>
>  #include <semaphore.h>
>  #include <signal.h>
> @@ -1690,7 +1691,7 @@
>         ATF_REQUIRE((fpid = fork()) != -1);
>         if (fpid == 0) {
>                 trace_me();
> -               __builtin_debugtrap();
> +               breakpoint();
>                 exit(1);
>         }
>
>
> ------------------------------------------------------------------------

r314118 fixed this last night.

-- 
Karl Denninger
karl at denninger.net <mailto:karl at denninger.net>
/The Market Ticker/
/[S/MIME encrypted email preferred]/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2993 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.freebsd.org/pipermail/freebsd-arm/attachments/20170223/51845884/attachment.bin>


More information about the freebsd-arm mailing list