From nobody Thu Jul 15 01:14:43 2021 X-Original-To: freebsd-ppc@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 971421243F9B for ; Thu, 15 Jul 2021 01:14:50 +0000 (UTC) (envelope-from al@datazap.net) Received: from mail-pf1-f226.google.com (mail-pf1-f226.google.com [209.85.210.226]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GQGcn58GQz3qRS for ; Thu, 15 Jul 2021 01:14:49 +0000 (UTC) (envelope-from al@datazap.net) Received: by mail-pf1-f226.google.com with SMTP id 21so3601652pfp.3 for ; Wed, 14 Jul 2021 18:14:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id :disposition-notification-to:date:user-agent:mime-version :content-language; bh=LzFbb2tRXy0iDxCUCaR00kqZNst82eiYMgTXiPBGmcs=; b=d+ZhZS4YjqEEqPQwlXCoYuyeNP87s3dZG0FMaRrdFjIre7UZQxU0BYQks3vA4mjFu6 GGUY7SKw35RVaMhZmYUy0LlbToOyuDKaoFTvUXnvR0A+1SUOjpyAQvGLFN2sVzS5GTFz F/ElGRIeE0PpIHDKDPm+D3QAIQEGtYBzdfeNsDpQNR1nGN5Zu+PGXVPWncSc0J2q8QVv /BOREAsnJ4YXn5wLsGYPUkHTLp8xbXdO9xmf4Pcve8PIlWVR+8RNko4j+tWnZ9rUflPQ OQzyY+JsVyR4atx0ABr4n/EUPNUDbWVZ68yB6Zde7Rgd6FE2ukwG/rfU2fY2K1gxlOrs YEXA== X-Gm-Message-State: AOAM532WcVoqYYcTgQMMYafNeJtoQ2+VTJUbW6oDorcbTQNELcvh9ZaW nb8KPKBcVX07Q7PaobvHY3/NvNgkp17Vmegcl1uA+7QIoBLiJg== X-Google-Smtp-Source: ABdhPJxp3pm6u1QuDzxTl2LRwyNOmx78dyLT/zZK2w4JU3cuh+OQH4vZLHzyRJa2o2L7w9BCwaiM+5IgNJjh X-Received: by 2002:a63:2c8a:: with SMTP id s132mr951736pgs.65.1626311688103; Wed, 14 Jul 2021 18:14:48 -0700 (PDT) Received: from agnus.datazap.net (agnus.datazap.net. [209.160.40.35]) by smtp-relay.gmail.com with ESMTP id d22sm2461161pjw.0.2021.07.14.18.14.47 for ; Wed, 14 Jul 2021 18:14:48 -0700 (PDT) X-Relaying-Domain: datazap.net Received: from [127.0.0.1] (localhost [127.0.0.1]) by agnus.datazap.net (Postfix) with ESMTP id 0E370B794B for ; Wed, 14 Jul 2021 21:14:43 -0400 (EDT) To: freebsd-ppc@freebsd.org From: al@familysafeinternet.com Subject: new compiling error Message-ID: Disposition-Notification-To: al@familysafeinternet.com Date: Wed, 14 Jul 2021 21:14:43 -0400 User-Agent: Mozilla/5.0 (X11; Linux ppc64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 List-Id: Porting FreeBSD to the PowerPC List-Archive: https://lists.freebsd.org/archives/freebsd-ppc List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ppc@freebsd.org X-BeenThere: freebsd-ppc@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="------------197E47458E2974F20CA343BC" Content-Language: en-US X-Rspamd-Queue-Id: 4GQGcn58GQz3qRS X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of al@datazap.net has no SPF policy when checking 209.85.210.226) smtp.mailfrom=al@datazap.net X-Spamd-Result: default: False [0.63 / 15.00]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; NEURAL_HAM_SHORT(-0.57)[-0.567]; FORGED_SENDER(0.30)[al@familysafeinternet.com,al@datazap.net]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[209.85.210.226:from]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_NEQ_ENVFROM(0.00)[al@familysafeinternet.com,al@datazap.net]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; TO_MATCH_ENVRCPT_ALL(0.00)[]; HEADER_FORGED_MDN(2.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ppc@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[209.85.210.226:from:127.0.2.255]; DMARC_NA(0.00)[familysafeinternet.com]; NEURAL_HAM_LONG(-1.00)[-1.000]; FROM_NO_DN(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[209.85.210.226:from]; R_SPF_NA(0.00)[no SPF record]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.210.226:from]; MAILMAN_DEST(0.00)[freebsd-ppc] X-ThisMailContainsUnwantedMimeParts: Y 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--