[Bug 230194] [powerpc] cross-compiling GENERIC64 fails if trying to use kernel-toolchain instead of full buildworld.

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jul 30 18:20:01 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230194

            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 at FreeBSD.org
          Reporter: sbruno at FreeBSD.org
                CC: jhibbits at 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_compat':
/home/sbruno/fbsd_head/sys/dev/ofw/ofw_bus.h:44: warning: implicit declaration
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 pointer
from integer without a cast
/home/sbruno/fbsd_head/sys/dev/ofw/ofw_bus.h: In function 'ofw_bus_get_model':
/home/sbruno/fbsd_head/sys/dev/ofw/ofw_bus.h:51: warning: implicit declaration
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 pointer
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 declaration
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 pointer
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 declaration
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 declaration
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 pointer
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 declaration
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 '=', ',',
';', 'asm' or '__attribute__' before 'ofw_bus_gen_get_compat'
/home/sbruno/fbsd_head/sys/dev/ofw/ofw_bus_subr.h:77: error: expected '=', ',',
';', 'asm' or '__attribute__' before 'ofw_bus_gen_get_model'
/home/sbruno/fbsd_head/sys/dev/ofw/ofw_bus_subr.h:78: error: expected '=', ',',
';', 'asm' or '__attribute__' before 'ofw_bus_gen_get_name'
/home/sbruno/fbsd_head/sys/dev/ofw/ofw_bus_subr.h:79: error: expected '=', ',',
';', 'asm' or '__attribute__' before 'ofw_bus_gen_get_node'
/home/sbruno/fbsd_head/sys/dev/ofw/ofw_bus_subr.h:80: error: expected '=', ',',
';', 'asm' or '__attribute__' before 'ofw_bus_gen_get_type'
--- ipmi_opal.o ---
*** [ipmi_opal.o] Error code 1

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list