Hello Christof & Robert. > Builds for me. What version of tools are you using ? You should build the tools from -current in order to build a kernel from that tree. > Robert I do have the tools installed and those are updated to latest -CURRENT . I have also tried to compile the kernel with 7.0.1 RELEASE source code as well as 7- STABLE source code, and as I mentioned before the compiler always stops at that exact point. ===> Tools built to /usr/src/obj/tooldir.NetBSD-7.0.1-amd64 ===> build.sh ended: Thu Jul 28 12:15:22 CDT 2016 ===> Summary of results: build.sh command: ./build.sh -U -u -m evbarm tools build.sh started: Thu Jul 28 11:49:26 CDT 2016 NetBSD version: 7.99.34 MACHINE: evbarm MACHINE_ARCH: earm Build platform: NetBSD 7.0.1 amd64 HOST_SH: /bin/sh MAKECONF file: /etc/mk.conf TOOLDIR path: /usr/src/obj/tooldir.NetBSD-7.0.1-amd64 DESTDIR path: /usr/src/obj/destdir.evbarm RELEASEDIR path: /usr/src/obj/releasedir Updated makewrapper: /usr/src/obj/tooldir.NetBSD-7.0.1-amd64/bin/nbmake-evbarm Tools built to /usr/src/obj/tooldir.NetBSD-7.0.1-amd64 build.sh ended: Thu Jul 28 12:15:22 CDT 2016 ===> . netware$ > Build for me with gcc 4.8.4, but that code looks dodgy... Should probably be something like "static
inline void" there instead... (more
recent versions of gcc are probably more strict here).
Christof Apparently I am also using gcc 4.8.4 which is the one that comes with NetBSD 7.0.1 RELEASE. Could it be that I am trying to build a -CURRENT kernel on 7.0.1 release? I am not sure if this might be the culprit, but according to the manual cross-compile logs it tells something different. netware$ gcc -v
netware$
obj/tooldir.NetBSD-7.0.1-amd64/bin/nbconfig
sys/arch/evbarm/conf/ODROID-C1_current Any idea? Are you guys perhaps using some specific mk.conf variables that helps with the building process? It has been 4 days since I am on this and I honestly don't have any clue on how to solve it. Again either RELEASE, STABLE and CURRENT source codes will deliver the same result and the compiler will stop at the very exact point. Thanks, On 7/28/2016 12:46 AM, Christof
Meerwald wrote:
On Wed, Jul 27, 2016 at 02:01:48PM -0500, Pietro S. wrote:/usr/src/sys/arch/arm/amlogic/amlogic_var.h:95:1: error: 'inline' is not at beginning of declaration [-Werror=old-style-declaration] static void inlineBuild for me with gcc 4.8.4, but that code looks dodgy... Should probably be something like "static inline void" there instead... (more recent versions of gcc are probably more strict here). Christof |