Fwd: Kind request for suggestion about build error

Mauro Rossi via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 11 01:03:02 PDT 2018


Hi,

As an introduction I am a volounter in android-x86 project.

I'm trying to build master 7.0.0 with android-x86 project
(correspondig to 8.1.0_r18)

When building android image I get the following error:

In file included from external/llvm70/lib/Support/Path.cpp:1082:
external/llvm70/lib/Support/Unix/Path.inc:770:19: error: no matching
function for call to 'RetryAfterSignal'
  if ((ResultFD = sys::RetryAfterSignal(-1, open, P.begin(), OpenFlags, Mode)) <
                  ^~~~~~~~~~~~~~~~~~~~~
external/llvm70/lib/Support/../../include/llvm/Support/Errno.h:34:13:
note: candidate template ignored: couldn't infer template argument
'Fun'
inline auto RetryAfterSignal(const FailT &Fail, const Fun &F,
            ^
1 error generated.

In release_60 branch in order to build I had to revert [1]
In llvm master 7.0.0 I was able to rollback resolving a couple of
conflicts in lib/Support/Unix/Path.inc. [2]

If Android is or will be one of the targets I just wanted to ask if
there is a simpler solution,
compatible with Android Build System/toolchain, or it's better I stick
to rollback, given my medium low C++ templates expertise.

Mauro Rossi

[1] https://github.com/llvm-mirror/llvm/commit/d04333d38b8fd9914389c21267fa3859b9ebe0b7

[2] https://github.com/maurossi/llvm/commit/38e1953b00f9fdb4a8469ce6c7270a857ab539a6


More information about the llvm-commits mailing list