gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Some problems building GM2 (Solaris 11.3/Sparc)


From: Gaius Mulley
Subject: Re: Some problems building GM2 (Solaris 11.3/Sparc)
Date: Thu, 3 Nov 2022 14:10:36 +0000

Ah thank you John - I have nearly fixed the fclose bug - one less bug
at the least

regards,
Gaius

On Thu, Nov 3, 2022 at 1:24 PM john o goyo <jog37@riddermarkfarm.ca> wrote:
>
> On 2022-11-02 21:21, Gaius Mulley wrote:
> > john o goyo <jog37@riddermarkfarm.ca> writes:
> >
> >> Greetings, Gaius.
> >>
> >> (0) As a prelude to building gm2, I downloaded, built, and installed
> >> gcc-11.3.0 -- without incident.
> >>
> >> (1) Next, I downloaded gcc-8.2.0+gm2-20221031.tar.gz and tried to
> >> build with gcc-11.3.0.  The build failed with a rather odd error.
> >>
> >>      /home/build/gcc/11.3.0/bin/gcc -static-libstdc++ -static-libgcc
> >> /home/build/opt/gm2/bld/gcc-8.2.0+gm2-20221031/gcc/plugin.o  \
> >>       -o /home/build/opt/gm2/bld/gcc-8.2.0+gm2-20221031/gcc/plugin
> >>      ld: fatal: file
> >> /home/build/opt/gm2/bld/gcc-8.2.0+gm2-20221031/gcc/plugin: open
> >> failed: Is a directory
> >>
> >> This is a new one on me.
> >>
> >> (2) Undaunted, I pulled down your git repository for gcc-12 (as
> >> directed https://www.nongnu.org/gm2/download.html). The build here
> >> failed with a different problem.
> >>
> >>      m2/boot-bin/mc --olang=c++ --h-file-prefix=G \
> >>      -I../../../src/gcc-git/gcc/m2/gm2-libs \
> >>      -I../../../src/gcc-git/gcc/m2/gm2-compiler \
> >>      -I../../../src/gcc-git/gcc/m2/gm2-libiberty \
> >>      -I../../../src/gcc-git/gcc/m2/gm2-gcc \
> >>      --quiet  --gcc-config-system --extended-opaque \
> >>      -o=m2/gm2-compiler-boot/M2GCCDeclare.c \
> >>      ../../../src/gcc-git/gcc/m2/gm2-compiler/M2GCCDeclare.mod
> >>      failed to open
> >> ../../../src/gcc-git/gcc/m2/gm2-compiler/M2GCCDeclare.mod
> >>
> >> Yet, it is there:
> >>
> >>      $ ls -l ../../src/gcc-git/gcc/m2/gm2-compiler/M2GCCDeclare.mod
> >>      -rw-r--r--   1 build    staff     164138 Nov  1 17:36
> >> ../../src/gcc-git/gcc/m2/gm2-compiler/M2GCCDeclare.mod
> >>
> >> Any ideas?
> > Hi John,
> >
> > on (2) I wonder if mc is leaking file descriptors.  I will investigate -
> > it has been reported a short time ago - also on solaris iirc.  I'm not
> > sure about (1) though (possibly the same issue).  But I'll definitely
> > start by searching for missing close in 'mc',
>
> Thank you, Gaius.
>
> (Incidentally, I have ulimit set to unlimited.)
>
> Sincerely,
> john
>
> >
> > regards,
> > Gaius
>
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]