Opened on 02/27/2017 at 02:47:28 PM

Closed on 03/21/2017 at 10:12:40 AM

#4942 closed defect (fixed)

Failed to build due to "sorry, unimplemented: mangling dotstar_expr"

Reported by: asmirnov Assignee: asmirnov
Priority: P2 Milestone:
Module: Libadblockplus-Android Keywords:
Cc: sergz, fhd Blocked By:
Blocking: Platform: Android
Ready: yes Confidential: no
Tester: Unknown Verified working: no
Review URL(s):

https://codereview.adblockplus.org/29377054/

Description

Environment

Trying to build libadblockplus-android on new macbook i'm getting "sorry, unimplemented: mangling dotstar_expr" error (see full text in attached build_error.txt) with gradlew. Something related to issue #768

How to reproduce

  1. Run ./gradlew clean assembleDebug
  2. Get build error

...

Observed behaviour

The project should be built

Expected behaviour

The project build fails on ndk compilation

Attachments (1)

build_error.txt (44.9 KB) - added by asmirnov on 02/27/2017 at 02:47:41 PM.

Download all attachments as: .zip

Change History (6)

Changed on 02/27/2017 at 02:47:41 PM by asmirnov

comment:1 Changed on 02/27/2017 at 02:51:53 PM by asmirnov

this can be fixed by using one of the lines in https://hg.adblockplus.org/libadblockplus-android/file/tip/libadblockplus-android/jni/Application.mk:
1) NDK_TOOLCHAIN_VERSION := clang (use clang toolchain)
2) NDK_TOOLCHAIN_VERSION := 4.8 (use gcc toolchain version 4.8)

The preferred solution will be discussed with Sergei (in order to have the same toolchain for both libadblockplus and libadblockplus-android

comment:2 Changed on 02/27/2017 at 02:52:28 PM by asmirnov

comment:3 Changed on 02/28/2017 at 08:50:40 AM by asmirnov

  • Ready set
  • Review URL(s) modified (diff)
  • Status changed from new to reviewing

comment:4 Changed on 03/21/2017 at 10:12:05 AM by abpbot

comment:5 Changed on 03/21/2017 at 10:12:40 AM by asmirnov

  • Resolution set to fixed
  • Status changed from reviewing to closed

Add Comment

Modify Ticket

Change Properties
Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from asmirnov.
 
Note: See TracTickets for help on using tickets.