unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: Kristian Lein-Mathisen <kristianlein@gmail.com>
Cc: 62779-done@debbugs.gnu.org
Subject: bug#62779: avr-gcc fails after upgrade to gcc 10
Date: Tue, 03 Oct 2023 22:26:36 -0400	[thread overview]
Message-ID: <878r8j5dib.fsf@gmail.com> (raw)
In-Reply-To: <CAAGQtHxjSfVOYt7y1_1JUtmSfJotWALXZjgA=K=dEBz+ybNfzw@mail.gmail.com> (Kristian Lein-Mathisen's message of "Tue, 11 Apr 2023 20:43:35 +0200")

Hi,

Kristian Lein-Mathisen <kristianlein@gmail.com> writes:

> Hi,
>
> I'm no longer able to compile for attiny85:
>
> klm@pal /tmp ➤ echo '' > test.c
> klm@pal /tmp ➤ avr-gcc -mmcu=attiny85 test.c
> avr-ld: cannot find crtattiny85.o: No such file or directory
> avr-ld: cannot find -lm
> avr-ld: cannot find -lc
> avr-ld: cannot find -lattiny85
> collect2: error: ld returned 1 exit status
>
> I'm currently getting no output for avr-toolchain, which I believe is
> related:
>
>> ls -l $(guix build avr-toolchain)
> total 0

There were some changes recently [0] that means you should now use
'make-avr-toolchain', a procedure, in your manifest to have an
avr-toolchain package.

It was tested working, at least in clean environments (there's a current
caveat with toolchains where you can't use multiple of them in a same
profile in case that's what you were trying to do).

[0] see commit 35c1df5bd6317b1cd038c1a4aca1c7e4a52d4d93

-- 
Thanks,
Maxim




      reply	other threads:[~2023-10-04  2:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-11 18:43 bug#62779: avr-gcc fails after upgrade to gcc 10 Kristian Lein-Mathisen
2023-10-04  2:26 ` Maxim Cournoyer [this message]

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=878r8j5dib.fsf@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=62779-done@debbugs.gnu.org \
    --cc=kristianlein@gmail.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).