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? WarnerSuccess, 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/ _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[email protected]"
