[parsec-users] Issues in building bodytrack and x264 (32 bit build on 64 bit)

viswanathan v v.vichus at gmail.com
Mon Jan 24 19:27:20 EST 2011


Hi,
I am having issues in building two benchmarks as 32 bit installations on a
64 bit ubuntu machine. Rest of the benchmarks have compiled successfully in
this configuration.

The error with *bodytrack* is
config.status: creating Makefile
*sed: file ./confstat5kt25L/subs-2.sed line 7: unterminated `s' command*
config.status: creating FlexImageLib/Makefile
sed: file ./confstat5kt25L/subs-2.sed line 7: unterminated `s' command
config.status: creating TrackingBenchmark/Makefile
sed: file ./confstat5kt25L/subs-2.sed line 7: unterminated `s' command
config.status: creating TrackingBenchmark/threads/Makefile
sed: file ./confstat5kt25L/subs-2.sed line 7: unterminated `s' command
config.status: creating config.h
config.status: executing depfiles commands

As a result the Makefile doesn't get created and hence the installation
fails


The error with *x264 *is
/usr/bin/ar rc libx264.a common/mc.o common/predict.o common/pixel.o
common/macroblock.o common/frame.o common/dct.o common/cpu.o common/cabac.o
common/common.o common/mdate.o common/set.o common/quant.o common/vlc.o
encoder/analyse.o encoder/me.o encoder/ratecontrol.o encoder/set.o
encoder/macroblock.o encoder/cabac.o encoder/cavlc.o encoder/encoder.o
/usr/bin/ranlib libx264.a
/usr/bin/gcc -m32 -o x264 x264.o matroska.o muxers.o libx264.a -L/usr/lib32
-L/usr/lib -L/usr/lib32 -L/usr/lib  -lm -lpthread -s
libx264.a(cpu.o): In function `x264_cpu_detect':
cpu.c:(.text+0x4f): *undefined reference to `x264_cpu_cpuid'*
cpu.c:(.text+0x90): undefined reference to `x264_cpu_cpuid'
cpu.c:(.text+0x126): undefined reference to `x264_cpu_cpuid'
cpu.c:(.text+0x1a2): undefined reference to `x264_cpu_cpuid'
cpu.c:(.text+0x218): undefined reference to `x264_cpu_cpuid'


the output files for both the builds are attached in this mail.

Can someone help me out with this?


Many thanks,
Viswa.
-- 
Viswanathan signing off...
Rutgers Computer Science Fall 2k12 batch..


--------------------------------------------
There's a feeling I get
When I look to the west
And my spirit is crying
For leaving....
---------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/parsec-users/attachments/20110124/e8825f6c/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: x264output.txt
URL: <http://lists.cs.princeton.edu/pipermail/parsec-users/attachments/20110124/e8825f6c/attachment-0001.txt>
-------------- next part --------------
[PARSEC] Packages to build:  bodytrack

[PARSEC] [========== Building package bodytrack ==========]
[PARSEC] [---------- Analyzing package bodytrack ----------]
[PARSEC] bodytrack does not depend on any other packages.
[PARSEC] [---------- Building package bodytrack ----------]
[PARSEC] Removing old build directory.
[PARSEC] Running 'env CXXFLAGS=-m32 -O3 -funroll-loops -fprefetch-loop-arrays -fpermissive -fno-exceptions -static-libgcc -Wl,--hash-style=both,--as-needed -DPARSEC_VERSION=2.1 -fexceptions /host/software/parsec-2.1/bin/../pkgs/apps/bodytrack/src/configure --enable-threads --disable-openmp --disable-tbb --prefix=/host/software/parsec-2.1/bin/../pkgs/apps/bodytrack/inst/amd64-linux.gcc':
checking for a BSD-compatible install... /host/software/parsec-2.1/bin/../bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether /usr/bin/make sets $(MAKE)... yes
checking build system type... 1 args passed in
x86_64-unknown-linux-gnu
checking host system type... 1 args passed in
x86_64-unknown-linux-gnu
checking for style of include used by /usr/bin/make... GNU
checking for gcc... /usr/bin/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 /usr/bin/gcc accepts -g... yes
checking for /usr/bin/gcc option to accept ANSI C... none needed
checking dependency style of /usr/bin/gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by /usr/bin/gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... yes
checking whether /usr/bin/g++ accepts -g... yes
checking dependency style of /usr/bin/g++... gcc3
checking how to run the C++ preprocessor... /usr/bin/g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... f95
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether f95 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from /usr/bin/gcc object... ok
checking for objdir... .libs
checking for ar... /usr/bin/ar
checking for ranlib... /usr/bin/ranlib
checking for strip... /usr/bin/strip
checking if /usr/bin/gcc supports -fno-rtti -fno-exceptions... no
checking for /usr/bin/gcc option to produce PIC... -fPIC
checking if /usr/bin/gcc PIC flag -fPIC works... yes
checking if /usr/bin/gcc static flag -static works... yes
checking if /usr/bin/gcc supports -c -o file.o... yes
checking whether the /usr/bin/gcc linker (/usr/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... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by /usr/bin/g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the /usr/bin/g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for /usr/bin/g++ option to produce PIC... -fPIC
checking if /usr/bin/g++ PIC flag -fPIC works... yes
checking if /usr/bin/g++ static flag -static works... no
checking if /usr/bin/g++ supports -c -o file.o... yes
checking whether the /usr/bin/g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for f95 option to produce PIC... -fPIC
checking if f95 PIC flag -fPIC works... yes
checking if f95 static flag -static works... no
checking if f95 supports -c -o file.o... yes
checking whether the f95 linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether /usr/bin/g++ accepts -g... (cached) yes
checking dependency style of /usr/bin/g++... (cached) gcc3
checking for a BSD-compatible install... /host/software/parsec-2.1/bin/../bin/install -c
checking whether ln -s works... yes
checking whether /usr/bin/make sets $(MAKE)... (cached) yes
checking for main in -lpthread... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for stdint.h... (cached) yes
checking for ANSI C header files... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking whether time.h and sys/time.h may both be included... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for memset... yes
checking for sqrt... no
configure: creating ./config.status
config.status: creating Makefile
sed: file ./confstatTzJQvr/subs-2.sed line 7: unterminated `s' command
config.status: creating FlexImageLib/Makefile
sed: file ./confstatTzJQvr/subs-2.sed line 7: unterminated `s' command
config.status: creating TrackingBenchmark/Makefile
sed: file ./confstatTzJQvr/subs-2.sed line 7: unterminated `s' command
config.status: creating TrackingBenchmark/threads/Makefile
sed: file ./confstatTzJQvr/subs-2.sed line 7: unterminated `s' command
config.status: creating config.h
config.status: executing depfiles commands
Ran the configuration successfully : Viswa
[PARSEC] Running 'env CXXFLAGS=-m32 -O3 -funroll-loops -fprefetch-loop-arrays -fpermissive -fno-exceptions -static-libgcc -Wl,--hash-style=both,--as-needed -DPARSEC_VERSION=2.1 -fexceptions /usr/bin/make':
make: *** No targets.  Stop.
[PARSEC] Error: 'env CXXFLAGS=-m32 -O3 -funroll-loops -fprefetch-loop-arrays -fpermissive -fno-exceptions -static-libgcc -Wl,--hash-style=both,--as-needed -DPARSEC_VERSION=2.1 -fexceptions /usr/bin/make' failed.


More information about the parsec-users mailing list