hi,
Hello,
I am trying to Cross Compile (For Alpha) Parsec Benchmarks 2.1 application
called Raytrace (the most complicated benchmark to build because of its
dependence on libX11 and mesa).
first i built libpthreadstubs:
> parsecmgmt -a build -c alpha-gcc-hooks -p libpthreadstubs
and when i want to build libX11
i get this error message:
parsecmgmt -a build -c alpha-gcc-hooks -p libX11
[PARSEC] Packages to build: libX11
[PARSEC] [========== Building package libX11 ==========]
[PARSEC] [---------- Analyzing package libX11 ----------]
[PARSEC] libX11 depends on: xproto xextproto xtrans libpthreadstubs libXau
kbproto inputproto libxcb hooks
[PARSEC] [---------- Analyzing package xproto ----------]
[PARSEC] Package xproto already exists, proceeding.
[PARSEC] [---------- Analyzing package xextproto ----------]
[PARSEC] Package xextproto already exists, proceeding.
[PARSEC] [---------- Analyzing package xtrans ----------]
[PARSEC] Package xtrans already exists, proceeding.
[PARSEC] [---------- Analyzing package libpthreadstubs ----------]
[PARSEC] Package libpthreadstubs already exists, proceeding.
[PARSEC] [---------- Analyzing package libXau ----------]
[PARSEC] Package libXau already exists, proceeding.
[PARSEC] [---------- Analyzing package kbproto ----------]
[PARSEC] Package kbproto already exists, proceeding.
[PARSEC] [---------- Analyzing package inputproto ----------]
[PARSEC] Package inputproto already exists, proceeding.
[PARSEC] [---------- Analyzing package libxcb ----------]
[PARSEC] libxcb depends on: xcbproto libXau hooks
[PARSEC] [---------- Analyzing package xcbproto ----------]
[PARSEC] Package xcbproto already exists, proceeding.
[PARSEC] [---------- Analyzing package libXau ----------]
[PARSEC] Package libXau already exists, proceeding.
[PARSEC] [---------- Analyzing package hooks ----------]
[PARSEC] Package hooks already exists, proceeding.
[PARSEC] [---------- Building package libxcb ----------]
[PARSEC] Removing old build directory.
[PARSEC] Running 'env LIBS= -lhooks -lXau LDFLAGS=-static
-L/home/ghaddab/alphaev67-unknown-linux-gnu/lib64
-L/home/ghaddab/alphaev67-unknown-linux-gnu/lib
-L/home/ghaddab/parsec-2.1/pkgs/libs/hooks/inst/amd64-linux.alpha-gcc-hooks/lib
-L/home/ghaddab/parsec-2.1/pkgs/libs/libXau/inst/amd64-linux.alpha-gcc-hooks/lib
PKG_CONFIG_PATH=/home/ghaddab/parsec-2.1/pkgs/libs/xproto/inst/amd64-linux.alpha-gcc-hooks/lib/pkgconfig:/home/ghaddab/parsec-2.1/pkgs/libs/libXau/inst/amd64-linux.alpha-gcc-hooks/lib/pkgconfig:/home/ghaddab/parsec-2.1/pkgs/libs/libpthreadstubs/inst/amd64-linux.alpha-gcc-hooks/lib/pkgconfig:/home/ghaddab/parsec-2.1/pkgs/tools/xcbproto/inst/amd64-linux.alpha-gcc-hooks/lib/pkgconfig:
/home/ghaddab/parsec-2.1/pkgs/libs/libxcb/src/configure
--host=alpha-unknown-linux-gnu --enable-malloc0returnsnull --disable-shared
--with-threads
--prefix=/home/ghaddab/parsec-2.1/pkgs/libs/libxcb/inst/amd64-linux.alpha-gcc-hooks':
configure: WARNING: unrecognized options: --enable-malloc0returnsnull,
--with-threads
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 for a BSD-compatible install...
/home/ghaddab/parsec-2.1/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether /usr/bin/make sets $(MAKE)... yes
checking for alpha-unknown-linux-gnu-strip...
/home/ghaddab/alphaev67-unknown-linux-gnu/bin/alphaev67-unknown-linux-gnu-strip
checking for a Python interpreter with version >= 2.5... python
checking for python... /usr/bin/python
checking for python version... 2.7
checking for python platform... linux2
checking for python script directory...
${prefix}/lib/python2.7/site-packages
checking for python extension module directory...
${exec_prefix}/lib/python2.7/site-packages
checking for alpha-unknown-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for CHECK... no
checking build system type... x86_64-unknown-linux-gnu
checking host system type... alpha-unknown-linux-gnu
checking for style of include used by /usr/bin/make... GNU
checking for alpha-unknown-linux-gnu-gcc...
/home/ghaddab/alphaev67-unknown-linux-gnu/bin/alphaev67-unknown-linux-gnu-gcc
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
/home/ghaddab/alphaev67-unknown-linux-gnu/bin/alphaev67-unknown-linux-gnu-gcc
accepts -g... yes
checking for
/home/ghaddab/alphaev67-unknown-linux-gnu/bin/alphaev67-unknown-linux-gnu-gcc
option to accept ISO C89... none needed
checking dependency style of
/home/ghaddab/alphaev67-unknown-linux-gnu/bin/alphaev67-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
/home/ghaddab/alphaev67-unknown-linux-gnu/bin/alphaev67-unknown-linux-gnu-gcc...
/home/ghaddab/alphaev67-unknown-linux-gnu/bin/alphaev67-unknown-linux-gnu-ld
checking if the linker
(/home/ghaddab/alphaev67-unknown-linux-gnu/bin/alphaev67-unknown-linux-gnu-ld)
is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... no
checking for alpha-unknown-linux-gnu-dumpbin... no
checking for alpha-unknown-linux-gnu-link... no
checking for dumpbin... no
checking for link... link -dump -symbols
checking the name lister (link -dump -symbols) 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
/home/ghaddab/alphaev67-unknown-linux-gnu/bin/alphaev67-unknown-linux-gnu-ld
option to reload object files... -r
checking for alpha-unknown-linux-gnu-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for alpha-unknown-linux-gnu-ar...
/home/ghaddab/alphaev67-unknown-linux-gnu/bin/alphaev67-unknown-linux-gnu-ar
checking for alpha-unknown-linux-gnu-strip... (cached)
/home/ghaddab/alphaev67-unknown-linux-gnu/bin/alphaev67-unknown-linux-gnu-strip
checking for alpha-unknown-linux-gnu-ranlib...
/home/ghaddab/alphaev67-unknown-linux-gnu/bin/alphaev67-unknown-linux-gnu-ranlib
checking command to parse link -dump -symbols output from
/home/ghaddab/alphaev67-unknown-linux-gnu/bin/alphaev67-unknown-linux-gnu-gcc
object... failed
checking how to run the C preprocessor... /usr/bin/cpp
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
/home/ghaddab/alphaev67-unknown-linux-gnu/bin/alphaev67-unknown-linux-gnu-gcc
supports -fno-rtti -fno-exceptions... no
checking for
/home/ghaddab/alphaev67-unknown-linux-gnu/bin/alphaev67-unknown-linux-gnu-gcc
option to produce PIC... -fPIC -DPIC
checking if
/home/ghaddab/alphaev67-unknown-linux-gnu/bin/alphaev67-unknown-linux-gnu-gcc
PIC flag -fPIC -DPIC works... yes
checking if
/home/ghaddab/alphaev67-unknown-linux-gnu/bin/alphaev67-unknown-linux-gnu-gcc
static flag -static works... yes
checking if
/home/ghaddab/alphaev67-unknown-linux-gnu/bin/alphaev67-unknown-linux-gnu-gcc
supports -c -o file.o... yes
checking if
/home/ghaddab/alphaev67-unknown-linux-gnu/bin/alphaev67-unknown-linux-gnu-gcc
supports -c -o file.o... (cached) yes
checking whether the
/home/ghaddab/alphaev67-unknown-linux-gnu/bin/alphaev67-unknown-linux-gnu-gcc
linker
(/home/ghaddab/alphaev67-unknown-linux-gnu/bin/alphaev67-unknown-linux-gnu-ld)
supports shared libraries... yes
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... no
checking whether to build static libraries... yes
checking for alpha-unknown-linux-gnu-gcc... (cached)
/home/ghaddab/alphaev67-unknown-linux-gnu/bin/alphaev67-unknown-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether
/home/ghaddab/alphaev67-unknown-linux-gnu/bin/alphaev67-unknown-linux-gnu-gcc
accepts -g... (cached) yes
checking for
/home/ghaddab/alphaev67-unknown-linux-gnu/bin/alphaev67-unknown-linux-gnu-gcc
option to accept ISO C89... (cached) none needed
checking dependency style of
/home/ghaddab/alphaev67-unknown-linux-gnu/bin/alphaev67-unknown-linux-gnu-gcc...
(cached) gcc3
checking for xsltproc... no
configure: error: XCB requires xsltproc.
[PARSEC] Error: 'env LIBS= -lhooks -lXau LDFLAGS=-static
-L/home/ghaddab/alphaev67-unknown-linux-gnu/lib64
-L/home/ghaddab/alphaev67-unknown-linux-gnu/lib
-L/home/ghaddab/parsec-2.1/pkgs/libs/hooks/inst/amd64-linux.alpha-gcc-hooks/lib
-L/home/ghaddab/parsec-2.1/pkgs/libs/libXau/inst/amd64-linux.alpha-gcc-hooks/lib
PKG_CONFIG_PATH=/home/ghaddab/parsec-2.1/pkgs/libs/xproto/inst/amd64-linux.alpha-gcc-hooks/lib/pkgconfig:/home/ghaddab/parsec-2.1/pkgs/libs/libXau/inst/amd64-linux.alpha-gcc-hooks/lib/pkgconfig:/home/ghaddab/parsec-2.1/pkgs/libs/libpthreadstubs/inst/amd64-linux.alpha-gcc-hooks/lib/pkgconfig:/home/ghaddab/parsec-2.1/pkgs/tools/xcbproto/inst/amd64-linux.alpha-gcc-hooks/lib/pkgconfig:
/home/ghaddab/parsec-2.1/pkgs/libs/libxcb/src/configure
--host=alpha-unknown-linux-gnu --enable-malloc0returnsnull --disable-shared
--with-threads
--prefix=/home/ghaddab/parsec-2.1/pkgs/libs/libxcb/inst/amd64-linux.alpha-gcc-hooks'
failed.
the same problem to build mesa:
parsecmgmt -a build -c alpha-gcc-hooks -p mesa
Any help really appreciated!
Thanks.
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users