gm2
[Top][All Lists]
Advanced

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

Re: gcc13 fails to configure/build with m2 language enabled on Freebsd


From: Gaius Mulley
Subject: Re: gcc13 fails to configure/build with m2 language enabled on Freebsd
Date: Thu, 09 Nov 2023 16:31:58 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

Curtis Hamilton <clhamilto@gmail.com> writes:

> When attempting to build with modula2 (m2) enabled returns the following 
> error:
>
> cp 
> /usr/ports/lang/gcc13/work/gcc-13.1.0/gcc/m2/target-independent/m2/Builtins.texi
>  /usr/ports/lang/gcc13/work/.build/gcc/m2/Builtins.texi
> echo timestamp > Builtins.texi-check
> grep -v "^@node" 
> /usr/ports/lang/gcc13/work/gcc-13.1.0/gcc/doc/include/gpl_v3.texi > 
> m2/gpl_v3_without_node.texi
> test -d /usr/ports/lang/gcc13/work/.build/gcc/m2/images || /bin/sh 
> /usr/ports/lang/gcc13/work/gcc-13.1.0/gcc/../mkinstalldirs 
> /usr/ports/lang/gcc13/work/.build/gcc/m2/images
> mkdir /usr/ports/lang/gcc13/work/.build/gcc/m2/images
> cp /usr/ports/lang/gcc13/work/gcc-13.1.0/gcc/m2/images/gnu.eps 
> /usr/ports/lang/gcc13/work/.build/gcc/m2/images/gnu.eps
> echo timestamp > gcc.pod
> perl /usr/ports/lang/gcc13/work/gcc-13.1.0/gcc/../contrib/texi2pod.pl 
> /usr/ports/lang/gcc13/work/gcc-13.1.0/gcc/doc/invoke.texi > gcc.pod
> checking whether the C compiler works... no
> config-host: error: in `/usr/ports/lang/gcc13/work/.build/gcc/m2/gm2-libs':
> config-host: error: C compiler cannot create executables
> See `config.log' for more details
> no
> configure: error: in `/usr/ports/lang/gcc13/work/.build/gcc/m2':
> configure: error: C compiler cannot create executables
> See `config.log' for more details
> gmake[5]: *** 
> [/usr/ports/lang/gcc13/work/gcc-13.1.0/gcc/m2/Make-lang.in:1526: 
> m2/gm2-libs/gm2-libs-host.h] Error 77
> gmake[5]: *** Waiting for unfinished jobs....
> gmake[5]: *** 
> [/usr/ports/lang/gcc13/work/gcc-13.1.0/gcc/m2/Make-lang.in:1542: 
> m2/gm2config.aci] Error 77
> libgccjit.texi:18: warning: @definfoenclose is obsolete
> libgccjit.texi:19: warning: @definfoenclose is obsolete
> /bin/sh /usr/ports/lang/gcc13/work/gcc-13.1.0/gcc/../move-if-change 
> tmp-optionlist optionlist
> echo timestamp > s-options
> rm gcc.pod
> gmake[5]: Leaving directory '/usr/ports/lang/gcc13/work/.build/gcc'
> gmake[4]: *** [Makefile:5009: all-stage2-gcc] Error 2
> gmake[4]: Leaving directory '/usr/ports/lang/gcc13/work/.build'
> gmake[3]: *** [Makefile:25730: stage2-bubble] Error 2
> gmake[3]: Leaving directory '/usr/ports/lang/gcc13/work/.build'
> gmake[2]: *** [Makefile:25953: bootstrap-lean] Error 2
> gmake[2]: Leaving directory '/usr/ports/lang/gcc13/work/.build'
> ===> Compilation failed unexpectedly.
> Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
> the maintainer.
> *** Error code 1
>
> Config log attached.

Hi Curtis,

I've just git pushed a fix (for freebsd building gm2).  However I've
only currently tested it on FreeBSD freebsd 13.2-RELEASE FreeBSD
13.2-RELEASE releng/13.2-n254617-525ecfdad597 GENERIC i386.  I did a
minimal configure bootstrap and build using:

  ../gcc-read-write-13/configure --enable-languages=m2 --enable-bootstrap
  gmake -j 4

regards,
Gaius



reply via email to

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