From unknown Fri Aug 15 16:23:44 2025 X-Loop: help-debbugs@gnu.org Subject: bug#41209: AVR toolchain fails to build Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 12 May 2020 14:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 41209 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 41209@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158929202411276 (code B ref -1); Tue, 12 May 2020 14:01:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 May 2020 14:00:24 +0000 Received: from localhost ([127.0.0.1]:56283 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jYVSJ-0002vm-R7 for submit@debbugs.gnu.org; Tue, 12 May 2020 10:00:24 -0400 Received: from lists.gnu.org ([209.51.188.17]:44412) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jYVSH-0002vf-VN for submit@debbugs.gnu.org; Tue, 12 May 2020 10:00:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52104) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYVSH-00064Q-HS for bug-guix@gnu.org; Tue, 12 May 2020 10:00:21 -0400 Received: from sender4-of-o53.zoho.com ([136.143.188.53]:21337) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1jYVSF-0007KZ-QJ for bug-guix@gnu.org; Tue, 12 May 2020 10:00:21 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1589292012; cv=none; d=zohomail.com; s=zohoarc; b=c9hLNJH02kP/69HfW33g02qNYMy7UUZCIHpnmX+j3Icew6gVu57tOIB60yjaUeFI+Vj6S1J46a3M5e+n8a6qhoXxpcTVe5oItJTCWOeq0FCW3d5Tp0CShaMxRrHNkbmz5M0EAF+LRNP5db3ST+vL+ieJgPPzs8ZenjTrzMfBfG4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1589292012; h=Content-Type:Content-Transfer-Encoding:Date:From:MIME-Version:Message-ID:Subject:To; bh=ALNXwRhbJC7KWUKyR11ExCBjuZYlk8QTw5MbJJKZ9nY=; b=i5ozZWiy4rVV4UE31rsjsjAQaY0aJctraWGa8prw0sjHaVD2Er8mvUHI2vUgAascg8wa8fi5qIWeZ3Mw48KPxnxZK5r/iXd+WycT4JP9ZkS1XNsH1G4pvwaqq5vzbL7MjqUzZlp7GleYBnxLKnxbe2dJwXiCcm2iZtyE+wBGAlk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1589292012; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=ALNXwRhbJC7KWUKyR11ExCBjuZYlk8QTw5MbJJKZ9nY=; b=cZgynkjXugZu1eS6zptIQAHvjvf95VgrLHbG7OQMr/uuo6PE8VuFjbXzY8HYT+mv FNFT4pC72cATiZ/UqlE3RQCfK/8pbpMzoFOsXQoZYnehnkdFlxo/GGFrOP8f+95QUw3 5HoFERSDYx0bHop4VV7sT5EpdHQb/PD4ToVJ/p6s= Received: from localhost (p54AD4B36.dip0.t-ipconnect.de [84.173.75.54]) by mx.zohomail.com with SMTPS id 1589292010311997.6666234814695; Tue, 12 May 2020 07:00:10 -0700 (PDT) User-agent: mu4e 1.2.0; emacs 26.3 From: Ricardo Wurmus X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Tue, 12 May 2020 16:00:06 +0200 Message-ID: <87pnb91cex.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.53; envelope-from=rekado@elephly.net; helo=sender4-of-o53.zoho.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/12 10:00:12 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) avr-toolchain-5.5.0 fails to build. It seems to be mixing headers from GCC 5 and GCC 7: --8<---------------cut here---------------start------------->8--- In file included from /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0= /include/c++/stdlib.h:36:0, from ../../gcc-5.5.0/libcpp/system.h:214, from ../../gcc-5.5.0/libcpp/directives.c:22: /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 18:11: error: =E2=80=98::div_t=E2=80=99 has not been declared using ::div_t; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 19:11: error: =E2=80=98::ldiv_t=E2=80=99 has not been declared using ::ldiv_t; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 21:11: error: =E2=80=98::abort=E2=80=99 has not been declared using ::abort; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 22:11: error: =E2=80=98::abs=E2=80=99 has not been declared using ::abs; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 23:11: error: =E2=80=98::atexit=E2=80=99 has not been declared using ::atexit; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 29:11: error: =E2=80=98::atof=E2=80=99 has not been declared using ::atof; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 30:11: error: =E2=80=98::atoi=E2=80=99 has not been declared using ::atoi; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 31:11: error: =E2=80=98::atol=E2=80=99 has not been declared using ::atol; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 32:11: error: =E2=80=98::bsearch=E2=80=99 has not been declared using ::bsearch; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 33:11: error: =E2=80=98::calloc=E2=80=99 has not been declared using ::calloc; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 34:11: error: =E2=80=98::div=E2=80=99 has not been declared using ::div; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 35:11: error: =E2=80=98::exit=E2=80=99 has not been declared using ::exit; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 36:11: error: =E2=80=98::free=E2=80=99 has not been declared using ::free; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 37:11: error: =E2=80=98::getenv=E2=80=99 has not been declared using ::getenv; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 38:11: error: =E2=80=98::labs=E2=80=99 has not been declared using ::labs; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 39:11: error: =E2=80=98::ldiv=E2=80=99 has not been declared using ::ldiv; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 40:11: error: =E2=80=98::malloc=E2=80=99 has not been declared using ::malloc; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 42:11: error: =E2=80=98::mblen=E2=80=99 has not been declared using ::mblen; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 43:11: error: =E2=80=98::mbstowcs=E2=80=99 has not been declared using ::mbstowcs; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 44:11: error: =E2=80=98::mbtowc=E2=80=99 has not been declared using ::mbtowc; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 46:11: error: =E2=80=98::qsort=E2=80=99 has not been declared using ::qsort; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 52:11: error: =E2=80=98::rand=E2=80=99 has not been declared using ::rand; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 53:11: error: =E2=80=98::realloc=E2=80=99 has not been declared using ::realloc; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 54:11: error: =E2=80=98::srand=E2=80=99 has not been declared using ::srand; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 55:11: error: =E2=80=98::strtod=E2=80=99 has not been declared using ::strtod; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 56:11: error: =E2=80=98::strtol=E2=80=99 has not been declared using ::strtol; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 57:11: error: =E2=80=98::strtoul=E2=80=99 has not been declared using ::strtoul; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 58:11: error: =E2=80=98::system=E2=80=99 has not been declared using ::system; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 60:11: error: =E2=80=98::wcstombs=E2=80=99 has not been declared using ::wcstombs; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 61:11: error: =E2=80=98::wctomb=E2=80=99 has not been declared using ::wctomb; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 68:10: error: =E2=80=98ldiv_t=E2=80=99 does not name a type inline ldiv_t ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:2= 14:11: error: =E2=80=98::lldiv_t=E2=80=99 has not been declared using ::lldiv_t; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:2= 20:11: error: =E2=80=98::_Exit=E2=80=99 has not been declared using ::_Exit; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:2= 24:11: error: =E2=80=98::llabs=E2=80=99 has not been declared using ::llabs; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:2= 26:10: error: =E2=80=98lldiv_t=E2=80=99 does not name a type inline lldiv_t ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:2= 30:11: error: =E2=80=98::lldiv=E2=80=99 has not been declared using ::lldiv; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:2= 41:11: error: =E2=80=98::atoll=E2=80=99 has not been declared using ::atoll; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:2= 42:11: error: =E2=80=98::strtoll=E2=80=99 has not been declared using ::strtoll; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:2= 43:11: error: =E2=80=98::strtoull=E2=80=99 has not been declared using ::strtoull; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:2= 45:11: error: =E2=80=98::strtof=E2=80=99 has not been declared using ::strtof; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:2= 46:11: error: =E2=80=98::strtold=E2=80=99 has not been declared using ::strtold; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:2= 54:22: error: =E2=80=98__gnu_cxx::lldiv_t=E2=80=99 has not been declared using ::__gnu_cxx::lldiv_t; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:2= 56:22: error: =E2=80=98__gnu_cxx::_Exit=E2=80=99 has not been declared using ::__gnu_cxx::_Exit; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:2= 58:22: error: =E2=80=98__gnu_cxx::llabs=E2=80=99 has not been declared using ::__gnu_cxx::llabs; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:2= 59:22: error: =E2=80=98__gnu_cxx::div=E2=80=99 has not been declared using ::__gnu_cxx::div; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:2= 60:22: error: =E2=80=98__gnu_cxx::lldiv=E2=80=99 has not been declared using ::__gnu_cxx::lldiv; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:2= 62:22: error: =E2=80=98__gnu_cxx::atoll=E2=80=99 has not been declared using ::__gnu_cxx::atoll; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:2= 63:22: error: =E2=80=98__gnu_cxx::strtof=E2=80=99 has not been declared using ::__gnu_cxx::strtof; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:2= 64:22: error: =E2=80=98__gnu_cxx::strtoll=E2=80=99 has not been declared using ::__gnu_cxx::strtoll; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:2= 65:22: error: =E2=80=98__gnu_cxx::strtoull=E2=80=99 has not been declared using ::__gnu_cxx::strtoull; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:2= 66:22: error: =E2=80=98__gnu_cxx::strtold=E2=80=99 has not been declared using ::__gnu_cxx::strtold; ^ In file included from ../../gcc-5.5.0/libcpp/system.h:214:0, from ../../gcc-5.5.0/libcpp/directives.c:22: /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/stdlib.h:= 38:12: error: =E2=80=98std::abort=E2=80=99 has not been declared using std::abort; ^ /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/stdlib.h:= 39:12: error: =E2=80=98std::atexit=E2=80=99 has not been declared using std::atexit; ^ /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/stdlib.h:= 40:12: error: =E2=80=98std::exit=E2=80=99 has not been declared using std::exit; ^ /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/stdlib.h:= 51:12: error: =E2=80=98std::div_t=E2=80=99 has not been declared using std::div_t; ^ /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/stdlib.h:= 52:12: error: =E2=80=98std::ldiv_t=E2=80=99 has not been declared using std::ldiv_t; ^ /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/stdlib.h:= 55:12: error: =E2=80=98std::atof=E2=80=99 has not been declared using std::atof; ^ /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/stdlib.h:= 56:12: error: =E2=80=98std::atoi=E2=80=99 has not been declared using std::atoi; --8<---------------cut here---------------end--------------->8--- --=20 Ricardo From unknown Fri Aug 15 16:23:44 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Ricardo Wurmus Subject: bug#41209: closed (Re: bug#41209: AVR toolchain fails to build) Message-ID: References: <87r1vnve9y.fsf@devup.no> <87pnb91cex.fsf@elephly.net> X-Gnu-PR-Message: they-closed 41209 X-Gnu-PR-Package: guix Reply-To: 41209@debbugs.gnu.org Date: Wed, 13 May 2020 19:15:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1589397302-20704-1" This is a multi-part message in MIME format... ------------=_1589397302-20704-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #41209: AVR toolchain fails to build which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 41209@debbugs.gnu.org. --=20 41209: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D41209 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1589397302-20704-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 41209-done) by debbugs.gnu.org; 13 May 2020 19:14:12 +0000 Received: from localhost ([127.0.0.1]:59573 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jYwpX-0005MI-Jh for submit@debbugs.gnu.org; Wed, 13 May 2020 15:14:12 -0400 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:41581) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jYwpV-0005M4-Ov for 41209-done@debbugs.gnu.org; Wed, 13 May 2020 15:14:10 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id C44FA654; Wed, 13 May 2020 15:14:03 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Wed, 13 May 2020 15:14:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm2; bh=Lqtqc8LXEjjlS9sZWSZpXlS9cH 9pfoPPgagkOs97Dps=; b=vYIbpaiaoJcieIZkeG4g8wkE+SRIJAD2BGfWF0AAC7 +n/wxLOqgpIbO4sO9/KtSGeRfADSu0AvUbg/feB0IHUz77u2n/Ire5aHRcNauYfP IdsCkRx9RxnRT5iMOGObjxMC23j0ar4SUq2o3i1sX9MrXUh10qfeHCk0+nGTfF03 czFjljkNy7aQYXXsNV5/0CP0qOjA6eZt04FRI/PsSIYHSVtRYoEyH2Jx87cbDtP/ olTTDRpKMyoWcqY+rzBldpJZrwviGP9ZYcIPG9j4KV8LqlP3Md5zL8wtAXIEb6MS JqI1IiEHBoPaY6ioM+cYzECX3bo2gOqq4AMMSXEKpmqg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=Lqtqc8 LXEjjlS9sZWSZpXlS9cH9pfoPPgagkOs97Dps=; b=uQuCqGuKZ+uPf2Hah8Nsr2 cjsb0c4fzooBt/gjsPajKU/hC+BQHKpGQ9EnIlo5rfS9G1WVFHwQFZtMNc15kckE xM5/YmTmdWWVPfd+MtW8eJ8st4hW1QEmpUI6BS2B6Lugb+VI6PRtPgaNS+HRfe/k EvZyOCeKDiCltmRdUFb1PM0DA8jPSJ8LWScpp4tBC9/Pd88G5Pm1LhiGKC4+JMwc A5NxdtrA5B6dcdoIkFfGQYeWyqH3PSvpp7mab+hBx2dWa4DRYYiVRJwl9o+pZ0js Q+z5EKRq8Q9oDPvYQjqBpKAY+fNjAQiTUXpJA9bQ7MZEQ/DNEWJxWeMeF6Mif4Hw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrleeggddufeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffujghffgffkfggtgesghdtre ertderjeenucfhrhhomhepofgrrhhiuhhsuceurghkkhgvuceomhgsrghkkhgvsehfrghs thhmrghilhdrtghomheqnecuggftrfgrthhtvghrnhepkedtleffveevtdelvdevudegff eifffhleegheetudegvdeggeeuudejhfejhfetnecukfhppeekgedrvddtvddrieekrdej heenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmsg grkhhkvgesfhgrshhtmhgrihhlrdgtohhm X-ME-Proxy: Received: from localhost (ti0006q161-2604.bb.online.no [84.202.68.75]) by mail.messagingengine.com (Postfix) with ESMTPA id DFC54328005A; Wed, 13 May 2020 15:14:02 -0400 (EDT) From: Marius Bakke To: Ricardo Wurmus , 41209-done@debbugs.gnu.org Subject: Re: bug#41209: AVR toolchain fails to build In-Reply-To: <87pnb91cex.fsf@elephly.net> References: <87pnb91cex.fsf@elephly.net> User-Agent: Notmuch/0.29.3 (https://notmuchmail.org) Emacs/26.3 (x86_64-pc-linux-gnu) Date: Wed, 13 May 2020 21:14:01 +0200 Message-ID: <87r1vnve9y.fsf@devup.no> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 41209-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ricardo Wurmus writes: > avr-toolchain-5.5.0 fails to build. It seems to be mixing headers from > GCC 5 and GCC 7: > > --8<---------------cut here---------------start------------->8--- > In file included from /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5= .0/include/c++/stdlib.h:36:0, > from ../../gcc-5.5.0/libcpp/system.h:214, > from ../../gcc-5.5.0/libcpp/directives.c:22: > /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib= :118:11: error: =E2=80=98::div_t=E2=80=99 has not been declared > using ::div_t; > ^ > /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib= :119:11: error: =E2=80=98::ldiv_t=E2=80=99 has not been declared > using ::ldiv_t; > ^ > /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib= :121:11: error: =E2=80=98::abort=E2=80=99 has not been declared > using ::abort; > ^ > /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib= :122:11: error: =E2=80=98::abs=E2=80=99 has not been declared > using ::abs; > ^ > /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib= :123:11: error: =E2=80=98::atexit=E2=80=99 has not been declared > using ::atexit; > ^ > /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib= :129:11: error: =E2=80=98::atof=E2=80=99 has not been declared > using ::atof; > ^ > /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib= :130:11: error: =E2=80=98::atoi=E2=80=99 has not been declared > using ::atoi; > ^ > /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib= :131:11: error: =E2=80=98::atol=E2=80=99 has not been declared > using ::atol; > ^ > /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib= :132:11: error: =E2=80=98::bsearch=E2=80=99 has not been declared > using ::bsearch; > ^ > /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib= :133:11: error: =E2=80=98::calloc=E2=80=99 has not been declared > using ::calloc; > ^ > /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib= :134:11: error: =E2=80=98::div=E2=80=99 has not been declared > using ::div; > ^ > /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib= :135:11: error: =E2=80=98::exit=E2=80=99 has not been declared > using ::exit; > ^ > /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib= :136:11: error: =E2=80=98::free=E2=80=99 has not been declared > using ::free; > ^ > /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib= :137:11: error: =E2=80=98::getenv=E2=80=99 has not been declared > using ::getenv; > ^ > /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib= :138:11: error: =E2=80=98::labs=E2=80=99 has not been declared > using ::labs; > ^ > /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib= :139:11: error: =E2=80=98::ldiv=E2=80=99 has not been declared > using ::ldiv; > ^ > /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib= :140:11: error: =E2=80=98::malloc=E2=80=99 has not been declared > using ::malloc; > ^ > /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib= :142:11: error: =E2=80=98::mblen=E2=80=99 has not been declared > using ::mblen; > ^ > /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib= :143:11: error: =E2=80=98::mbstowcs=E2=80=99 has not been declared > using ::mbstowcs; > ^ > /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib= :144:11: error: =E2=80=98::mbtowc=E2=80=99 has not been declared > using ::mbtowc; > ^ > /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib= :146:11: error: =E2=80=98::qsort=E2=80=99 has not been declared > using ::qsort; > ^ > /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib= :152:11: error: =E2=80=98::rand=E2=80=99 has not been declared > using ::rand; > ^ > /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib= :153:11: error: =E2=80=98::realloc=E2=80=99 has not been declared > using ::realloc; > ^ > /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib= :154:11: error: =E2=80=98::srand=E2=80=99 has not been declared > using ::srand; > ^ > /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib= :155:11: error: =E2=80=98::strtod=E2=80=99 has not been declared > using ::strtod; > ^ > /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib= :156:11: error: =E2=80=98::strtol=E2=80=99 has not been declared > using ::strtol; > ^ > /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib= :157:11: error: =E2=80=98::strtoul=E2=80=99 has not been declared > using ::strtoul; > ^ > /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib= :158:11: error: =E2=80=98::system=E2=80=99 has not been declared > using ::system; > ^ > /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib= :160:11: error: =E2=80=98::wcstombs=E2=80=99 has not been declared > using ::wcstombs; > ^ > /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib= :161:11: error: =E2=80=98::wctomb=E2=80=99 has not been declared > using ::wctomb; > ^ > /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib= :168:10: error: =E2=80=98ldiv_t=E2=80=99 does not name a type > inline ldiv_t > ^ > /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib= :214:11: error: =E2=80=98::lldiv_t=E2=80=99 has not been declared > using ::lldiv_t; > ^ > /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib= :220:11: error: =E2=80=98::_Exit=E2=80=99 has not been declared > using ::_Exit; > ^ > /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib= :224:11: error: =E2=80=98::llabs=E2=80=99 has not been declared > using ::llabs; > ^ > /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib= :226:10: error: =E2=80=98lldiv_t=E2=80=99 does not name a type > inline lldiv_t > ^ > /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib= :230:11: error: =E2=80=98::lldiv=E2=80=99 has not been declared > using ::lldiv; > ^ > /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib= :241:11: error: =E2=80=98::atoll=E2=80=99 has not been declared > using ::atoll; > ^ > /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib= :242:11: error: =E2=80=98::strtoll=E2=80=99 has not been declared > using ::strtoll; > ^ > /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib= :243:11: error: =E2=80=98::strtoull=E2=80=99 has not been declared > using ::strtoull; > ^ > /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib= :245:11: error: =E2=80=98::strtof=E2=80=99 has not been declared > using ::strtof; > ^ > /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib= :246:11: error: =E2=80=98::strtold=E2=80=99 has not been declared > using ::strtold; > ^ > /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib= :254:22: error: =E2=80=98__gnu_cxx::lldiv_t=E2=80=99 has not been declared > using ::__gnu_cxx::lldiv_t; > ^ > /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib= :256:22: error: =E2=80=98__gnu_cxx::_Exit=E2=80=99 has not been declared > using ::__gnu_cxx::_Exit; > ^ > /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib= :258:22: error: =E2=80=98__gnu_cxx::llabs=E2=80=99 has not been declared > using ::__gnu_cxx::llabs; > ^ > /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib= :259:22: error: =E2=80=98__gnu_cxx::div=E2=80=99 has not been declared > using ::__gnu_cxx::div; > ^ > /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib= :260:22: error: =E2=80=98__gnu_cxx::lldiv=E2=80=99 has not been declared > using ::__gnu_cxx::lldiv; > ^ > /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib= :262:22: error: =E2=80=98__gnu_cxx::atoll=E2=80=99 has not been declared > using ::__gnu_cxx::atoll; > ^ > /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib= :263:22: error: =E2=80=98__gnu_cxx::strtof=E2=80=99 has not been declared > using ::__gnu_cxx::strtof; > ^ > /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib= :264:22: error: =E2=80=98__gnu_cxx::strtoll=E2=80=99 has not been declared > using ::__gnu_cxx::strtoll; > ^ > /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib= :265:22: error: =E2=80=98__gnu_cxx::strtoull=E2=80=99 has not been declared > using ::__gnu_cxx::strtoull; > ^ > /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib= :266:22: error: =E2=80=98__gnu_cxx::strtold=E2=80=99 has not been declared > using ::__gnu_cxx::strtold; > ^ > In file included from ../../gcc-5.5.0/libcpp/system.h:214:0, > from ../../gcc-5.5.0/libcpp/directives.c:22: > /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/stdlib.= h:38:12: error: =E2=80=98std::abort=E2=80=99 has not been declared > using std::abort; > ^ > /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/stdlib.= h:39:12: error: =E2=80=98std::atexit=E2=80=99 has not been declared > using std::atexit; > ^ > /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/stdlib.= h:40:12: error: =E2=80=98std::exit=E2=80=99 has not been declared > using std::exit; > ^ > /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/stdlib.= h:51:12: error: =E2=80=98std::div_t=E2=80=99 has not been declared > using std::div_t; > ^ > /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/stdlib.= h:52:12: error: =E2=80=98std::ldiv_t=E2=80=99 has not been declared > using std::ldiv_t; > ^ > /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/stdlib.= h:55:12: error: =E2=80=98std::atof=E2=80=99 has not been declared > using std::atof; > ^ > /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/stdlib.= h:56:12: error: =E2=80=98std::atoi=E2=80=99 has not been declared > using std::atoi; > --8<---------------cut here---------------end--------------->8--- Fixed in fd96ae4a709c5509f2d78af3968d64fe805ad1ef, thanks! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl68RvkACgkQoqBt8qM6 VPpwDwf9GWxxGb7zJGkeO4iIRoFSw3lvVANrUpkeU7J97dNlDKUSi2C47n0M5Srq jyNfAAx8MTx9c9rq4WN2UaYIvgvyzo/1te+Qy3+olvoqjl5E4VqnqfyLj49RMtm8 qOGLekpFIbY3xDKNP0Wg3Zw19ubnGR/FGqUelWOU/8E1wHnws8LVhNKY9UldYI5x m+LwQHTYhy4mkTjo9JL0QShkAbXFXXPj4EIaE+Fk4v2xiksJR9IlLuVVJwvPX/qD aN7MVWPu1sv4dO6nYsq20B2udAcBXWCl9F3jKj4rU7EgD76f6bMRDjU/pmPR0F7V eEJc+yLDWEyhv5FaBJsgnHjEPbY2MQ== =Y3hA -----END PGP SIGNATURE----- --=-=-=-- ------------=_1589397302-20704-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 12 May 2020 14:00:24 +0000 Received: from localhost ([127.0.0.1]:56283 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jYVSJ-0002vm-R7 for submit@debbugs.gnu.org; Tue, 12 May 2020 10:00:24 -0400 Received: from lists.gnu.org ([209.51.188.17]:44412) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jYVSH-0002vf-VN for submit@debbugs.gnu.org; Tue, 12 May 2020 10:00:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52104) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYVSH-00064Q-HS for bug-guix@gnu.org; Tue, 12 May 2020 10:00:21 -0400 Received: from sender4-of-o53.zoho.com ([136.143.188.53]:21337) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1jYVSF-0007KZ-QJ for bug-guix@gnu.org; Tue, 12 May 2020 10:00:21 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1589292012; cv=none; d=zohomail.com; s=zohoarc; b=c9hLNJH02kP/69HfW33g02qNYMy7UUZCIHpnmX+j3Icew6gVu57tOIB60yjaUeFI+Vj6S1J46a3M5e+n8a6qhoXxpcTVe5oItJTCWOeq0FCW3d5Tp0CShaMxRrHNkbmz5M0EAF+LRNP5db3ST+vL+ieJgPPzs8ZenjTrzMfBfG4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1589292012; h=Content-Type:Content-Transfer-Encoding:Date:From:MIME-Version:Message-ID:Subject:To; bh=ALNXwRhbJC7KWUKyR11ExCBjuZYlk8QTw5MbJJKZ9nY=; b=i5ozZWiy4rVV4UE31rsjsjAQaY0aJctraWGa8prw0sjHaVD2Er8mvUHI2vUgAascg8wa8fi5qIWeZ3Mw48KPxnxZK5r/iXd+WycT4JP9ZkS1XNsH1G4pvwaqq5vzbL7MjqUzZlp7GleYBnxLKnxbe2dJwXiCcm2iZtyE+wBGAlk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1589292012; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=ALNXwRhbJC7KWUKyR11ExCBjuZYlk8QTw5MbJJKZ9nY=; b=cZgynkjXugZu1eS6zptIQAHvjvf95VgrLHbG7OQMr/uuo6PE8VuFjbXzY8HYT+mv FNFT4pC72cATiZ/UqlE3RQCfK/8pbpMzoFOsXQoZYnehnkdFlxo/GGFrOP8f+95QUw3 5HoFERSDYx0bHop4VV7sT5EpdHQb/PD4ToVJ/p6s= Received: from localhost (p54AD4B36.dip0.t-ipconnect.de [84.173.75.54]) by mx.zohomail.com with SMTPS id 1589292010311997.6666234814695; Tue, 12 May 2020 07:00:10 -0700 (PDT) User-agent: mu4e 1.2.0; emacs 26.3 From: Ricardo Wurmus To: bug-guix@gnu.org Subject: AVR toolchain fails to build X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Tue, 12 May 2020 16:00:06 +0200 Message-ID: <87pnb91cex.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.53; envelope-from=rekado@elephly.net; helo=sender4-of-o53.zoho.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/12 10:00:12 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) avr-toolchain-5.5.0 fails to build. It seems to be mixing headers from GCC 5 and GCC 7: --8<---------------cut here---------------start------------->8--- In file included from /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0= /include/c++/stdlib.h:36:0, from ../../gcc-5.5.0/libcpp/system.h:214, from ../../gcc-5.5.0/libcpp/directives.c:22: /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 18:11: error: =E2=80=98::div_t=E2=80=99 has not been declared using ::div_t; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 19:11: error: =E2=80=98::ldiv_t=E2=80=99 has not been declared using ::ldiv_t; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 21:11: error: =E2=80=98::abort=E2=80=99 has not been declared using ::abort; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 22:11: error: =E2=80=98::abs=E2=80=99 has not been declared using ::abs; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 23:11: error: =E2=80=98::atexit=E2=80=99 has not been declared using ::atexit; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 29:11: error: =E2=80=98::atof=E2=80=99 has not been declared using ::atof; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 30:11: error: =E2=80=98::atoi=E2=80=99 has not been declared using ::atoi; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 31:11: error: =E2=80=98::atol=E2=80=99 has not been declared using ::atol; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 32:11: error: =E2=80=98::bsearch=E2=80=99 has not been declared using ::bsearch; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 33:11: error: =E2=80=98::calloc=E2=80=99 has not been declared using ::calloc; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 34:11: error: =E2=80=98::div=E2=80=99 has not been declared using ::div; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 35:11: error: =E2=80=98::exit=E2=80=99 has not been declared using ::exit; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 36:11: error: =E2=80=98::free=E2=80=99 has not been declared using ::free; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 37:11: error: =E2=80=98::getenv=E2=80=99 has not been declared using ::getenv; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 38:11: error: =E2=80=98::labs=E2=80=99 has not been declared using ::labs; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 39:11: error: =E2=80=98::ldiv=E2=80=99 has not been declared using ::ldiv; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 40:11: error: =E2=80=98::malloc=E2=80=99 has not been declared using ::malloc; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 42:11: error: =E2=80=98::mblen=E2=80=99 has not been declared using ::mblen; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 43:11: error: =E2=80=98::mbstowcs=E2=80=99 has not been declared using ::mbstowcs; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 44:11: error: =E2=80=98::mbtowc=E2=80=99 has not been declared using ::mbtowc; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 46:11: error: =E2=80=98::qsort=E2=80=99 has not been declared using ::qsort; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 52:11: error: =E2=80=98::rand=E2=80=99 has not been declared using ::rand; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 53:11: error: =E2=80=98::realloc=E2=80=99 has not been declared using ::realloc; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 54:11: error: =E2=80=98::srand=E2=80=99 has not been declared using ::srand; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 55:11: error: =E2=80=98::strtod=E2=80=99 has not been declared using ::strtod; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 56:11: error: =E2=80=98::strtol=E2=80=99 has not been declared using ::strtol; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 57:11: error: =E2=80=98::strtoul=E2=80=99 has not been declared using ::strtoul; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 58:11: error: =E2=80=98::system=E2=80=99 has not been declared using ::system; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 60:11: error: =E2=80=98::wcstombs=E2=80=99 has not been declared using ::wcstombs; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 61:11: error: =E2=80=98::wctomb=E2=80=99 has not been declared using ::wctomb; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:1= 68:10: error: =E2=80=98ldiv_t=E2=80=99 does not name a type inline ldiv_t ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:2= 14:11: error: =E2=80=98::lldiv_t=E2=80=99 has not been declared using ::lldiv_t; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:2= 20:11: error: =E2=80=98::_Exit=E2=80=99 has not been declared using ::_Exit; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:2= 24:11: error: =E2=80=98::llabs=E2=80=99 has not been declared using ::llabs; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:2= 26:10: error: =E2=80=98lldiv_t=E2=80=99 does not name a type inline lldiv_t ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:2= 30:11: error: =E2=80=98::lldiv=E2=80=99 has not been declared using ::lldiv; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:2= 41:11: error: =E2=80=98::atoll=E2=80=99 has not been declared using ::atoll; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:2= 42:11: error: =E2=80=98::strtoll=E2=80=99 has not been declared using ::strtoll; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:2= 43:11: error: =E2=80=98::strtoull=E2=80=99 has not been declared using ::strtoull; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:2= 45:11: error: =E2=80=98::strtof=E2=80=99 has not been declared using ::strtof; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:2= 46:11: error: =E2=80=98::strtold=E2=80=99 has not been declared using ::strtold; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:2= 54:22: error: =E2=80=98__gnu_cxx::lldiv_t=E2=80=99 has not been declared using ::__gnu_cxx::lldiv_t; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:2= 56:22: error: =E2=80=98__gnu_cxx::_Exit=E2=80=99 has not been declared using ::__gnu_cxx::_Exit; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:2= 58:22: error: =E2=80=98__gnu_cxx::llabs=E2=80=99 has not been declared using ::__gnu_cxx::llabs; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:2= 59:22: error: =E2=80=98__gnu_cxx::div=E2=80=99 has not been declared using ::__gnu_cxx::div; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:2= 60:22: error: =E2=80=98__gnu_cxx::lldiv=E2=80=99 has not been declared using ::__gnu_cxx::lldiv; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:2= 62:22: error: =E2=80=98__gnu_cxx::atoll=E2=80=99 has not been declared using ::__gnu_cxx::atoll; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:2= 63:22: error: =E2=80=98__gnu_cxx::strtof=E2=80=99 has not been declared using ::__gnu_cxx::strtof; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:2= 64:22: error: =E2=80=98__gnu_cxx::strtoll=E2=80=99 has not been declared using ::__gnu_cxx::strtoll; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:2= 65:22: error: =E2=80=98__gnu_cxx::strtoull=E2=80=99 has not been declared using ::__gnu_cxx::strtoull; ^ /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:2= 66:22: error: =E2=80=98__gnu_cxx::strtold=E2=80=99 has not been declared using ::__gnu_cxx::strtold; ^ In file included from ../../gcc-5.5.0/libcpp/system.h:214:0, from ../../gcc-5.5.0/libcpp/directives.c:22: /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/stdlib.h:= 38:12: error: =E2=80=98std::abort=E2=80=99 has not been declared using std::abort; ^ /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/stdlib.h:= 39:12: error: =E2=80=98std::atexit=E2=80=99 has not been declared using std::atexit; ^ /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/stdlib.h:= 40:12: error: =E2=80=98std::exit=E2=80=99 has not been declared using std::exit; ^ /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/stdlib.h:= 51:12: error: =E2=80=98std::div_t=E2=80=99 has not been declared using std::div_t; ^ /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/stdlib.h:= 52:12: error: =E2=80=98std::ldiv_t=E2=80=99 has not been declared using std::ldiv_t; ^ /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/stdlib.h:= 55:12: error: =E2=80=98std::atof=E2=80=99 has not been declared using std::atof; ^ /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/stdlib.h:= 56:12: error: =E2=80=98std::atoi=E2=80=99 has not been declared using std::atoi; --8<---------------cut here---------------end--------------->8--- --=20 Ricardo ------------=_1589397302-20704-1--