Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Dec 2018 08:14:03 -0700
From:      Warner Losh <imp@bsdimp.com>
To:        Baptiste Daroussin <bapt@freebsd.org>
Cc:        Yuri Pankov <yuripv@yuripv.net>, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: WITH_CTF breaks CD loader: "File too big"
Message-ID:  <CANCZdfpN6SSRBMFt3SnxDRKz=cNUmtYmJimJAGHtB%2BqZZuNhYw@mail.gmail.com>
In-Reply-To: <CANCZdfojEB2ge7=L51ZhT8P4igY9UiCx=aFUcZFCZOUdDdQFjg@mail.gmail.com>
References:  <6e53765f-52bd-f503-c1a5-ae23e402afcb@yuripv.net> <20181203072226.mpvh7an5pupjbwkb@ivaldir.net> <CANCZdfojEB2ge7=L51ZhT8P4igY9UiCx=aFUcZFCZOUdDdQFjg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Dec 3, 2018 at 8:10 AM Warner Losh <imp@bsdimp.com> wrote:

>
> On Mon, Dec 3, 2018 at 12:24 AM Baptiste Daroussin <bapt@freebsd.org>
> wrote:
>
>> On Sun, Dec 02, 2018 at 06:08:34PM +0300, Yuri Pankov wrote:
>> > Hi,
>> >
>> > Building disc1.iso using `make release` and having WITH_CTF set in
>> > src.conf leads to "File too big" displayed when booting the image.
>> >
>> > Would it make sense to build loader and related parts without CTF
>> > unconditionally as it doesn't look useful there?
>> >
>>
>> Fully agree with you
>>
>
> What a great Idea. We already turn it off in defs.mk:
>
> MK_CTF=         no
>
> which should be global to every single Makefile under stand. I'm not sure
> why that's turning it back on.
>

% cat /etc/src.conf
WITH_CTF=yes
FRED=present
% cd stand/cdboot
% make -V MK_CTF
no
% make -V FRED
present
%

So this sure sounds like a false positive to me. Do you have logs showing
cdboot building with MK_CTF=yes?

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfpN6SSRBMFt3SnxDRKz=cNUmtYmJimJAGHtB%2BqZZuNhYw>