From owner-freebsd-arm@freebsd.org Tue Oct 20 14:47:46 2015 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 A96C1A1A271 for ; Tue, 20 Oct 2015 14:47:46 +0000 (UTC) (envelope-from jau789@gmail.com) Received: from mail-wi0-x22e.google.com (mail-wi0-x22e.google.com [IPv6:2a00:1450:400c:c05::22e]) (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 4ECCBB29; Tue, 20 Oct 2015 14:47:46 +0000 (UTC) (envelope-from jau789@gmail.com) Received: by wijp11 with SMTP id p11so51175386wij.0; Tue, 20 Oct 2015 07:47:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=Q86cnfUJcKyI3s5IEuDxmwKxzny6wxvj9oLeYrZwhgk=; b=cu4YoQo/mebsDmXzpZu62gh7NCm0KhXjlyKy2/HfPH8OAUnw4rxmLjdElYfPb630hp Ab67nbN7Vsfa5bB4+ondn7HDSH0XJqV52HkY6NLKZfh7MGFprGT1qqpO/8hiMBWEXO56 /xZBtGMLRVKwlw7dXnwdjbd/df2yCA6tDKYHQblMJjaN6faBskS8SCZE27fv99Vp8PeQ OCmrsl16Y3avczKVJqJXgDqU0o/cs59bpP7fAvst1ePRk+lN0YzlovwfUOvKIi/y3/xF q97seF7ZdEgsmfF2jmz8W95M1kpuWhRjZBCu4E7LcdvX6aCMbp1tGANCKdg+8wibvKK5 4uiQ== X-Received: by 10.180.88.34 with SMTP id bd2mr12426688wib.82.1445352464861; Tue, 20 Oct 2015 07:47:44 -0700 (PDT) Received: from [192.168.1.131] (xdsl-205-163.nblnetworks.fi. [83.145.205.163]) by smtp.googlemail.com with ESMTPSA id jd7sm4305053wjb.19.2015.10.20.07.47.43 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Oct 2015 07:47:44 -0700 (PDT) Subject: Re: machine/acle-compat.h missing To: Andrew Turner References: <561B4A25.2030703@gmail.com> <20151012232952.GR67524@funkthat.com> <626A93AA-8E14-4027-8FFC-95CA2AC77193@kientzle.com> <59E5C236-908F-4AAA-942B-7E5FE5B76C0D@gmail.com> <1445186896.71631.57.camel@freebsd.org> <5625EA6D.3000305@gmail.com> <20151020143541.5f6b8450@bender> Cc: Ian Lepore , freebsd-arm@freebsd.org From: Jukka Ukkonen X-Enigmail-Draft-Status: N1110 Message-ID: <5626540E.1050405@gmail.com> Date: Tue, 20 Oct 2015 17:47:42 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <20151020143541.5f6b8450@bender> Content-Type: text/plain; charset=windows-1252 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: Tue, 20 Oct 2015 14:47:46 -0000 On 10/20/15 16:35, Andrew Turner wrote: > > -O3 is not supported, it may work, or it may, as you have found, cause > clang to increase in size such that it is too large to link. The issue > is the distance between crt1.o (at the start of the file) and libc.a > (near the end) is too far due to an increase in code between the two. Tested and confirmed. The assumption that -O3 should work only because it had worked before was wrong. With -O2 everything works just fine. --jau