From owner-freebsd-arm@freebsd.org Mon Jan 18 17:30:29 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 EDD0DA863EB for ; Mon, 18 Jan 2016 17:30:28 +0000 (UTC) (envelope-from fehrist@codeghar.com) Received: from mail-pf0-x22f.google.com (mail-pf0-x22f.google.com [IPv6:2607:f8b0:400e:c00::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C7E9410A5 for ; Mon, 18 Jan 2016 17:30:28 +0000 (UTC) (envelope-from fehrist@codeghar.com) Received: by mail-pf0-x22f.google.com with SMTP id e65so161189989pfe.0 for ; Mon, 18 Jan 2016 09:30:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeghar-com.20150623.gappssmtp.com; s=20150623; h=message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=kUvgCJItXgAAHwDman7/nQ7Jf2cNjLLw9yRvdY2WvIs=; b=zB7XEqDUpvUfcGL4ZLDiIl8hfACVl9LHYh1Aa+qd77naxI/5vgnBtX1GvVCPItGpT1 s61ZVmZcHPQcEVA0WZmzsvIrp1k+83dnLJBPsqqXVeSJWG9UYk5YMNfac+MFEzHtQAJo Hk9E7nq0qi8csC+qHT8s9lSz04Q5yJyvmXmcZrTxfhv/kLJiuHHsBK5RnuCc1xEh7UDD h74YJR4vwBWhoWYZ4IMFhyEFV2dIF3Q2l+wP0MoI1VFhIksnfSraV8+mQs5ECk8OsB4/ sioUqNk2amkya0jxpTqI1DTwd5/MMEw3tlybICy1HdDL8wPGmTGy8l+baODuOmxi4oTq gplQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:reply-to:user-agent :mime-version:to:cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=kUvgCJItXgAAHwDman7/nQ7Jf2cNjLLw9yRvdY2WvIs=; b=OPGkyfIT/OjOB2D80VOCjn7u038q1e2kc0l3izK1aCF2henZeErPLG4wSMUEdGsBKP /Bk/Wnj2A9nnGuR3aa+TMXpEEoNoARhGvVd+UUwGrMJO92meBNpzHv+JAFZPWGk81O/G CIo3Fc9wk8cHaOT2SXaBVhIhuiRh803NkyNy9prSbRaHFY+sW4+6KobyJlB/kBWmNnbm 1QfjvjbTyYnqDcDOqHWOg/5KxjLVIYspjWPi3C+PWlulNWrHg+Bi/m8jMCQ6fP0Tg5pn 6gwp4I/3yVdi4KMMV2dsnjPmNCD7Tj/rZKLzWfny2fey5bNOZ9ubigvIcJ4mLFUi5nDv x43Q== X-Gm-Message-State: AG10YOS0xcHwQiArRhO805uVomfT7TOAD4uSNlZySXQE3WKYs6/QOTu6gsicSenM/cZ5mw== X-Received: by 10.98.42.83 with SMTP id q80mr31711418pfq.19.1453138228054; Mon, 18 Jan 2016 09:30:28 -0800 (PST) Received: from heer.internal.jugni.xyz ([2601:600:8300:9b4:ec3e:f6e7:a569:a6fc]) by smtp.googlemail.com with ESMTPSA id b28sm35386212pfd.24.2016.01.18.09.30.27 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 18 Jan 2016 09:30:27 -0800 (PST) Message-ID: <569D2133.2000103@codeghar.com> Date: Mon, 18 Jan 2016 09:30:27 -0800 From: Hamza Sheikh Reply-To: fehrist@codeghar.com User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Toby CC: freebsd-arm , markmi@dsl-only.net 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> <569C8B54.8040306@fsck.ch> In-Reply-To: <569C8B54.8040306@fsck.ch> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 17:30:29 -0000 > 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 have changed /tmp to use tmpfs. $ cat /etc/fstab /dev/mmcsd0s1 /boot/msdos msdosfs rw,noatime 0 0 /dev/mmcsd0s2a / ufs rw,noatime 1 1 #md /tmp mfs rw,noatime,-s50m 0 0 md /var/log mfs rw,noatime,-s15m 0 0 md /var/tmp mfs rw,noatime,-s10m 0 0 tmpfs /tmp tmpfs rw,mode=777 0 0 > 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. Mark Millard[1] has identified possible issues with /usr/local/raspbsd being present in the error message. As you can see I have no such path. $ ls /usr/local/raspbsd ls: /usr/local/raspbsd: No such file or directory $ ls /usr/local bin etc include lib libdata man openssl sbin share > (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 It looks like you're using vanilla FreeBSD unlike me; I'm using RaspBSD install/bootable image. Since we're hitting the same issue I'm guessing it might not matter which install image is used. [1] https://lists.freebsd.org/pipermail/freebsd-arm/2016-January/013053.html -- Hamza Sheikh Twitter: @aikchar