From owner-freebsd-ports-bugs@freebsd.org Sun Dec 6 18:07:02 2020 Return-Path: Delivered-To: freebsd-ports-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 8E3F44A4D8B for ; Sun, 6 Dec 2020 18:07:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CpvXk3Pzwz4crS for ; Sun, 6 Dec 2020 18:07:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 7512C4A4CDC; Sun, 6 Dec 2020 18:07:02 +0000 (UTC) Delivered-To: ports-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 74D9C4A4F01 for ; Sun, 6 Dec 2020 18:07:02 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 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 4CpvXk2q1Sz4cb6 for ; Sun, 6 Dec 2020 18:07:02 +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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 54733142D3 for ; Sun, 6 Dec 2020 18:07:02 +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 0B6I72xQ028213 for ; Sun, 6 Dec 2020 18:07:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0B6I72vD028212 for ports-bugs@FreeBSD.org; Sun, 6 Dec 2020 18:07:02 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: ports-bugs@FreeBSD.org Subject: [Bug 251646] devel/gdb: fails to compile gdb-10.1/gdb/fbsd-kvm.c on CURRENT amd64 Date: Sun, 06 Dec 2020 18:07:02 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: Trond.Endrestol@ximalas.info X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pizzamig@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.mimetype attachments.created 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-ports-bugs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Dec 2020 18:07:02 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251646 Bug ID: 251646 Summary: devel/gdb: fails to compile gdb-10.1/gdb/fbsd-kvm.c on CURRENT amd64 Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: pizzamig@freebsd.org Reporter: Trond.Endrestol@ximalas.info Flags: maintainer-feedback?(pizzamig@freebsd.org) Assignee: pizzamig@freebsd.org Attachment #220320 text/plain mime type: Created attachment 220320 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D220320&action= =3Dedit Complete build log for devel/gdb@py37 Both the running system (host) and the system snapshot used by ports-mgmt/s= ynth are base/head amd64 r368387. The ports tree is ports/head at r557134. CXX fbsd-kvm.o /construction/xports/devel/gdb/work-py37/gdb-10.1/gdb/fbsd-kvm.c:342:10: er= ror: typedef 'section_offsets' cannot be referenced with a struct specifier struct section_offsets *new_offsets; ^ /construction/xports/devel/gdb/work-py37/gdb-10.1/gdb/symtab.h:1351:32: not= e: declared here typedef std::vector section_offsets; ^ /construction/xports/devel/gdb/work-py37/gdb-10.1/gdb/fbsd-kvm.c:349:22: er= ror: no member named 'num_sections' in 'objfile'; did you mean 'sections'? symfile_objfile->num_sections); ^~~~~~~~~~~~ sections /construction/xports/devel/gdb/work-py37/gdb-10.1/gdb/../include/libiberty.= h:365:55: note: expanded from macro 'XALLOCAVEC' #define XALLOCAVEC(T, N) ((T *) alloca (sizeof (T) * (N))) ^ /construction/xports/devel/gdb/work-py37/gdb-10.1/gdb/../include/libiberty.= h:738:37: note: expanded from macro 'alloca' # define alloca(x) __builtin_alloca(x) ^ /construction/xports/devel/gdb/work-py37/gdb-10.1/gdb/objfiles.h:653:23: no= te: 'sections' declared here struct obj_section *sections =3D nullptr; ^ /construction/xports/devel/gdb/work-py37/gdb-10.1/gdb/fbsd-kvm.c:351:37: er= ror: no member named 'num_sections' in 'objfile' for (i =3D 0; i < symfile_objfile->num_sections; i+= +) ~~~~~~~~~~~~~~~ ^ 3 errors generated. gmake[3]: *** [Makefile:1625: fbsd-kvm.o] Error 1 Is this a pilot error on my part or an incompatibility with LLVM 11? --=20 You are receiving this mail because: You are the assignee for the bug.=