Hello. I am trying to get gcc-3.4 working with gpc. I use gcc-3.4-20040702 and gpc-20040516. I ran : dave2@srv1 p $ patch -p2 < ../../update27h.diff cd ../../gcc-3.4-20040702 dave2@srv1 gcc-3.4-20040702 $ patch -p1 < ../gcc-3.4.diff8 I got one reject : patching file gcc/expr.c Hunk #2 succeeded at 5081 (offset 1 line). Hunk #3 succeeded at 5118 (offset 1 line). Hunk #4 succeeded at 5133 (offset 1 line). Hunk #5 FAILED at 5148. Hunk #6 succeeded at 5202 (offset 1 line). Hunk #7 succeeded at 5584 (offset 1 line). 1 out of 7 hunks FAILED -- saving rejects to file gcc/expr.c.rej cd .. mkdir gcc-3.4 cd gcc-3.4 ../gcc-3.4-20040702/configure --prefix=/opt/gcc-3.4 --enable-shared --enable-threads=posix --enable-checking --enable-long-long --enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++,ada,f77,objc,java,pascal --with-system-zlib make bootstrap && make -k -C gcc gnatlib_and_tools && make -k check <snip> gcc -c -g -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -fno-common -DHAVE_CONFIG_H -I. -I. -I../../gcc-3.4-20040702/gcc -I../../gcc-3.4-20040702/gcc/. -I../../gcc-3.4-20040702/gcc/../include ../../gcc-3.4-20040702/gcc/c-common.c -o c-common.o ../../gcc-3.4-20040702/gcc/p/mk_lang_opt < ../../gcc-3.4-20040702/gcc/p/opts.sum > "../../gcc-3.4-20040702/gcc/p/lang.opt" /bin/sh: line 1: ../../gcc-3.4-20040702/gcc/p/mk_lang_opt: Přístup odmítnut make[2]: *** [../../gcc-3.4-20040702/gcc/p/lang.opt] Error 126 make[2]: Leaving directory `/home/dave2/gcc/gcc-3.4/gcc' make[1]: *** [stage1_build] Error 2 make[1]: Leaving directory `/home/dave2/gcc/gcc-3.4/gcc' make: *** [bootstrap] Error 2 There is lang.opt file with 0 Byte size in gcc-3.4-20040702/gcc/p folder. Mk_lang_opt has no executable flag. I ran tar xzf to unpack gpc archive an diffs to gpc and gcc. If I set executable flag to mk_lang_opt file, build process continues. I had never unpack gpc tarball with p option, like tar xzpf gpc-20040516.tar.gz and build process always works fine. I can see that mk_lang_opt comes from update27h.diff, so tar xzpf to gpc tarball is not needed. I don`t now if patch can set executable flag to mk_lang_opt file but I think that not. Is executable flag really on mk_lang_opt file needed to bootstrap compiler or I am doing some error ? Thanks very much, David -- David Kredba <kredba at ibot.cas.cz> GPG: ID 1024D/5B6B02DE Fingerprint: F0B3312596BEDCF91DFB 0699E06AACD75B6B02DE
participants (1)
-
David Kredba