From owner-svn-src-all@freebsd.org Mon Aug 22 14:19:18 2016 Return-Path: Delivered-To: svn-src-all@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 60A13BC105F for ; Mon, 22 Aug 2016 14:19:18 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it0-x236.google.com (mail-it0-x236.google.com [IPv6:2607:f8b0:4001:c0b::236]) (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 25CAA175E for ; Mon, 22 Aug 2016 14:19:18 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it0-x236.google.com with SMTP id x131so90618468ite.0 for ; Mon, 22 Aug 2016 07:19:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=AJyXbRyBo0dN/x5gBq7/6QYQzaBVJpDOy9rCYEqZjr0=; b=QX6isLLpO21+ZoNdNJEEfNrvm+hRuZngP+iRFPZHa+M2ju7NomdM/jAEnbmccRC+8M ea/JmD4IQJeyjmbAGqyo76sqDXdenqqqI2BC0NtJ9iXtcZb7rGv2R0a1JcRXUOSViGJw obnt0/hHFoqZ3t97tYVs5GMKbd13Z8vZiSLbmklBvT1JcfhtIrqn6auh3UxPl/hHxZqQ WyzNORp6o2JpUXKyoUudf5CbGJsSGOgx/lHIMtgzEMfYKqMvpQin7HTiNOxnLuhVxSES ilNOpso1uKAX/EiZBnUM1I1MaH926oyR72FZLs7PhO64koym/sBf0eK4dtNMWJbkvxNA +6Yg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=AJyXbRyBo0dN/x5gBq7/6QYQzaBVJpDOy9rCYEqZjr0=; b=h03UCdQiJKlVFO/oL0Tb/fTVLYk1Pq0EYzFMRkbqGpeKmjrtlRaI6BsWwfHWpahjdL AKgL6UHGw4zpJpd+TolsJv1kP2HXMV44+w9j0ArpBgKWbaJHJx+lnjIUkWn18gf7zd3x lDKsg8XVFUB59vJd1VpkLyBjBZ8TWjysTD9l7tqNxBhKhqr6HxydUN3qOlOnYhHVoseQ lM1imzY+mMfvIUSF7uU4iu0bIDf5/wfMA+TvjVgg4VwBXhJ6uNGcN/rbIVY+8VdYI3PV MJgeWo86QKq1Q5Xu7M+mav4bDOj6pzPU7DAE0g1vYswZKtMMRk26Bb4fMm3PkPuVPSSj xtjw== X-Gm-Message-State: AEkoouvPFeVrXWeMPqRWIH8adgcdGU/EJNkIgvWX04ZRzlTs1F9xcxcpDyRVg7GUD1yGpR8ObI2AB/qaFcZ1mg== X-Received: by 10.36.236.193 with SMTP id g184mr11336130ith.32.1471875557027; Mon, 22 Aug 2016 07:19:17 -0700 (PDT) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.36.65.7 with HTTP; Mon, 22 Aug 2016 07:19:16 -0700 (PDT) X-Originating-IP: [69.53.245.200] In-Reply-To: References: <201608180037.u7I0b77A095653@repo.freebsd.org> <7bdb0cf5-e139-375b-8be6-c1280e39da25@FreeBSD.org> <4c76efd6-146a-e70b-c065-729d223e3398@FreeBSD.org> From: Warner Losh Date: Mon, 22 Aug 2016 08:19:16 -0600 X-Google-Sender-Auth: p_SuMQ28l5P1hi2ZW6Gn6n9Asjw Message-ID: Subject: Re: svn commit: r304321 - in head/sys: boot/efi/boot1 boot/efi/loader boot/i386/boot2 boot/i386/gptboot boot/i386/gptzfsboot boot/i386/zfsboot boot/userboot/ficl boot/userboot/userboot boot/userboot/zf... To: Toomas Soome Cc: Andriy Gapon , Toomas Soome , src-committers , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Aug 2016 14:19:18 -0000 On Mon, Aug 22, 2016 at 3:44 AM, Toomas Soome wrote: > I do suspect the size difference there is partially due to ficl, in illum= os (ficl 4): > > -rw-r--r-- 1 tsoome staff 132508 aug 22 09:18 libficl.a > > and freebsd (ficl 3): > > -rw-r--r-- 1 root wheel 213748 Aug 19 01:57 libficl.a > > so, there definitely is some space=E2=80=A6 Same compiler? Clang bloats the boot code rather substantially, even after all the flags to tell it to generate smaller code are used. gcc 4.2.x built stuff was substantially smaller. There's a 520kb limit enforced in the boot1 for similar reasons. Looks like the combination of options makes us use just enough extra memory to sink the battleship... Warner