[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, 03 Nov 2022 01:21:08 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
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',
regards,
Gaius