Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Oct 2017 13:56:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 222901] `make buildworld' fails if $NO_OBJ is set
Message-ID:  <bug-222901-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222901

            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@FreeBSD.org
          Reporter: wosch@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=3D/usr/obj/root/tmp/freebsd/tmp=20
INSTALL=3D"sh /root/tmp/freebsd/tools/install.sh"=20
TOOLS_PREFIX=3D/usr/obj/root/tmp/freebsd/tmp=20
PATH=3D/usr/obj/root/tmp/freebsd/tmp/legacy/usr/sbin:/usr/obj/root/tmp/free=
bsd/tmp/legacy/usr/bin:/usr/obj/root/tmp/freebsd/tmp/legacy/bin:/sbin:/bin:=
/usr/sbin:/usr/bin
 WORLDTMP=3D/usr/obj/root/tmp/freebsd/tmp  MAKEFLAGS=3D"-m
/root/tmp/freebsd/tools/build/mk  -m /root/tmp/freebsd/share/mk" make  -f
Makefile.inc1  DESTDIR=3D  BOOTSTRAPPING=3D1101503  BWPHASE=3Dbootstrap-too=
ls=20
SSP_CFLAGS=3D  MK_HTML=3Dno NO_LINT=3Dyes MK_MAN=3Dno  -DNO_PIC MK_PROFILE=
=3Dno
-DNO_SHARED  -DNO_CPU_CFLAGS MK_WARNS=3Dno MK_CTF=3Dno  MK_CLANG_EXTRAS=3Dno
MK_CLANG_FULL=3Dno  MK_LLDB=3Dno MK_TESTS=3Dno  MK_INCLUDES=3Dyes bootstrap=
-tools
=3D=3D=3D> 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=3D\"x86_64-unknown-freebsd12.0\"
-DLLVM_HOST_TRIPLE=3D\"x86_64-unknown-freebsd12.0\"
-DDEFAULT_SYSROOT=3D\"/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=3Dc++11 -fno-except=
ions
-fno-rtti  -gline-tables-only -stdlib=3Dlibc++ -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=3DYES

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-222901-8>