[Mesa-dev] Building error in android-x86

Marek Olšák maraeo at gmail.com
Sat May 6 10:15:36 UTC 2017


Hi,

There are several options:
- Use Mesa 17.1 instead of master
- Drop support for radeonsi in Nougat if you have to use master
- Revert the commit removing LLVM 3.8 support, resolve merge conflicts, and
send it for review.

I'd be OK with any but I recommend the first one.

Marek

Marek


On May 6, 2017 11:39 AM, "Mauro Rossi" <issor.oruam at gmail.com> wrote:

Hi,

mesa-dev is about to be polished for marshmallow, nougat and O
and radeonsi was working on both marshmallow-x86 and nougat-x86

Now I see that llvm 3.8 is considered dropped,
but commit "radeonsi: drop support for LLVM 3.8"
does not mention that nougat is gone.

Is there a chance that we can try to build even with llvm 3.8 if not all
features supported?

Are your really sure that there was no way to keep at least the possibility
to build nougat-x86, support,considering that it is the current maintenance
release of android?

Thanks for informations

Mauro

external/mesa/src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c:1223:34:
warning: implicit declaration of function 'LLVMCreateTargetDataLayout' is
invalid in C99 [-Wimplicit-function-declaration]
        LLVMTargetDataRef data_layout = LLVMCreateTargetDataLayout(tm);
                                        ^
external/mesa/src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c:1223:20:
error: incompatible integer to pointer conversion initializing
'LLVMTargetDataRef' (aka 'struct LLVMOpaqueTargetData *') with an
expression of type 'int' [-Werror,-Wint-conversion]
        LLVMTargetDataRef data_layout = LLVMCreateTargetDataLayout(tm);
                          ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning and 1 error generated.
[ 12% 548/4306] target  C: libmesa_pipe_radeonsi_32 <=
external/mesa/src/gallium/drivers/radeonsi/si_descriptors.c
ninja: build stopped: subcommand failed.
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1

#### make failed to build some targets (03:45 (mm:ss)) ####

_______________________________________________
mesa-dev mailing list
mesa-dev at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170506/d4872b48/attachment.html>


More information about the mesa-dev mailing list