building libvpx-1.3.0, `./configure` fails @ '#error "not x32"' on x86_64 sys ?

871 views
Skip to first unread message

grantk...@operamail.com

unread,
Jun 26, 2014, 11:03:30 AM6/26/14
to webm-d...@webmproject.org
I'm building handbrake/head on linux/64.

The build's failing at the libvpx subproject build.

In simplest form,

cd /usr/local/src/hb-trunk/build/contrib/libvpx/libvpx-v1.3.0
./configure
Configuring selected codecs
enabling vp8_encoder
enabling vp8_decoder
enabling vp9_encoder
enabling vp9_decoder
Configuring for target 'x86_64-linux-gcc'
enabling x86_64
enabling runtime_cpu_detect
enabling mmx
enabling sse
enabling sse2
enabling sse3
enabling ssse3
enabling sse4_1
enabling avx
enabling avx2
using yasm
checking here for x86inc "x86_64" ""
enabling use_x86inc
enabling postproc
enabling unit_tests
Toolchain is unable to link executables

Configuration failed. This could reflect a
misconfiguration of your
toolchains, improper options selected, or another
problem. If you
don't see any useful error messages above, the next step
is to look
at the configure error log file (config.log) to
determine what
configure was trying to do when it died.

where,

cat config.log
# ./configure
Configuring selected codecs
enabling vp8_encoder
enabling vp8_decoder
enabling vp9_encoder
enabling vp9_decoder
Configuring for target 'x86_64-linux-gcc'
enabling x86_64
check_cpp
BEGIN /tmp/vpx-conf-18272-839.c
1 #ifndef __ILP32__
2 #error "not x32"
3 #endif
END /tmp/vpx-conf-18272-839.c
/usr/bin/gcc-4.9 -E -o /tmp/vpx-conf-18272-839.o
/tmp/vpx-conf-18272-839.c
/tmp/vpx-conf-18272-839.c:2:2: error: #error "not x32"
#error "not x32"
^
enabling runtime_cpu_detect
enabling mmx
enabling sse
enabling sse2
enabling sse3
...

This arises from

cat ./build/make/configure.sh
...
;;
x86*)
bits=32
enabled x86_64 && bits=64
check_cpp <<EOF && bits=x32
#ifndef __ILP32__
1023 #error "not x32"
#endif
EOF
...

At 1st glance, it appears that

x86*)

matches for x86_64. not clear why there's a 32-bit check here, or if
something's missing in my build env.

I've not (yet) found relevant bugs/posts, though digging ...

Suggestions?

Grant

Johann Koenig

unread,
Jun 26, 2014, 12:37:49 PM6/26/14
to webm-d...@webmproject.org
On Thu, Jun 26, 2014 at 8:03 AM, <grantk...@operamail.com> wrote:
> At 1st glance, it appears that
>
> x86*)
>
> matches for x86_64. not clear why there's a 32-bit check here, or if
> something's missing in my build env.
>
> I've not (yet) found relevant bugs/posts, though digging ...
>
> Suggestions?

Interesting. I don't think we've tested on a 64-bit only build before.
It might make sense to change that to
x86)
or
x86-*)

grantk...@operamail.com

unread,
Jun 26, 2014, 12:54:37 PM6/26/14
to webm-d...@webmproject.org
hi

On Thu, Jun 26, 2014, at 09:37 AM, 'Johann Koenig' via WebM Discussion
wrote:
> Interesting. I don't think we've tested on a 64-bit only build before.
> It might make sense to change that to
> x86)
> or
> x86-*)

editing locally to explore

./contrib/libvpx/libvpx-v1.3.0/build/make/configure.sh
...
1064 gcc*)
add_cflags -m${bits}
- add_ldflags -m${bits}
+ add_ldflags


seems to cure the problem.

in the gcc case, though, libvpx forces use of linker=gcc.

my ENV includes its long-standing/usual

LD=/usr/bin/ld

apparently this overrides libvpx's assignment of linker=gcc

clearing that ENV var

unset LD

now

./configure
make

completes with no error

this appears to be a bug in libvpx configure.sh

iiuc, it should recognize when LD has been overridden and not use gcc
flags ?

eaniemey

unread,
Jun 26, 2014, 1:02:15 PM6/26/14
to webm-d...@webmproject.org
I build to x86_64 targets almost daily on 64-bit machines, Ubuntu 13.10 64-bit and 14.04 64-bit. Both the in-tree and out-of-tree configurations worked correctly for me using the auto-configure method with the current master. 

Perhaps there is another toolchain issue specific to Grant's OS build?

Grant: Can you post your machine config?

Erik

Johann Koenig

unread,
Jun 26, 2014, 1:04:47 PM6/26/14
to webm-d...@webmproject.org
On Thu, Jun 26, 2014 at 9:54 AM, <grantk...@operamail.com> wrote:
> iiuc, it should recognize when LD has been overridden and not use gcc
> flags ?

configure could potentially be updated with check_add_ldflags

Well, technically that function exists but it doesn't actually do the
'check' step so it would need to look more like check_cflags and
check_add_cflags.

Johann Koenig

unread,
Jun 26, 2014, 1:06:47 PM6/26/14
to webm-d...@webmproject.org
On Thu, Jun 26, 2014 at 10:02 AM, eaniemey <erik.a....@gmail.com> wrote:
> I build to x86_64 targets almost daily on 64-bit machines, Ubuntu 13.10
> 64-bit and 14.04 64-bit. Both the in-tree and out-of-tree configurations
> worked correctly for me using the auto-configure method with the current
> master

For clarity, I should have said 64-bit only environment. That is, one
without a 32-bit execution environment and a compiler which does not
support generating 32-bit executables.

grantk...@operamail.com

unread,
Jun 26, 2014, 1:24:12 PM6/26/14
to webm-d...@webmproject.org


On Thu, Jun 26, 2014, at 10:06 AM, 'Johann Koenig' via WebM Discussion
wrote:
> For clarity, I should have said 64-bit only environment. That is, one
> without a 32-bit execution environment and a compiler which does not
> support generating 32-bit executables.

fyi, here,

uname -rm
3.15.0-1.gc9b3c8c-desktop x86_64

gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib64/gcc/x86_64-suse-linux/4.9/lto-wrapper
Target: x86_64-suse-linux
Configured with: ../configure --prefix=/usr
--infodir=/usr/share/info --mandir=/usr/share/man
--libdir=/usr/lib64 --libexecdir=/usr/lib64
--enable-languages=c,c++,objc,fortran,obj-c++,java,ada,go
--enable-checking=release
--with-gxx-include-dir=/usr/include/c++/4.9 --enable-ssp
--disable-libssp --disable-libvtv --disable-plugin
--with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE
Linux' --disable-libgcj --with-slibdir=/lib64 --with-system-zlib
--enable-__cxa_atexit --enable-libstdcxx-allocator=new
--disable-libstdcxx-pch --enable-version-specific-runtime-libs
--enable-linker-build-id --enable-linux-futex
--program-suffix=-4.9 --without-system-libunwind
--enable-multilib --with-arch-32=i586 --with-tune=generic
--build=x86_64-suse-linux --host=x86_64-suse-linux
Thread model: posix
gcc version 4.9.0 (SUSE Linux)

ld --version
GNU ld (GNU Binutils; devel:gcc / openSUSE_13.1)
2.24.0.20140403-196


env | egrep "CC=|CXX=|LD="
LD=/usr/bin/ld
CXX=/usr/bin/g++-4.9
CC=/usr/bin/gcc-4.9

ls -al /usr/bin/{gcc,g++}
lrwxrwxrwx 1 root root 16 Jun 26 10:20 /usr/bin/g++ ->
/usr/bin/g++-4.9*
lrwxrwxrwx 1 root root 16 Jun 26 10:20 /usr/bin/gcc ->
/usr/bin/gcc-4.9*

grantk...@operamail.com

unread,
Jun 26, 2014, 1:52:58 PM6/26/14
to webm-d...@webmproject.org
> Grant: Can you post your machine config?

@eaniemey

did you want more/different than I've posted earlier? happy to oblige
whatever ...

Johann Koenig

unread,
Jun 26, 2014, 2:07:10 PM6/26/14
to webm-d...@webmproject.org
On Thu, Jun 26, 2014 at 8:03 AM, <grantk...@operamail.com> wrote:
> 3 #endif
> END /tmp/vpx-conf-18272-839.c
> /usr/bin/gcc-4.9 -E -o /tmp/vpx-conf-18272-839.o
> /tmp/vpx-conf-18272-839.c
> /tmp/vpx-conf-18272-839.c:2:2: error: #error "not x32"
> #error "not x32"
> ^
> enabling runtime_cpu_detect
> enabling mmx

This is actually not a blocking error and is expected in your
situation. Can you upload the rest of your config.log?

grantk...@operamail.com

unread,
Jun 26, 2014, 2:15:51 PM6/26/14
to webm-d...@webmproject.org


On Thu, Jun 26, 2014, at 11:07 AM, 'Johann Koenig' via WebM Discussion
wrote:
> This is actually not a blocking error and is expected in your
> situation. Can you upload the rest of your config.log?

cd /usr/local/src/hb-trunk
rm -rf build
echo $LD
/usr/bin/ld

./configure ...
cd build
make <==================== FAILS
...
/bin/mkdir -p contrib/libvpx/
/bin/rm -fr ./contrib/libvpx/libvpx-v1.3.0/
/bin/tar xfC
/usr/local/src/hb-trunk/download/libvpx-v1.3.0.tar.bz2
./contrib/libvpx/
touch contrib/libvpx/.stamp.extract
touch contrib/libvpx/.stamp.patch
set -e; cd ./contrib/libvpx/libvpx-v1.3.0/; CC=/usr/bin/gcc
CFLAGS="-I/usr/local/src/hb-trunk/build/contrib/include
-std=gnu99 -O2 -D_FORTIFY_SOURCE=2 -fmessage-length=0
-fstack-protector -march=amdfam10 -mtune=amdfam10
-I/usr/local/include" CXX=/usr/bin/g++
CXXFLAGS="-I/usr/local/src/hb-trunk/build/contrib/include -O2
-D_FORTIFY_SOURCE=2 -fmessage-length=0 -fstack-protector
-march=amdfam10 -mtune=amdfam10 -I/usr/local/include"
CPPFLAGS="-I/usr/local/src/hb-trunk/build/contrib/include -O2
-D_FORTIFY_SOURCE=2 -fmessage-length=0 -fstack-protector
-march=amdfam10 -mtune=amdfam10 -I/usr/local/include"
LDFLAGS="-L/usr/local/src/hb-trunk/build/contrib/lib
-L/usr/local/lib64 -Wl,-rpath,/usr/local/lib64"
PKG_CONFIG_PATH="/usr/local/src/hb-trunk/build/contrib/lib/pkgconfig"
./configure --prefix=/usr/local/src/hb-trunk/build/contrib/
--disable-shared --enable-static --enable-vp8-encoder
--disable-vp9 --disable-vp8-decoder --disable-examples
--disable-docs --disable-unit-tests
Configuring selected codecs
enabling vp8_encoder
Configuring for target 'x86_64-linux-gcc'
enabling x86_64
enabling runtime_cpu_detect
enabling mmx
enabling sse
enabling sse2
enabling sse3
enabling ssse3
enabling sse4_1
enabling avx
enabling avx2
using yasm
checking here for x86inc "x86_64" ""
enabling use_x86inc
enabling postproc
Toolchain is unable to link executables

Configuration failed. This could reflect a misconfiguration of
your
toolchains, improper options selected, or another problem. If
you
don't see any useful error messages above, the next step is to
look
at the configure error log file (config.log) to determine what
configure was trying to do when it died.
make: *** [contrib/libvpx/.stamp.configure] Error 1

cat ./contrib/libvpx/libvpx-v1.3.0/config.log
# ./configure --prefix=/usr/local/src/hb-trunk/build/contrib/
--disable-shared --enable-static --enable-vp8-encoder
--disable-vp9 --disable-vp8-decoder --disable-examples
--disable-docs --disable-unit-tests
Configuring selected codecs
enabling vp8_encoder
Configuring for target 'x86_64-linux-gcc'
enabling x86_64
check_cpp
BEGIN /tmp/vpx-conf-7080-21614.c
1 #ifndef __ILP32__
2 #error "not x32"
3 #endif
END /tmp/vpx-conf-7080-21614.c
/usr/bin/gcc -I/usr/local/src/hb-trunk/build/contrib/include
-std=gnu99 -O2 -D_FORTIFY_SOURCE=2 -fmessage-length=0
-fstack-protector -march=amdfam10 -mtune=amdfam10
-I/usr/local/include -E -o /tmp/vpx-conf-7080-21614.o
/tmp/vpx-conf-7080-21614.c
/tmp/vpx-conf-7080-21614.c:2:2: error: #error "not x32"
#error "not x32"
^
enabling runtime_cpu_detect
enabling mmx
enabling sse
enabling sse2
enabling sse3
enabling ssse3
check_cflags -msse4
check_cc -msse4
BEGIN /tmp/vpx-conf-7080-21614.c
1 int x;
END /tmp/vpx-conf-7080-21614.c
/usr/bin/gcc -I/usr/local/src/hb-trunk/build/contrib/include
-std=gnu99 -O2 -D_FORTIFY_SOURCE=2 -fmessage-length=0
-fstack-protector -march=amdfam10 -mtune=amdfam10
-I/usr/local/include -m64 -msse4 -c -o
/tmp/vpx-conf-7080-21614.o /tmp/vpx-conf-7080-21614.c
enabling sse4_1
check_cflags -mavx
check_cc -mavx
BEGIN /tmp/vpx-conf-7080-21614.c
1 int x;
END /tmp/vpx-conf-7080-21614.c
/usr/bin/gcc -I/usr/local/src/hb-trunk/build/contrib/include
-std=gnu99 -O2 -D_FORTIFY_SOURCE=2 -fmessage-length=0
-fstack-protector -march=amdfam10 -mtune=amdfam10
-I/usr/local/include -m64 -mavx -c -o /tmp/vpx-conf-7080-21614.o
/tmp/vpx-conf-7080-21614.c
enabling avx
check_cflags -mavx2
check_cc -mavx2
BEGIN /tmp/vpx-conf-7080-21614.c
1 int x;
END /tmp/vpx-conf-7080-21614.c
/usr/bin/gcc -I/usr/local/src/hb-trunk/build/contrib/include
-std=gnu99 -O2 -D_FORTIFY_SOURCE=2 -fmessage-length=0
-fstack-protector -march=amdfam10 -mtune=amdfam10
-I/usr/local/include -m64 -mavx2 -c -o
/tmp/vpx-conf-7080-21614.o /tmp/vpx-conf-7080-21614.c
enabling avx2
using yasm
check_cxxflags -O3
check_cxx -Werror -O3
BEGIN /tmp/vpx-conf-7080-21614.cc
1 int x;
END /tmp/vpx-conf-7080-21614.cc
/usr/bin/g++ -I/usr/local/src/hb-trunk/build/contrib/include -O2
-D_FORTIFY_SOURCE=2 -fmessage-length=0 -fstack-protector
-march=amdfam10 -mtune=amdfam10 -I/usr/local/include -m64
-Werror -O3 -c -o /tmp/vpx-conf-7080-21614.o
/tmp/vpx-conf-7080-21614.cc
check_cflags -O3
check_cc -O3
BEGIN /tmp/vpx-conf-7080-21614.c
1 int x;
END /tmp/vpx-conf-7080-21614.c
/usr/bin/gcc -I/usr/local/src/hb-trunk/build/contrib/include
-std=gnu99 -O2 -D_FORTIFY_SOURCE=2 -fmessage-length=0
-fstack-protector -march=amdfam10 -mtune=amdfam10
-I/usr/local/include -m64 -O3 -c -o /tmp/vpx-conf-7080-21614.o
/tmp/vpx-conf-7080-21614.c
enabling use_x86inc
check_cxxflags -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
check_cxx -Werror -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
BEGIN /tmp/vpx-conf-7080-21614.cc
1 int x;
END /tmp/vpx-conf-7080-21614.cc
/usr/bin/g++ -I/usr/local/src/hb-trunk/build/contrib/include -O2
-D_FORTIFY_SOURCE=2 -fmessage-length=0 -fstack-protector
-march=amdfam10 -mtune=amdfam10 -I/usr/local/include -m64 -O3
-Werror -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -c -o
/tmp/vpx-conf-7080-21614.o /tmp/vpx-conf-7080-21614.cc
check_cflags -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
check_cc -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
BEGIN /tmp/vpx-conf-7080-21614.c
1 int x;
END /tmp/vpx-conf-7080-21614.c
/usr/bin/gcc -I/usr/local/src/hb-trunk/build/contrib/include
-std=gnu99 -O2 -D_FORTIFY_SOURCE=2 -fmessage-length=0
-fstack-protector -march=amdfam10 -mtune=amdfam10
-I/usr/local/include -m64 -O3 -U_FORTIFY_SOURCE
-D_FORTIFY_SOURCE=0 -c -o /tmp/vpx-conf-7080-21614.o
/tmp/vpx-conf-7080-21614.c
check_cc
BEGIN /tmp/vpx-conf-7080-21614.c
1 unsigned int e = 'O'<<24 | '2'<<16 | 'B'<<8 | 'E';
END /tmp/vpx-conf-7080-21614.c
/usr/bin/gcc -I/usr/local/src/hb-trunk/build/contrib/include
-std=gnu99 -O2 -D_FORTIFY_SOURCE=2 -fmessage-length=0
-fstack-protector -march=amdfam10 -mtune=amdfam10
-I/usr/local/include -m64 -O3 -U_FORTIFY_SOURCE
-D_FORTIFY_SOURCE=0 -c -o /tmp/vpx-conf-7080-21614.o
/tmp/vpx-conf-7080-21614.c
check_cc
BEGIN /tmp/vpx-conf-7080-21614.c
1 static inline function() {}
END /tmp/vpx-conf-7080-21614.c
/usr/bin/gcc -I/usr/local/src/hb-trunk/build/contrib/include
-std=gnu99 -O2 -D_FORTIFY_SOURCE=2 -fmessage-length=0
-fstack-protector -march=amdfam10 -mtune=amdfam10
-I/usr/local/include -m64 -O3 -U_FORTIFY_SOURCE
-D_FORTIFY_SOURCE=0 -c -o /tmp/vpx-conf-7080-21614.o
/tmp/vpx-conf-7080-21614.c
/tmp/vpx-conf-7080-21614.c:1:19: warning: return type defaults
to ‘int’
static inline function() {}
^
check_cc
BEGIN /tmp/vpx-conf-7080-21614.c
1 static __attribute__((always_inline)) function() {}
END /tmp/vpx-conf-7080-21614.c
/usr/bin/gcc -I/usr/local/src/hb-trunk/build/contrib/include
-std=gnu99 -O2 -D_FORTIFY_SOURCE=2 -fmessage-length=0
-fstack-protector -march=amdfam10 -mtune=amdfam10
-I/usr/local/include -m64 -O3 -U_FORTIFY_SOURCE
-D_FORTIFY_SOURCE=0 -c -o /tmp/vpx-conf-7080-21614.o
/tmp/vpx-conf-7080-21614.c
/tmp/vpx-conf-7080-21614.c:1:43: warning: return type defaults
to ‘int’
static __attribute__((always_inline)) function() {}
^
/tmp/vpx-conf-7080-21614.c:1:43: warning: always_inline function
might not be inlinable [-Wattributes]
check_header pthread.h
check_cpp
BEGIN /tmp/vpx-conf-7080-21614.c
1 #include "pthread.h"
2 int x;
END /tmp/vpx-conf-7080-21614.c
/usr/bin/gcc -I/usr/local/src/hb-trunk/build/contrib/include
-std=gnu99 -O2 -D_FORTIFY_SOURCE=2 -fmessage-length=0
-fstack-protector -march=amdfam10 -mtune=amdfam10
-I/usr/local/include -m64 -O3 -U_FORTIFY_SOURCE
-D_FORTIFY_SOURCE=0 -E -o /tmp/vpx-conf-7080-21614.o
/tmp/vpx-conf-7080-21614.c
check_cxxflags -Wall
check_cxx -Werror -Wall
BEGIN /tmp/vpx-conf-7080-21614.cc
1 int x;
END /tmp/vpx-conf-7080-21614.cc
/usr/bin/g++ -I/usr/local/src/hb-trunk/build/contrib/include -O2
-D_FORTIFY_SOURCE=2 -fmessage-length=0 -fstack-protector
-march=amdfam10 -mtune=amdfam10 -I/usr/local/include -m64 -O3
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -Werror -Wall -c -o
/tmp/vpx-conf-7080-21614.o /tmp/vpx-conf-7080-21614.cc
check_cflags -Wall
check_cc -Wall
BEGIN /tmp/vpx-conf-7080-21614.c
1 int x;
END /tmp/vpx-conf-7080-21614.c
/usr/bin/gcc -I/usr/local/src/hb-trunk/build/contrib/include
-std=gnu99 -O2 -D_FORTIFY_SOURCE=2 -fmessage-length=0
-fstack-protector -march=amdfam10 -mtune=amdfam10
-I/usr/local/include -m64 -O3 -U_FORTIFY_SOURCE
-D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-Wall -c -o /tmp/vpx-conf-7080-21614.o
/tmp/vpx-conf-7080-21614.c
check_cxxflags -Wdeclaration-after-statement
check_cxx -Werror -Wdeclaration-after-statement
BEGIN /tmp/vpx-conf-7080-21614.cc
1 int x;
END /tmp/vpx-conf-7080-21614.cc
/usr/bin/g++ -I/usr/local/src/hb-trunk/build/contrib/include -O2
-D_FORTIFY_SOURCE=2 -fmessage-length=0 -fstack-protector
-march=amdfam10 -mtune=amdfam10 -I/usr/local/include -m64 -O3
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -Wall -Werror
-Wdeclaration-after-statement -c -o /tmp/vpx-conf-7080-21614.o
/tmp/vpx-conf-7080-21614.cc
cc1plus: error: command line option
‘-Wdeclaration-after-statement’ is valid for C/ObjC but not for
C++ [-Werror]
cc1plus: all warnings being treated as errors
check_cflags -Wdeclaration-after-statement
check_cc -Wdeclaration-after-statement
BEGIN /tmp/vpx-conf-7080-21614.c
1 int x;
END /tmp/vpx-conf-7080-21614.c
/usr/bin/gcc -I/usr/local/src/hb-trunk/build/contrib/include
-std=gnu99 -O2 -D_FORTIFY_SOURCE=2 -fmessage-length=0
-fstack-protector -march=amdfam10 -mtune=amdfam10
-I/usr/local/include -m64 -O3 -U_FORTIFY_SOURCE
-D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-Wall -Wdeclaration-after-statement -c -o
/tmp/vpx-conf-7080-21614.o /tmp/vpx-conf-7080-21614.c
check_cxxflags -Wdisabled-optimization
check_cxx -Werror -Wdisabled-optimization
BEGIN /tmp/vpx-conf-7080-21614.cc
1 int x;
END /tmp/vpx-conf-7080-21614.cc
/usr/bin/g++ -I/usr/local/src/hb-trunk/build/contrib/include -O2
-D_FORTIFY_SOURCE=2 -fmessage-length=0 -fstack-protector
-march=amdfam10 -mtune=amdfam10 -I/usr/local/include -m64 -O3
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -Wall -Werror -Wdisabled-optimization -c
-o /tmp/vpx-conf-7080-21614.o /tmp/vpx-conf-7080-21614.cc
check_cflags -Wdisabled-optimization
check_cc -Wdisabled-optimization
BEGIN /tmp/vpx-conf-7080-21614.c
1 int x;
END /tmp/vpx-conf-7080-21614.c
/usr/bin/gcc -I/usr/local/src/hb-trunk/build/contrib/include
-std=gnu99 -O2 -D_FORTIFY_SOURCE=2 -fmessage-length=0
-fstack-protector -march=amdfam10 -mtune=amdfam10
-I/usr/local/include -m64 -O3 -U_FORTIFY_SOURCE
-D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-Wall -Wdeclaration-after-statement -Wdisabled-optimization -c
-o /tmp/vpx-conf-7080-21614.o /tmp/vpx-conf-7080-21614.c
check_cxxflags -Wpointer-arith
check_cxx -Werror -Wpointer-arith
BEGIN /tmp/vpx-conf-7080-21614.cc
1 int x;
END /tmp/vpx-conf-7080-21614.cc
/usr/bin/g++ -I/usr/local/src/hb-trunk/build/contrib/include -O2
-D_FORTIFY_SOURCE=2 -fmessage-length=0 -fstack-protector
-march=amdfam10 -mtune=amdfam10 -I/usr/local/include -m64 -O3
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -Wall -Wdisabled-optimization -Werror
-Wpointer-arith -c -o /tmp/vpx-conf-7080-21614.o
/tmp/vpx-conf-7080-21614.cc
check_cflags -Wpointer-arith
check_cc -Wpointer-arith
BEGIN /tmp/vpx-conf-7080-21614.c
1 int x;
END /tmp/vpx-conf-7080-21614.c
/usr/bin/gcc -I/usr/local/src/hb-trunk/build/contrib/include
-std=gnu99 -O2 -D_FORTIFY_SOURCE=2 -fmessage-length=0
-fstack-protector -march=amdfam10 -mtune=amdfam10
-I/usr/local/include -m64 -O3 -U_FORTIFY_SOURCE
-D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-Wall -Wdeclaration-after-statement -Wdisabled-optimization
-Wpointer-arith -c -o /tmp/vpx-conf-7080-21614.o
/tmp/vpx-conf-7080-21614.c
check_cxxflags -Wtype-limits
check_cxx -Werror -Wtype-limits
BEGIN /tmp/vpx-conf-7080-21614.cc
1 int x;
END /tmp/vpx-conf-7080-21614.cc
/usr/bin/g++ -I/usr/local/src/hb-trunk/build/contrib/include -O2
-D_FORTIFY_SOURCE=2 -fmessage-length=0 -fstack-protector
-march=amdfam10 -mtune=amdfam10 -I/usr/local/include -m64 -O3
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -Wall -Wdisabled-optimization
-Wpointer-arith -Werror -Wtype-limits -c -o
/tmp/vpx-conf-7080-21614.o /tmp/vpx-conf-7080-21614.cc
check_cflags -Wtype-limits
check_cc -Wtype-limits
BEGIN /tmp/vpx-conf-7080-21614.c
1 int x;
END /tmp/vpx-conf-7080-21614.c
/usr/bin/gcc -I/usr/local/src/hb-trunk/build/contrib/include
-std=gnu99 -O2 -D_FORTIFY_SOURCE=2 -fmessage-length=0
-fstack-protector -march=amdfam10 -mtune=amdfam10
-I/usr/local/include -m64 -O3 -U_FORTIFY_SOURCE
-D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-Wall -Wdeclaration-after-statement -Wdisabled-optimization
-Wpointer-arith -Wtype-limits -c -o /tmp/vpx-conf-7080-21614.o
/tmp/vpx-conf-7080-21614.c
check_cxxflags -Wcast-qual
check_cxx -Werror -Wcast-qual
BEGIN /tmp/vpx-conf-7080-21614.cc
1 int x;
END /tmp/vpx-conf-7080-21614.cc
/usr/bin/g++ -I/usr/local/src/hb-trunk/build/contrib/include -O2
-D_FORTIFY_SOURCE=2 -fmessage-length=0 -fstack-protector
-march=amdfam10 -mtune=amdfam10 -I/usr/local/include -m64 -O3
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -Wall -Wdisabled-optimization
-Wpointer-arith -Wtype-limits -Werror -Wcast-qual -c -o
/tmp/vpx-conf-7080-21614.o /tmp/vpx-conf-7080-21614.cc
check_cflags -Wcast-qual
check_cc -Wcast-qual
BEGIN /tmp/vpx-conf-7080-21614.c
1 int x;
END /tmp/vpx-conf-7080-21614.c
/usr/bin/gcc -I/usr/local/src/hb-trunk/build/contrib/include
-std=gnu99 -O2 -D_FORTIFY_SOURCE=2 -fmessage-length=0
-fstack-protector -march=amdfam10 -mtune=amdfam10
-I/usr/local/include -m64 -O3 -U_FORTIFY_SOURCE
-D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-Wall -Wdeclaration-after-statement -Wdisabled-optimization
-Wpointer-arith -Wtype-limits -Wcast-qual -c -o
/tmp/vpx-conf-7080-21614.o /tmp/vpx-conf-7080-21614.c
check_cxxflags -Wvla
check_cxx -Werror -Wvla
BEGIN /tmp/vpx-conf-7080-21614.cc
1 int x;
END /tmp/vpx-conf-7080-21614.cc
/usr/bin/g++ -I/usr/local/src/hb-trunk/build/contrib/include -O2
-D_FORTIFY_SOURCE=2 -fmessage-length=0 -fstack-protector
-march=amdfam10 -mtune=amdfam10 -I/usr/local/include -m64 -O3
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -Wall -Wdisabled-optimization
-Wpointer-arith -Wtype-limits -Wcast-qual -Werror -Wvla -c -o
/tmp/vpx-conf-7080-21614.o /tmp/vpx-conf-7080-21614.cc
check_cflags -Wvla
check_cc -Wvla
BEGIN /tmp/vpx-conf-7080-21614.c
1 int x;
END /tmp/vpx-conf-7080-21614.c
/usr/bin/gcc -I/usr/local/src/hb-trunk/build/contrib/include
-std=gnu99 -O2 -D_FORTIFY_SOURCE=2 -fmessage-length=0
-fstack-protector -march=amdfam10 -mtune=amdfam10
-I/usr/local/include -m64 -O3 -U_FORTIFY_SOURCE
-D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-Wall -Wdeclaration-after-statement -Wdisabled-optimization
-Wpointer-arith -Wtype-limits -Wcast-qual -Wvla -c -o
/tmp/vpx-conf-7080-21614.o /tmp/vpx-conf-7080-21614.c
check_cxxflags -Wimplicit-function-declaration
check_cxx -Werror -Wimplicit-function-declaration
BEGIN /tmp/vpx-conf-7080-21614.cc
1 int x;
END /tmp/vpx-conf-7080-21614.cc
/usr/bin/g++ -I/usr/local/src/hb-trunk/build/contrib/include -O2
-D_FORTIFY_SOURCE=2 -fmessage-length=0 -fstack-protector
-march=amdfam10 -mtune=amdfam10 -I/usr/local/include -m64 -O3
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -Wall -Wdisabled-optimization
-Wpointer-arith -Wtype-limits -Wcast-qual -Wvla -Werror
-Wimplicit-function-declaration -c -o /tmp/vpx-conf-7080-21614.o
/tmp/vpx-conf-7080-21614.cc
cc1plus: error: command line option
‘-Wimplicit-function-declaration’ is valid for C/ObjC but not
for C++ [-Werror]
cc1plus: all warnings being treated as errors
check_cflags -Wimplicit-function-declaration
check_cc -Wimplicit-function-declaration
BEGIN /tmp/vpx-conf-7080-21614.c
1 int x;
END /tmp/vpx-conf-7080-21614.c
/usr/bin/gcc -I/usr/local/src/hb-trunk/build/contrib/include
-std=gnu99 -O2 -D_FORTIFY_SOURCE=2 -fmessage-length=0
-fstack-protector -march=amdfam10 -mtune=amdfam10
-I/usr/local/include -m64 -O3 -U_FORTIFY_SOURCE
-D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-Wall -Wdeclaration-after-statement -Wdisabled-optimization
-Wpointer-arith -Wtype-limits -Wcast-qual -Wvla
-Wimplicit-function-declaration -c -o /tmp/vpx-conf-7080-21614.o
/tmp/vpx-conf-7080-21614.c
check_cxxflags -Wuninitialized
check_cxx -Werror -Wuninitialized
BEGIN /tmp/vpx-conf-7080-21614.cc
1 int x;
END /tmp/vpx-conf-7080-21614.cc
/usr/bin/g++ -I/usr/local/src/hb-trunk/build/contrib/include -O2
-D_FORTIFY_SOURCE=2 -fmessage-length=0 -fstack-protector
-march=amdfam10 -mtune=amdfam10 -I/usr/local/include -m64 -O3
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -Wall -Wdisabled-optimization
-Wpointer-arith -Wtype-limits -Wcast-qual -Wvla -Werror
-Wuninitialized -c -o /tmp/vpx-conf-7080-21614.o
/tmp/vpx-conf-7080-21614.cc
check_cflags -Wuninitialized
check_cc -Wuninitialized
BEGIN /tmp/vpx-conf-7080-21614.c
1 int x;
END /tmp/vpx-conf-7080-21614.c
/usr/bin/gcc -I/usr/local/src/hb-trunk/build/contrib/include
-std=gnu99 -O2 -D_FORTIFY_SOURCE=2 -fmessage-length=0
-fstack-protector -march=amdfam10 -mtune=amdfam10
-I/usr/local/include -m64 -O3 -U_FORTIFY_SOURCE
-D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-Wall -Wdeclaration-after-statement -Wdisabled-optimization
-Wpointer-arith -Wtype-limits -Wcast-qual -Wvla
-Wimplicit-function-declaration -Wuninitialized -c -o
/tmp/vpx-conf-7080-21614.o /tmp/vpx-conf-7080-21614.c
check_cxxflags -Wunused-variable
check_cxx -Werror -Wunused-variable
BEGIN /tmp/vpx-conf-7080-21614.cc
1 int x;
END /tmp/vpx-conf-7080-21614.cc
/usr/bin/g++ -I/usr/local/src/hb-trunk/build/contrib/include -O2
-D_FORTIFY_SOURCE=2 -fmessage-length=0 -fstack-protector
-march=amdfam10 -mtune=amdfam10 -I/usr/local/include -m64 -O3
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -Wall -Wdisabled-optimization
-Wpointer-arith -Wtype-limits -Wcast-qual -Wvla -Wuninitialized
-Werror -Wunused-variable -c -o /tmp/vpx-conf-7080-21614.o
/tmp/vpx-conf-7080-21614.cc
check_cflags -Wunused-variable
check_cc -Wunused-variable
BEGIN /tmp/vpx-conf-7080-21614.c
1 int x;
END /tmp/vpx-conf-7080-21614.c
/usr/bin/gcc -I/usr/local/src/hb-trunk/build/contrib/include
-std=gnu99 -O2 -D_FORTIFY_SOURCE=2 -fmessage-length=0
-fstack-protector -march=amdfam10 -mtune=amdfam10
-I/usr/local/include -m64 -O3 -U_FORTIFY_SOURCE
-D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-Wall -Wdeclaration-after-statement -Wdisabled-optimization
-Wpointer-arith -Wtype-limits -Wcast-qual -Wvla
-Wimplicit-function-declaration -Wuninitialized
-Wunused-variable -c -o /tmp/vpx-conf-7080-21614.o
/tmp/vpx-conf-7080-21614.c
check_cxxflags -Wunused-but-set-variable
check_cxx -Werror -Wunused-but-set-variable
BEGIN /tmp/vpx-conf-7080-21614.cc
1 int x;
END /tmp/vpx-conf-7080-21614.cc
/usr/bin/g++ -I/usr/local/src/hb-trunk/build/contrib/include -O2
-D_FORTIFY_SOURCE=2 -fmessage-length=0 -fstack-protector
-march=amdfam10 -mtune=amdfam10 -I/usr/local/include -m64 -O3
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -Wall -Wdisabled-optimization
-Wpointer-arith -Wtype-limits -Wcast-qual -Wvla -Wuninitialized
-Wunused-variable -Werror -Wunused-but-set-variable -c -o
/tmp/vpx-conf-7080-21614.o /tmp/vpx-conf-7080-21614.cc
check_cflags -Wunused-but-set-variable
check_cc -Wunused-but-set-variable
BEGIN /tmp/vpx-conf-7080-21614.c
1 int x;
END /tmp/vpx-conf-7080-21614.c
/usr/bin/gcc -I/usr/local/src/hb-trunk/build/contrib/include
-std=gnu99 -O2 -D_FORTIFY_SOURCE=2 -fmessage-length=0
-fstack-protector -march=amdfam10 -mtune=amdfam10
-I/usr/local/include -m64 -O3 -U_FORTIFY_SOURCE
-D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-Wall -Wdeclaration-after-statement -Wdisabled-optimization
-Wpointer-arith -Wtype-limits -Wcast-qual -Wvla
-Wimplicit-function-declaration -Wuninitialized
-Wunused-variable -Wunused-but-set-variable -c -o
/tmp/vpx-conf-7080-21614.o /tmp/vpx-conf-7080-21614.c
check_cxxflags -Wno-unused-function
check_cxx -Werror -Wno-unused-function
BEGIN /tmp/vpx-conf-7080-21614.cc
1 int x;
END /tmp/vpx-conf-7080-21614.cc
/usr/bin/g++ -I/usr/local/src/hb-trunk/build/contrib/include -O2
-D_FORTIFY_SOURCE=2 -fmessage-length=0 -fstack-protector
-march=amdfam10 -mtune=amdfam10 -I/usr/local/include -m64 -O3
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -Wall -Wdisabled-optimization
-Wpointer-arith -Wtype-limits -Wcast-qual -Wvla -Wuninitialized
-Wunused-variable -Wunused-but-set-variable -Werror
-Wno-unused-function -c -o /tmp/vpx-conf-7080-21614.o
/tmp/vpx-conf-7080-21614.cc
check_cflags -Wno-unused-function
check_cc -Wno-unused-function
BEGIN /tmp/vpx-conf-7080-21614.c
1 int x;
END /tmp/vpx-conf-7080-21614.c
/usr/bin/gcc -I/usr/local/src/hb-trunk/build/contrib/include
-std=gnu99 -O2 -D_FORTIFY_SOURCE=2 -fmessage-length=0
-fstack-protector -march=amdfam10 -mtune=amdfam10
-I/usr/local/include -m64 -O3 -U_FORTIFY_SOURCE
-D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-Wall -Wdeclaration-after-statement -Wdisabled-optimization
-Wpointer-arith -Wtype-limits -Wcast-qual -Wvla
-Wimplicit-function-declaration -Wuninitialized
-Wunused-variable -Wunused-but-set-variable -Wno-unused-function
-c -o /tmp/vpx-conf-7080-21614.o /tmp/vpx-conf-7080-21614.c
enabling postproc
check_cxx
BEGIN /tmp/vpx-conf-7080-21614.cc
1 int z;
END /tmp/vpx-conf-7080-21614.cc
/usr/bin/g++ -I/usr/local/src/hb-trunk/build/contrib/include -O2
-D_FORTIFY_SOURCE=2 -fmessage-length=0 -fstack-protector
-march=amdfam10 -mtune=amdfam10 -I/usr/local/include -m64 -O3
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -Wall -Wdisabled-optimization
-Wpointer-arith -Wtype-limits -Wcast-qual -Wvla -Wuninitialized
-Wunused-variable -Wunused-but-set-variable -Wno-unused-function
-c -o /tmp/vpx-conf-7080-21614.o /tmp/vpx-conf-7080-21614.cc
check_header stdio.h
check_cpp
BEGIN /tmp/vpx-conf-7080-21614.c
1 #include "stdio.h"
2 int x;
END /tmp/vpx-conf-7080-21614.c
/usr/bin/gcc -I/usr/local/src/hb-trunk/build/contrib/include
-std=gnu99 -O2 -D_FORTIFY_SOURCE=2 -fmessage-length=0
-fstack-protector -march=amdfam10 -mtune=amdfam10
-I/usr/local/include -m64 -O3 -U_FORTIFY_SOURCE
-D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-Wall -Wdeclaration-after-statement -Wdisabled-optimization
-Wpointer-arith -Wtype-limits -Wcast-qual -Wvla
-Wimplicit-function-declaration -Wuninitialized
-Wunused-variable -Wunused-but-set-variable -Wno-unused-function
-E -o /tmp/vpx-conf-7080-21614.o /tmp/vpx-conf-7080-21614.c
check_ld
check_cc
BEGIN /tmp/vpx-conf-7080-21614.c
1 int main(void) {return 0;}
END /tmp/vpx-conf-7080-21614.c
/usr/bin/gcc -I/usr/local/src/hb-trunk/build/contrib/include
-std=gnu99 -O2 -D_FORTIFY_SOURCE=2 -fmessage-length=0
-fstack-protector -march=amdfam10 -mtune=amdfam10
-I/usr/local/include -m64 -O3 -U_FORTIFY_SOURCE
-D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-Wall -Wdeclaration-after-statement -Wdisabled-optimization
-Wpointer-arith -Wtype-limits -Wcast-qual -Wvla
-Wimplicit-function-declaration -Wuninitialized
-Wunused-variable -Wunused-but-set-variable -Wno-unused-function
-c -o /tmp/vpx-conf-7080-21614.o /tmp/vpx-conf-7080-21614.c
/usr/bin/ld -L/usr/local/src/hb-trunk/build/contrib/lib
-L/usr/local/lib64 -Wl,-rpath,/usr/local/lib64 -m64 -o
/tmp/vpx-conf-7080-21614.x /tmp/vpx-conf-7080-21614.o -lpthread
/usr/bin/ld: unrecognised emulation mode: 64
Supported emulations: elf_x86_64 elf32_x86_64 elf_i386 i386linux
elf_l1om elf_k1om aarch64linux aarch64elf aarch64elf32
aarch64elf32b aarch64elfb armelf armelfb aarch64linuxb
aarch64linux32 aarch64linux32b armelfb_linux_eabi
armelf_linux_eabi elf64alpha alpha armelf_linux armelfb_linux
hppalinux hppa64linux elf64_ia64 m68kelf m68klinux elf32btsmip
elf32ltsmip elf32btsmipn32 elf64btsmip elf32ltsmipn32
elf64ltsmip elf32ppclinux elf32ppc elf32ppcsim elf64ppc
elf64lppc elf32lppc elf32lppclinux elf32lppcsim elf_s390
elf64_s390 shlelf_linux elf32_sparc sparclinux elf64_sparc sun4
ppcmacos elf32_spu i386pep i386pe


cd ..
rm -rf build
unset LD
./configure ...
cd build
make <==================== OK

m1cha...@gmail.com

unread,
Jul 8, 2015, 1:52:34 PM7/8/15
to webm-d...@webmproject.org, grantk...@operamail.com
Hello All, I'm trying to configure and install handbrake in puppy 525
and everything went swimmingly well until I tried to run make install:
Terminal returned this error message: http://pastebin.com/uMZ12XWh

can anyone advise on what to do? please let me know if you require more info
i wll happily paste the config.log too if needs be? thanks in advance.

INFINITEKIFF

Johann Koenig

unread,
Jul 8, 2015, 1:57:24 PM7/8/15
to webm-d...@webmproject.org
On Wed, Jul 8, 2015 at 10:44 AM, <m1cha...@gmail.com> wrote:
> Terminal returned this error message:

using nasm
nasm -Ox -f elf32 does not support section alignment (nasm <=2.08?)

You may need to update to a newer version of 'nasm' or install 'yasm'.

Michael Lowe

unread,
Jul 8, 2015, 6:05:54 PM7/8/15
to webm-d...@webmproject.org

Hi will look into that. Used to have 'yasm' installed but then i cocked up my save file, had to start all over again. May have to reinstall it, thanks for reminding me. Cheers

--
You received this message because you are subscribed to a topic in the Google Groups "WebM Discussion" group.
To unsubscribe from this topic, visit https://groups.google.com/a/webmproject.org/d/topic/webm-discuss/5P9VhrQehpA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to webm-discuss...@webmproject.org.
To post to this group, send email to webm-d...@webmproject.org.
Visit this group at http://groups.google.com/a/webmproject.org/group/webm-discuss/.
For more options, visit https://groups.google.com/a/webmproject.org/d/optout.
Reply all
Reply to author
Forward
0 new messages