* newlib-2.5.0.20170228.tar.gz missing sys/config.h
@ 2017-03-09 18:37 Rian Quinn
2017-03-09 19:20 ` Jeff Johnston
0 siblings, 1 reply; 4+ messages in thread
From: Rian Quinn @ 2017-03-09 18:37 UTC (permalink / raw)
To: newlib
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: newlib-2.5.0.20170228.tar.gz missing sys/config.h
2017-03-09 18:37 newlib-2.5.0.20170228.tar.gz missing sys/config.h Rian Quinn
@ 2017-03-09 19:20 ` Jeff Johnston
2017-03-09 19:24 ` Rian Quinn
0 siblings, 1 reply; 4+ messages in thread
From: Jeff Johnston @ 2017-03-09 19:20 UTC (permalink / raw)
To: Rian Quinn; +Cc: newlib
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: newlib-2.5.0.20170228.tar.gz missing sys/config.h
2017-03-09 19:20 ` Jeff Johnston
@ 2017-03-09 19:24 ` Rian Quinn
2017-03-09 20:11 ` Rian Quinn
0 siblings, 1 reply; 4+ messages in thread
From: Rian Quinn @ 2017-03-09 19:24 UTC (permalink / raw)
To: Jeff Johnston; +Cc: newlib
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: newlib-2.5.0.20170228.tar.gz missing sys/config.h
2017-03-09 19:24 ` Rian Quinn
@ 2017-03-09 20:11 ` Rian Quinn
0 siblings, 0 replies; 4+ messages in thread
From: Rian Quinn @ 2017-03-09 20:11 UTC (permalink / raw)
To: Jeff Johnston; +Cc: newlib
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
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-03-09 20:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-09 18:37 newlib-2.5.0.20170228.tar.gz missing sys/config.h Rian Quinn
2017-03-09 19:20 ` Jeff Johnston
2017-03-09 19:24 ` Rian Quinn
2017-03-09 20:11 ` Rian Quinn
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).