Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Feb 2021 21:34:28 -0600
From:      "Dean E. Weimer" <dweimer@dweimer.net>
To:        dweimer@dweimer.net
Cc:        Warner Losh <imp@bsdimp.com>, FreeBSD Stable <freebsd-stable@freebsd.org>
Subject:   Re: 13-BETA3 installation from source problems.
Message-ID:  <33973f4e4af2144ee81aa615c0826b60@dweimer.net>
In-Reply-To: <71f2608341cdea1e4a36551b61d7e4a0@dweimer.net>
References:  <b75040cf0985c0582dbe4d82143adc7b@dweimer.net> <CANCZdfor02pyBnYsPviqOuPKMLabUCczSf8Z--u2j6kU5jj%2BUQ@mail.gmail.com> <909bf509b35ec1cda7b70c749edc6b75@dweimer.net> <df551839bde8a440e2917779d949933c@dweimer.net> <0b5141137f69e2f86dd49edd4ffd1e78@dweimer.net> <CANCZdfpYnYsqwriuJUmXB1M5RMYMGB08hvQQZavyOaGuUDh0eg@mail.gmail.com> <71f2608341cdea1e4a36551b61d7e4a0@dweimer.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2021-02-22 8:55 pm, Dean E. Weimer via freebsd-stable wrote:
> On 2021-02-22 5:52 pm, Warner Losh wrote:
> 
>> What does this patch do for you?
>> 
>> diff --git a/stand/i386/loader/Makefile b/stand/i386/loader/Makefile
>> index ad95948ec50a..cbbe15bd1fc0 100644
>> --- a/stand/i386/loader/Makefile
>> +++ b/stand/i386/loader/Makefile
>> @@ -90,7 +90,8 @@ FILES+=       ${LOADER}
>> FILESMODE_${LOADER}= ${BINMODE} -b
>> 
>> # XXX crt0.o needs to be first for pxeboot(8) to work
>> -OBJS=  ${BTXCRT}
>> +# Can't add it to OBJS w/o pain and suffering
>> +LDFLAGS+=      ${BTXCRT}
>> 
>> DPADD= ${LDR_INTERP32} ${LIBFIREWIRE} ${LIBI386} ${LIBSA32}
>> LDADD= ${LDR_INTERP32} ${LIBFIREWIRE} ${LIBI386} ${LIBSA32}
>> 
>> Anything?
>> 
>> Warner
> 
> Success, mostly anyways. I tried copying and pasting above into a file
> (/tmp/patch) and using patch < /tmp/patch from usr/src. It failed to
> apply, so I just manually edited file, removed OBJS= line and added
> the comment and LDFLAGS+= line. ran make clean in usr/src/stand and
> then from usr/src ran make -DNO_CLEAN buildworld, then buildinstall
> completed. Don't know if email client added a special character that
> screwed up patch or I just did it wrong, but the fix appears to have
> worked.

Maybe I spoke to soon, system failed to boot. Going to spool up a VM to 
see if I can replicate issue within the VM.

-- 
Thanks,
    Dean E. Weimer
    http://www.dweimer.net/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?33973f4e4af2144ee81aa615c0826b60>