From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thompson, David" Subject: bug#24416: avr-gcc@5 is broken Date: Sun, 11 Sep 2016 19:23:05 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57577) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjE7X-0004bd-3Y for bug-guix@gnu.org; Sun, 11 Sep 2016 19:25:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bjE7S-0008Rl-SX for bug-guix@gnu.org; Sun, 11 Sep 2016 19:25:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:59131) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjE7S-0008Rh-PP for bug-guix@gnu.org; Sun, 11 Sep 2016 19:25:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bjE7S-0005be-Ir for bug-guix@gnu.org; Sun, 11 Sep 2016 19:25:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57533) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjE6x-0004bF-0H for bug-guix@gnu.org; Sun, 11 Sep 2016 19:24:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bjE6t-0008Mu-Qw for bug-guix@gnu.org; Sun, 11 Sep 2016 19:24:30 -0400 Received: from mail-vk0-f41.google.com ([209.85.213.41]:34527) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjE6t-0008Ju-Lb for bug-guix@gnu.org; Sun, 11 Sep 2016 19:24:27 -0400 Received: by mail-vk0-f41.google.com with SMTP id v189so112216583vkv.1 for ; Sun, 11 Sep 2016 16:24:06 -0700 (PDT) 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.org@gnu.org Sender: "bug-Guix" To: 24416@debbugs.gnu.org avr-gcc cannot find device-specific libraries when compiling, which from my reading is due to a problem with multilib. However, avr-gcc@4 works fine! avr-gcc -O2 -DF_CPU=16000000UL -mmcu=atmega32u4 test.c -o test avr-ld: cannot find -lm avr-ld: cannot find -lc avr-ld: cannot find -latmega32u4 collect2: error: ld returned 1 exit status The libraries in question here are located within /gnu/store/...-avr-libc-2.0.0/avr/lib/avr5 but avr-gcc is only searching within /avr/lib. For now, I'm just using avr-gcc@4 and moving on with life. - Dave