Re: [make xdev, libatf]: error: cstdarg: No such file or directory

From: Boris Samorodov <bsam_at_passap.ru>
Date: Sat, 26 Jul 2014 14:48:06 +0400
Hi Sean, All,

Sean, thanks for your help.

25.07.2014 22:00, Sean Bruno пишет:
> On Fri, 2014-07-25 at 20:40 +0400, Boris Samorodov wrote:
>>
>> Here are errors I get with sources at r269089.
>>
> I am at 269090.  make xdev TARGET=mips TARGET_ARCH=mips64 just finished
> for me.  At this point, drop the rest of the options from the build as
> dim, bsdimp and sjg have fixed most of the issues requiring that.

Uboot (at least the version supported by crochet) needs gcc to build.

> There is a fatal depend bug of some kind occuring if /usr/obj/ has
> builds in it.  Try removing /usr/obj/* and then build again.

That didn't help, the same error.

And a discussion at arm_at_ ML shows that there are problems with xdev gcc
build at recent HEAD.

>> -----
>> % uname -a
>> FreeBSD bb052.bsnet 11.0-CURRENT FreeBSD 11.0-CURRENT #113 r269019: Wed
>> Jul 23 23:24:47 SAMT 2014
>> bsam_at_bb052.bsnet:/usr/obj/usr/src/sys/BB64X  amd64
>>
>> % sudo make -C /usr/src TARGET=arm TARGET_ARCH=armv6 WITH_GCC=1
>> WITH_GCC_BOOTSTRAP=1 WITHOUT_CLANG=1 WITHOUT_CLANG_BOOTSTRAP=1
>> WITHOUT_CLANG_IS_CC=1 xdev
>> [...]
>> ===> lib/atf (obj,depend,all,install)
>> ===> lib/atf/libatf-c (obj)
>> ===> lib/atf/libatf-c++ (obj)
>> ===> lib/atf/libatf-c (depend)
>> ===> lib/atf/libatf-c++ (depend)
>> rm -f .depend
>> CC='cc -isystem //usr/armv6-freebsd/usr/include
>> -L//usr/armv6-freebsd/usr/lib  --sysroot=//usr/armv6-freebsd/
>> -B//usr/armv6-fr
>> eebsd/usr/libexec  -B//usr/armv6-freebsd/usr/bin
>> -B//usr/armv6-freebsd/usr/lib' mkdep -f .depend -a    -DHAVE_CONFIG_H
>> -DATF_A
>> RCH='"arm"' -DATF_BUILD_CC='"cc -isystem //usr/armv6-freebsd/usr/include
>> -L//usr/armv6-freebsd/usr/lib  --sysroot=//usr/armv6-
>> freebsd/ -B//usr/armv6-freebsd/usr/libexec
>> -B//usr/armv6-freebsd/usr/bin -B//usr/armv6-freebsd/usr/lib"'
>> -DATF_BUILD_CFLAGS='
>> "-O -pipe  "' -DATF_BUILD_CPP='"cpp -isystem
>> //usr/armv6-freebsd/usr/include -L//usr/armv6-freebsd/usr/lib
>> --sysroot=//usr/ar
>> mv6-freebsd/ -B//usr/armv6-freebsd/usr/libexec
>> -B//usr/armv6-freebsd/usr/bin -B//usr/armv6-freebsd/usr/lib"'
>> -DATF_BUILD_CPPF
>> LAGS='""' -DATF_BUILD_CXX='"c++ -isystem //usr/armv6-freebsd/usr/include
>> -L//usr/armv6-freebsd/usr/lib  --sysroot=//usr/armv6-
>> freebsd/ -B//usr/armv6-freebsd/usr/libexec
>> -B//usr/armv6-freebsd/usr/bin -B//usr/armv6-freebsd/usr/lib"'
>> -DATF_BUILD_CXXFLAGS
>> ='"-O -pipe  "' -DATF_CONFDIR='"/etc/atf"'
>> -DATF_C_TESTS_BASE='"/usr/tests/lib/atf/libatf-c"'
>> -DATF_INCLUDEDIR='"/usr/include"
>> ' -DATF_LIBDIR='"/usr/lib"' -DATF_LIBEXECDIR='"/usr/libexec"'
>> -DATF_MACHINE='"armv6"' -DATF_M4='"/usr/bin/m4"' -DATF_PKGDATADI
>> R='"/usr/share/atf"' -DATF_SHELL='"/bin/sh"' -DATF_WORKDIR='"/tmp"'
>> -I/usr/src/contrib/atf -I/usr/src/lib/atf/libatf-c++/../li
>> batf-c -I. -DHAVE_CONFIG_H
>> /usr/src/contrib/atf/atf-c++/detail/application.cpp
>> /usr/src/contrib/atf/atf-c++/build.cpp /
>> usr/src/contrib/atf/atf-c++/check.cpp
>> /usr/src/contrib/atf/atf-c++/config.cpp
>> /usr/src/contrib/atf/atf-c++/detail/env.cpp /usr
>> /src/contrib/atf/atf-c++/detail/exceptions.cpp
>> /usr/src/contrib/atf/atf-c++/detail/fs.cpp
>> /usr/src/contrib/atf/atf-c++/detail/
>> process.cpp /usr/src/contrib/atf/atf-c++/tests.cpp
>> /usr/src/contrib/atf/atf-c++/detail/text.cpp /usr/src/contrib/atf/atf-c++/u
>> tils.cpp
>> /usr/src/contrib/atf/atf-c++/detail/application.cpp:38:19: error:
>> cstdarg: No such file or directory
>> /usr/src/contrib/atf/atf-c++/detail/application.cpp:39:18: error:
>> cstdio: No such file or directory
>> /usr/src/contrib/atf/atf-c++/detail/application.cpp:40:19: error:
>> cstdlib: No such file or directory
>> [...]
>> -----
>>
> 
> 


-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
Received on Sat Jul 26 2014 - 08:48:11 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:51 UTC