Project

General

Profile

Backport #6777

Updated by nobu (Nobuyoshi Nakada) over 12 years ago

➜    ruby git:(ruby_1_9_2) ✗    ./configure --host=arm-angstrom-linux-gnueabi --prefix=$HOME/work/ruby --enable-shared --disable-install-doc 
 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-unknown-linux-gnu 
 checking host system type... arm-angstrom-linux-gnueabi 
 checking target system type... arm-angstrom-linux-gnueabi 
 checking for arm-angstrom-linux-gnueabi-gcc... arm-angstrom-linux-gnueabi-gcc 
 checking for arm-angstrom-linux-gnueabi-gcc... (cached) arm-angstrom-linux-gnueabi-gcc 
 checking whether the C compiler works... yes 
 checking for C compiler default output file name... a.out 
 checking for suffix of executables...  
 checking whether we are cross compiling... yes 
 checking for suffix of object files... o 
 checking whether we are using the GNU C compiler... yes 
 checking whether arm-angstrom-linux-gnueabi-gcc accepts -g... yes 
 checking for arm-angstrom-linux-gnueabi-gcc option to accept ISO C89... none needed 
 checking for arm-angstrom-linux-gnueabi-g++... arm-angstrom-linux-gnueabi-g++ 
 checking whether we are using the GNU C++ compiler... yes 
 checking whether arm-angstrom-linux-gnueabi-g++ accepts -g... yes 
 checking how to run the C preprocessor... arm-angstrom-linux-gnueabi-gcc -E 
 checking for grep that handles long lines and -e... /bin/grep 
 checking for egrep... /bin/grep -E 
 checking whether arm-angstrom-linux-gnueabi-gcc needs -traditional... no 
 checking whether the linker is GNU ld... yes 
 checking whether arm-angstrom-linux-gnueabi-gcc -E accepts -o... yes 
 checking for arm-angstrom-linux-gnueabi-ranlib... arm-angstrom-linux-gnueabi-ranlib 
 checking for arm-angstrom-linux-gnueabi-ar... arm-angstrom-linux-gnueabi-ar 
 checking for arm-angstrom-linux-gnueabi-as... arm-angstrom-linux-gnueabi-as 
 checking for arm-angstrom-linux-gnueabi-objdump... arm-angstrom-linux-gnueabi-objdump 
 checking for arm-angstrom-linux-gnueabi-objcopy... arm-angstrom-linux-gnueabi-objcopy 
 checking whether ln -s works... yes 
 checking whether make sets $(MAKE)... yes 
 checking for a BSD-compatible install... /usr/bin/install -c 
 checking for a thread-safe mkdir -p... /bin/mkdir -p 
 checking for arm-angstrom-linux-gnueabi-dot... no 
 checking for dot... no 
 checking for arm-angstrom-linux-gnueabi-doxygen... no 
 checking for doxygen... no 
 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 cd using phisical directory... cd -P 
 checking whether -Wno-unused-parameter is accepted... yes 
 checking whether -Wno-parentheses is accepted... yes 
 checking whether -Wpointer-arith is accepted... yes 
 checking whether -Wwrite-strings is accepted... yes 
 checking whether -Wno-missing-field-initializers is accepted... yes 
 checking whether -Wshorten-64-to-32 is accepted... no 
 checking whether -Wno-long-long is accepted... yes 
 checking whether -Wextra is accepted... yes 
 checking whether -Wl,-unexported_symbol,_Init_* is accepted... no 
 checking for special C compiler options needed for large files... no 
 checking for _FILE_OFFSET_BITS value needed for large files... 64 
 checking for long long... yes 
 checking for off_t... yes 
 checking char bit... 8 
 checking size of int... 4 
 checking size of short... 2 
 checking size of long... 4 
 checking size of long long... 8 
 checking size of __int64... 0 
 checking size of off_t... 8 
 checking size of void*... 4 
 checking size of float... 4 
 checking size of double... 8 
 checking size of time_t... 4 
 checking for pid_t... yes 
 checking for convertible type of pid_t... INT 
 checking for uid_t... yes 
 checking for convertible type of uid_t... UINT 
 checking for gid_t... yes 
 checking for convertible type of gid_t... UINT 
 checking for time_t... yes 
 checking for convertible type of time_t... LONG 
 checking for dev_t... yes 
 checking for convertible type of dev_t... ULL 
 checking for prototypes... yes 
 checking token paste string... ansi 
 checking stringization... #expr 
 checking string literal concatenation... yes 
 checking for variable length prototypes and stdarg.h... yes 
 checking for variable length macro... yes 
 checking for noreturn function attribute... __attribute__ ((noreturn)) x 
 checking for deprecated function attribute... __attribute__ ((deprecated)) x 
 checking for noinline function attribute... __attribute__ ((noinline)) x 
 checking for stdcall function attribute... x 
 checking for cdecl function attribute... x 
 checking for fastcall function attribute... x 
 checking for function alias... alias 
 checking for RUBY_EXTERN... no 
 checking whether sys_nerr is declared... yes 
 checking for crypt in -lcrypt... yes 
 checking for dlopen in -ldl... yes 
 checking for shl_load in -ldld... no 
 checking for socketpair in -lsocket... no 
 checking for clock_gettime in -lrt... yes 
 checking for dirent.h that defines DIR... yes 
 checking for library containing opendir... none required 
 checking for stdbool.h that conforms to C99... yes 
 checking for _Bool... yes 
 checking for sys/wait.h that is POSIX.1 compatible... yes 
 checking limits.h usability... yes 
 checking limits.h presence... yes 
 checking for limits.h... yes 
 checking sys/file.h usability... yes 
 checking sys/file.h presence... yes 
 checking for sys/file.h... yes 
 checking sys/ioctl.h usability... yes 
 checking sys/ioctl.h presence... yes 
 checking for sys/ioctl.h... yes 
 checking sys/syscall.h usability... yes 
 checking sys/syscall.h presence... yes 
 checking for sys/syscall.h... yes 
 checking fcntl.h usability... yes 
 checking fcntl.h presence... yes 
 checking for fcntl.h... yes 
 checking sys/fcntl.h usability... yes 
 checking sys/fcntl.h presence... yes 
 checking for sys/fcntl.h... yes 
 checking sys/select.h usability... yes 
 checking sys/select.h presence... yes 
 checking for sys/select.h... yes 
 checking sys/time.h usability... yes 
 checking sys/time.h presence... yes 
 checking for sys/time.h... yes 
 checking sys/times.h usability... yes 
 checking sys/times.h presence... yes 
 checking for sys/times.h... yes 
 checking sys/param.h usability... yes 
 checking sys/param.h presence... yes 
 checking for sys/param.h... yes 
 checking syscall.h usability... yes 
 checking syscall.h presence... yes 
 checking for syscall.h... yes 
 checking pwd.h usability... yes 
 checking pwd.h presence... yes 
 checking for pwd.h... yes 
 checking grp.h usability... yes 
 checking grp.h presence... yes 
 checking for grp.h... yes 
 checking a.out.h usability... yes 
 checking a.out.h presence... yes 
 checking for a.out.h... yes 
 checking utime.h usability... yes 
 checking utime.h presence... yes 
 checking for utime.h... yes 
 checking direct.h usability... no 
 checking direct.h presence... no 
 checking for direct.h... no 
 checking sys/resource.h usability... yes 
 checking sys/resource.h presence... yes 
 checking for sys/resource.h... yes 
 checking sys/mkdev.h usability... no 
 checking sys/mkdev.h presence... no 
 checking for sys/mkdev.h... no 
 checking sys/utime.h usability... no 
 checking sys/utime.h presence... no 
 checking for sys/utime.h... no 
 checking xti.h usability... no 
 checking xti.h presence... no 
 checking for xti.h... no 
 checking netinet/in_systm.h usability... yes 
 checking netinet/in_systm.h presence... yes 
 checking for netinet/in_systm.h... yes 
 checking float.h usability... yes 
 checking float.h presence... yes 
 checking for float.h... yes 
 checking ieeefp.h usability... no 
 checking ieeefp.h presence... no 
 checking for ieeefp.h... no 
 checking ucontext.h usability... yes 
 checking ucontext.h presence... yes 
 checking for ucontext.h... yes 
 checking intrinsics.h usability... no 
 checking intrinsics.h presence... no 
 checking for intrinsics.h... no 
 checking langinfo.h usability... yes 
 checking langinfo.h presence... yes 
 checking for langinfo.h... yes 
 checking locale.h usability... yes 
 checking locale.h presence... yes 
 checking for locale.h... yes 
 checking sys/sendfile.h usability... yes 
 checking sys/sendfile.h presence... yes 
 checking for sys/sendfile.h... yes 
 checking time.h usability... yes 
 checking time.h presence... yes 
 checking for time.h... yes 
 checking for net/socket.h... (cached) no 
 checking for sys/socket.h... (cached) yes 
 checking size of rlim_t... 8 
 checking for size_t... yes 
 checking size of size_t... 4 
 checking size of ptrdiff_t... 4 
 checking for struct stat.st_blksize... yes 
 checking for struct stat.st_blocks... yes 
 checking for struct stat.st_rdev... yes 
 checking size of struct stat.st_size... SIZEOF_LONG_LONG 
 checking size of struct stat.st_blocks... SIZEOF_LONG_LONG 
 checking for struct stat.st_atim... yes 
 checking for struct stat.st_atimespec... no 
 checking for struct stat.st_atimensec... no 
 checking for struct stat.st_mtim... yes 
 checking for struct stat.st_mtimespec... no 
 checking for struct stat.st_mtimensec... no 
 checking for struct stat.st_ctim... yes 
 checking for struct stat.st_ctimespec... no 
 checking for struct stat.st_ctimensec... no 
 checking for struct timespec... yes 
 checking for struct timezone... yes 
 checking for fd_mask... yes 
 checking for int8_t... yes 
 checking size of int8_t... 1 
 checking for uint8_t... yes 
 checking size of uint8_t... 1 
 checking for int16_t... yes 
 checking size of int16_t... 2 
 checking for uint16_t... yes 
 checking size of uint16_t... 2 
 checking for int32_t... yes 
 checking size of int32_t... 4 
 checking for uint32_t... yes 
 checking size of uint32_t... 4 
 checking for int64_t... yes 
 checking size of int64_t... 8 
 checking for uint64_t... yes 
 checking size of uint64_t... 8 
 checking for int128_t... no 
 checking for uint128_t... no 
 checking for intptr_t... yes 
 checking size of intptr_t... 4 
 checking for uintptr_t... yes 
 checking size of uintptr_t... 4 
 checking for ssize_t... yes 
 checking size of ssize_t... 4 
 checking for stack end address... __libc_stack_end 
 checking for uid_t in sys/types.h... (cached) yes 
 checking type of array argument to getgroups... gid_t 
 checking return type of signal handlers... void 
 checking for working alloca.h... yes 
 checking for alloca... yes 
 checking for working memcmp... no 
 checking for broken erfc of glibc-2.3.6 on IA64... no 
 checking for dup2... yes 
 checking for memmove... yes 
 checking for strerror... yes 
 checking for strchr... yes 
 checking for strstr... yes 
 checking for crypt... yes 
 checking for flock... yes 
 checking for isnan... yes 
 checking for finite... yes 
 checking for isinf... yes 
 checking for hypot... yes 
 checking for acosh... yes 
 checking for erf... yes 
 checking for tgamma... yes 
 checking for lgamma_r... yes 
 checking for cbrt... yes 
 checking for strlcpy... no 
 checking for strlcat... no 
 checking for signbit... yes 
 checking for fmod... yes 
 checking for killpg... yes 
 checking for wait4... yes 
 checking for waitpid... yes 
 checking for fork... yes 
 checking for spawnv... no 
 checking for syscall... yes 
 checking for __syscall... no 
 checking for chroot... yes 
 checking for getcwd... yes 
 checking for eaccess... yes 
 checking for truncate... yes 
 checking for ftruncate... yes 
 checking for ftello... yes 
 checking for chsize... no 
 checking for times... yes 
 checking for utimes... yes 
 checking for utimensat... yes 
 checking for fcntl... yes 
 checking for lockf... yes 
 checking for lstat... yes 
 checking for truncate64... yes 
 checking for ftruncate64... yes 
 checking for ftello64... yes 
 checking for fseeko... yes 
 checking for fseeko64... yes 
 checking for link... yes 
 checking for symlink... yes 
 checking for readlink... yes 
 checking for readdir_r... yes 
 checking for fsync... yes 
 checking for fdatasync... yes 
 checking for fchown... yes 
 checking for setitimer... yes 
 checking for setruid... no 
 checking for seteuid... yes 
 checking for setreuid... yes 
 checking for setresuid... yes 
 checking for setproctitle... no 
 checking for socketpair... yes 
 checking for setrgid... no 
 checking for setegid... yes 
 checking for setregid... yes 
 checking for setresgid... yes 
 checking for issetugid... no 
 checking for pause... yes 
 checking for lchown... yes 
 checking for lchmod... no 
 checking for getpgrp... yes 
 checking for setpgrp... yes 
 checking for getpgid... yes 
 checking for setpgid... yes 
 checking for initgroups... yes 
 checking for getgroups... yes 
 checking for setgroups... yes 
 checking for getpriority... yes 
 checking for getrlimit... yes 
 checking for setrlimit... yes 
 checking for sysconf... yes 
 checking for close... yes 
 checking for dlopen... yes 
 checking for sigprocmask... yes 
 checking for sigaction... yes 
 checking for sigsetjmp... no 
 checking for _setjmp... yes 
 checking for _longjmp... yes 
 checking for setsid... yes 
 checking for telldir... yes 
 checking for seekdir... yes 
 checking for fchmod... yes 
 checking for cosh... yes 
 checking for sinh... yes 
 checking for tanh... yes 
 checking for log2... yes 
 checking for round... yes 
 checking for setuid... yes 
 checking for setgid... yes 
 checking for daemon... (cached) no 
 checking for select_large_fdset... no 
 checking for setenv... yes 
 checking for unsetenv... yes 
 checking for mktime... yes 
 checking for timegm... yes 
 checking for gmtime_r... yes 
 checking for clock_gettime... yes 
 checking for gettimeofday... yes 
 checking for pread... yes 
 checking for sendfile... yes 
 checking for shutdown... yes 
 checking for sigaltstack... yes 
 checking for unsetenv returns a value... yes 
 checking for __builtin_setjmp... no 
 checking for setjmp type... _setjmp 
 checking whether struct tm is in sys/time.h or time.h... time.h 
 checking for struct tm.tm_zone... yes 
 checking for struct tm.tm_gmtoff... yes 
 checking for external int daylight... yes 
 checking for external timezone... long 
 checking for external altzone... no 
 checking for timezone... yes 
 checking whether timezone requires zero arguments... yes 
 checking for negative time_t for gmtime(3)... yes 
 checking for localtime(3) overflow correctly... yes 
 checking whether getpgrp requires zero arguments... yes 
 checking whether setpgrp takes no argument... configure: error: cannot check setpgrp when cross compiling 



 I use the same cmd in truck branch(193) is ok. 

 Using  
 `env ac_cv_func_setpgrp_void=yes ./configure --host=arm-angstrom-linux-gnueabi --prefix=$HOME/work/ruby --enable-shared --disable-install-doc` is okay. but No good 

Back