[Bug 222901] `make buildworld' fails if $NO_OBJ is set

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Oct 10 13:56:48 UTC 2017


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

            Bug ID: 222901
           Summary: `make buildworld' fails if $NO_OBJ is set
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: wosch at FreeBSD.org

On one of my machines `make buildworld' failed after some seconds with the
message:

cd /usr/src
make buildworld

[...]
>>> stage 1.2: bootstrap tools
--------------------------------------------------------------
cd /root/tmp/freebsd; MAKEOBJDIRPREFIX=/usr/obj/root/tmp/freebsd/tmp 
INSTALL="sh /root/tmp/freebsd/tools/install.sh" 
TOOLS_PREFIX=/usr/obj/root/tmp/freebsd/tmp 
PATH=/usr/obj/root/tmp/freebsd/tmp/legacy/usr/sbin:/usr/obj/root/tmp/freebsd/tmp/legacy/usr/bin:/usr/obj/root/tmp/freebsd/tmp/legacy/bin:/sbin:/bin:/usr/sbin:/usr/bin
 WORLDTMP=/usr/obj/root/tmp/freebsd/tmp  MAKEFLAGS="-m
/root/tmp/freebsd/tools/build/mk  -m /root/tmp/freebsd/share/mk" make  -f
Makefile.inc1  DESTDIR=  BOOTSTRAPPING=1101503  BWPHASE=bootstrap-tools 
SSP_CFLAGS=  MK_HTML=no NO_LINT=yes MK_MAN=no  -DNO_PIC MK_PROFILE=no
-DNO_SHARED  -DNO_CPU_CFLAGS MK_WARNS=no MK_CTF=no  MK_CLANG_EXTRAS=no
MK_CLANG_FULL=no  MK_LLDB=no MK_TESTS=no  MK_INCLUDES=yes bootstrap-tools
===> lib/clang/libllvmminimal (obj,all,install)
c++  -O2 -pipe -I/root/tmp/freebsd/lib/clang/include
-I/root/tmp/freebsd/contrib/llvm/include -DLLVM_BUILD_GLOBAL_ISEL
-D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS
-DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unknown-freebsd12.0\"
-DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd12.0\"
-DDEFAULT_SYSROOT=\"/usr/obj/root/tmp/freebsd/tmp\" -ffunction-sections
-fdata-sections -gline-tables-only -MD -MF.depend.Support_APFloat.o
-MTSupport/APFloat.o -Qunused-arguments
-I/usr/obj/root/tmp/freebsd/tmp/legacy/usr/include -std=c++11 -fno-exceptions
-fno-rtti  -gline-tables-only -stdlib=libc++ -Wno-c++11-extensions  -c
/root/tmp/freebsd/contrib/llvm/lib/Support/APFloat.cpp -o Support/APFloat.o
error: unable to open output file 'Support/APFloat.o': 'No such file or
directory'
1 error generated.
*** Error code 1

Stop.
make[3]: stopped in /root/tmp/freebsd/lib/clang/libllvmminimal


Apparently, `make buildkernel' fails if $NO_OBJ is set to YES.

This affects stable/11 and -current.

PS: `make buildkernel' runs fine with NO_OBJ=YES

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


More information about the freebsd-bugs mailing list