From: ludo@gnu.org (Ludovic Courtès)
To: "Thompson, David" <dthompson2@worcester.edu>
Cc: "guix-devel@gnu.org" <guix-devel@gnu.org>
Subject: Re: avr-gcc
Date: Wed, 13 Apr 2016 22:42:11 +0200 [thread overview]
Message-ID: <87a8kxfdgc.fsf@gnu.org> (raw)
In-Reply-To: <CAJ=RwfY7AKn7nB4UR+K_PyJsXpw-ECR+a=fVrF9UgzdfVeQOeQ@mail.gmail.com> (David Thompson's message of "Tue, 12 Apr 2016 14:21:17 -0400")
"Thompson, David" <dthompson2@worcester.edu> skribis:
> avr-gcc -DHAVE_CONFIG_H -I. -I../../../../avr-libc-2.0.0/avr/lib/avr2
> -I../../.. -I../../../../avr-libc-2.0.0/common
> -I../../../../avr-libc-2.0.0/include -I../../../include
> -I../../../../avr-libc-2.0.0/common
> -I../../../../avr-libc-2.0.0/include -I../../../include -x
> assembler-with-cpp -mmcu=avr2 -D__COMPILING_AVR_LIBC__ -MT abort.o
> -MD -MP -MF .deps/abort.Tpo -c -o abort.o
> ../../../../avr-libc-2.0.0/libc/stdlib/abort.S
> In file included from
> /gnu/store/8m00x5x8ykmar27s9248cmhnkdb2n54a-glibc-2.22/include/features.h:389:0,
> from
> /gnu/store/8m00x5x8ykmar27s9248cmhnkdb2n54a-glibc-2.22/include/limits.h:25,
> from ../../../../avr-libc-2.0.0/libc/stdlib/strtol.c:33:
> /gnu/store/8m00x5x8ykmar27s9248cmhnkdb2n54a-glibc-2.22/include/gnu/stubs.h:7:27:
> fatal error: gnu/stubs-32.h: No such file or directory
> # include <gnu/stubs-32.h>
> ^
> compilation terminated.
<gnu/stubs-32.h> is used when building on a 64-bit glibc system in
32-bit mode. However, our glibc does not provide it currently.
> I don't know why it's including headers from the host system's libc.
Right, that’s a problem. I would expect it to only include target libc
headers. Could you check C_INCLUDE_PATH and CROSS_CPATH in there?
Note that our ‘gcc’ package is modified to honor the special CROSS_CPATH
variable, see gcc-cross-environment-variables.patch. Maybe the
equivalent thing is missing from avr-gcc?
Good that you’re getting there!
Ludo’.
next prev parent reply other threads:[~2016-04-13 20:42 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-17 15:25 avr-gcc Ricardo Wurmus
2015-11-17 15:59 ` avr-gcc Ricardo Wurmus
2015-11-17 21:32 ` avr-gcc Ludovic Courtès
2015-11-18 3:53 ` avr-gcc Thompson, David
2015-11-18 11:03 ` avr-gcc Ludovic Courtès
2015-11-19 1:54 ` avr-gcc Thompson, David
2015-11-20 14:20 ` avr-gcc Ludovic Courtès
2016-04-12 18:21 ` avr-gcc Thompson, David
2016-04-12 20:14 ` avr-gcc Thompson, David
2016-04-13 20:42 ` Ludovic Courtès [this message]
2016-04-14 5:47 ` avr-gcc Jan Nieuwenhuizen
2016-04-14 16:47 ` avr-gcc Ludovic Courtès
2016-04-15 8:09 ` avr-gcc Jan Nieuwenhuizen
2016-04-15 9:01 ` avr-gcc Andy Wingo
2016-04-15 12:44 ` avr-gcc Jan Nieuwenhuizen
2016-04-15 13:13 ` avr-gcc Andy Wingo
2016-04-15 21:06 ` avr-gcc Ludovic Courtès
2016-04-15 21:10 ` avr-gcc Ludovic Courtès
2016-04-16 19:55 ` avr-gcc Jan Nieuwenhuizen
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=87a8kxfdgc.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=dthompson2@worcester.edu \
--cc=guix-devel@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 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).