From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 27E113858C20; Thu, 14 Sep 2023 23:06:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 27E113858C20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1694732767; bh=8k6TiDFWpUrNU3dvMpgshSJRE7DIG2LAvAPuPimdqew=; h=From:To:Subject:Date:In-Reply-To:References:From; b=mcm9J8wIN5pTSSO8rFOMZqc+Grbi2UcMrpnd5e25TI4rQcx7JU/vf0Basj3Y2IUHJ pZxoOHjQYdNpX0RZsS1G3bn/GbOYrarO6j/CoQstWklrF3x+bM1cw3yala0KdL3Nz3 Abn6DzLuyTZGxr/JxseLmDhxNknvH4vzDf5pArXc= From: "hiraditya at msn dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/111420] relocation truncated to fit: R_RISCV_JAL against `.L12287' Date: Thu, 14 Sep 2023 23:06:06 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hiraditya at msn dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D111420 --- Comment #1 from AK --- I got this error while building clang (ninja clang) on a riscv machine. root@lpi4a:~# gcc -v Using built-in specs. COLLECT_GCC=3Dgcc COLLECT_LTO_WRAPPER=3D/usr/libexec/gcc/riscv64-linux-gnu/13/lto-wrapper Target: riscv64-linux-gnu Configured with: ../src/configure -v --with-pkgversion=3D'Debian 13.1.0-6' --with-bugurl=3Dfile:///usr/share/doc/gcc-13/README.Bugs --enable-languages=3Dc,ada,c++,go,d,fortran,objc,obj-c++,m2,rust --prefix= =3D/usr --with-gcc-major-version-only --program-suffix=3D-13 --program-prefix=3Driscv64-linux-gnu- --enable-shared --enable-linker-build= -id --libexecdir=3D/usr/libexec --without-included-gettext --enable-threads=3Dp= osix --libdir=3D/usr/lib --enable-nls --enable-clocale=3Dgnu --enable-libstdcxx-= debug --enable-libstdcxx-time=3Dyes --with-default-libstdcxx-abi=3Dnew --enable-gnu-unique-object --disable-libitm --disable-libquadmath --disable-libquadmath-support --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=3Drelease --with-target-system-zlib=3Dauto --enable-objc-gc=3Dauto --enable-multiarch --disable-werror --disable-multilib --with-arch=3Drv64gc --with-abi=3Dlp64d --enable-checking=3Drelease --build=3Driscv64-linux-gnu --host=3Driscv64-li= nux-gnu --target=3Driscv64-linux-gnu --with-build-config=3Dbootstrap-lto-lean --enable-link-serialization=3D32 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 13.1.0 (Debian 13.1.0-6)=20 ---------------------------------------------------------- root@lpi4a:~# uname -a Linux lpi4a 5.10.113-g7b352f5ac2ba #1 SMP PREEMPT Wed Apr 12 12:06:11 UTC 2= 023 riscv64 GNU/Linux=