gm2
[Top][All Lists]
Advanced

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

Re: Building gm2 devel branch on gcc-12


From: Gaius Mulley
Subject: Re: Building gm2 devel branch on gcc-12
Date: Tue, 15 Feb 2022 19:21:02 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

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

> Greetings, Gaius.
>
> On 2022-02-15 12:25, Gaius Mulley wrote:
>> john o goyo <jog37@riddermarkfarm.ca> writes:
>>
>>> Greetings, all.
>>>
>>> Now the build has stopped as follows.
>>>
>>> gmake[3]: Entering directory '/home/build/opt/gcc/bld/gm2/gcc'
>>> unset CC ; m2/boot-bin/mklink -s --langc++ --exit --name mainmcinit.c
>>> ../../../src/gcc-git/gcc/m2/init/mcinit
>>> m2/boot-bin/mklink: Shared object "libstdc++.so.6" not found
>>>
>>> Note:
>>>
>>> duplex$ lf /usr/lib/libstdc++.so*
>>> /usr/lib/libstdc++.so@      /usr/lib/libstdc++.so.9@
>>> /usr/lib/libstdc++.so.9.0
>>>
>>>
>>> I do not understand this.  Should mklink not accept libstdc++.so
>>> rather than the specific libstdc++.so.6?
>>>
>>> Sincerely,
>>> john
>> Hi John,
>>
>> that is odd - mklink is now built by the C++ compiler (a recent change
>> from around a month ago).  Which C++ compiler built mklink on your
>> system?
>
> duplex$ g++ -v
> Using built-in specs.
> COLLECT_GCC=g++
> COLLECT_LTO_WRAPPER=/usr/libexec/lto-wrapper
> Target: sparc64--netbsd
> Configured with:
> /usr/src/tools/gcc/../../external/gpl3/gcc/dist/configure 
> --target=sparc64--netbsd --enable-long-long --enable-threads
>   --with-bugurl=http://www.NetBSD.org/Misc/send-pr.html 
> --with-pkgversion='NetBSD nb4 20200810' --with-system-zlib
>   --without-isl --enable-__cxa_atexit --enable-libstdcxx-time=rt 
> --enable-libstdcxx-threads --with-diagnostics-color=auto-if-env
>   --with-default-libstdcxx-abi=new 
> --with-mpc-lib=/var/obj/mknative/sparc64/usr/src/external/lgpl3/mpc/lib/libmpc
>   
> --with-mpfr-lib=/var/obj/mknative/sparc64/usr/src/external/lgpl3/mpfr/lib/libmpfr
>  
> --with-gmp-lib=/var/obj/mknative/sparc64/usr/src/external/lgpl3/gmp/lib/libgmp
>   --with-mpc-include=/usr/src/external/lgpl3/mpc/dist/src 
> --with-mpfr-include=/usr/src/external/lgpl3/mpfr/dist/src
>   --with-gmp-include=/usr/src/external/lgpl3/gmp/lib/libgmp/arch/sparc64 
> --enable-tls --disable-multilib --disable-libstdcxx-pch
>   --build=sparc64--netbsd --host=sparc64--netbsd 
> --with-sysroot=/var/obj/mknative/sparc64/usr/src/destdir.sparc64
> Thread model: posix
> gcc version 7.5.0 (nb4 20200810)
>
>
>>    Any chance you can post the build log?
>
> Of course but where is it?  #6-)

ah yes :-).  Is it possible to restart the build and redirect stdout and
error to a file - it might be huge but could be useful to eyeball the
build commands for mklink and the above (possibly!),

regards,
Gaius



reply via email to

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