Re: Same result (Re: build error on octeon, 6.6)

2020-02-27 Thread Christian Groessler
On 2020-02-26 21:50, Pekka Niiranen wrote: Hi misc, I got the same libLLVM error message I had re-tried a few weeks ago, also with bigger USB stick and NFS out of the way. And was still getting the error, too. I got distracted by work things, so I didn't post it. regards, chris "c++

Same result (Re: build error on octeon, 6.6)

2020-02-26 Thread Pekka Niiranen
Hi misc, I got the same libLLVM error message "c++: error: unable to execute command: Segmentation fault" after about 3 days since "make build". I tried twice and did not use any external drives. I have 16GB USB stick inside with - 512 MB / - 512 MB swap - 1GB /tmp - 1GB /var - 10GB /usr - t

Re: build error on octeon, 6.6

2019-11-16 Thread Theo de Raadt
Christian Groessler wrote: > > the src is not at /usr/src, so i'm going to dig deeper. > > > (not a native English speaking person) Did you want to say "*not* > going to dig deeper"? indeed. not going to dig deeper. problem at your end.

Re: build error on octeon, 6.6

2019-11-16 Thread Christian Groessler
On 2019-11-16 18:36, Theo de Raadt wrote: Diana Eichert wrote: Have you tried restarting make at the point it failed? I remember trying to compile ports on my Ubiquiti SG and a build failed. I can't remember who I contacted on @openbsd ports but they mentioned I should try do that and some of

Re: build error on octeon, 6.6

2019-11-16 Thread Theo de Raadt
Diana Eichert wrote: > Have you tried restarting make at the point it failed? > > I remember trying to compile ports on my Ubiquiti SG and a build failed. > I can't remember who I contacted on @openbsd ports but they mentioned > I should try do that and some of the ports would continue on then f

Re: build error on octeon, 6.6

2019-11-16 Thread Diana Eichert
Have you tried restarting make at the point it failed? I remember trying to compile ports on my Ubiquiti SG and a build failed. I can't remember who I contacted on @openbsd ports but they mentioned I should try do that and some of the ports would continue on then fail later. I ended up buying an U

Re: build error on octeon, 6.6

2019-11-15 Thread Christian Groessler
Hi, On 2019-11-11 12:18, Christian Groessler wrote: Now I'm going to rebuild again, capturing the "make" output, and try to replicate the problem manually. Interestingly, this time the build fails at a later stage. c++ -O2 -pipeĀ  -fomit-frame-pointer -std=c++11 -fvisibility-inlines-hidd

Re: build error on octeon, 6.6

2019-11-15 Thread Christian Groessler
Rudolf, On 2019-11-11 15:23, Rudolf Leitgeb wrote: Somewhere in his error output it says: Target: mips64-unknown-openbsd6.6 This would not work with octeon AFAIK. Maybe this is the reason the build fails ? It would at least make sense regarding the "unable to execute command" message I thin

Re: build error on octeon, 6.6

2019-11-11 Thread Rudolf Leitgeb
Somewhere in his error output it says: Target: mips64-unknown-openbsd6.6 This would not work with octeon AFAIK. Maybe this is the reason the build fails ? It would at least make sense regarding the "unable to execute command" message. On Fri, 2019-11-08 at 14:50 +0100, Janne Johansson wrote: >

Re: build error on octeon, 6.6

2019-11-11 Thread Christian Groessler
On 2019-11-08 14:50, Janne Johansson wrote: I wonder if this part is relevant: c++: error: unable to execute command Is there any permissions on /net that prevents execution? The complete line is: c++: error: unable to execute command: Segmentation fault I would have expected a "permissio

Re: build error on octeon, 6.6

2019-11-11 Thread Christian Groessler
On 2019-11-08 14:38, Christian Groessler wrote: On 2019-11-08 14:15, Christian Groessler wrote: I've added 8GB swap, but am still getting the same error: I've noticed that my /tmp partition might be too small (64M). I'm going to reinstall with bigger /tmp (1GB) and try again... This fa

Re: build error on octeon, 6.6

2019-11-08 Thread Janne Johansson
I wonder if this part is relevant: c++: error: unable to execute command Is there any permissions on /net that prevents execution? I seems it wants to run stuff from here: ... *** Error 254 in /net/sirius/temp/routie-build/6.6/src/gnu/usr.bin/clang/libLLVM (:67 'AMDGPUTargetMachine.o': @c++ -O2

Re: build error on octeon, 6.6

2019-11-08 Thread Christian Groessler
On 2019-11-08 14:15, Christian Groessler wrote: I've added 8GB swap, but am still getting the same error: I've noticed that my /tmp partition might be too small (64M). I'm going to reinstall with bigger /tmp (1GB) and try again... regards, chris

Re: build error on octeon, 6.6

2019-11-08 Thread Christian Groessler
On 2019-11-07 09:42, Janne Johansson wrote: A while back when I needed/wanted to build ports-llvm on ERL, I added some 8G of swap over NFS (to an ssd-x86_64 server) which helps with large builds. Takes ages, but works. I've added 8GB swap, but am still getting the same error: ild/6.6/src/gnu

Re: build error on octeon, 6.6

2019-11-07 Thread Janne Johansson
Den ons 6 nov. 2019 kl 23:36 skrev Christian Groessler : > Hi, > I've installed OpenBSD 6.6 on an EdgeRouter Lite. I wanted to rebuild > the system. > > Maybe the machine has too little memory? > > routie$ swapctl -lk > Device 1K-blocks UsedAvail Capacity Priority > /dev/sd0b 22

build error on octeon, 6.6

2019-11-06 Thread Christian Groessler
Hi, I've installed OpenBSD 6.6 on an EdgeRouter Lite. I wanted to rebuild the system. /usr/src and /usr/obj are on a NFS server, I've changed /etc/mk.conf accordingly: routie$ cat /etc/mk.conf BSDSRCDIR=/net/sirius/temp/routie-build/6.6/src BSDOBJDIR=/net/sirius/temp/routie-build/6.6/obj SK