From owner-freebsd-bugs@freebsd.org Mon Jul 30 18:20:01 2018 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C9FAF105D5B4 for ; Mon, 30 Jul 2018 18:20:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 666D97DF17 for ; Mon, 30 Jul 2018 18:20:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 284F8105D5B2; Mon, 30 Jul 2018 18:20:00 +0000 (UTC) Delivered-To: bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0660B105D5A9 for ; Mon, 30 Jul 2018 18:20:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 93E217DF12 for ; Mon, 30 Jul 2018 18:19:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id E1F772514E for ; Mon, 30 Jul 2018 18:19:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w6UIJwGG060661 for ; Mon, 30 Jul 2018 18:19:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w6UIJwbW060652 for bugs@FreeBSD.org; Mon, 30 Jul 2018 18:19:58 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 230194] [powerpc] cross-compiling GENERIC64 fails if trying to use kernel-toolchain instead of full buildworld. Date: Mon, 30 Jul 2018 18:19:58 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: sbruno@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 op_sys bug_status bug_severity priority component assigned_to reporter cc 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.27 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jul 2018 18:20:01 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230194 Bug ID: 230194 Summary: [powerpc] cross-compiling GENERIC64 fails if trying to use kernel-toolchain instead of full buildworld. Product: Base System Version: CURRENT Hardware: powerpc OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: sbruno@FreeBSD.org CC: jhibbits@FreeBSD.org Trying to shortcut a full buildworld this morning and did a kernel-toolchain build. It looks like this is insufficient to build a kernel. -------------------------------------------------------------- >>> stage 3.1: building everything -------------------------------------------------------------- ERROR: ctfconvert: t4fw_cfg.c: Couldn't read ehdr: Invalid argument ERROR: ctfconvert: t5fw_cfg.c: Couldn't read ehdr: Invalid argument ERROR: ctfconvert: t6fw_cfg.c: Couldn't read ehdr: Invalid argument ERROR: ctfconvert: file does not contain dwarf type data (try compiling with -g) In file included from /home/sbruno/fbsd_head/sys/dev/ipmi/ipmi_opal.c:45: /home/sbruno/fbsd_head/sys/dev/ofw/ofw_bus.h:38:24: error: ofw_bus_if.h: No such file or directory cc1: warnings being treated as errors In file included from /home/sbruno/fbsd_head/sys/dev/ipmi/ipmi_opal.c:45: /home/sbruno/fbsd_head/sys/dev/ofw/ofw_bus.h: In function 'ofw_bus_get_comp= at': /home/sbruno/fbsd_head/sys/dev/ofw/ofw_bus.h:44: warning: implicit declarat= ion of function 'OFW_BUS_GET_COMPAT' /home/sbruno/fbsd_head/sys/dev/ofw/ofw_bus.h:44: warning: nested extern declaration of 'OFW_BUS_GET_COMPAT' [-Wnested-externs] /home/sbruno/fbsd_head/sys/dev/ofw/ofw_bus.h:44: warning: return makes poin= ter from integer without a cast /home/sbruno/fbsd_head/sys/dev/ofw/ofw_bus.h: In function 'ofw_bus_get_mode= l': /home/sbruno/fbsd_head/sys/dev/ofw/ofw_bus.h:51: warning: implicit declarat= ion of function 'OFW_BUS_GET_MODEL' /home/sbruno/fbsd_head/sys/dev/ofw/ofw_bus.h:51: warning: nested extern declaration of 'OFW_BUS_GET_MODEL' [-Wnested-externs] /home/sbruno/fbsd_head/sys/dev/ofw/ofw_bus.h:51: warning: return makes poin= ter from integer without a cast /home/sbruno/fbsd_head/sys/dev/ofw/ofw_bus.h: In function 'ofw_bus_get_name= ': /home/sbruno/fbsd_head/sys/dev/ofw/ofw_bus.h:58: warning: implicit declarat= ion of function 'OFW_BUS_GET_NAME' /home/sbruno/fbsd_head/sys/dev/ofw/ofw_bus.h:58: warning: nested extern declaration of 'OFW_BUS_GET_NAME' [-Wnested-externs] /home/sbruno/fbsd_head/sys/dev/ofw/ofw_bus.h:58: warning: return makes poin= ter from integer without a cast /home/sbruno/fbsd_head/sys/dev/ofw/ofw_bus.h: In function 'ofw_bus_get_node= ': /home/sbruno/fbsd_head/sys/dev/ofw/ofw_bus.h:65: warning: implicit declarat= ion of function 'OFW_BUS_GET_NODE' /home/sbruno/fbsd_head/sys/dev/ofw/ofw_bus.h:65: warning: nested extern declaration of 'OFW_BUS_GET_NODE' [-Wnested-externs] /home/sbruno/fbsd_head/sys/dev/ofw/ofw_bus.h: In function 'ofw_bus_get_type= ': /home/sbruno/fbsd_head/sys/dev/ofw/ofw_bus.h:72: warning: implicit declarat= ion of function 'OFW_BUS_GET_TYPE' /home/sbruno/fbsd_head/sys/dev/ofw/ofw_bus.h:72: warning: nested extern declaration of 'OFW_BUS_GET_TYPE' [-Wnested-externs] /home/sbruno/fbsd_head/sys/dev/ofw/ofw_bus.h:72: warning: return makes poin= ter from integer without a cast /home/sbruno/fbsd_head/sys/dev/ofw/ofw_bus.h: In function 'ofw_bus_map_intr= ': /home/sbruno/fbsd_head/sys/dev/ofw/ofw_bus.h:78: warning: implicit declarat= ion of function 'OFW_BUS_MAP_INTR' /home/sbruno/fbsd_head/sys/dev/ofw/ofw_bus.h:78: warning: nested extern declaration of 'OFW_BUS_MAP_INTR' [-Wnested-externs] In file included from /home/sbruno/fbsd_head/sys/dev/ipmi/ipmi_opal.c:46: /home/sbruno/fbsd_head/sys/dev/ofw/ofw_bus_subr.h: At top level: /home/sbruno/fbsd_head/sys/dev/ofw/ofw_bus_subr.h:73: warning: 'struct ofw_bus_devinfo' declared inside parameter list /home/sbruno/fbsd_head/sys/dev/ofw/ofw_bus_subr.h:73: warning: its scope is only this definition or declaration, which is probably not what you want /home/sbruno/fbsd_head/sys/dev/ofw/ofw_bus_subr.h:74: warning: 'struct ofw_bus_devinfo' declared inside parameter list /home/sbruno/fbsd_head/sys/dev/ofw/ofw_bus_subr.h:76: error: expected '=3D'= , ',', ';', 'asm' or '__attribute__' before 'ofw_bus_gen_get_compat' /home/sbruno/fbsd_head/sys/dev/ofw/ofw_bus_subr.h:77: error: expected '=3D'= , ',', ';', 'asm' or '__attribute__' before 'ofw_bus_gen_get_model' /home/sbruno/fbsd_head/sys/dev/ofw/ofw_bus_subr.h:78: error: expected '=3D'= , ',', ';', 'asm' or '__attribute__' before 'ofw_bus_gen_get_name' /home/sbruno/fbsd_head/sys/dev/ofw/ofw_bus_subr.h:79: error: expected '=3D'= , ',', ';', 'asm' or '__attribute__' before 'ofw_bus_gen_get_node' /home/sbruno/fbsd_head/sys/dev/ofw/ofw_bus_subr.h:80: error: expected '=3D'= , ',', ';', 'asm' or '__attribute__' before 'ofw_bus_gen_get_type' --- ipmi_opal.o --- *** [ipmi_opal.o] Error code 1 --=20 You are receiving this mail because: You are the assignee for the bug.=