unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#62779: avr-gcc fails after upgrade to gcc 10
@ 2023-04-11 18:43 Kristian Lein-Mathisen
  2023-10-04  2:26 ` Maxim Cournoyer
  0 siblings, 1 reply; 2+ messages in thread
From: Kristian Lein-Mathisen @ 2023-04-11 18:43 UTC (permalink / raw)
  To: 62779

[-- Attachment #1: Type: text/plain, Size: 881 bytes --]

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

I've been reading https://issues.guix.gnu.org/39918 and I think it may be
causing the problem. It seems that resulted in commit
197c1676d3733f6d8ce30bdc9977ba731b33ec71 (avr-libc going from function to
package) which seems to revert part of what's been done
in 4d2470b0efb399ad974e2a764db685e952b94323 (avr-libc going from package to
function).

I'm hoping would be kind enough to look into this.
Thank you,
Kris

[-- Attachment #2: Type: text/html, Size: 1318 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#62779: avr-gcc fails after upgrade to gcc 10
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Maxim Cournoyer @ 2023-10-04  2:26 UTC (permalink / raw)
  To: Kristian Lein-Mathisen; +Cc: 62779-done

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




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-10-04  2:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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

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).