From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 47FBC3858C27; Sun, 2 Jan 2022 12:15:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 47FBC3858C27 From: "schwab@linux-m68k.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug go/103889] gccgo is unable to find its standard library by default on 64-Bit RISC-V Date: Sun, 02 Jan 2022 12:15:25 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Version: 11.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: schwab@linux-m68k.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ian at airs dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Jan 2022 12:15:25 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D103889 --- Comment #4 from Andreas Schwab --- $ gccgo hellogo.go -o hellogo -v Using built-in specs. COLLECT_GCC=3Dgccgo COLLECT_LTO_WRAPPER=3D/usr/lib64/gcc/riscv64-suse-linux/11/lto-wrapper Target: riscv64-suse-linux Configured with: ../configure --prefix=3D/usr --infodir=3D/usr/share/info --mandir=3D/usr/share/man --libdir=3D/usr/lib64 --libexecdir=3D/usr/lib64 --enable-languages=3Dc,c++,objc,fortran,obj-c++,ada,go,d,jit --enable-host-= shared --enable-checking=3Drelease --disable-werror --with-gxx-include-dir=3D/usr/include/c++/11 --enable-ssp --disable-libssp --disable-libvtv --enable-cet=3Dauto --disable-libcc1 --enable-plugin --with-bugurl=3Dhttps://bugs.opensuse.org/ --with-pkgversion=3D'SUSE Linux' --with-slibdir=3D/lib64 --with-system-zlib --enable-libstdcxx-allocator=3Dn= ew --disable-libstdcxx-pch --enable-libphobos --enable-version-specific-runtime-libs --with-gcc-major-version-only --enable-linker-build-id --enable-linux-futex --program-suffix=3D-11 --without-system-libunwind --disable-multilib --enable-link-mutex --build=3Driscv64-suse-linux --host=3Driscv64-suse-linux Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 11.2.1 20211124 [revision 7510c23c1ec53aa4a62705f0384079661342f= f7b] (SUSE Linux)=20 COLLECT_GCC_OPTIONS=3D'-g1' '-o' 'hellogo' '-v' '-shared-libgcc' '-march=3D= rv64gc' '-mabi=3Dlp64d' '-march=3Drv64imafdc' /usr/lib64/gcc/riscv64-suse-linux/11/go1 hellogo.go -quiet -dumpbase hellogo.go -dumpbase-ext .go -march=3Drv64gc -mabi=3Dlp64d -march=3Drv64ima= fdc -g1 -version -L/usr/lib64/gcc/riscv64-suse-linux/11 -L/usr/lib64/gcc/riscv64-suse-linux/11/../../../../riscv64-suse-linux/lib -L/lib64/lp64d -L/usr/lib64/lp64d -o /tmp/cckzhr7m.s GNU Go (SUSE Linux) version 11.2.1 20211124 [revision 7510c23c1ec53aa4a62705f0384079661342ff7b] (riscv64-suse-linux) compiled by GNU C version 11.2.1 20211124 [revision 7510c23c1ec53aa4a62705f0384079661342ff7b], GMP version 6.2.1, MPFR version 4.1.0-p7, MPC version 1.2.1, isl version isl-0.24-GMP GGC heuristics: --param ggc-min-expand=3D100 --param ggc-min-heapsize=3D131= 072 GNU Go (SUSE Linux) version 11.2.1 20211124 [revision 7510c23c1ec53aa4a62705f0384079661342ff7b] (riscv64-suse-linux) compiled by GNU C version 11.2.1 20211124 [revision 7510c23c1ec53aa4a62705f0384079661342ff7b], GMP version 6.2.1, MPFR version 4.1.0-p7, MPC version 1.2.1, isl version isl-0.24-GMP GGC heuristics: --param ggc-min-expand=3D100 --param ggc-min-heapsize=3D131= 072 COLLECT_GCC_OPTIONS=3D'-g1' '-o' 'hellogo' '-v' '-shared-libgcc' '-march=3D= rv64gc' '-mabi=3Dlp64d' '-march=3Drv64imafdc' /usr/lib64/gcc/riscv64-suse-linux/11/../../../../riscv64-suse-linux/bin/as= -v --gdwarf-5 --traditional-format -march=3Drv64gc -march=3Drv64imafdc -mabi= =3Dlp64d -o /tmp/cc1upFah.o /tmp/cckzhr7m.s GNU assembler version 2.37 (riscv64-suse-linux) using BFD version (GNU Binutils; openSUSE Tumbleweed) 2.37.20211112-3 COMPILER_PATH=3D/usr/lib64/gcc/riscv64-suse-linux/11/:/usr/lib64/gcc/riscv6= 4-suse-linux/11/:/usr/lib64/gcc/riscv64-suse-linux/:/usr/lib64/gcc/riscv64-= suse-linux/11/:/usr/lib64/gcc/riscv64-suse-linux/:/usr/lib64/gcc/riscv64-su= se-linux/11/../../../../riscv64-suse-linux/bin/ LIBRARY_PATH=3D/usr/lib64/gcc/riscv64-suse-linux/11/:/usr/lib64/gcc/riscv64= -suse-linux/11/../../../../riscv64-suse-linux/lib/:/lib64/lp64d/:/usr/lib64= /lp64d/:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS=3D'-g1' '-o' 'hellogo' '-v' '-shared-libgcc' '-march=3D= rv64gc' '-mabi=3Dlp64d' '-march=3Drv64imafdc' '-dumpdir' 'hellogo.' /usr/lib64/gcc/riscv64-suse-linux/11/collect2 -plugin /usr/lib64/gcc/riscv64-suse-linux/11/liblto_plugin.so -plugin-opt=3D/usr/lib64/gcc/riscv64-suse-linux/11/lto-wrapper -plugin-opt=3D-fresolution=3D/tmp/ccu6Qjw9.res -plugin-opt=3D-pass-through= =3D-lgcc_s -plugin-opt=3D-pass-through=3D-lgcc -plugin-opt=3D-pass-through=3D-lc -plugin-opt=3D-pass-through=3D-lgcc_s -plugin-opt=3D-pass-through=3D-lgcc -= -build-id --eh-frame-hdr -melf64lriscv -dynamic-linker /lib/ld-linux-riscv64-lp64d.so= .1 -o hellogo /lib64/lp64d/crt1.o /usr/lib64/gcc/riscv64-suse-linux/11/crti.o /usr/lib64/gcc/riscv64-suse-linux/11/crtbegin.o -L/usr/lib64/gcc/riscv64-suse-linux/11 -L/usr/lib64/gcc/riscv64-suse-linux/11/../../../../riscv64-suse-linux/lib -L/lib64/lp64d -L/usr/lib64/lp64d /tmp/cc1upFah.o -lgobegin -lgo -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib64/gcc/riscv64-suse-linux/11/crtend.o /usr/lib64/gcc/riscv64-suse-linux/11/crtn.o COLLECT_GCC_OPTIONS=3D'-g1' '-o' 'hellogo' '-v' '-shared-libgcc' '-march=3D= rv64gc' '-mabi=3Dlp64d' '-march=3Drv64imafdc' '-dumpdir' 'hellogo.'=