This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, Modula-2 (C/C++/D/F/Go/Jit)] (Register spec fn) (v2)

Hi Gaius,

>> it rather depends upon what you want, if you want the latest complete
>> gm2 grafting onto the svn gcc trunk then these two scripts will create a
>> patched tree and also rebuild gm2.
> that's my goal: I'd like to see if gm2 and libgm2 build on Solaris and
> pass at least a reasonable number of tests.
>> [however please be careful with the scripts - they do assume that
>> everything will be built in $HOME/GM2 - read and adapt as necessary].
> Ok, I will give it a try.

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 *);
      |               ^~~~

  I've worked around this by renaming the enum value to vtime.  This
  problem is likely to occur on other targets as well.

* Building failed with the makeinfo I happened to have

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/ /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/' due to errors; use --force to preserve.
make[2]: *** [/vol/gcc/src/hg/trunk/solaris/gcc/gm2/ /var/gcc/gcc-10.0.0-20190708/11.5-gcc-gas-gm2-no-bootstrap-j1/gcc/gm2/] 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'

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 Orth, Center for Biotechnology, Bielefeld University

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]