From owner-freebsd-arm@freebsd.org Mon Jan 18 06:51:14 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BE663A862DD for ; Mon, 18 Jan 2016 06:51:14 +0000 (UTC) (envelope-from misc.lists@fsck.ch) Received: from secure.socket.ch (secure.socket.ch [91.199.228.84]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7E9FA1004 for ; Mon, 18 Jan 2016 06:51:14 +0000 (UTC) (envelope-from misc.lists@fsck.ch) Received: from 46-253-187-21.dynamic.monzoon.net ([46.253.187.21] helo=fluff-wlan.fsck.ch) by secure.socket.ch with esmtpsa (TLSv1:DHE-RSA-AES128-SHA:128) (Exim 4.83 (FreeBSD)) (envelope-from ) id 1aL3eY-000OaU-Ki for freebsd-arm@freebsd.org; Mon, 18 Jan 2016 07:51:04 +0100 Message-ID: <569C8B54.8040306@fsck.ch> Date: Mon, 18 Jan 2016 07:51:00 +0100 From: Toby User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: freebsd-arm@freebsd.org Subject: Re: make buildworld failed with error "relocation truncated to fit: R_ARM_JUMP24 against symbol `_fini'" References: <569C1D2E.6040401@codeghar.com> <478fef0c3db.611911c6@mail.schwarzes.net> In-Reply-To: <478fef0c3db.611911c6@mail.schwarzes.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Spam-Score: -2.9 (--) X-Spam-Report: Spam detection software, running on the system "secure.socket.ch", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see The administrator of that system for details. Content preview: On 18/01/16 00:13, Andreas Schwarz wrote: > On 17.01.16, Hamza Sheikh wrote: > >> I am running FreeBSD on Raspberry Pi 2, installed from a RaspBSD[1] >> image. It is a new 64GB Micro SD card. I was running out of space on 8GB >> card during `make installworld`. > > Your working /tmp (md device) is only 48M, I would recommend to > change this to tmpfs, which is dynamic and more efficient or don't > mount it and use the / filesystem. [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 TVD_RCVD_IP Message was received from an IP address -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-SA-Exim-Connect-IP: 46.253.187.21 X-SA-Exim-Mail-From: misc.lists@fsck.ch X-SA-Exim-Scanned: No (on secure.socket.ch); SAEximRunCond expanded to false X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jan 2016 06:51:14 -0000 On 18/01/16 00:13, Andreas Schwarz wrote: > On 17.01.16, Hamza Sheikh wrote: > >> I am running FreeBSD on Raspberry Pi 2, installed from a RaspBSD[1] >> image. It is a new 64GB Micro SD card. I was running out of space on 8GB >> card during `make installworld`. > > Your working /tmp (md device) is only 48M, I would recommend to > change this to tmpfs, which is dynamic and more efficient or don't > mount it and use the / filesystem. buildworld fails in the same way for me, and my /tmp and /var/tmp are 1GB each, /usr/obj is around 4GB and / has around 700MB of free space before starting the build. I did a successful buildworld with the same configuration just before the latest batch of security advisories came in. Because of all the advisories, I updated src and did another buildworld. It has failed since. Thanks, Toby (error message added again for reference) /usr/lib/crt1.o: In function `finalizer': /usr/src/lib/csu/arm/crt1.c:(.text+0x1ec): relocation truncated to fit: R_ARM_JUMP24 against symbol `_fini' defined in .fini section in /usr/lib/crti.o c++: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. make[4]: stopped in /usr/src/usr.bin/clang/clang *** Error code 1