gm2
[Top][All Lists]
Advanced

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

Re: Still no luck on Solaris 11.3/sparc


From: Gaius Mulley
Subject: Re: Still no luck on Solaris 11.3/sparc
Date: Thu, 17 Nov 2022 15:03:30 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

john o goyo <jog37@riddermarkfarm.ca> writes:

> Greetings, Gaius.
>
> I am trying to build gm2 from the git repository.  My latest woe is
> the following.
>
> libtool: compile:  /home/build/opt/gm2/bld/gm2-sol11/./gcc/gm2
> -B/home/build/opt/gm2/bld/gm2-sol11/./gcc/ -c -g -O2 -g -O2 
> -I../libm2pim -I/home/build/opt/gm2/src/gcc-git/gcc/m2/gm2-libs-pim
>  -I/home/build/opt/gm2/src/gcc-git/gcc/m2/gm2-libs 
> -I/home/build/opt/gm2/src/gcc-git/gcc/m2/gm2-libs-iso
>  
> ../../../../../src/gcc-git/libgm2/libm2log/../../gcc/m2/gm2-libs-pim/BitBlockOps.mod
>  
> -fPIC -DPIC -o .libs/BitBlockOps.o
> cc1gm2: error: plugin support is disabled; configure with "--enable-plugin"
> cc1gm2: error: plugin support is disabled; configure with "--enable-plugin"
>
> Why would plugin support -- whatever that may be -- be disabled?  (I
> disabled LTO because it was broken.)
>
> Here is my configuration script.
>
> NM=/usr/bin/gnm \
> SHELL=/usr/bin/bash \
> AR=/usr/bin/ar \
> CC=/home/build/gcc/9.3.0/bin/gcc \
> CXX=/home/build/gcc/9.3.0/bin/g++ \
> ../../src/gcc-git/configure \
> --prefix=$HOME/gm2/sol11 \
> --exec-prefix=$HOME/gm2/sol11 \
> --enable-languages=c,c++,m2 \
> --with-mpc=/usr/local \
> --with-gmp=/usr/local \
> --with-mpfr=/usr/local \
> --disable-bootstrap \
> --enable-threads=posix \
> --disable-lto
>
> john

Hi John,

I'm not totally sure - but I wonder if it has detected some missing
header files and is disabling automatically.  Maybe try forcing
--enable-plugin and see if it complains about any missing headers.  I
don't disable lto - (to enable lto I add it to the language list ie:
--enable-languages=c,c++,m2,lto) but other than that everything looks
familiar

regards,
Gaius



reply via email to

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