libXt cross-compilation failed
Submitted by raj..@..il.com
Assigned to Xorg Project Team
Description
configure: loading cache config.cache
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for i686-unknown-linux-gnu-strip... i686-unknown-linux-gnu-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-unknown-linux-gnu
checking how to print strings... printf
checking for style of include used by make... GNU
checking for i686-unknown-linux-gnu-gcc... i686-unknown-linux-gnu-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 i686-unknown-linux-gnu-gcc accepts -g... yes
checking for i686-unknown-linux-gnu-gcc option to accept ISO C89... none needed
checking dependency style of i686-unknown-linux-gnu-gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by i686-unknown-linux-gnu-gcc... /opt/crosstool/gcc-4.1.2-glibc-2.3.6/i686-unknown-linux-gnu/i686-unknown-linux-gnu/bin/ld
checking if the linker (/opt/crosstool/gcc-4.1.2-glibc-2.3.6/i686-unknown-linux-gnu/i686-unknown-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /opt/crosstool/gcc-4.1.2-glibc-2.3.6/i686-unknown-linux-gnu/bin//i686-unknown-linux-gnu-nm -B
checking the name lister (/opt/crosstool/gcc-4.1.2-glibc-2.3.6/i686-unknown-linux-gnu/bin//i686-unknown-linux-gnu-nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1966080
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-unknown-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /opt/crosstool/gcc-4.1.2-glibc-2.3.6/i686-unknown-linux-gnu/i686-unknown-linux-gnu/bin/ld option to reload object files... -r
checking for i686-unknown-linux-gnu-objdump... i686-unknown-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for i686-unknown-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for i686-unknown-linux-gnu-ar... i686-unknown-linux-gnu-ar
checking for archiver @FILE support... no
checking for i686-unknown-linux-gnu-strip... (cached) i686-unknown-linux-gnu-strip
checking for i686-unknown-linux-gnu-ranlib... i686-unknown-linux-gnu-ranlib
checking command to parse /opt/crosstool/gcc-4.1.2-glibc-2.3.6/i686-unknown-linux-gnu/bin//i686-unknown-linux-gnu-nm -B output from i686-unknown-linux-gnu-gcc object... ok
checking for sysroot... no
checking for i686-unknown-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... i686-unknown-linux-gnu-gcc -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 for dlfcn.h... yes
checking for objdir... .libs
checking if i686-unknown-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for i686-unknown-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if i686-unknown-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if i686-unknown-linux-gnu-gcc static flag -static works... yes
checking if i686-unknown-linux-gnu-gcc supports -c -o file.o... yes
checking if i686-unknown-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the i686-unknown-linux-gnu-gcc linker (/opt/crosstool/gcc-4.1.2-glibc-2.3.6/i686-unknown-linux-gnu/i686-unknown-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for i686-unknown-linux-gnu-gcc option to accept ISO C99... -std=gnu99
checking whether __clang__ is declared... no
checking whether __INTEL_COMPILER is declared... no
checking whether __SUNPRO_C is declared... no
checking pkg-config is at least version 0.9.0... yes
checking if i686-unknown-linux-gnu-gcc -std=gnu99 supports -Werror=unknown-warning-option... no
checking if i686-unknown-linux-gnu-gcc -std=gnu99 supports -Werror=unused-command-line-argument... no
checking if i686-unknown-linux-gnu-gcc -std=gnu99 supports -Wall... yes
checking if i686-unknown-linux-gnu-gcc -std=gnu99 supports -Wpointer-arith... yes
checking if i686-unknown-linux-gnu-gcc -std=gnu99 supports -Wmissing-declarations... yes
checking if i686-unknown-linux-gnu-gcc -std=gnu99 supports -Wformat=2... yes
checking if i686-unknown-linux-gnu-gcc -std=gnu99 supports -Wstrict-prototypes... yes
checking if i686-unknown-linux-gnu-gcc -std=gnu99 supports -Wmissing-prototypes... yes
checking if i686-unknown-linux-gnu-gcc -std=gnu99 supports -Wnested-externs... yes
checking if i686-unknown-linux-gnu-gcc -std=gnu99 supports -Wbad-function-cast... yes
checking if i686-unknown-linux-gnu-gcc -std=gnu99 supports -Wold-style-definition... yes
checking if i686-unknown-linux-gnu-gcc -std=gnu99 supports -Wdeclaration-after-statement... yes
checking if i686-unknown-linux-gnu-gcc -std=gnu99 supports -Wunused... yes
checking if i686-unknown-linux-gnu-gcc -std=gnu99 supports -Wuninitialized... yes
checking if i686-unknown-linux-gnu-gcc -std=gnu99 supports -Wshadow... yes
checking if i686-unknown-linux-gnu-gcc -std=gnu99 supports -Wcast-qual... yes
checking if i686-unknown-linux-gnu-gcc -std=gnu99 supports -Wmissing-noreturn... yes
checking if i686-unknown-linux-gnu-gcc -std=gnu99 supports -Wmissing-format-attribute... yes
checking if i686-unknown-linux-gnu-gcc -std=gnu99 supports -Wredundant-decls... yes
configure: WARNING: You have chosen not to turn some select compiler warnings into errors. This should not be necessary. Please report why you needed to do so in a bug report at https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
checking if i686-unknown-linux-gnu-gcc -std=gnu99 supports -Wimplicit... yes
checking if i686-unknown-linux-gnu-gcc -std=gnu99 supports -Wnonnull... yes
checking if i686-unknown-linux-gnu-gcc -std=gnu99 supports -Winit-self... yes
checking if i686-unknown-linux-gnu-gcc -std=gnu99 supports -Wmain... yes
checking if i686-unknown-linux-gnu-gcc -std=gnu99 supports -Wmissing-braces... yes
checking if i686-unknown-linux-gnu-gcc -std=gnu99 supports -Wsequence-point... yes
checking if i686-unknown-linux-gnu-gcc -std=gnu99 supports -Wreturn-type... yes
checking if i686-unknown-linux-gnu-gcc -std=gnu99 supports -Wtrigraphs... yes
checking if i686-unknown-linux-gnu-gcc -std=gnu99 supports -Warray-bounds... no
checking if i686-unknown-linux-gnu-gcc -std=gnu99 supports -Wwrite-strings... yes
checking if i686-unknown-linux-gnu-gcc -std=gnu99 supports -Waddress... no
checking if i686-unknown-linux-gnu-gcc -std=gnu99 supports -Wint-to-pointer-cast... yes
checking if i686-unknown-linux-gnu-gcc -std=gnu99 supports -Wpointer-to-int-cast... yes
checking if i686-unknown-linux-gnu-gcc -std=gnu99 supports -pedantic... yes
checking if i686-unknown-linux-gnu-gcc -std=gnu99 supports -Werror... yes
checking if i686-unknown-linux-gnu-gcc -std=gnu99 supports -Werror=attributes... no
Package xorg-macros was not found in the pkg-config search path.
Perhaps you should add the directory containing `xorg-macros.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xorg-macros' found
checking whether make supports nested variables... (cached) yes
checking whether malloc(0) returns NULL... no
checking whether to build functional specifications... yes
checking for xmlto... no
configure: WARNING: xmlto not found - documentation targets will be skipped
checking for fop... /usr/bin/fop
checking for xsltproc... /usr/bin/xsltproc
checking for X.Org SGML entities >= 1.01... no
checking for cpp... /usr/bin/cpp
checking if /usr/bin/cpp requires -undef... yes
checking if /usr/bin/cpp requires -traditional... yes
checking for perl... /usr/bin/perl
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking for XT... yes
checking for gcc... gcc
checking for poll... yes
checking whether to build unit test cases... auto
checking for GLIB... no
configure: updating cache config.cache
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating util/Makefile
config.status: creating include/Makefile
config.status: creating man/Makefile
config.status: creating specs/Makefile
config.status: creating test/Makefile
config.status: creating xt.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
make[1]: Entering directory `/home/workspace/X11R7.7/lib/libXt-1.1.4'
make all-recursive
make[2]: Entering directory `/home/workspace/X11R7.7/lib/libXt-1.1.4'
Making all in util
make[3]: Entering directory `/home/workspace/X11R7.7/lib/libXt-1.1.4/util'
CC makestrs.o
CCLD makestrs
GEN makestrs.1
make[3]: Leaving directory `/home/workspace/X11R7.7/lib/libXt-1.1.4/util'
Making all in src
make[3]: Entering directory `/home/workspace/X11R7.7/lib/libXt-1.1.4/src'
GEN StringDefs.c
/bin/sh: line 1: 3104 Floating point exception../util/makestrs -i .. < ../util/string.list > StringDefs.c
make[3]: *** [StringDefs.c] Error 136
make[3]: Leaving directory `/home/workspace/X11R7.7/lib/libXt-1.1.4/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/workspace/X11R7.7/lib/libXt-1.1.4'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/workspace/X11R7.7/lib/libXt-1.1.4'
Failed building libXt
I am very new to Xorg packages building. While cross-compiling for i686, libXt-1.1.4 or libXt-1.1.3 was throwing above error.
Can you please help me in proceed further.
Version: 7.7 (2012.06)
Edited by Alan Coopersmith