Date: Mon, 30 Jul 2018 18:19:58 +0000 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. Message-ID: <bug-230194-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230194-227>