交叉编译Mesa的时候出现如下问题
Regenerating builtin_function.cpp...
python2 -t -O -O builtins/tools/generate_builtins.py ./builtin_compiler > builtin_function.cpp || rm -f builtin_function.cpp
Traceback (most recent call last):
File "builtins/tools/generate_builtins.py", line 199, in <module>
write_profiles()
File "builtins/tools/generate_builtins.py", line 104, in write_profiles
write_profile(filename, profile)
File "builtins/tools/generate_builtins.py", line 76, in write_profile
(proto_ir, returncode) = run_compiler([filename])
File "builtins/tools/generate_builtins.py", line 63, in run_compiler
p = Popen(command, 1, stdout=PIPE, shell=False)
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
raise child_exception
OSError: [Errno 8] Exec format error |