Rainer Orth <r...@cebitec.uni-bielefeld.de> writes: > here are some initial issues. I'll reply to Matthias' mail to expand on > other problems he's raised. > > * First, the build broke like this: > > /vol/gcc/src/hg/trunk/solaris/gcc/gm2/mc-boot/GRTint.c:57:30: error: 'time' > redeclared as different kind of symbol > 57 | typedef enum {input, output, time} VectorType; > | ^~~~ > In file included from /usr/include/time.h:12, > from /usr/include/sys/time.h:448, > from /usr/include/sys/select.h:27, > from /usr/include/sys/types.h:665, > from /usr/include/stdlib.h:22, > from > /vol/gcc/src/hg/trunk/solaris/gcc/gm2/mc-boot/Glibc.h:15, > from > /vol/gcc/src/hg/trunk/solaris/gcc/gm2/mc-boot/GRTint.c:42: > /usr/include/iso/time_iso.h:96:15: note: previous declaration of 'time' was > here > 96 | extern time_t time(time_t *); > | ^~~~
Hi Rainer, thanks for the bug report. Now fixed in the git repro - the mc bootstrap tool now avoids 'time'. Also fixed Make-lang.in to allow parallel builds. > I've worked around this by renaming the enum value to vtime. This > problem is likely to occur on other targets as well. > > * Building gm2.info failed with the makeinfo I happened to have > installed: > > makeinfo --split-size=5000000 --split-size=5000000 > -I/var/gcc/gcc-10.0.0-20190708/11.5-gcc-gas-gm2-no-bootstrap-j1/gcc/gm2 -o > /var/gcc/gcc-10.0.0-20190708/11.5-gcc-gas-gm2-no-bootstrap-j1/gcc/gm2/gm2.info > /vol/gcc/src/hg/trunk/solaris/gcc/gm2/gm2.texi > /vol/gcc/src/hg/trunk/solaris/gcc/gm2/gm2.texi:3070: `Prerequisites' has no > Up field (perhaps incorrect sectioning?). > makeinfo: Removing output file > `/var/gcc/gcc-10.0.0-20190708/11.5-gcc-gas-gm2-no-bootstrap-j1/gcc/gm2/gm2.info' > due to errors; use --force to preserve. > make[2]: *** [/vol/gcc/src/hg/trunk/solaris/gcc/gm2/Make-lang.in:234: > /var/gcc/gcc-10.0.0-20190708/11.5-gcc-gas-gm2-no-bootstrap-j1/gcc/gm2/gm2.info] > Error 1 > > This is from texinfo 4.13, newer than the required minimum of 4.7. > Even with makeinfo 6.1, there are a couple of warnings: > > /vol/gcc/src/hg/trunk/solaris/gcc/gm2/gm2.texi:82: warning: multiple @menu > /vol/gcc/src/hg/trunk/solaris/gcc/gm2/gm2.texi:581: warning: multiple @menu > /var/gcc/gcc-10.0.0-20190708/11.5-gcc-gas-gm2-no-bootstrap-j1/gcc/gm2/gm2-libs.texi:6043: > warning: multiple @menu > /vol/gcc/src/hg/trunk/solaris/gcc/gm2/gm2.texi:3070: warning: > unreferenced node `Prerequisites' will look into gm2.texi > Other than that, a sequential (only!) multilibbed build succeeded, and I > even managed to get some testsuite results which aren't too bad, again > for both multilibs: > > === gm2 Summary for unix === > > # of expected passes 7800 > # of unexpected failures 1729 > # of unresolved testcases 1705 > > === gm2 Summary for unix/-m64 === > > # of expected passes 7800 > # of unexpected failures 1729 > # of unresolved testcases 1705 > > === gm2 Summary === > > # of expected passes 15600 > # of unexpected failures 3458 > # of unresolved testcases 3410 > > Rainer regards, Gaius