Re: [OpenAFS] AFS 1.8.2 , bus error on FreeBSD

2019-04-08 Thread Benjamin Kaduk
You may be able to run with this patch: diff --git a/src/lwp/lwp.c b/src/lwp/lwp.c index 496e773e00..0904ebff3e 100644 --- a/src/lwp/lwp.c +++ b/src/lwp/lwp.c @@ -353,6 +353,8 @@ LWP_CreateProcess(void *(*ep) (void *), int stacksize, int priority, void *parm, stackptr = (char *)(8 *

Re: [OpenAFS] AFS 1.8.2 , bus error on FreeBSD

2019-04-08 Thread Andreas Ladanyi
I cant see crashes when compiling with gcc. The "bos" binary was built. But "bus error" occurs when executing the "bos" binary. if i understand you correctly the error is in the LWP code. There is a workaround for this issue only for clang. So if i use clang to compile the "bos" binary could

Re: [OpenAFS] AFS 1.8.2 , bus error on FreeBSD

2019-04-07 Thread Benjamin Kaduk
I don't think that's a requirement, no. (Were the crashes with a gcc-compiled version?) -Ben On Sun, Apr 07, 2019 at 08:17:44PM +0200, Andreas Ladanyi wrote: > Ok so i have to compile OpenAFS 1.8 with clang instead of gcc at FreeBSD ? > > > Am 06.04.19 um 04:33 schrieb Benjamin Kaduk: > > On

Re: [OpenAFS] AFS 1.8.2 , bus error on FreeBSD

2019-04-07 Thread Andreas Ladanyi
Ok so i have to compile OpenAFS 1.8 with clang instead of gcc at FreeBSD ? Am 06.04.19 um 04:33 schrieb Benjamin Kaduk: On Fri, Apr 05, 2019 at 08:39:23AM +0200, Andreas Ladanyi wrote: Hi, i compiled afs 1.8.2 on freebsd 11.2. When i want to execute bos command it shows me a "Bus Error".  If

Re: [OpenAFS] AFS 1.8.2 , bus error on FreeBSD

2019-04-05 Thread Benjamin Kaduk
On Fri, Apr 05, 2019 at 08:39:23AM +0200, Andreas Ladanyi wrote: > Hi, > > i compiled afs 1.8.2 on freebsd 11.2. When i want to execute bos command > it shows me a "Bus Error".  If i understand the problem correctly the > problem is that bos wants to access memory which CPU physically cant

[OpenAFS] AFS 1.8.2 , bus error on FreeBSD

2019-04-05 Thread Andreas Ladanyi
Hi, i compiled afs 1.8.2 on freebsd 11.2. When i want to execute bos command it shows me a "Bus Error".  If i understand the problem correctly the problem is that bos wants to access memory which CPU physically cant access. Do i have to set some flags at configure time, before make ?