Summary: | buildworld A failure has been detected in another branch of the parallel make | ||||||
---|---|---|---|---|---|---|---|
Product: | Base System | Reporter: | hakotani000 | ||||
Component: | kern | Assignee: | freebsd-bugs (Nobody) <bugs> | ||||
Status: | Closed Not A Bug | ||||||
Severity: | Affects Only Me | CC: | hakotani000, marklmi26-fbsd | ||||
Priority: | --- | ||||||
Version: | CURRENT | ||||||
Hardware: | amd64 | ||||||
OS: | Any | ||||||
Attachments: |
|
cd /usr/src make -j16 buildworld FreeBSD riku.tsr1.dip.jp 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r319371: Thu Jun 1 18:21:33 JST 2017 root@riku.tsr1.dip.jp:/usr/obj/usr/src/sys/C12 amd64 (In reply to hakotani000 from comment #1) The more interesting error message in the logfile is the earlier one: --- all_subdir_lib/ncurses/form --- Bus error (core dumped) *** [all_subdir_lib/ncurses/form] Error code 138 make[5]: stopped in /usr/src/lib/ncurses My guess would be that one of the files matching something like: /usr/obj/usr/src/lib/ncurses/form/*.meta lists the same Bus error message but with the command that generated the Bus error also listed. Thank you reply i try without -j16 , only 'make buildworld' then no error finished. another try edit /usr/src/lib/Makefile line 197 comment out . and run 'make -j16 buildworld' then no error finished. 1 # @(#)Makefile 8.1 (Berkeley) 6/4/93 2 # $FreeBSD$ 3 4 .include <src.opts.mk> 5 6 # The SUBDIR_BOOTSTRAP list is a small set of libraries which are used by many 7 # of the other libraries. These are built first with a .WAIT between them 8 # and the main list to avoid needing a SUBDIR_DEPEND line on every library 9 # naming just these few items. 10 11 SUBDIR_BOOTSTRAP= \ 12 csu \ 13 .WAIT \ 14 libc \ 15 libc_nonshared \ 16 libcompiler_rt \ 17 ${_libclang_rt} \ 18 ${_libcplusplus} \ 19 ${_libcxxrt} \ 20 libelf \ 21 msun 22 23 # The main list; please keep these sorted alphabetically. 24 25 SUBDIR= ${SUBDIR_BOOTSTRAP} \ 26 .WAIT \ 27 libalias \ 28 libarchive \ 29 libauditd \ 30 libbegemot \ 31 libblocksruntime \ 32 libbsdstat \ 33 libbsm \ 34 libbz2 \ 35 libcalendar \ 36 libcam \ 37 libcapsicum \ 38 libcompat \ 39 libcrypt \ 40 libdevctl \ 41 libdevinfo \ 42 libdevstat \ 43 libdwarf \ 44 libedit \ 45 libevent \ 46 libexecinfo \ 47 libexpat \ 48 libfetch \ 49 libfigpar \ 50 libgeom \ 51 libifconfig \ 52 libipsec \ 53 libjail \ 54 libkiconv \ 55 libkvm \ 56 liblzma \ 57 libmemstat \ 58 libmd \ 59 libmt \ 60 lib80211 \ 61 libnetbsd \ 62 libnv \ 63 libopenbsd \ 64 libopie \ 65 libpam \ 66 libpcap \ 67 libpjdlog \ 68 ${_libproc} \ 69 libprocstat \ 70 librpcsvc \ 71 librss \ 72 librt \ 73 ${_librtld_db} \ 74 libsbuf \ 75 libsmb \ 76 libsqlite3 \ 77 libstand \ 78 libstdbuf \ 79 libstdthreads \ 80 libsysdecode \ 81 libtacplus \ 82 libthread_db \ 83 libucl \ 84 libufs \ 85 libugidfw \ 86 libulog \ 87 libutil \ 88 ${_libvgl} \ 89 libwrap \ 90 libxo \ 91 liby \ 92 libz \ 93 libzstd \ 94 ncurses 95 96 # Inter-library dependencies. When the makefile for a library contains LDADD 97 # libraries, those libraries should be listed as build order dependencies here. 98 99 SUBDIR_DEPEND_libarchive= libz libbz2 libexpat liblzma libmd 100 SUBDIR_DEPEND_libauditdm= libbsm 101 SUBDIR_DEPEND_libbsnmp= ${_libnetgraph} 102 SUBDIR_DEPEND_libc++:= libcxxrt 103 SUBDIR_DEPEND_libc= libcompiler_rt 104 SUBDIR_DEPEND_libcam= libsbuf 105 SUBDIR_DEPEND_libcasper= libnv 106 SUBDIR_DEPEND_libdevstat= libkvm 107 SUBDIR_DEPEND_libdpv= libfigpar ncurses libutil 108 SUBDIR_DEPEND_libedit= ncurses 109 SUBDIR_DEPEND_libgeom= libexpat libsbuf 110 SUBDIR_DEPEND_librpcsec_gss= libgssapi 111 SUBDIR_DEPEND_libmagic= libz 112 SUBDIR_DEPEND_libmemstat= libkvm 113 SUBDIR_DEPEND_libopie= libmd 114 SUBDIR_DEPEND_libpam= libcrypt libopie ${_libradius} librpcsvc libtacplus libutil ${_libypclnt} ${_libcom_err} 115 SUBDIR_DEPEND_libpjdlog= libutil 116 SUBDIR_DEPEND_libprocstat= libkvm libutil 117 SUBDIR_DEPEND_libradius= libmd 118 SUBDIR_DEPEND_libsmb= libkiconv 119 SUBDIR_DEPEND_libtacplus= libmd 120 SUBDIR_DEPEND_libulog= libmd 121 SUBDIR_DEPEND_libunbound= ${_libldns} 122 SUBDIR_DEPEND_liblzma= ${_libthr} 123 124 # NB: keep these sorted by MK_* knobs 125 126 SUBDIR.${MK_ATM}+= libngatm 127 SUBDIR.${MK_BLACKLIST}+=libblacklist 128 SUBDIR.${MK_BLUETOOTH}+=libbluetooth libsdp 129 SUBDIR.${MK_BSNMP}+= libbsnmp 130 SUBDIR.${MK_CASPER}+= libcasper 131 132 .if !defined(COMPAT_32BIT) && !defined(COMPAT_SOFTFP) 133 SUBDIR.${MK_CLANG}+= clang 134 .endif 135 136 SUBDIR.${MK_CUSE}+= libcuse 137 SUBDIR.${MK_CXX}+= libdevdctl 138 SUBDIR.${MK_TOOLCHAIN}+=libelftc libpe 139 SUBDIR.${MK_DIALOG}+= libdpv 140 SUBDIR.${MK_FILE}+= libmagic 141 SUBDIR.${MK_GPIO}+= libgpio 142 SUBDIR.${MK_GSSAPI}+= libgssapi librpcsec_gss 143 SUBDIR.${MK_ICONV}+= libiconv_modules 144 SUBDIR.${MK_KERBEROS_SUPPORT}+= libcom_err 145 SUBDIR.${MK_LDNS}+= libldns 146 147 # The libraries under libclang_rt can only be built by clang, and only make 148 # sense to build when clang is enabled at all. Furthermore, they can only be 149 # built for certain architectures. 150 .if ${MK_CLANG} != "no" && ${COMPILER_TYPE} == "clang" && \ 151 (${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \ 152 (${MACHINE_CPUARCH} == "arm" && ${MACHINE_ARCH} != "armeb") || \ 153 (${MACHINE_CPUARCH} == "i386")) 154 _libclang_rt= libclang_rt 155 .endif 156 157 .if ${MK_LIBCPLUSPLUS} != "no" 158 _libcxxrt= libcxxrt 159 _libcplusplus= libc++ 160 .if ${MACHINE_CPUARCH} != "arm" && ${MACHINE_CPUARCH} != "mips" 161 _libcplusplus+= libc++experimental 162 .endif 163 .endif 164 165 SUBDIR.${MK_EFI}+= libefivar 166 SUBDIR.${MK_LIBTHR}+= libthr 167 SUBDIR.${MK_LLVM_LIBUNWIND}+= libgcc_eh 168 SUBDIR.${MK_LLVM_LIBUNWIND}+= libgcc_s 169 SUBDIR.${MK_NAND}+= libnandfs 170 SUBDIR.${MK_NETGRAPH}+= libnetgraph 171 SUBDIR.${MK_NIS}+= libypclnt 172 173 .if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" 174 _libvgl= libvgl 175 .endif 176 177 .if ${MACHINE_CPUARCH} == "amd64" 178 SUBDIR.${MK_BHYVE}+= libvmmapi 179 .endif 180 181 .if ${MACHINE_CPUARCH} != "sparc64" 182 _libproc= libproc 183 _librtld_db= librtld_db 184 .endif 185 186 SUBDIR.${MK_OPENSSL}+= libmp 187 SUBDIR.${MK_PMC}+= libpmc 188 SUBDIR.${MK_RADIUS_SUPPORT}+= libradius 189 SUBDIR.${MK_SENDMAIL}+= libmilter libsm libsmdb libsmutil 190 SUBDIR.${MK_TELNET}+= libtelnet 191 SUBDIR.${MK_TESTS_SUPPORT}+= atf 192 SUBDIR.${MK_TESTS}+= tests 193 SUBDIR.${MK_UNBOUND}+= libunbound 194 SUBDIR.${MK_USB}+= libusbhid libusb 195 196 .if !make(install) 197# SUBDIR_PARALLEL= 198 .endif 199 200 .include <bsd.subdir.mk> /etc/src.conf WITHOUT_DEBUG_FILES=yes WITHOUT_PROFILE=yes 1 comment out WITHOUT_DEBUG_FILES=yes 2 run make -j16 buildworld no error finished 3 make installworld 4 uncomment WITHOUT_DEBUG_FILES=yes i get make.core root@riku:/usr/obj/usr/src/lib/libmagic # gdb /usr/bin/make make.core GNU gdb (GDB) 7.12.1 [GDB v7.12.1 for FreeBSD] Copyright (C) 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-portbld-freebsd12.0". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/bin/make...Reading symbols from /usr/lib/debug//usr/bin/make.debug...done. done. [New LWP 101243] Core was generated by `make all DIRPRFX=lib/libmagic/'. Program terminated with signal SIGBUS, Bus error. #0 0x0000000000478c64 in __je_arena_dalloc () (gdb) where #0 0x0000000000478c64 in __je_arena_dalloc () #1 0x0000000000433e78 in free () #2 0x000000000041b5ba in Var_Parse (str=<optimized out>, ctxt=<optimized out>, flags=3, lengthPtr=<optimized out>, freePtr=<optimized out>) at /usr/src/contrib/bmake/var.c:4061 #3 0x0000000000403d1a in CondGetArg (linePtr=<optimized out>, argPtr=<optimized out>, func=<optimized out>) at /usr/src/contrib/bmake/cond.c:293 #4 0x00000000004031ef in compare_function (doEval=<optimized out>) at /usr/src/contrib/bmake/cond.c:895 #5 CondToken (doEval=1) at /usr/src/contrib/bmake/cond.c:991 #6 0x00000000004033ce in CondT (doEval=1) at /usr/src/contrib/bmake/cond.c:1017 #7 0x0000000000403388 in CondF (doEval=1) at /usr/src/contrib/bmake/cond.c:1065 #8 0x0000000000402df8 in CondE (doEval=1) at /usr/src/contrib/bmake/cond.c:1111 #9 0x0000000000402741 in do_Cond_EvalExpression (value=<optimized out>) at /usr/src/contrib/bmake/cond.c:1200 #10 Cond_EvalExpression (info=<optimized out>, line=0x800a76027 "defined(WITH_${:UDTRACE_TESTS}) && !defined(WITHOUT_${:UDTRACE_TESTS})", value=0x7fffffffd01c, eprint=1, strictLHS=512) at /usr/src/contrib/bmake/cond.c:1184 #11 0x0000000000402c16 in Cond_Eval ( line=0x800a76026 " defined(WITH_${:UDTRACE_TESTS}) && !defined(WITHOUT_${:UDTRACE_TESTS})") at /usr/src/contrib/bmake/cond.c:1385 #12 0x0000000000414558 in ParseReadLine () at /usr/src/contrib/bmake/parse.c:2902 #13 Parse_File (name=<optimized out>, fd=<optimized out>) at /usr/src/contrib/bmake/parse.c:3007 #14 0x000000000040d3ae in ReadMakefile (p=0x800a6c155, q=<optimized out>) at /usr/src/contrib/bmake/main.c:1576 #15 0x000000000041fa8a in Lst_FindFrom (l=<optimized out>, ln=0x800a6c160, d=0x0, cProc=0x40d1b0 <ReadMakefile>) at /usr/src/contrib/bmake/lst.lib/lstFindFrom.c:83 #16 0x000000000040c74f in main (argc=3, argv=<optimized out>) at /usr/src/contrib/bmake/main.c:1299 (gdb) sorry I mistake No.5 1 comment out WITHOUT_DEBUG_FILES=yes 2 run make -j16 buildworld no error finished 3 make installworld 4 uncomment WITHOUT_DEBUG_FILES=yes 5 rm -rf /usr/obj/usr/ make -j16 buildworld i get make.core Thanks all I try r319852 , buildworld successed |
Created attachment 183127 [details] logfile buildworld A failure has been detected in another branch of the parallel make May be '.undef SUBDIR_PARALLEL' in lib/Mqakefile