From owner-freebsd-bugs@freebsd.org Wed Nov 20 15:48:22 2019 Return-Path: Delivered-To: freebsd-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 284751BA2B6 for ; Wed, 20 Nov 2019 15:48:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 47J6Y20JL9z3yDy for ; Wed, 20 Nov 2019 15:48:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 0847C1BA2B5; Wed, 20 Nov 2019 15:48:22 +0000 (UTC) Delivered-To: bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 06F1A1BA2B3 for ; Wed, 20 Nov 2019 15:48:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47J6Y16DKVz3yDx for ; Wed, 20 Nov 2019 15:48:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B508D24E63 for ; Wed, 20 Nov 2019 15:48:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id xAKFmLVv098611 for ; Wed, 20 Nov 2019 15:48:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xAKFmLIe098610 for bugs@FreeBSD.org; Wed, 20 Nov 2019 15:48:21 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 242109] riscv64 build with binutils 2.33.1 Date: Wed, 20 Nov 2019 15:48:20 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lwhsu@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform bug_file_loc op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Nov 2019 15:48:22 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242109 Bug ID: 242109 Summary: riscv64 build with binutils 2.33.1 Product: Base System Version: CURRENT Hardware: Any URL: https://reviews.freebsd.org/D22457 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: lwhsu@FreeBSD.org riscv64 build fails with binutils 2.33.1: ``` /usr/local/bin/riscv64-unknown-freebsd12.0-gcc --sysroot=3D/scratch/tmp/lwhsu/obj/scratch/tmp/lwhsu/src/riscv.riscv64/tmp -B/usr/local/riscv64-unknown-freebsd12.0/bin/ -O2 -pipe -march=3Drv64imafdc -mabi=3Dlp64d -I. -I/scratch/tmp/lwhsu/src/usr.sbin/jail -DINET6 -DINET -g -std=3Dgnu99 -Wno-format-zero-length -fstack-protector-strong -Wsystem-head= ers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-stri= ngs -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wno-error=3Daddress -Wno-error=3Darray-bounds -Wno-error=3Dattributes -Wno-error=3Dbool-compare -Wno-error=3Dcast-align -Wno-error=3Dclobbered -Wno-error=3Ddeprecated-declarations -Wno-error=3Denum-compare -Wno-error= =3Dextra -Wno-error=3Dinline -Wno-error=3Dlogical-not-parentheses -Wno-error=3Dstric= t-aliasing -Wno-error=3Duninitialized -Wno-error=3Dunused-but-set-variable -Wno-error=3Dunused-function -Wno-error=3Dunused-value -Wno-error=3Dmisleading-indentation -Wno-error=3Dnonnull-compare -Wno-error=3Dshift-negative-value -Wno-error=3Dtautological-compare -Wno-error=3Dunused-const-variable -Wno-error=3Dbool-operation -Wno-error=3Ddeprecated -Wno-error=3Dexpansion-to-defined -Wno-error=3Dformat-overflow -Wno-error=3Dformat-truncation -Wno-error=3Dimplicit-fallthrough -Wno-error=3Dint-in-bool-context -Wno-error=3Dmemset-elt-size -Wno-error=3Dnoexcept-type -Wno-error=3Dnonnull -Wno-error=3Dpointer-compare -Wno-error=3Dstringop-overflow -Wno-error=3Daggressive-loop-optimizations -Wno-error=3Dcast-function-type -Wno-error=3Dcatch-value -Wno-error=3Dmultistatement-macros -Wno-error=3Dre= strict -Wno-error=3Dsizeof-pointer-memaccess -Wno-error=3Dstringop-truncation -o jail.full jail.o command.o config.o state.o jaillex.o jailparse.o -ljail= =20 -lkvm -lutil jailparse.o: in function `yyparse': /scratch/tmp/lwhsu/src/usr.sbin/jail/jailparse.y:75:(.text+0xfe): relocation truncated to fit: R_RISCV_GPREL_I against `.LANCHOR2' collect2: error: ld returned 1 exit status *** [jail.full] Error code 1 make[4]: stopped in /scratch/tmp/lwhsu/src/usr.sbin/jail 1 error ``` Workaround patch at https://reviews.freebsd.org/D22457 --=20 You are receiving this mail because: You are the assignee for the bug.=