thanks for the feedback until now.
I reverted back to texinfo 4.13 from the TinyCore 4.x repostitory
I completely removed my working directory and started from the scratch. Now the info files are generated, but I'm still getting errors, this time the errors are more obscure to me.
In file included from ../gcc-3.4.6/gcc/gcov-io.h:240, from ../gcc-3.4.6/gcc/libgcov.c:51: ./auto-host.h:188:1: warning: "HAVE_DECL_GETOPT" redefined In file included from ../gcc-3.4.6/gcc/libgcov.c:37: ../gcc-3.4.6/gcc/tsystem.h:40:1: warning: this is the location of the previous definition rm -rf ./libgcov.a ar rc ./libgcov.a libgcc/./_gcov.o libgcc/./_gcov_merge_add.o libgcc/./_gcov_merge_single.o libgcc/./_gcov_merge_delta.o ranlib ./libgcov.a /mnt/sda5/TeX-GPC/GPC/work/gcc/xgcc -B/mnt/sda5/TeX-GPC/GPC/work/gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -isystem /usr/local/i686-pc-linux-gnu/sys-include -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../gcc-3.4.6/gcc -I../gcc-3.4.6/gcc/. -I../gcc-3.4.6/gcc/../include -fexceptions -c ../gcc-3.4.6/gcc/unwind-dw2.c -o libgcc/./unwind-dw2.o ../gcc-3.4.6/gcc/unwind-dw2.c: In function `uw_frame_state_for': ../gcc-3.4.6/gcc/unwind-dw2.c:1031: error: field `info' has incomplete type libgcc.mk:122: recipe for target 'libgcc/./unwind-dw2.o' failed make[2]: *** [libgcc/./unwind-dw2.o] Error 1 make[2]: Leaving directory '/mnt/sda5/TeX-GPC/GPC/work/gcc' Makefile:1228: recipe for target 'libgcc.a' failed make[1]: *** [libgcc.a] Error 2 make[1]: Leaving directory '/mnt/sda5/TeX-GPC/GPC/work/gcc' Makefile:23375: recipe for target 'all-gcc' failed make: *** [all-gcc] Error 2
Should I try to revert back also gcc? Which version would be preferred? I am currently using TinyCore 7, in version 6, there was gcc-4.9.1, version 5 had 4.7.2 and version 4 had 4.6.1. I don't really know what happens if I mix development tools from different version, but apparently most required tools are packaged in one pseudo-package.
Here are the versions of the different tools I used this time: makeinfo (GNU texinfo) 4.13. gcc (GCC) 5.2.0 GNU bash, version 4.3.39(1)-release (i486-pc-linux-gnu) bzip2, a block-sorting file compressor. Version 1.0.6, 6-Sept-2010. sed (GNU sed) 4.2.2 GNU Awk 4.1.3, API: 1.1 (GNU MPFR 3.1.3-p4, GNU MP 6.0.0) m4 (GNU M4) 1.4.17 bison (GNU Bison) 3.0.4 flex 2.5.39 autoconf (GNU Autoconf) 2.69 GNU help2man 1.46.1
Regards and thanks in advance for any help -- Bernhard Treutwein
Hi Peter,
thanks. After applying the patch provided by Peter, it looks good.
The testsuite runs without errors (4 unsupported tests).
To summarize: It is possible to bootstrap gpc on a TinyCore 7 Linux, when installing texinfo package from the old 4.x extension, which installs the version 4.13A. It requires the following extensions for compilation: bash, bz2, compiletc, autoconf, and help2man.
@Kevan: could you please include the patch in your archive, I guess it is missing.
If I find the time, I'll prepare and submit two extensions: gpc and gpc-doc.
Regards -- Bernhard
-----Original Message----- From: Gpc [mailto:gpc-bounces@gnu.de] On Behalf Of Peter Sent: Thursday, March 17, 2016 8:10 PM To: gpc@gnu.de Subject: Re: more gpc bootstrapping errors
On 14/03/16 12:13, Treutwein Bernhard wrote:
.... ../gcc-3.4.6/gcc/unwind-dw2.c: In function `uw_frame_state_for': ../gcc-3.4.6/gcc/unwind-dw2.c:1031: error: field `info' has incomplete type ....
This patch should help.