Re: DFly installer needs option to ovewrite system binaries whil

看板DFBSD_kernel作者時間21年前 (2004/10/09 17:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
Matthew Dillon wrote: > The solution, Tomaz, is for you not to use GCC-3.x snapshots or > runtimes. afaik I did not. > > In anycase, a gcc-3 built /boot/loader is what is generating the stack > overflow. I think all the other boot bits work with both compilers. > > Compiling and installing new boot blocks: > > cd /usr/src/sys/boot > make clean > make obj > make > make install I did all this via live cd and sources on disk and it worked, but I specifically set CCVER to gcc2 and made sure that stack protection was NOT turned on. So it appears that this is not gcc3-only issue. It appears on another Opteron machine as well. > > disklabel -B ad0s1 (for example) was not needed. So it appears I need to run another script to do the steps you mentioned, but specifically with gcc2 and WITHOUT stack protection. Toma븊
文章代碼(AID): #11Px0J00 (DFBSD_kernel)
文章代碼(AID): #11Px0J00 (DFBSD_kernel)