Date: Wed, 14 Jul 2021 21:14:43 -0400 From: al@familysafeinternet.com To: freebsd-ppc@freebsd.org Subject: new compiling error Message-ID: <aa21c8bd-a18d-e0ba-d745-c9fbed0db44f@datazap.net>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------197E47458E2974F20CA343BC Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hello, I am compiling on an X5000, I believe I am running revision 351650. I would really like to compile a newer kernel and userland. I tried FreeBSD 13 release and I have also tried revision 356899. This is the error from 356899: /usr/obj/usr/src/powerpc.powerpc64/tmp/legacy/bin/[ -> /bin/[ --- _bootstrap-tools-link-unxz --- --- _bootstrap-tools-link-xz --- /usr/obj/usr/src/powerpc.powerpc64/tmp/legacy/bin/xz -> /usr/bin/xz --- _bootstrap-tools-link-unxz --- /usr/obj/usr/src/powerpc.powerpc64/tmp/legacy/bin/unxz -> /usr/bin/unxz --- _bootstrap-tools-lib/clang/libllvmminimal --- --- _bootstrap-tools-usr.bin/fortune/strfile --- ===> usr.bin/fortune/strfile (obj,all,install) --- _bootstrap-tools-lib/clang/libllvmminimal --- ===> lib/clang/libllvmminimal (obj,all,install) [Creating objdir /usr/obj/usr/src/powerpc.powerpc64/tmp/obj-tools/lib/clang/libllvmminimal...] --- _bootstrap-tools-usr.bin/fortune/strfile --- [Creating objdir /usr/obj/usr/src/powerpc.powerpc64/tmp/obj-tools/usr.bin/fortune/strfile...] --- .depend --- echo strfile.full: /usr/lib/libc.a /usr/obj/usr/src/powerpc.powerpc64/tmp/legacy/usr/lib/libegacy.a >> .depend --- strfile.o --- cc -O2 -pipe -g -MD -MF.depend.strfile.o -MTstrfile.o -std=gnu99 -Wno-format-zero-length -I/usr/obj/usr/src/powerpc.powerpc64/tmp/legao --- _bootstrap-tools-lib/clang/libllvmminimal --- [Creating nested objdir /usr/obj/usr/src/powerpc.powerpc64/tmp/obj-tools/lib/clang/libllvmminimal/Demangle...] [Creating nested objdir /usr/obj/usr/src/powerpc.powerpc64/tmp/obj-tools/lib/clang/libllvmminimal/Support...] [Creating nested objdir /usr/obj/usr/src/powerpc.powerpc64/tmp/obj-tools/lib/clang/libllvmminimal/TableGen...] --- Demangle/ItaniumDemangle.o --- c++ -O2 -pipe -I/usr/src/lib/clang/include -I/usr/src/contrib/llvm-project/llvm/include -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__o cc1plus: warning: command line option "-Wno-format-zero-length" is valid for C/ObjC but not for C++ cc1plus: error: unrecognized command line option "-std=c++11" *** [Demangle/ItaniumDemangle.o] Error code 1 make[3]: stopped in /usr/src/lib/clang/libllvmminimal 1 error make[3]: stopped in /usr/src/lib/clang/libllvmminimal *** [_bootstrap-tools-lib/clang/libllvmminimal] Error code 2 make[2]: stopped in /usr/src --- _bootstrap-tools-usr.bin/fortune/strfile --- A failure has been detected in another branch of the parallel make make[3]: stopped in /usr/src/usr.bin/fortune/strfile *** [_bootstrap-tools-usr.bin/fortune/strfile] Error code 2 make[2]: stopped in /usr/src 2 errors make[2]: stopped in /usr/src *** [_bootstrap-tools] Error code 2 make[1]: stopped in /usr/src 1 error make[1]: stopped in /usr/src *** [buildworld] Error code 2 make: stopped in /usr/src 1 error make: stopped in /usr/src What I found googling is that this error is because I have gcc 4.2 and I need 4.8 or above. I can't say for sure that this would be the case here. Any ideas on what I need to do to solve this problem? Also, I have 3 patches. Are they still needed? D21286.diff (I believe this has been committed: https://reviews.freebsd.org/D21286) kmod_mk.diff pci_clear.diff Are there different patches that I would need now? Kind Regards, Al --------------197E47458E2974F20CA343BC--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aa21c8bd-a18d-e0ba-d745-c9fbed0db44f>