Re: build.sh: fails at step "link clang/clang"
On Fri, Aug 30, 2019 at 10:04:47AM +, N wrote: > It appears that the web report form of gnats is having problems at > the moment, and report-pr(1) needs more pasting: > > > on am64 8.1 release with gcc, while trying to upgrade to current with clang: > I'm attempting to go from 8.1 release gcc to current with clang: > > NetBSD localhost 8.1_RC1 NetBSD 8.1_RC1 (GENERIC) #0: Tue May 14 17:21:59 UTC > 2019 mkre...@mkrepro.netbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64 > > With a cvs checkout from yesterday (and also 2 days before yesterday) it > fails at: > > > > [...] > x86_64--netbsd-clang: error: unable to execute command: Killed > x86_64--netbsd-clang: error: linker command failed due to signal (use -v to > see invocation) You can check with dmesg, but this usually means that the system ran out of virtual memory. You can try to increase swap space clang is known to need *lots* of ram -- Manuel Bouyer NetBSD: 26 ans d'experience feront toujours la difference --
Re: build.sh: fails at step "link clang/clang"
Manuel Bouyer transcribed 1.0K bytes: > On Fri, Aug 30, 2019 at 10:04:47AM +, N wrote: > > It appears that the web report form of gnats is having problems at > > the moment, and report-pr(1) needs more pasting: > > > > > > on am64 8.1 release with gcc, while trying to upgrade to current with clang: > > I'm attempting to go from 8.1 release gcc to current with clang: > > > > NetBSD localhost 8.1_RC1 NetBSD 8.1_RC1 (GENERIC) #0: Tue May 14 17:21:59 > > UTC 2019 > > mkre...@mkrepro.netbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64 > > > > With a cvs checkout from yesterday (and also 2 days before yesterday) it > > fails at: > > > > > > > > [...] > > x86_64--netbsd-clang: error: unable to execute command: Killed > > x86_64--netbsd-clang: error: linker command failed due to signal (use -v to > > see invocation) > > > You can check with dmesg, but this usually means that the system ran out of > virtual memory. You can try to increase swap space > clang is known to need *lots* of ram Oh. Doh. This makes sense. It's a bhyve with enough CPUs, but the 4096 MB RAM wasn't enough then. Thanks! > -- > Manuel Bouyer > NetBSD: 26 ans d'experience feront toujours la difference > --
Re: build.sh: fails at step "link clang/clang"
On Fri, Aug 30, 2019 at 12:09:17PM +0200, Manuel Bouyer wrote: > clang is known to need *lots* of ram It's not clang, it is ld. It's ~540MB peak RSS here for a non-debug build. Debug builds are much worse though. Joerg