From owner-freebsd-questions@freebsd.org Tue Jan 29 17:15:11 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A468214C4702 for ; Tue, 29 Jan 2019 17:15:11 +0000 (UTC) (envelope-from dhcp.server@yandex.ru) Received: from forward500j.mail.yandex.net (forward500j.mail.yandex.net [IPv6:2a02:6b8:0:801:2::110]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 66331902E9 for ; Tue, 29 Jan 2019 17:15:10 +0000 (UTC) (envelope-from dhcp.server@yandex.ru) Received: from mxback11o.mail.yandex.net (mxback11o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::62]) by forward500j.mail.yandex.net (Yandex) with ESMTP id 7D0BD11C0EDC for ; Tue, 29 Jan 2019 20:15:05 +0300 (MSK) Received: from localhost (localhost [::1]) by mxback11o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id d4ATplKW58-F4fqYbML; Tue, 29 Jan 2019 20:15:04 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1548782104; bh=H3f+seTfBz4/bt/fqhMjngMs5EEA0e564GlZ7PTBaf0=; h=From:To:In-Reply-To:References:Subject:Date:Message-Id; b=o7EkJMyqlHdyWEKWKPkIsmnsYubS2zyhW/VnMMTNpC+7u6RIEtXcofflYihzcnYQF kSK6mkJODjyRJQNjmPbKDi6zo0A/C4fQ8tjsTn7pPORCRiGlCWJcD4BmswnGqr3pZF 0Le+mRnhbFTnR31FiP0n5uAICTpcFC4wpPCy6NiI= Received: by sas1-02732547ccc0.qloud-c.yandex.net with HTTP; Tue, 29 Jan 2019 20:15:04 +0300 From: DHCP Server Envelope-From: dhcp-server@yandex.ru To: "freebsd-questions@freebsd.org" In-Reply-To: <8072552c-f817-eee3-1263-20ac8339fc44@FreeBSD.org> References: <1199871548778012@myt5-96980ae04900.qloud-c.yandex.net> <8072552c-f817-eee3-1263-20ac8339fc44@FreeBSD.org> Subject: Re: Toolchain broken on -CURRENT MIME-Version: 1.0 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Tue, 29 Jan 2019 22:15:04 +0500 Message-Id: <998061548782104@sas1-02732547ccc0.qloud-c.yandex.net> Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=utf-8 X-Rspamd-Queue-Id: 66331902E9 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yandex.ru header.s=mail header.b=o7EkJMyq; dmarc=pass (policy=none) header.from=yandex.ru; spf=pass (mx1.freebsd.org: domain of dhcp.server@yandex.ru designates 2a02:6b8:0:801:2::110 as permitted sender) smtp.mailfrom=dhcp.server@yandex.ru X-Spamd-Result: default: False [-5.80 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[yandex.ru:s=mail]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[yandex.ru.dwl.dnswl.org : 127.0.5.0]; R_SPF_ALLOW(-0.20)[+ip6:2a02:6b8:0::/52]; FREEMAIL_FROM(0.00)[yandex.ru]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[4]; IP_SCORE(-1.73)[ipnet: 2a02:6b8::/32(-4.81), asn: 13238(-3.85), country: RU(0.00)]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[yandex.ru:+]; MX_GOOD(-0.01)[cached: mx.yandex.ru]; DMARC_POLICY_ALLOW(-0.50)[yandex.ru,none]; NEURAL_HAM_SHORT(-0.96)[-0.962,0]; TO_DN_EQ_ADDR_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yandex.ru]; ASN(0.00)[asn:13238, ipnet:2a02:6b8::/32, country:RU]; RCVD_TLS_LAST(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[0.1.1.0.0.0.0.0.0.0.0.0.2.0.0.0.1.0.8.0.0.0.0.0.8.b.6.0.2.0.a.2.list.dnswl.org : 127.0.5.1] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jan 2019 17:15:11 -0000 29.01.2019, 21:41, "Matthew Seaman" : > When you build world, you first spend a lot of time building a new > toolchain using your systems' installed toolchain. This new toolchain > is what appears to be broken in the output you show. Matthew many thanks for detailed explanation! But in verbose output (with -v flag), it shows "/usr/bin/ld" --sysroot=/usr/obj/usr/src/amd64.amd64/tmp ....... and in /var/log/messages appears such line: Jan 29 01:13:43 BSD-NUC kernel: pid 65946 (ld.lld), jid 0, uid 0: exited on signal 11 (core dumped) So it seems that segfaulting /usr/bin/ld from base? As you say, that first time spend for toolchain building, can I separatedly build and install first toolchain, and after that restart building world with correctly toolchain installed? I think that this problem appears after my forgot at some moment some step in buildworld procedure. I'm install kernel and not install world or something similar. So maybe now it is not synchronized... :( > > So, you may well have a perfectly good toolchain installed, but a source > tree that is defective -- mistakes do happen, and it can break building > the world. I'm svnlite ports every day for a 2 weeks and every new revision has identical errors. > > In this case, you can do the following to give yourself the best chance > of building world successfully again: > >     * delete everything under /usr/obj > >     * check out the most recent sources using git or svn or svnlite or >       whatever you prefer > >     * restart the build I'm try this several times for last 2 weeks. I'm try rm -rf /usr/obj rm -rf /usr/src svnlite https://svn.freebsd.org/base/head /usr/src cd /usr/src make buildworld And error appears. > > Check the output from your buildworld and buildkernel for any errors and > don't install unless the compile was error free. > > Consider whether 13-CURRENT is the right version for you to run. It is > a development version and is not guaranteed to run correctly (or at > all). You're expected to be able to cope with such problems when you > run it. You will find -STABLE or -RELEASE a smoother ride and more > performant to boot, as those code branches have certain performance > impacting debugging code turned off. That's in most case test machine, just for "bleeding edge fun" :) And all debugging I'm turn off from kernel and MALLOC_PRODUCTION=true set. > >         Cheers, > >         Matthew > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"