Giter Site home page Giter Site logo

cross-hurd's People

Contributors

flavioc avatar sthibaul avatar z3ntu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

cross-hurd's Issues

Initial setup: no root password asked, passwd complains

In the initial setup script, passwd is called for entering a root password (at least I think the script tries to do this). However, the setup script doesn't wait and just continues. passwd complains about a too short password, but accepts what's being done at that stage. The setup continues and reboots in the new system. At the end the login prompt is given and one can login as root with an empty password.

I don't think the script works here as intended, but I can be mistaken.

Expected solution: setup script waits for the user to enter a root password and passwd can set that. After that the setup script continues.

bootstrap.sh: fatal error: pthread.h: No such file or directory

i586-pc-gnu-gcc -B/cross-tools/bin/ setup-thread.c -c -std=gnu11 -fgnu89-inline  -O2 -Wall -Wundef -Wwrite-strings -fmerge-all-constants -frounding-math -g -Wno-parentheses -Wstrict-prototypes -Wold-style-definition     -ftls-model=initial-exec      -I../include -I/mnt/store/Data/VM/hurd/crosshurd/cross-hurd/tmp/src/glibc.first_obj/mach  -I/mnt/store/Data/VM/hurd/crosshurd/cross-hurd/tmp/src/glibc.first_obj  -I../libpthread/sysdeps/mach/hurd/i386  -I../sysdeps/mach/hurd/i386  -I../libpthread/sysdeps/mach/hurd  -I../libpthread/sysdeps/hurd  -I../libpthread/sysdeps/pthread  -I../sysdeps/pthread  -I../sysdeps/mach/hurd  -I../sysdeps/gnu  -I../sysdeps/unix/bsd  -I../sysdeps/unix/inet  -I../sysdeps/mach/i386  -I../libpthread/sysdeps/mach  -I../sysdeps/mach  -I../sysdeps/i386/i586  -I../sysdeps/i386/fpu  -I../sysdeps/x86/fpu/include -I../sysdeps/x86/fpu  -I../libpthread/sysdeps/i386  -I../sysdeps/i386  -I../sysdeps/x86  -I../sysdeps/wordsize-32  -I../sysdeps/ieee754/ldbl-96  -I../sysdeps/ieee754/dbl-64  -I../sysdeps/ieee754/flt-32  -I../sysdeps/unix  -I../sysdeps/posix  -I../libpthread/sysdeps/posix  -I../sysdeps/ieee754  -I../sysdeps/generic  -I../libpthread -I../hurd -I/mnt/store/Data/VM/hurd/crosshurd/cross-hurd/tmp/src/glibc.first_obj/hurd/ -I../mach -I/mnt/store/Data/VM/hurd/crosshurd/cross-hurd/tmp/src/glibc.first_obj/mach/ -I.. -I../libio -I. -nostdinc -isystem /mnt/store/Data/VM/hurd/crosshurd/cross-hurd/tmp/cross-tools/bin/../lib/gcc/i586-pc-gnu/6.4.0/include -isystem /mnt/store/Data/VM/hurd/crosshurd/cross-hurd/tmp/cross-tools/bin/../lib/gcc/i586-pc-gnu/6.4.0/include-fixed -isystem /tools/include  -D_LIBC_REENTRANT -include /mnt/store/Data/VM/hurd/crosshurd/cross-hurd/tmp/src/glibc.first_obj/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h       -o /mnt/store/Data/VM/hurd/crosshurd/cross-hurd/tmp/src/glibc.first_obj/mach/setup-thread.o -MD -MP -MF /mnt/store/Data/VM/hurd/crosshurd/cross-hurd/tmp/src/glibc.first_obj/mach/setup-thread.o.dt -MT /mnt/store/Data/VM/hurd/crosshurd/cross-hurd/tmp/src/glibc.first_obj/mach/setup-thread.o
In file included from ../libpthread/sysdeps/pthread/libc-lockP.h:22:0,
                 from ../sysdeps/mach/libc-lock.h:227,
                 from ../include/link.h:46,
                 from ../include/dlfcn.h:4,
                 from ../sysdeps/generic/ldsodefs.h:32,
                 from ../sysdeps/i386/ldsodefs.h:39,
                 from ../sysdeps/gnu/ldsodefs.h:46,
                 from setup-thread.c:22:
../include/pthread.h:1:26: fatal error: pthread.h: No such file or directory
 #include_next <pthread.h>
                          ^
compilation terminated.
make[2]: *** [../o-iterator.mk:9: /mnt/store/Data/VM/hurd/crosshurd/cross-hurd/tmp/src/glibc.first_obj/mach/setup-thread.o] Error 1
make[2]: Leaving directory '/mnt/store/Data/VM/hurd/crosshurd/cross-hurd/tmp/src/glibc/mach'
make[1]: *** [Makefile:214: mach/subdir_lib] Error 2
make[1]: Leaving directory '/mnt/store/Data/VM/hurd/crosshurd/cross-hurd/tmp/src/glibc'
make: *** [Makefile:9: all] Error 2

Cannot log in

On first boot I'm asked for a password which I enter.

After the reboot, entering the correct password for root yields:

"login: Authentication Failure: Operation not permitted"

Entering a wrong password yields:

"login: Invalid Password"

Running without root

The bootstrap stage works fine without root when you prepend these 3 lines with sudo.

The compile stage fails at the install_gnumach section because the --exec-prefix= instruction tells gnumach to install to /boot (specifically $exec_prefix/boot/gnumach gets created).
The next part is install_hurd where the Makefiles try to run chown /tools/libexec/_inst.12345_ but fails.

List of dependencies

A full list of dependencies would be nice.

very incomplete list:
grub-pc-bin kpartx

Boot stuck at Loading Hurd...

I've followed the instructions in the README, but the boot appears to be stuck. grub comes up, and Mach starts, but then it remains on the following output:

  Booting `GNU'      
                     
Loading GNU Mach     
Loading the Hurd ... 

Any Idea what I could try to debug this?

Compiling first glibc fails the first time

Yes.
There is a small problem during bootstrap (same as #1 (comment)). However, if you edit the bootstrap.sh script to only run compile_first_glibc && compile_full_gcc && compile_second_glibc, everything will magically compile. I'm still trying to figure out why it does not compile on the first attempt.

After that, it should be a smooth ride.

error: invalid conversion from ‘const char*’ to ‘char*’

gentoolaptop /home/nathan/mount/NFS/Data/VM/hurd/crosshurd/cross-hurd # bash bootstrap.sh

  • Root is /cross-tools
  • Cross-compiling on x86_64-cross-linux-gnu to i586-pc-gnu
  • Cross compiling binutils
    configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
    checking build system type... x86_64-pc-linux-gnu
    checking host system type... x86_64-cross-linux-gnu
    checking target system type... i586-pc-gnu
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether ln works... yes
    checking whether ln -s works... yes
    checking for a sed that does not truncate output... /bin/sed
    checking for gawk... gawk
    checking for x86_64-cross-linux-gnu-gcc... x86_64-pc-linux-gnu-g++
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
    checking for x86_64-pc-linux-gnu-g++ option to accept ISO C89... unsupported
    checking whether we are using the GNU C++ compiler... yes
    checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
    checking whether g++ accepts -static-libstdc++ -static-libgcc... yes
    checking for x86_64-cross-linux-gnu-gnatbind... no
    checking for gnatbind... no
    checking for x86_64-cross-linux-gnu-gnatmake... no
    checking for gnatmake... no
    checking whether compiler driver understands Ada... no
    checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2
    checking for objdir... .libs
    checking for isl 0.16, 0.15, or deprecated 0.14... no
    recommended isl version is 0.16 or 0.15, the minimum required isl version 0.14 is deprecated
    checking for isl 0.16 or 0.15... no
    checking for default BUILD_CONFIG...
    checking for --enable-vtable-verify... no
    checking for bison... bison -y
    checking for bison... bison
    checking for gm4... no
    checking for gnum4... no
    checking for m4... m4
    checking for flex... flex
    checking for flex... flex
    checking for makeinfo... makeinfo
    checking for expect... no
    checking for runtest... no
    checking for ar... (cached) x86_64-linux-gnu-ar
    checking for x86_64-cross-linux-gnu-ar... (cached) x86_64-linux-gnu-ar
    checking for as... (cached) x86_64-linux-gnu-as
    checking for x86_64-cross-linux-gnu-as... (cached) x86_64-linux-gnu-as
    checking for x86_64-cross-linux-gnu-dlltool... no
    checking for ld... (cached) /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld
    checking for x86_64-cross-linux-gnu-ld... (cached) /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld
    checking for x86_64-cross-linux-gnu-lipo... no
    checking for x86_64-cross-linux-gnu-nm... no
    checking for x86_64-cross-linux-gnu-ranlib... no
    checking for x86_64-cross-linux-gnu-strip... no
    checking for x86_64-cross-linux-gnu-windres... no
    checking for x86_64-cross-linux-gnu-windmc... no
    checking for x86_64-cross-linux-gnu-objcopy... no
    checking for x86_64-cross-linux-gnu-objdump... no
    checking for x86_64-cross-linux-gnu-readelf... no
    checking for i586-pc-gnu-cc... no
    checking for i586-pc-gnu-gcc... no
    checking for i586-pc-gnu-c++... no
    checking for i586-pc-gnu-g++... no
    checking for i586-pc-gnu-cxx... no
    checking for i586-pc-gnu-gxx... no
    checking for i586-pc-gnu-gcc... no
    checking for i586-pc-gnu-gcj... no
    checking for i586-pc-gnu-gfortran... no
    checking for i586-pc-gnu-gccgo... no
    checking for i586-pc-gnu-ar... no
    checking for i586-pc-gnu-as... no
    checking for i586-pc-gnu-dlltool... no
    checking for i586-pc-gnu-ld... no
    checking for i586-pc-gnu-lipo... no
    checking for i586-pc-gnu-nm... no
    checking for i586-pc-gnu-objcopy... no
    checking for i586-pc-gnu-objdump... no
    checking for i586-pc-gnu-ranlib... no
    checking for i586-pc-gnu-readelf... no
    checking for i586-pc-gnu-strip... no
    checking for i586-pc-gnu-windres... no
    checking for i586-pc-gnu-windmc... no
    checking where to find the target ar... pre-installed
    checking where to find the target as... pre-installed
    checking where to find the target cc... pre-installed
    checking where to find the target c++... pre-installed
    checking where to find the target c++ for libstdc++... pre-installed
    checking where to find the target dlltool... pre-installed
    checking where to find the target gcc... pre-installed
    checking where to find the target gcj... pre-installed
    checking where to find the target gfortran... pre-installed
    checking where to find the target gccgo... pre-installed
    checking where to find the target ld... pre-installed
    checking where to find the target lipo... pre-installed
    checking where to find the target nm... pre-installed
    checking where to find the target objcopy... pre-installed
    checking where to find the target objdump... pre-installed
    checking where to find the target ranlib... pre-installed
    checking where to find the target readelf... pre-installed
    checking where to find the target strip... pre-installed
    checking where to find the target windres... pre-installed
    checking where to find the target windmc... pre-installed
    checking whether to enable maintainer-specific portions of Makefiles... no
    configure: creating ./config.status
    config.status: creating Makefile
    make: Warning: File 'Makefile' has modification time 35 s in the future
    make[1]: Entering directory '/home/nathan/mount/NFS/Data/VM/hurd/crosshurd/cross-hurd/tmp/src/binutils-2.28.obj'
    make[1]: Warning: File 'Makefile' has modification time 35 s in the future
    mkdir -p -- ./libiberty
    Configuring in ./libiberty
    configure: creating cache ./config.cache
    checking whether to enable maintainer-specific portions of Makefiles... no
    checking for makeinfo... makeinfo --split-size=5000000
    checking for perl... perl
    checking build system type... x86_64-pc-linux-gnu
    checking host system type... x86_64-cross-linux-gnu
    checking for x86_64-cross-linux-gnu-ar... x86_64-linux-gnu-ar
    checking for x86_64-cross-linux-gnu-ranlib... true
    checking whether to install libiberty headers and static library... no
    configure: target_header_dir =
    checking for x86_64-cross-linux-gnu-gcc... x86_64-pc-linux-gnu-g++
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... yes
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
    checking for x86_64-pc-linux-gnu-g++ option to accept ISO C89... unsupported
    checking how to run the C preprocessor... x86_64-pc-linux-gnu-g++ -E
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking minix/config.h usability... no
    checking minix/config.h presence... no
    checking for minix/config.h... no
    checking whether it is safe to define EXTENSIONS... yes
    checking for special C compiler options needed for large files... no
    checking for _FILE_OFFSET_BITS value needed for large files... no
    checking whether x86_64-pc-linux-gnu-g++ supports -W... yes
    checking whether x86_64-pc-linux-gnu-g++ supports -Wall... yes
    checking whether x86_64-pc-linux-gnu-g++ supports -Wwrite-strings... yes
    checking whether x86_64-pc-linux-gnu-g++ supports -Wc++-compat... yes
    checking whether x86_64-pc-linux-gnu-g++ supports -Wstrict-prototypes... yes
    checking whether x86_64-pc-linux-gnu-g++ supports -Wshadow=local... no
    checking whether x86_64-pc-linux-gnu-g++ supports -pedantic ... yes
    checking whether x86_64-pc-linux-gnu-g++ and cc understand -c and -o together... yes
    checking for an ANSI C-conforming const... yes
    checking for inline... inline
    checking whether byte ordering is bigendian... no
    checking for a BSD-compatible install... /usr/bin/install -c
    checking for sys/file.h... yes
    checking for sys/param.h... yes
    checking for limits.h... yes
    checking for stdlib.h... (cached) yes
    checking for malloc.h... yes
    checking for string.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking for strings.h... (cached) yes
    checking for sys/time.h... yes
    checking for time.h... yes
    checking for sys/resource.h... yes
    checking for sys/stat.h... (cached) yes
    checking for sys/mman.h... yes
    checking for fcntl.h... yes
    checking for alloca.h... yes
    checking for sys/pstat.h... no
    checking for sys/sysmp.h... no
    checking for sys/sysinfo.h... yes
    checking for machine/hal_sysinfo.h... no
    checking for sys/table.h... no
    checking for sys/sysctl.h... yes
    checking for sys/systemcfg.h... no
    checking for stdint.h... (cached) yes
    checking for stdio_ext.h... yes
    checking for process.h... no
    checking for sys/prctl.h... yes
    checking for sys/wait.h that is POSIX.1 compatible... yes
    checking whether time.h and sys/time.h may both be included... yes
    checking whether errno must be declared... no
    checking size of int... 4
    checking size of long... 8
    checking size of size_t... 8
    checking for long long... yes
    checking size of long long... 8
    checking for a 64-bit type... uint64_t
    checking for intptr_t... yes
    checking for uintptr_t... yes
    checking for ssize_t... yes
    checking for pid_t... yes
    checking for library containing strerror... none required
    checking for asprintf... yes
    checking for atexit... yes
    checking for basename... yes
    checking for bcmp... yes
    checking for bcopy... yes
    checking for bsearch... yes
    checking for bzero... yes
    checking for calloc... yes
    checking for clock... yes
    checking for ffs... yes
    checking for getcwd... yes
    checking for getpagesize... yes
    checking for gettimeofday... yes
    checking for index... yes
    checking for insque... yes
    checking for memchr... yes
    checking for memcmp... yes
    checking for memcpy... yes
    checking for memmem... yes
    checking for memmove... yes
    checking for mempcpy... yes
    checking for memset... yes
    checking for mkstemps... yes
    checking for putenv... yes
    checking for random... yes
    checking for rename... yes
    checking for rindex... yes
    checking for setenv... yes
    checking for snprintf... yes
    checking for sigsetmask... yes
    checking for stpcpy... yes
    checking for stpncpy... yes
    checking for strcasecmp... yes
    checking for strchr... yes
    checking for strdup... yes
    checking for strncasecmp... yes
    checking for strndup... yes
    checking for strnlen... yes
    checking for strrchr... yes
    checking for strstr... yes
    checking for strtod... yes
    checking for strtol... yes
    checking for strtoul... yes
    checking for strtoll... yes
    checking for strtoull... yes
    checking for strverscmp... yes
    checking for tmpnam... yes
    checking for vasprintf... yes
    checking for vfprintf... yes
    checking for vprintf... yes
    checking for vsnprintf... yes
    checking for vsprintf... yes
    checking for waitpid... yes
    checking for setproctitle... no
    checking whether alloca needs Cray hooks... no
    checking stack direction for C alloca... 0
    checking for vfork.h... no
    checking for fork... yes
    checking for vfork... yes
    checking for working fork... cross
    configure: WARNING: result yes guessed because of cross compilation
    checking for working vfork... (cached) yes
    checking for _doprnt... no
    checking for sys_errlist... yes
    checking for sys_nerr... yes
    checking for sys_siglist... yes
    checking for external symbol _system_configuration... no
    checking for __fsetlocking... yes
    checking for canonicalize_file_name... yes
    checking for dup3... yes
    checking for getrlimit... yes
    checking for getrusage... yes
    checking for getsysinfo... no
    checking for gettimeofday... (cached) yes
    checking for on_exit... yes
    checking for psignal... yes
    checking for pstat_getdynamic... no
    checking for pstat_getstatic... no
    checking for realpath... yes
    checking for setrlimit... yes
    checking for sbrk... yes
    checking for spawnve... no
    checking for spawnvpe... no
    checking for strerror... yes
    checking for strsignal... yes
    checking for sysconf... yes
    checking for sysctl... yes
    checking for sysmp... no
    checking for table... no
    checking for times... yes
    checking for wait3... yes
    checking for wait4... yes
    checking whether basename is declared... yes
    checking whether ffs is declared... yes
    checking whether asprintf is declared... yes
    checking whether vasprintf is declared... yes
    checking whether snprintf is declared... yes
    checking whether vsnprintf is declared... yes
    checking whether calloc is declared... yes
    checking whether getenv is declared... yes
    checking whether getopt is declared... yes
    checking whether malloc is declared... yes
    checking whether realloc is declared... yes
    checking whether sbrk is declared... yes
    checking whether strtol is declared... yes
    checking whether strtoul is declared... yes
    checking whether strtoll is declared... yes
    checking whether strtoull is declared... yes
    checking whether strverscmp is declared... yes
    checking whether canonicalize_file_name must be declared... no
    checking for stdlib.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking for getpagesize... (cached) yes
    checking for working mmap... no
    checking for working strncmp... yes
    configure: updating cache ./config.cache
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating testsuite/Makefile
    config.status: creating config.h
    config.status: executing default commands
    mkdir -p -- ./intl
    Configuring in ./intl
    configure: creating cache ./config.cache
    checking whether make sets $(MAKE)... yes
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether NLS is requested... no
    checking for msgfmt... /usr/bin/msgfmt
    checking for gmsgfmt... /usr/bin/gmsgfmt
    checking for xgettext... /usr/bin/xgettext
    checking for msgmerge... /usr/bin/msgmerge
    checking for x86_64-cross-linux-gnu-gcc... x86_64-pc-linux-gnu-g++
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... yes
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
    checking for x86_64-pc-linux-gnu-g++ option to accept ISO C89... unsupported
    checking build system type... x86_64-pc-linux-gnu
    checking host system type... x86_64-cross-linux-gnu
    checking for x86_64-cross-linux-gnu-ranlib... true
    checking for library containing strerror... none required
    checking how to run the C preprocessor... x86_64-pc-linux-gnu-g++ -E
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for ANSI C header files... yes
    checking for an ANSI C-conforming const... yes
    checking for inline... inline
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for off_t... yes
    checking for size_t... yes
    checking for working alloca.h... yes
    checking for alloca... yes
    checking for stdlib.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking for getpagesize... yes
    checking for working mmap... no
    checking whether we are using the GNU C Library 2.1 or newer... yes
    checking whether integer division by zero raises SIGFPE... guessing no
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unsigned long long... yes
    checking for inttypes.h... yes
    checking whether the inttypes.h PRIxNN macros are broken... no
    checking for ld used by GCC... /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld
    checking if the linker (/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
    checking for shared library run path origin... done
    checking argz.h usability... yes
    checking argz.h presence... yes
    checking for argz.h... yes
    checking limits.h usability... yes
    checking limits.h presence... yes
    checking for limits.h... yes
    checking locale.h usability... yes
    checking locale.h presence... yes
    checking for locale.h... yes
    checking nl_types.h usability... yes
    checking nl_types.h presence... yes
    checking for nl_types.h... yes
    checking malloc.h usability... yes
    checking malloc.h presence... yes
    checking for malloc.h... yes
    checking stddef.h usability... yes
    checking stddef.h presence... yes
    checking for stddef.h... yes
    checking for stdlib.h... (cached) yes
    checking for string.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking sys/param.h usability... yes
    checking sys/param.h presence... yes
    checking for sys/param.h... yes
    checking for feof_unlocked... yes
    checking for fgets_unlocked... yes
    checking for getc_unlocked... yes
    checking for getcwd... yes
    checking for getegid... yes
    checking for geteuid... yes
    checking for getgid... yes
    checking for getuid... yes
    checking for mempcpy... yes
    checking for munmap... yes
    checking for putenv... yes
    checking for setenv... yes
    checking for setlocale... yes
    checking for stpcpy... yes
    checking for strcasecmp... yes
    checking for strdup... yes
    checking for strtoul... yes
    checking for tsearch... yes
    checking for __argz_count... yes
    checking for __argz_stringify... yes
    checking for __argz_next... yes
    checking for __fsetlocking... yes
    checking for iconv... yes
    checking for iconv declaration... install-shextern size_t iconv (iconv_t cd, char * inbuf, size_t inbytesleft, char * outbuf, size_t outbytesleft);
    checking for nl_langinfo and CODESET... yes
    checking for LC_MESSAGES... yes
    checking for bison... bison
    checking version of bison... 3.0.4, ok
    checking whether NLS is requested... no
    checking whether to use NLS... no
    checking for aclocal... aclocal
    checking for autoconf... autoconf
    checking for autoheader... autoheader
    configure: updating cache ./config.cache
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating config.intl
    config.status: creating config.h
    config.status: executing default-1 commands
    mkdir -p -- ./bfd
    Configuring in ./bfd
    configure: creating cache ./config.cache
    checking build system type... x86_64-pc-linux-gnu
    checking host system type... x86_64-cross-linux-gnu
    checking target system type... i586-pc-gnu
    checking for x86_64-cross-linux-gnu-gcc... x86_64-pc-linux-gnu-g++
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... yes
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
    checking for x86_64-pc-linux-gnu-g++ option to accept ISO C89... unsupported
    checking for library containing strerror... none required
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for x86_64-cross-linux-gnu-strip... no
    checking for strip... strip
    configure: WARNING: using cross tools not prefixed with host triplet
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking for style of include used by make... GNU
    checking dependency style of x86_64-pc-linux-gnu-g++... gcc3
    checking for x86_64-cross-linux-gnu-ar... x86_64-linux-gnu-ar
    checking for x86_64-cross-linux-gnu-ranlib... true
    checking for x86_64-cross-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-g++
    checking whether we are using the GNU C compiler... (cached) yes
    checking whether x86_64-pc-linux-gnu-g++ accepts -g... (cached) yes
    checking for x86_64-pc-linux-gnu-g++ option to accept ISO C89... (cached) unsupported
    checking how to run the C preprocessor... x86_64-pc-linux-gnu-g++ -E
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking minix/config.h usability... no
    checking minix/config.h presence... no
    checking for minix/config.h... no
    checking whether it is safe to define EXTENSIONS... yes
    checking how to print strings... printf
    checking for a sed that does not truncate output... /bin/sed
    checking for fgrep... /bin/grep -F
    checking for ld used by x86_64-pc-linux-gnu-g++... /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld
    checking if the linker (/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... x86_64-cross-linux-gnu-nm
    checking the name lister (x86_64-cross-linux-gnu-nm) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking whether the shell understands some XSI constructs... yes
    checking whether the shell understands "+="... yes
    checking for /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
    checking for x86_64-cross-linux-gnu-objdump... x86_64-cross-linux-gnu-objdump
    checking how to recognize dependent libraries... pass_all
    checking for x86_64-cross-linux-gnu-ar... (cached) x86_64-linux-gnu-ar
    checking for x86_64-cross-linux-gnu-strip... strip
    checking for x86_64-cross-linux-gnu-ranlib... (cached) true
    checking command to parse x86_64-cross-linux-gnu-nm output from x86_64-pc-linux-gnu-g++ object... failed
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if x86_64-pc-linux-gnu-g++ supports -fno-rtti -fno-exceptions... yes
    checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC -DPIC
    checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes
    checking if x86_64-pc-linux-gnu-g++ static flag -static works... yes
    checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes
    checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... (cached) yes
    checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking for shl_load... no
    checking for shl_load in -ldld... no
    checking for dlopen... no
    checking for dlopen in -ldl... yes
    checking whether a program can dlopen itself... cross
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... no
    checking whether to build static libraries... yes
    checking for dlfcn.h... (cached) yes
    checking for windows.h... no
    checking for library containing dlopen... -ldl
    checking for special C compiler options needed for large files... no
    checking for _FILE_OFFSET_BITS value needed for large files... no
    Setting warning flags = -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144
    checking whether to enable maintainer-specific portions of Makefiles... no
    checking whether to install libbfd... no
    checking whether NLS is requested... no
    checking whether NLS is requested... no
    checking for msgfmt... /usr/bin/msgfmt
    checking for gmsgfmt... /usr/bin/gmsgfmt
    checking for xgettext... /usr/bin/xgettext
    checking for msgmerge... /usr/bin/msgmerge
    checking size of long long... 8
    checking size of void ... 8
    checking size of long... 8
    checking for build system executable suffix... no
    checking alloca.h usability... yes
    checking alloca.h presence... yes
    checking for alloca.h... yes
    checking stddef.h usability... yes
    checking stddef.h presence... yes
    checking for stddef.h... yes
    checking for string.h... (cached) yes
    checking for strings.h... (cached) yes
    checking for stdlib.h... (cached) yes
    checking time.h usability... yes
    checking time.h presence... yes
    checking for time.h... yes
    checking for unistd.h... (cached) yes
    checking wchar.h usability... yes
    checking wchar.h presence... yes
    checking for wchar.h... yes
    checking wctype.h usability... yes
    checking wctype.h presence... yes
    checking for wctype.h... yes
    checking fcntl.h usability... yes
    checking fcntl.h presence... yes
    checking for fcntl.h... yes
    checking sys/file.h usability... yes
    checking sys/file.h presence... yes
    checking for sys/file.h... yes
    checking sys/time.h usability... yes
    checking sys/time.h presence... yes
    checking for sys/time.h... yes
    checking for sys/stat.h... (cached) yes
    checking sys/resource.h usability... yes
    checking sys/resource.h presence... yes
    checking for sys/resource.h... yes
    looking for a compliant stdint.h in stdint.h, checking for uintmax_t... yes
    checking for uintptr_t... yes
    checking for int_least32_t... yes
    checking for int_fast32_t... yes
    checking for uint64_t... yes
    checking what to include in bfd_stdint.h... stdint.h (already complete)
    checking whether time.h and sys/time.h may both be included... yes
    checking for dirent.h that defines DIR... yes
    checking for library containing opendir... none required
    checking whether string.h and strings.h may both be included... yes
    checking for fcntl... yes
    checking for getpagesize... yes
    checking for setitimer... yes
    checking for sysconf... yes
    checking for fdopen... yes
    checking for getuid... yes
    checking for getgid... yes
    checking for fileno... yes
    checking for strtoull... yes
    checking for getrlimit... yes
    checking whether basename is declared... no
    checking whether ftello is declared... yes
    checking whether ftello64 is declared... yes
    checking whether fseeko is declared... yes
    checking whether fseeko64 is declared... yes
    checking whether ffs is declared... yes
    checking whether free is declared... yes
    checking whether getenv is declared... yes
    checking whether malloc is declared... yes
    checking whether realloc is declared... yes
    checking whether stpcpy is declared... yes
    checking whether strstr is declared... no
    checking whether asprintf is declared... yes
    checking whether vasprintf is declared... yes
    checking whether snprintf is declared... yes
    checking whether vsnprintf is declared... yes
    checking whether strnlen is declared... yes
    checking linker --as-needed support... yes
    checking for cos in -lm... yes
    checking for gcc version with buggy 64-bit support... no
    checking for ftello... yes
    checking for ftello64... yes
    checking for fseeko... yes
    checking for fseeko64... yes
    checking for fopen64... yes
    checking size of off_t... 8
    checking file_ptr type... BFD_HOST_64_BIT
    checking for stdlib.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking for getpagesize... (cached) yes
    checking for working mmap... no
    checking for madvise... yes
    checking for mprotect... yes
    configure: updating cache ./config.cache
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating doc/Makefile
    config.status: creating bfd-in3.h
    config.status: creating po/Makefile.in
    config.status: creating config.h
    config.status: executing depfiles commands
    config.status: executing libtool commands
    config.status: executing default-1 commands
    config.status: executing bfd_stdint.h commands
    config.status: executing default commands
    make[2]: Entering directory '/home/nathan/mount/NFS/Data/VM/hurd/crosshurd/cross-hurd/tmp/src/binutils-2.28.obj/libiberty'
    if [ x"" != x ] && [ ! -d pic ]; then
    mkdir pic;
    else true; fi
    touch stamp-picdir
    if [ x"" != x ] && [ ! -d noasan ]; then
    mkdir noasan;
    else true; fi
    touch stamp-noasandir
    if [ x"" != x ]; then
    x86_64-pc-linux-gnu-g++ -c -DHAVE_CONFIG_H -g -O2 -I. -I../../binutils-2.28/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic -D_GNU_SOURCE ../../binutils-2.28/libiberty/regex.c -o pic/regex.o;
    else true; fi
    if [ x"" != x ]; then
    x86_64-pc-linux-gnu-g++ -c -DHAVE_CONFIG_H -g -O2 -I. -I../../binutils-2.28/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic -D_GNU_SOURCE ../../binutils-2.28/libiberty/regex.c -o noasan/regex.o;
    else true; fi
    x86_64-pc-linux-gnu-g++ -c -DHAVE_CONFIG_H -g -O2 -I. -I../../binutils-2.28/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic -D_GNU_SOURCE ../../binutils-2.28/libiberty/regex.c -o regex.o
    cc1plus: warning: command line option ‘-Wc++-compat’ is valid for C/ObjC but not for C++
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    if [ x"" != x ]; then
    x86_64-pc-linux-gnu-g++ -c -DHAVE_CONFIG_H -g -O2 -I. -I../../binutils-2.28/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic -D_GNU_SOURCE ../../binutils-2.28/libiberty/cplus-dem.c -o pic/cplus-dem.o;
    else true; fi
    if [ x"" != x ]; then
    x86_64-pc-linux-gnu-g++ -c -DHAVE_CONFIG_H -g -O2 -I. -I../../binutils-2.28/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic -D_GNU_SOURCE ../../binutils-2.28/libiberty/cplus-dem.c -o noasan/cplus-dem.o;
    else true; fi
    x86_64-pc-linux-gnu-g++ -c -DHAVE_CONFIG_H -g -O2 -I. -I../../binutils-2.28/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic -D_GNU_SOURCE ../../binutils-2.28/libiberty/cplus-dem.c -o cplus-dem.o
    cc1plus: warning: command line option ‘-Wc++-compat’ is valid for C/ObjC but not for C++
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    ../../binutils-2.28/libiberty/cplus-dem.c: In function ‘void demangle_arm_hp_template(work_stuff
    , const char
    , int, string
    )’:
    ../../binutils-2.28/libiberty/cplus-dem.c:2447:32: error: invalid conversion from ‘const char
    ’ to ‘char*’ [-fpermissive]
    start_spec_args = strchr (*mangled, '<');
    ~~~~~~~^~~~~~~~~~~~~~~
    make[2]: *** [Makefile:685: cplus-dem.o] Error 1
    make[2]: Leaving directory '/home/nathan/mount/NFS/Data/VM/hurd/crosshurd/cross-hurd/tmp/src/binutils-2.28.obj/libiberty'
    make[1]: *** [Makefile:8049: all-libiberty] Error 2
    make[1]: Leaving directory '/home/nathan/mount/NFS/Data/VM/hurd/crosshurd/cross-hurd/tmp/src/binutils-2.28.obj'
    make: *** [Makefile:851: all] Error 2

Passing -enable-kvm to qemu causes reboots.

Thank you for the recent updates, it finally caused me to build and boot the image into a workable system. I however found a few problems, this being one of them.

I have also a Debian Hurd image, that I load through qemu. However if I pass the same command line to load the cross-hurd image it causes a boot loop. First mach is loaded and after that it tries to load the Hurd, but fails without any output and causes it to reboot qemu (qemu bios is reinitialized). Removing the -enable-kvm flag from the command line solves this issue, but results in a slower system.

Expected solution: being able to use '-enable-kvm' to load the image.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.