all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ekaitz Zarraga <ekaitz@elenq.tech>
To: "39794@debbugs.gnu.org" <39794@debbugs.gnu.org>
Subject: bug#39794: AVR-Toolchain-5 avr/io not found
Date: Wed, 26 Feb 2020 08:44:35 +0000	[thread overview]
Message-ID: <Njc39txIEjQ6O7lDB2nDaOrq-h0nUKskq1P21OqKT8Pzl-c5NVhDW1c9gln13E4cVKfVTsxriWRPSFhXpdLyAf6ZKa8fmPZ7Qkw-9rhZQlM=@elenq.tech> (raw)
In-Reply-To: <I-mxT4KmnM0TbAqtK4PxzrULw5U_nc-p9KeICdpguLfoZ_yd1gHfaUv5aaRYNzbJhMnCB4BpsSgGppr8b9oLSyPpUJezr9vyCwRA2JDLljY=@elenq.tech>

Follow up of the problem:

Looks like what it's missing is `multilib`, avr-gcc-4.9 package description clearly activates multilib and states that in a comment:


(define-public avr-gcc-4.9
  (let ((xgcc (cross-gcc "avr" #:xgcc gcc-4.9 #:xbinutils avr-binutils)))
    (package
      (inherit xgcc)
      (name "avr-gcc")
      (arguments
       (substitute-keyword-arguments (package-arguments xgcc)
         ((#:phases phases)
          `(modify-phases ,phases
             ;; Without a working multilib build, the resulting GCC lacks
             ;; support for nearly every AVR chip.
             (add-after 'unpack 'fix-genmultilib
               (lambda _
                 ;; patch-shebang doesn't work here because there are actually
                 ;; several scripts inside this script, each with a #!/bin/sh
                 ;; that needs patching.
                 (substitute* "gcc/genmultilib"
                   (("#!/bin/sh") (string-append "#!" (which "sh"))))
                 #t))))
         ((#:configure-flags flags)
          `(delete "--disable-multilib" ,flags))))
...


But looks like the avr-gcc-5.5, which is just inheriting the same description, is not able to create the multilib.
Any idea about why?

I think once we solve that we could have a reasonable avr-toolchain and also go for newer versions.

Regards,

Ekaitz


ElenQ Technology
Ethical Innovation

  reply	other threads:[~2020-02-26  8:46 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-25 22:12 bug#39794: AVR-Toolchain-5 avr/io not found Ekaitz Zarraga
2020-02-26  8:44 ` Ekaitz Zarraga [this message]
2020-02-28 22:42   ` Ekaitz Zarraga
2020-02-29 15:06     ` Arun Isaac
2020-02-29 15:46       ` Ekaitz Zarraga
2020-02-29 15:58         ` Ekaitz Zarraga
2020-02-29 19:14         ` Arun Isaac
2020-02-29 19:26           ` Ekaitz Zarraga
2020-02-29 20:42             ` Arun Isaac
2020-02-29 21:19               ` Ekaitz Zarraga
2020-03-01  7:07                 ` Arun Isaac

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='Njc39txIEjQ6O7lDB2nDaOrq-h0nUKskq1P21OqKT8Pzl-c5NVhDW1c9gln13E4cVKfVTsxriWRPSFhXpdLyAf6ZKa8fmPZ7Qkw-9rhZQlM=@elenq.tech' \
    --to=ekaitz@elenq.tech \
    --cc=39794@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.