From owner-freebsd-arm@freebsd.org Mon Jan 18 18:40:18 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 D88C7A86128 for ; Mon, 18 Jan 2016 18:40:18 +0000 (UTC) (envelope-from fehrist@codeghar.com) Received: from mail-wm0-x232.google.com (mail-wm0-x232.google.com [IPv6:2a00:1450:400c:c09::232]) (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 79AD81B21 for ; Mon, 18 Jan 2016 18:40:18 +0000 (UTC) (envelope-from fehrist@codeghar.com) Received: by mail-wm0-x232.google.com with SMTP id 123so63477183wmz.0 for ; Mon, 18 Jan 2016 10:40:18 -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=FJ4a1G9fx+1hP8I11JWIMpUIKd56p3yel1OIgaz5JUc=; b=gNMggQCzKtEf8wXbHslaAHw5Ux0nOCkUnJG3rIk745MXoDWGeoHjGKgzfC1h3MeSmn frRnSeaEwMSsCYdNFW4fs4K5gZ+RVzmgLg64me2tfXG4Bpjk3I2dIU5qSGEYhiVoKOGk 6NX+2pThB+m4Ii4k7HyFrL9uTMX9Zz4ur0rSbg2CneYQ2YhK2z+RPNwgfK4E0fAADp4y k6Dm7aNVgpvkU6WmuPIkJ1cIyrLNQe4X3mXSkgHxZJFRBAlDAcko9NYX+jppI31hteXp TUVwra4Wi7OxvKXAIb4opJ8SRRO94puUFyGwhAqiQ4aqZD5tGDfYTFPph5ludytePr4h 24Bw== 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=FJ4a1G9fx+1hP8I11JWIMpUIKd56p3yel1OIgaz5JUc=; b=Ko218Cj8WhH4ZRH2127FtiY7Dob9c/KEAq47raGvUxbaedt2Y3SQtvRGCU0qILVDZB OGKMKB9qatBTCm0JAN9niFYwXeDKts42y2W/OPeLVMgVo7kJk2JhtzS0LhQllz184eqB o105f1P2E2BWv9D6AuuQH2ybTpPgWHa18Gwu3vNldIdb7Nj4cjdjINijgoEP2V8f3Ekj 59OtYf28xnMXEGDmdT+/UoD9k3XiNDdEkYwZXSF6Odrox0s0MShD0wgQ4BH3qk4Fua9M /iD8QxTZuE5bu6KRHfLY0S/F281vcv0IfV8KlefuREKcl1gamtQeuXcVHjobrKwIRlI5 ddwA== X-Gm-Message-State: AG10YORQQoHsEuLVMD6LkTnhHvtXNe33FlkG9fWRa5y3YK1+A1qmEbKKjmwmZ2RztPlOmw== X-Received: by 10.28.128.22 with SMTP id b22mr14106388wmd.44.1453142416770; Mon, 18 Jan 2016 10:40:16 -0800 (PST) Received: from heer.internal.jugni.xyz (c-24-18-126-182.hsd1.wa.comcast.net. [24.18.126.182]) by smtp.googlemail.com with ESMTPSA id l2sm25013446wjf.15.2016.01.18.10.40.15 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 18 Jan 2016 10:40:16 -0800 (PST) Message-ID: <569D318F.1090201@codeghar.com> Date: Mon, 18 Jan 2016 10:40:15 -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: Andrew Turner CC: freebsd-arm Subject: Re: make buildworld failed with error "relocation truncated to fit: R_ARM_JUMP24 against symbol `_fini'" References: <569C1D2E.6040401@codeghar.com> <20160118180801.7916ef84@zapp> In-Reply-To: <20160118180801.7916ef84@zapp> 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 18:40:19 -0000 >> # cat /etc/make.conf >> CC=clang >> CXX=clang++ >> CPP=clang-cpp > > Why are you setting these? The default cc should already be clang. I got that from a BSD Now tutorial[1] before they added the disclaimer at the top. I did not add `CPUTYPE?=native` because of Bug 204636[2]. > Can you provide a full build log? It's difficult to figure out the > issue from just the error messages. I did not see a build log file created in /usr/src. Since I'm using a tmux session it kept only the last chunk of output when scrolling up. I have been unable to find a way to create a log file for `make buildworld`. Would a simple redirect suffice? Say `make buildworld > build.log`. $ pwd; find . -name \*.log /usr/src ./contrib/mdocml/config.log ./usr.bin/compress/doc/revision.log [1] http://www.bsdnow.tv/tutorials/the-desktop [2] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204636 -- Hamza Sheikh Twitter: @aikchar