Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Building netbsd-6 branch on current.



On Sun, 8 May 2016, coypu%SDF.ORG@localhost wrote:

On Sun, May 08, 2016 at 12:23:01PM +0200, Martin Husemann wrote:
On Sun, May 08, 2016 at 10:20:20AM +0000, coypu%SDF.ORG@localhost wrote:
Should this work?

It doesn't work for me right now.

It should work, what errors do you see?

Martin

Stopped at:

/home/fly/old-branches/netbsd-6/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/cp/except.c:352:7: note: in expansion of macro 'gcc_unreachable'
      gcc_unreachable ();
      ^
In file included from /home/fly/old-branches/netbsd-6/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/cp/except.c:927:0:
cfns.gperf: At top level:
cfns.gperf:101:1: error: 'gnu_inline' attribute present on 'libc_name_p'
cfns.gperf:26:14: error: but not here
nbgmake[1]: *** [cp/except.o] Error 1

full output here: http://coypu.sdf.org/netbsd-6-build-problems

Yes, something is broken. I just updated my netbsd-6 tree and tried to build, and it failed with the exact same error.

Unfortunately, I have no idea of how to fix it....  :(


My build host is built from sources updated on 2016-05-07 at 23:03:54 UTC

From the build.sh output:


===> build.sh command:    ./build.sh -T /build/netbsd-6/tools/x86_64/amd64 -D /build/netbsd-6/dest/amd64 -O /build/netbsd-6/obj/amd64 -R /build/netbsd-6/release -V RELEASEMACHINEDIR=amd64 -V MKKDEBUG=yes -m amd64 -j1 tools
===> build.sh started:    Sun May  8 18:56:16 PHT 2016
===> NetBSD version:      6.1_STABLE
===> MACHINE:             amd64
===> MACHINE_ARCH:        x86_64
===> Build platform:      NetBSD 7.99.29 amd64
===> HOST_SH:             /bin/sh
===> No $TOOLDIR/bin/nbmake, needs building.
===> Bootstrapping nbmake
...
warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic]
 #define gcc_unreachable() (fancy_abort (__FILE__, __LINE__, __FUNCTION__))
                                                             ^
/build/netbsd-6/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/cp/except.c:352:7
: note: in expansion of macro 'gcc_unreachable'
       gcc_unreachable ();
       ^
In file included from /build/netbsd-6/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/cp/except.c:927:0:
cfns.gperf: At top level:
cfns.gperf:101:1: error: 'gnu_inline' attribute present on 'libc_name_p'
cfns.gperf:26:14: error: but not here
nbgmake[1]: *** [cp/except.o] Error 1
nbgmake[1]: Leaving directory `/build/netbsd-6/obj/amd64/tools/gcc/build/gcc'
nbgmake: *** [all-gcc] Error 2
*** [.build_done] Error code 2



+------------------+--------------------------+------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:      |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org |
+------------------+--------------------------+------------------------+


Home | Main Index | Thread Index | Old Index