gm2
[Top][All Lists]
Advanced

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

Re: gm2 Digest, Vol 201, Issue 2


From: Curtis Hamilton
Subject: Re: gm2 Digest, Vol 201, Issue 2
Date: Wed, 8 Nov 2023 12:26:46 -0500

Yes!  This is building from FreeBSD ports with m2 enabled in the port “Makefile.”  If m2 was not enabled you wouldn’t get the error message of trying to build it.

BTW, I was able to build gm2 before it was integrated into gcc13. 

There seems to be issues with the integration configuration.  If you look at the config.log file, the failure is in testing the gcc bootstrap compiler and locating libraries to be linked.

Regards 

On Wed, Nov 8, 2023 at 12:02 PM <gm2-request@nongnu.org> wrote:
Send gm2 mailing list submissions to
        gm2@nongnu.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.nongnu.org/mailman/listinfo/gm2
or, via email, send a message with subject or body 'help' to
        gm2-request@nongnu.org

You can reach the person managing the list at
        gm2-owner@nongnu.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of gm2 digest..."


Today's Topics:

   1. Re: gcc13 fails to configure/build with m2 language enabled
      on Freebsd (Michael Riedl)


----------------------------------------------------------------------

Message: 1
Date: Tue, 7 Nov 2023 23:19:43 +0100
From: Michael Riedl <udo-michael.riedl@t-online.de>
To: gm2@nongnu.org
Subject: Re: gcc13 fails to configure/build with m2 language enabled
        on Freebsd
Message-ID: <5a3ca1f9-5726-324b-f520-a948b710a37b@t-online.de" target="_blank">5a3ca1f9-5726-324b-f520-a948b710a37b@t-online.de>
Content-Type: text/plain; charset="utf-8"; Format="flowed"

Curtis,

not a subject matter expert but as a guess - did you run configure with

   --enable-languages=c,c++,m2

And, what makes me suspicious - does your "C" compiler is working
(suppose, yes, but then at least some libraries could not be found ).

Your config.log states at and after line 87:

configure:2581: checking whether the C compiler works
configure:2603: /usr/ports/lang/gcc13/work/.build/./prev-gcc/xgcc
-B/usr/ports/lang/gcc13/work/.build/./prev-gcc/
-B/usr/local/powerpc64le-portbld-freebsd13.2/bin/
-B/usr/local/powerpc64le-portbld-freebsd13.2/bin/
-B/usr/local/powerpc64le-portbld-freebsd13.2/lib/ -isystem
/usr/local/powerpc64le-portbld-freebsd13.2/include -isystem
/usr/local/powerpc64le-portbld-freebsd13.2/sys-include -fno-checking -g
-O2 -fno-checking -flto=jobserver -frandom-seed=1 -ffat-lto-objects
-DLIBICONV_PLUG -static-libstdc++ -static-libgcc  conftest.c libcommon.a
../libcpp/libcpp.a ../libbacktrace/.libs/libbacktrace.a
../libiberty/pic/libiberty.a ../libdecnumber/libdecnumber.a  >&5
/usr/local/bin/ld: cannot find libcommon.a: No such file or directory
/usr/local/bin/ld: cannot find ../libcpp/libcpp.a: No such file or directory
/usr/local/bin/ld: cannot find ../libbacktrace/.libs/libbacktrace.a: No
such file or directory
/usr/local/bin/ld: cannot find ../libiberty/pic/libiberty.a: No such
file or directory
/usr/local/bin/ld: cannot find ../libdecnumber/libdecnumber.a: No such
file or directory
collect2: error: ld returned 1 exit status

Gruß / Regards

Michael

Am 07.11.23 um 20:01 schrieb Curtis Hamilton:
> 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  <http://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.
>     
>
> <https://bugs.freebsd.org/bugzilla/attachment.cgi?id=246162&action="">>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
https://lists.nongnu.org/archive/html/gm2/attachments/20231107/d2b37f30/attachment.htm>

------------------------------

Subject: Digest Footer

_______________________________________________
gm2 mailing list
gm2@nongnu.org
https://lists.nongnu.org/mailman/listinfo/gm2


------------------------------

End of gm2 Digest, Vol 201, Issue 2
***********************************

reply via email to

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