From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arun Isaac Subject: bug#39794: AVR-Toolchain-5 avr/io not found Date: Sun, 01 Mar 2020 12:37:35 +0530 Message-ID: References: <8-mv7qVc3d25SUttosRz1Kv28rGlUBHVbzOVM08cdZOa6K9O6e8RVgQFGnwI1Mh1MW2IlaqwgaBYP3W8gqMHzn8_kGzxpuwRvDfPO-0alAo=@elenq.tech> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:38169) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j8Iho-0008EB-A4 for bug-guix@gnu.org; Sun, 01 Mar 2020 02:08:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j8Ihn-00046S-Bg for bug-guix@gnu.org; Sun, 01 Mar 2020 02:08:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:57981) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j8Ihm-00046H-FW for bug-guix@gnu.org; Sun, 01 Mar 2020 02:08:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j8Ihm-0004V5-9L for bug-guix@gnu.org; Sun, 01 Mar 2020 02:08:02 -0500 Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Message-ID: In-Reply-To: List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org Sender: "bug-Guix" To: Ekaitz Zarraga Cc: 39794-done@debbugs.gnu.org --=-=-= Content-Type: text/plain >> arm-none-eabi-toolchain is conflicting with avr-toolchain since both are >> setting the CROSS_* environment variables. See the output of `avr-gcc -E -v -` below. >> >> This should probably be considered a bug. But I have no idea how to fix >> this. :-( What do you think? > > I agree. The problem I see here is the environment variable game we have here. > One option is to create cross compilers with the include paths inserted on them instead of taking environment variables as a default. Or, we could have separate environment variables CROSS_AVR_C_INCLUDE_PATH and CROSS_ARM_C_INCLUDE_PATH. But that sounds like too many environment variables! :-P > If they had the correct directories in their default includepaths > everything would work correctly. > > I never did this before but it should be possible, probably affecting > cross-gcc's configure step. Something like this is possible too. > We can start by pushing it and then keep solving the conflict issue > and the upgrades to gcc-9. Agreed. >> Also, our avr-gcc package should probably be updated to the latest >> avr-gcc-9. > > Once the current fix is applied next fixes should be possible. > Why wasn't the patch included in the project? I don't know. I have asked Danny at bug 24416 to push the patch. Let's wait for a response. Once Danny's patch is pushed, I'll open a new bug reporting the arm avr conflict. Also, I'm closing this bug report now since this issue is handled by 24416. Thanks! :-) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEf3MDQ/Lwnzx3v3nTLiXui2GAK7MFAl5bXzcACgkQLiXui2GA K7NLqAf9HMUBEiLvg2bvllufZ2BD/c1lKgW4aLDYhjTQs3gYUYUTyxTzodng72GV llzgpa3Gr+NHk4iR2HeHltptkiBsRKM7QyPv+yMYD9LydVDicgFlY9a+1jELsBf8 l8ZrkpSTSjSYVbyWlFkDzDm2GEaVqQ2hCAmyim5+OclOo2yoCzc/5iwj6Q9ieR1m +nV8KUIQTtPsSl7P7sjXsujVk3fcbY9qp3AS66IEnguh7hE+LK6d9hN7YRorvH98 UXw9MbodPkZuPjMPNeVTInLc22gOkvVqrJ56j5qV9YOWRoCeVEYQc4FXVfLthugb VteLrmu2GtRd6FoMFKuF0c4gCRoi5w== =tx4A -----END PGP SIGNATURE----- --=-=-=--