gm2
[Top][All Lists]
Advanced

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

Some problems building GM2 (Solaris 11.3/Sparc)


From: john o goyo
Subject: Some problems building GM2 (Solaris 11.3/Sparc)
Date: Wed, 2 Nov 2022 19:11:31 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.10.0

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?


Sincerely,
john




reply via email to

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