[Prex-devel] prex 0.9 x86-pc compiles but does not boot under gcc 4.8.2 (works under 4.2.4)
Status: Beta
Brought to you by:
kohtani
|
From: Paul D. <duf...@gm...> - 2014-03-19 04:13:26
|
unchanged version 0.9.0 was compiling fine on gcc 4.8.2. But when I was $mcopy prex-0.9.0/prexos a:\prexos (choosing overwrite) with /etc/mtools.conf having drive a: file="/home/paul/prex-0.8.0,i386-pc.img" then $qemu-kvm -fda ./prex-0.8.0.i386-pc.img -localtime messages was going very fast, but was having time to read Booting Prexos, then blackscreen. So I did manually apply: http://www.eighty-twenty.org/index.cgi/tech/prex-bug-20110317.html did not use -p option of patch... had to manually apply (not used to apply patches). But it did not help. Then I tried to recompile 0.8.1 but had problem: first configure had not --target=pc-x86 was not working so I only ./configure, but then make: .../boot/common/debug.c:50: undefined reference to '__builtin_stdarg_start' So I begin trying older gcc (4.2.4) but no better results. So I then compiled back 0.9.0 (make clean; make) And this time after the mcopy command, qemu worked! And this must be really 0.9.0 because I now can play tetris, and was not having tetris in 0.8.0. So it appears that 0.9.0 build fine with gcc 4.8.2 but then does not boot. Builds fine, and boots with gcc 4.2.4. Did not (yet) tested gcc versions between 4.2.4 and 4.8.2. |