Mohamed hédi Ghaddab <ghaddab.mohamedhedi <at> gmail.com> writes:

> 
> 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 libX11i 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-threadsconfigure: 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 -cchecking whether build environment is sane... yeschecking 
for a thread-safe mkdir -p... /bin/mkdir -pchecking for gawk... nochecking 
for mawk... mawk
> checking whether /usr/bin/make sets $(MAKE)... yeschecking for alpha-
unknown-linux-gnu-strip... /home/ghaddab/alphaev67-unknown-linux-
gnu/bin/alphaev67-unknown-linux-gnu-stripchecking for a Python interpreter 
with version >= 2.5... python
> checking for python... /usr/bin/pythonchecking for python version... 
2.7checking for python platform... linux2checking for python script 
directory... ${prefix}/lib/python2.7/site-packageschecking for python 
extension module directory... ${exec_prefix}/lib/python2.7/site-packages
> checking for alpha-unknown-linux-gnu-pkg-config... nochecking for pkg-
config... /usr/bin/pkg-configchecking pkg-config is at least version 
0.9.0... yeschecking for CHECK... nochecking build system type... x86_64-
unknown-linux-gnu
> checking host system type... alpha-unknown-linux-gnuchecking for style of 
include used by /usr/bin/make... GNUchecking 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.outchecking whether 
the C compiler works... yeschecking whether we are cross compiling... 
nochecking for suffix of executables... checking for suffix of object 
files... o
> checking whether we are using the GNU C compiler... yeschecking whether 
/home/ghaddab/alphaev67-unknown-linux-gnu/bin/alphaev67-unknown-linux-gnu-
gcc accepts -g... yeschecking 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... gcc3checking for a sed that does 
not truncate output... /bin/sedchecking for grep that handles long lines and 
-e... /bin/grep
> checking for egrep... /bin/grep -Echecking for fgrep... /bin/grep -
Fchecking 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... yeschecking for BSD- or 
MS-compatible name lister (nm)... nochecking for alpha-unknown-linux-gnu-
dumpbin... no
> checking for alpha-unknown-linux-gnu-link... nochecking for dumpbin... 
nochecking for link... link -dump -symbolschecking the name lister (link -
dump -symbols) interface... BSD nmchecking whether ln -s works... yes
> checking the maximum length of command line arguments... 1572864checking 
whether the shell understands some XSI constructs... yeschecking whether the 
shell understands "+="... yeschecking 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... nochecking for objdump... 
objdumpchecking how to recognize dependent libraries... pass_allchecking 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-
stripchecking 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... failedchecking how to run the C preprocessor... 
/usr/bin/cppchecking for ANSI C header files... yes
> checking for sys/types.h... yeschecking for sys/stat.h... yeschecking for 
stdlib.h... yeschecking for string.h... yeschecking for memory.h... 
yeschecking for strings.h... yeschecking for inttypes.h... yes
> checking for stdint.h... yeschecking for unistd.h... yeschecking for 
dlfcn.h... yeschecking for objdir... .libschecking 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 -DPICchecking 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... yeschecking 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) yeschecking 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.sochecking how to 
hardcode library paths into programs... immediatechecking whether stripping 
libraries is possible... yeschecking if libtool supports shared libraries... 
yes
> checking whether to build shared libraries... nochecking whether to build 
static libraries... yeschecking 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) yeschecking 
whether /home/ghaddab/alphaev67-unknown-linux-gnu/bin/alphaev67-unknown-
linux-gnu-gcc accepts -g... (cached) yeschecking 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) gcc3checking for 
xsltproc... noconfigure: 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 mesaAny help really appreciated!Thanks.
> 
> _______________________________________________
> gem5-users mailing list
> gem5-users <at> gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users


Hello,

Have you found any solution for this issu? if yes please let me know how can 
I solve this problem because I got the same error.

thanks

_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to