[Mesa-dev] Mesa 7.11 devel fails on crosscompiling
Stephan Raue
mailinglists at openelec.tv
Tue May 10 04:42:43 PDT 2011
Hi
Mesa 7.11 current git fails on crossompile between different archs (here
i386 and x86_64) with generating the sources via python (output with
enabled PYTHONVERBOSE). Tested with croscompiled Python build
(hostpython) 2.6 and system installed python 2.7:
/home/stephan/projects/openelec-master/build.OpenELEC-test.x86_64-devel/toolchain/bin/x86_64-openelec-linux-gnu-gcc
-I. -I../mesa -I../mapi -I../../include -fPIC -march=atom -m64
-fomit-frame-pointer -Wall -pipe -O3 -ffast-math
-ftree-loop-distribution -floop-interchange -floop-strip-mine
-floop-block -fgraphite-identity -fexcess-precision=fast -mfpmath=sse
-ftree-vectorize -mmovbe -Wall -Wmissing-prototypes -std=c99 -ffast-math
-fno-strict-aliasing -fPIC -D_GNU_SOURCE -DPTHREADS
-DHAVE_POSIX_MEMALIGN -DUSE_XCB -DUSE_EXTERNAL_DXTN_LIB=1
-DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING
-DHAVE_ALIAS -DFEATURE_GL=1 -fvisibility=hidden glcpp/glcpp-lex.o
glcpp/glcpp-parse.o glcpp/pp.o ralloc.o glcpp/glcpp.o
../mesa/program/hash_table.o -o glcpp/glcpp
Regenerating builtin_function.cpp...
/usr/bin/python -t -O -O builtins/tools/generate_builtins.py
./builtin_compiler > builtin_function.cpp || rm -f builtin_function.cpp
# installing zipimport hook
import zipimport # builtin
# installed zipimport hook
# /usr/lib/python2.7/site.pyo matches /usr/lib/python2.7/site.py
import site # precompiled from /usr/lib/python2.7/site.pyo
# /usr/lib/python2.7/os.pyo matches /usr/lib/python2.7/os.py
import os # precompiled from /usr/lib/python2.7/os.pyo
import errno # builtin
import posix # builtin
# /usr/lib/python2.7/posixpath.pyo matches /usr/lib/python2.7/posixpath.py
import posixpath # precompiled from /usr/lib/python2.7/posixpath.pyo
# /usr/lib/python2.7/stat.pyo matches /usr/lib/python2.7/stat.py
import stat # precompiled from /usr/lib/python2.7/stat.pyo
# /usr/lib/python2.7/genericpath.pyo matches
/usr/lib/python2.7/genericpath.py
import genericpath # precompiled from /usr/lib/python2.7/genericpath.pyo
# /usr/lib/python2.7/warnings.pyo matches /usr/lib/python2.7/warnings.py
import warnings # precompiled from /usr/lib/python2.7/warnings.pyo
# /usr/lib/python2.7/linecache.pyo matches /usr/lib/python2.7/linecache.py
import linecache # precompiled from /usr/lib/python2.7/linecache.pyo
# /usr/lib/python2.7/types.pyo matches /usr/lib/python2.7/types.py
import types # precompiled from /usr/lib/python2.7/types.pyo
# /usr/lib/python2.7/UserDict.pyo matches /usr/lib/python2.7/UserDict.py
import UserDict # precompiled from /usr/lib/python2.7/UserDict.pyo
# /usr/lib/python2.7/_abcoll.pyo matches /usr/lib/python2.7/_abcoll.py
import _abcoll # precompiled from /usr/lib/python2.7/_abcoll.pyo
# /usr/lib/python2.7/abc.pyo matches /usr/lib/python2.7/abc.py
import abc # precompiled from /usr/lib/python2.7/abc.pyo
# /usr/lib/python2.7/_weakrefset.pyo matches
/usr/lib/python2.7/_weakrefset.py
import _weakrefset # precompiled from /usr/lib/python2.7/_weakrefset.pyo
import _weakref # builtin
# /usr/lib/python2.7/copy_reg.pyo matches /usr/lib/python2.7/copy_reg.py
import copy_reg # precompiled from /usr/lib/python2.7/copy_reg.pyo
# /usr/lib/python2.7/sysconfig.pyo matches /usr/lib/python2.7/sysconfig.py
import sysconfig # precompiled from /usr/lib/python2.7/sysconfig.pyo
# /usr/lib/python2.7/re.pyo matches /usr/lib/python2.7/re.py
import re # precompiled from /usr/lib/python2.7/re.pyo
# /usr/lib/python2.7/sre_compile.pyo matches
/usr/lib/python2.7/sre_compile.py
import sre_compile # precompiled from /usr/lib/python2.7/sre_compile.pyo
import _sre # builtin
# /usr/lib/python2.7/sre_parse.pyo matches /usr/lib/python2.7/sre_parse.py
import sre_parse # precompiled from /usr/lib/python2.7/sre_parse.pyo
# /usr/lib/python2.7/sre_constants.pyo matches
/usr/lib/python2.7/sre_constants.py
import sre_constants # precompiled from /usr/lib/python2.7/sre_constants.pyo
# /usr/lib/python2.7/site-packages/abrt_exception_handler.pyo matches
/usr/lib/python2.7/site-packages/abrt_exception_handler.py
import abrt_exception_handler # precompiled from
/usr/lib/python2.7/site-packages/abrt_exception_handler.pyo
dlopen("/usr/lib/python2.7/lib-dynload/syslog.so", 2);
import syslog # dynamically loaded from
/usr/lib/python2.7/lib-dynload/syslog.so
# /usr/lib/python2.7/socket.pyo matches /usr/lib/python2.7/socket.py
import socket # precompiled from /usr/lib/python2.7/socket.pyo
dlopen("/usr/lib/python2.7/lib-dynload/_socketmodule.so", 2);
import _socket # dynamically loaded from
/usr/lib/python2.7/lib-dynload/_socketmodule.so
# /usr/lib/python2.7/functools.pyo matches /usr/lib/python2.7/functools.py
import functools # precompiled from /usr/lib/python2.7/functools.pyo
dlopen("/usr/lib/python2.7/lib-dynload/_functoolsmodule.so", 2);
import _functools # dynamically loaded from
/usr/lib/python2.7/lib-dynload/_functoolsmodule.so
dlopen("/usr/lib/python2.7/lib-dynload/_ssl.so", 2);
import _ssl # dynamically loaded from /usr/lib/python2.7/lib-dynload/_ssl.so
dlopen("/usr/lib/python2.7/lib-dynload/cStringIO.so", 2);
import cStringIO # dynamically loaded from
/usr/lib/python2.7/lib-dynload/cStringIO.so
import encodings # directory /usr/lib/python2.7/encodings
# /usr/lib/python2.7/encodings/__init__.pyo matches
/usr/lib/python2.7/encodings/__init__.py
import encodings # precompiled from
/usr/lib/python2.7/encodings/__init__.pyo
# /usr/lib/python2.7/codecs.pyo matches /usr/lib/python2.7/codecs.py
import codecs # precompiled from /usr/lib/python2.7/codecs.pyo
import _codecs # builtin
# /usr/lib/python2.7/encodings/aliases.pyo matches
/usr/lib/python2.7/encodings/aliases.py
import encodings.aliases # precompiled from
/usr/lib/python2.7/encodings/aliases.pyo
# /usr/lib/python2.7/encodings/utf_8.pyo matches
/usr/lib/python2.7/encodings/utf_8.py
import encodings.utf_8 # precompiled from
/usr/lib/python2.7/encodings/utf_8.pyo
Python 2.7.1 (r271:86832, Apr 12 2011, 16:16:18)
[GCC 4.6.0 20110331 (Red Hat 4.6.0-2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
# /usr/lib/python2.7/__future__.pyo matches /usr/lib/python2.7/__future__.py
import __future__ # precompiled from /usr/lib/python2.7/__future__.pyo
# /usr/lib/python2.7/glob.pyo matches /usr/lib/python2.7/glob.py
import glob # precompiled from /usr/lib/python2.7/glob.pyo
# /usr/lib/python2.7/fnmatch.pyo matches /usr/lib/python2.7/fnmatch.py
import fnmatch # precompiled from /usr/lib/python2.7/fnmatch.pyo
# /usr/lib/python2.7/subprocess.pyo matches /usr/lib/python2.7/subprocess.py
import subprocess # precompiled from /usr/lib/python2.7/subprocess.pyo
# /usr/lib/python2.7/traceback.pyo matches /usr/lib/python2.7/traceback.py
import traceback # precompiled from /usr/lib/python2.7/traceback.pyo
import gc # builtin
dlopen("/usr/lib/python2.7/lib-dynload/timemodule.so", 2);
import time # dynamically loaded from
/usr/lib/python2.7/lib-dynload/timemodule.so
dlopen("/usr/lib/python2.7/lib-dynload/selectmodule.so", 2);
import select # dynamically loaded from
/usr/lib/python2.7/lib-dynload/selectmodule.so
dlopen("/usr/lib/python2.7/lib-dynload/fcntlmodule.so", 2);
import fcntl # dynamically loaded from
/usr/lib/python2.7/lib-dynload/fcntlmodule.so
# /usr/lib/python2.7/pickle.pyo matches /usr/lib/python2.7/pickle.py
import pickle # precompiled from /usr/lib/python2.7/pickle.pyo
import marshal # builtin
# /usr/lib/python2.7/struct.pyo matches /usr/lib/python2.7/struct.py
import struct # precompiled from /usr/lib/python2.7/struct.pyo
dlopen("/usr/lib/python2.7/lib-dynload/_struct.so", 2);
import _struct # dynamically loaded from
/usr/lib/python2.7/lib-dynload/_struct.so
dlopen("/usr/lib/python2.7/lib-dynload/binascii.so", 2);
import binascii # dynamically loaded from
/usr/lib/python2.7/lib-dynload/binascii.so
import texture_builtins # from
/home/stephan/projects/openelec-master/build.OpenELEC-test.x86_64-devel/Mesa-7.11-git6807438/src/glsl/builtins/tools/texture_builtins.py
# wrote
/home/stephan/projects/openelec-master/build.OpenELEC-test.x86_64-devel/Mesa-7.11-git6807438/src/glsl/builtins/tools/texture_builtins.pyo
# /usr/lib/python2.7/StringIO.pyo matches /usr/lib/python2.7/StringIO.py
import StringIO # precompiled from /usr/lib/python2.7/StringIO.pyo
# /usr/lib/python2.7/encodings/string_escape.pyo matches
/usr/lib/python2.7/encodings/string_escape.py
import encodings.string_escape # precompiled from
/usr/lib/python2.7/encodings/string_escape.pyo
Traceback (most recent call last):
File "builtins/tools/generate_builtins.py", line 196, in <module>
write_profiles()
File "builtins/tools/generate_builtins.py", line 107, in write_profiles
write_profile(filename, profile)
File "builtins/tools/generate_builtins.py", line 75, in write_profile
(proto_ir, returncode) = run_compiler([filename])
File "builtins/tools/generate_builtins.py", line 62, in run_compiler
p = Popen(command, 1, stdout=PIPE, shell=False)
File "/usr/lib/python2.7/subprocess.py", line 672, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1202, in _execute_child
raise child_exception
OSError: [Errno 8] Exec format error
# clear __builtin__._
# clear sys.path
# clear sys.argv
# clear sys.ps1
# clear sys.ps2
# clear sys.exitfunc
# clear sys.exc_type
# clear sys.exc_value
# clear sys.exc_traceback
# clear sys.last_type
# clear sys.last_value
# clear sys.last_traceback
# clear sys.path_hooks
# clear sys.path_importer_cache
# clear sys.meta_path
# clear sys.flags
# clear sys.float_info
# restore sys.stdin
# restore sys.stdout
# restore sys.stderr
# cleanup __main__
# cleanup[1] texture_builtins
# cleanup[1] cStringIO
# cleanup[1] __future__
# cleanup[1] functools
# cleanup[1] encodings
# cleanup[1] site
# cleanup[1] subprocess
# cleanup[1] sysconfig
# cleanup[1] gc
# cleanup[1] select
# cleanup[1] abc
# cleanup[1] _weakrefset
# cleanup[1] sre_constants
# cleanup[1] _codecs
# cleanup[1] zope
# cleanup[1] _struct
# cleanup[1] _warnings
# cleanup[1] fcntl
# cleanup[1] zipimport
# cleanup[1] glob
# cleanup[1] encodings.utf_8
# cleanup[1] fnmatch
# cleanup[1] paste
# cleanup[1] _functools
# cleanup[1] encodings.string_escape
# cleanup[1] StringIO
# cleanup[1] pickle
# cleanup[1] signal
# cleanup[1] traceback
# cleanup[1] marshal
# cleanup[1] posix
# cleanup[1] encodings.aliases
# cleanup[1] exceptions
# cleanup[1] abrt_exception_handler
# cleanup[1] _weakref
# cleanup[1] syslog
# cleanup[1] binascii
# cleanup[1] re
# cleanup[1] codecs
# cleanup[1] struct
# cleanup[1] socket
# cleanup[1] sre_compile
# cleanup[1] _sre
# cleanup[1] _ssl
# cleanup[1] _socket
# cleanup[1] sre_parse
# cleanup[2] copy_reg
# cleanup[2] posixpath
# cleanup[2] errno
# cleanup[2] _abcoll
# cleanup[2] types
# cleanup[2] genericpath
# cleanup[2] stat
# cleanup[2] warnings
# cleanup[2] UserDict
# cleanup[2] os.path
# cleanup[2] linecache
# cleanup[2] time
# cleanup[2] os
# cleanup sys
# cleanup __builtin__
# cleanup ints: 25 unfreed ints
# cleanup floats
/home/stephan/projects/openelec-master/build.OpenELEC-test.x86_64-devel/toolchain/bin/x86_64-openelec-linux-gnu-g++
-c -I. -I../mesa -I../mapi -I../../include -fPIC -march=atom -m64
-fomit-frame-pointer -Wall -pipe -O3 -ffast-math
-ftree-loop-distribution -floop-interchange -floop-strip-mine
-floop-block -fgraphite-identity -fexcess-precision=fast -mfpmath=sse
-ftree-vectorize -mmovbe -Wall -fno-strict-aliasing -fPIC
-D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_XCB
-DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING
-DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DFEATURE_GL=1
-fvisibility=hidden -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN
-DUSE_XCB -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER
-DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS
-DFEATURE_GL=1 builtin_function.cpp -o builtin_function.o
x86_64-openelec-linux-gnu-g++-4.5.3: builtin_function.cpp: No such file
or directory
x86_64-openelec-linux-gnu-g++-4.5.3: no input files
gmake[3]: *** [builtin_function.o] Fehler 1
gmake[3]: Leaving directory
`/home/stephan/projects/openelec-master/build.OpenELEC-test.x86_64-devel/Mesa-7.11-git6807438/src/glsl'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory
`/home/stephan/projects/openelec-master/build.OpenELEC-test.x86_64-devel/Mesa-7.11-git6807438/src'
make[1]: *** [default] Error 1
make[1]: Leaving directory
`/home/stephan/projects/openelec-master/build.OpenELEC-test.x86_64-devel/Mesa-7.11-git6807438'
make: *** [squashfs] Fehler 2
[stephan at x200t openelec-master]$
any idea how i can mange such build?
greetings
Stephan
More information about the mesa-dev
mailing list