From: Rian Quinn <rianquinn@gmail.com>
To: Jeff Johnston <jjohnstn@redhat.com>
Cc: newlib@sourceware.org
Subject: Re: newlib-2.5.0.20170228.tar.gz missing sys/config.h
Date: Thu, 09 Mar 2017 20:11:00 -0000 [thread overview]
Message-ID: <8284A753-0B3E-4585-B083-9575F11E8AB2@gmail.com> (raw)
In-Reply-To: <9B03F996-3B72-468B-8382-C596E04402D0@gmail.com>
Ok…. I found the problem.
The repo has a .gitignore that has config.h in it. So when I uploaded the tarball to git, sys/config was ignored.
- Rian
> On Mar 9, 2017, at 12:24 PM, Rian Quinn <rianquinn@gmail.com> wrote:
>
> huh. it was definitely missing on the version I had. This is what I configured with
>
> --target=x86_64-vmm-elf CC_FOR_TARGET=x86_64-vmm-clang CXX_FOR_TARGET=x86_64-vmm-clang++ CFLAGS_FOR_TARGET=\"$CFLAGS -DMALLOC_PROVIDED\" CXXFLAGS_FOR_TARGET=\"$CXXFLAGS\" --prefix=$PWD/sysroot_vmm/ --disable-libgloss --disable-multilib --enable-newlib-multithread --enable-newlib-iconv --disable-newlib-supplied-syscalls
>
> it gets through configuring fine, but dies on the first file it tries to compile with the file missing.
>
> - Rian
>
>> On Mar 9, 2017, at 12:19 PM, Jeff Johnston <jjohnstn@redhat.com> wrote:
>>
>> I just untarred the tar file from the ftp site:
>>
>> [jjohnstn@localhost sys]$ pwd
>> /home/jjohnstn/tmp/newlib-2.5.0.20170228/newlib/libc/include/sys
>> [jjohnstn@localhost sys]$ ls
>> cdefs.h features.h queue.h _stdint.h timespec.h
>> config.h file.h reent.h stdio.h _timeval.h
>> custom_file.h iconvnls.h resource.h string.h tree.h
>> _default_fcntl.h _intsup.h sched.h syslimits.h _types.h
>> dirent.h _locale.h select.h timeb.h types.h
>> dir.h lock.h signal.h time.h unistd.h
>> errno.h param.h _sigset.h times.h utime.h
>> fcntl.h _pthreadtypes.h stat.h _timespec.h wait.h
>>
>> The source file is still there. How did you configure and build and what was the
>> compile command that caused the error? Perhaps there is a configuration error
>> introduced.
>>
>> -- Jeff J.
>>
>> ----- Original Message -----
>>> sys/config.h is completely missing, so attempting to compile it results total
>>> chaos. This was not an issue with the previous version.
>>>
>>> /home/user/new_hypervisor/source_newlib/newlib/libc/include/_ansi.h:16:10:
>>> fatal error: 'sys/config.h' file not found
>>> #include <sys/config.h>
>>>
>>> - Rian
>
prev parent reply other threads:[~2017-03-09 20:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-09 18:37 Rian Quinn
2017-03-09 19:20 ` Jeff Johnston
2017-03-09 19:24 ` Rian Quinn
2017-03-09 20:11 ` Rian Quinn [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8284A753-0B3E-4585-B083-9575F11E8AB2@gmail.com \
--to=rianquinn@gmail.com \
--cc=jjohnstn@redhat.com \
--cc=newlib@sourceware.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.
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).