Date: Wed, 22 Feb 2017 22:44:55 -0600 From: Karl Denninger <karl@denninger.net> To: freebsd-arm@freebsd.org Subject: Re: -HEAD unbuildable for RPI3? Message-ID: <37043229-d507-524a-a910-9b798f9b8000@denninger.net> In-Reply-To: <61f505a7-2678-a428-2bbc-b18c1ebdc4a4@denninger.net> References: <b258ce0e-ca78-fd1c-612b-ab67637ec674@denninger.net> <17b401d28d73$7e772a60$7b657f20$@tndh.net> <61f505a7-2678-a428-2bbc-b18c1ebdc4a4@denninger.net>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
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@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);
}
------------------------------------------------------------------------
--
Karl Denninger
karl@denninger.net <mailto:karl@denninger.net>
/The Market Ticker/
/[S/MIME encrypted email preferred]/
[-- Attachment #2 --]
0 *H
010
`He 0 *H
\0X0@=0
*H
010 UUS10UFlorida10U Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1"0 *H
Cuda Systems LLC CA0
161218194535Z
211217194535Z0W10 UUS10UFlorida10U
Cuda Systems LLC10Ukarl@denninger.net0"0
*H
0
͍fd`1ie6";fSz`5¹/?{=Ӵowjħ_fnӴMG\ҢҖ4ib}>@mJo&mM;
Q9U cj]p퐆W.2E=
^¢tzĄ'5i7_`~#dY
`]R]N%R}EXzqV@[oN T>5AwYˡA"\v&YG]+($p:M,T?=mJkMљg*ym
L!J[./d?W^LysD'1
+V'~{-SSX= q-f=%&V<m4BeSet|
l2m 6iO{wv
+aHXˈ5=~é*C!?uJr3tb'3`Oe)üLxt&3N526llU
.|Cp[l? 007++0)0'+0http://cudasystems.net:88880 U0 0 `HB0U0, `HB
OpenSSL Generated Certificate0U/Zi
0GhG0U#0$q}ݽʒm50U0karl@denninger.net0
*H
b%X%gwq
Ɂэr K[DMJ35W6
sz8d|qB2Cyw2PbV}
â[!W{HD7oD.TZ'w6~g( -,]R8P{*[f<1=7jGj9铚~3f2AʺN k~@vz^j(>ͺyh2y{/9}4.45#S|<fW!.,Bss*Q+h=}l@ "q "M&6J5*,G {hɫjbNgǠ.ЃXȶ4$O.5evHlZba!4eE!x|Za1nZ5TuPvW|#G+ DZpI7S'n0 haGa@vZ e|]Cu+))vRyY100010 UUS10UFlorida10U Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1"0 *H
Cuda Systems LLC CA=0
`He M0 *H
1 *H
0 *H
1
170223044455Z0O *H
1B@CA߿-$yD4UGLH)bHy;stytgo)DJne%KJ0l *H
1_0]0 `He*0 `He0
*H
0*H
0
*H
@0+0
*H
(0 +710010 UUS10UFlorida10U Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1"0 *H
Cuda Systems LLC CA=0*H
1010 UUS10UFlorida10U Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1"0 *H
Cuda Systems LLC CA=0
*H
a=v^reLms; $g6qjs!;"*v}Cr$\FZ;+
T'C>uyh 59bˉOtu;mA%s0iad
7qCLjm&Q/uTGu?8@E'r-qnZ4ͥ~bJLa=x):͜c1ALl%uui;[ǽ-.kN?mwGy3_t`{z?qs~{_p-Bcc Uy]P6} цV#Ůp6Iq|<&IDRBf J<#VM7dRR3$c
aS+<˳4SmuU$͝L]d_prYB\Vs9_j0mnޑ(sԶ$KvU2AT~,-21#FAE'
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37043229-d507-524a-a910-9b798f9b8000>
