From: Robert Foss <robert.foss@collabora.com>
To: Mauro Rossi <issor.oruam@gmail.com>
Cc: ML dri-devel <dri-devel@lists.freedesktop.org>
Subject: Re: [PATCH] android: libdrm_platform: add liblog shared dependency
Date: Mon, 18 Mar 2019 10:58:42 +0100 [thread overview]
Message-ID: <44c32bb0-e5d2-7ee6-5269-d47aeab9fbe0@collabora.com> (raw)
In-Reply-To: <CAEQFVGaK_ifNT-MvVwcKPBjrh5gEx_4eoo6d5EuXLh3o0W8Eyg@mail.gmail.com>
Hey Mauro,
On 3/18/19 9:38 AM, Mauro Rossi wrote:
> Hi Robert,
>
> On Mon, Mar 18, 2019 at 9:21 AM Robert Foss <robert.foss@collabora.com> wrote:
>>
>> On a second note, this does not apply on libdrm/master due
>> to:
>>
>> LOCAL_SHARED_LIBRARIES := \
>> libcutils
>
> Sorry, we have an additional Google patch, not present in libdrm/master
> that adds libdrm_platform module, but it is for a specific Google issue. [1]
>
> However with libdrm module we have both liblog and libcutils shared dependencies
>
> [1] http://git.osdn.net/view?p=android-x86/external-libdrm.git;a=commit;h=8ccbfeab9fb2bddf4585339a0bcbea2f1e3ffa1e
Do you know if [1] causes incompatibility issues with earlier android verions?
If not I would suggest upstreaming it too.
>
> Mauro
>
>>
>> My thinking is that libcutils probably can be replaced with liblog,
>> but I'm not 100% sure.
>>
>>
>> Rob.
>>
>> On 3/18/19 9:09 AM, Robert Foss wrote:
>>> This is probably a good idea!
>>>
>>>
>>> Reviewed-by: Robert Foss <robert.foss@collabora.com>
>>>
>>> On 3/17/19 9:54 PM, Mauro Rossi wrote:
>>>> Hi,
>>>> I used the option --subject-prefix="PATCH libdrm"
>>>> but it did not go as expected.
>>>>
>>>> Anyway, the patch is for Android build of mesa/drm
>>>> Mauro
>>>>
>>>> On Sun, Mar 17, 2019 at 9:50 PM Mauro Rossi <issor.oruam@gmail.com> wrote:
>>>>>
>>>>> Fixes the following building error:
>>>>>
>>>>> FAILED:
>>>>> $(OUT)/obj/SHARED_LIBRARIES/libdrm_platform_intermediates/LINKED/libdrm_platform.so
>>>>>
>>>>> ...
>>>>> external/libdrm/xf86drm.c:146: error: undefined reference to
>>>>> '__android_log_vprint'
>>>>> clang.real: error: linker command failed with exit code 1 (use -v to see
>>>>> invocation)
>>>>>
>>>>> Signed-off-by: Mauro Rossi <issor.oruam@gmail.com>
>>>>> ---
>>>>> Android.mk | 3 +++
>>>>> 1 file changed, 3 insertions(+)
>>>>>
>>>>> diff --git a/Android.mk b/Android.mk
>>>>> index f2c78bc1..f832b24e 100644
>>>>> --- a/Android.mk
>>>>> +++ b/Android.mk
>>>>> @@ -61,6 +61,9 @@ LOCAL_EXPORT_C_INCLUDE_DIRS := \
>>>>> $(LOCAL_PATH) \
>>>>> $(LOCAL_PATH)/include/drm
>>>>>
>>>>> +LOCAL_SHARED_LIBRARIES := \
>>>>> + liblog
>>>>> +
>>>>> LOCAL_C_INCLUDES := \
>>>>> $(LOCAL_PATH)/include/drm
>>>>>
>>>>> --
>>>>> 2.19.1
>>>>>
>>>> _______________________________________________
>>>> dri-devel mailing list
>>>> dri-devel@lists.freedesktop.org
>>>> https://lists.freedesktop.org/mailman/listinfo/dri-devel
>>>>
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
>
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2019-03-18 9:58 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-17 20:50 [PATCH] android: libdrm_platform: add liblog shared dependency Mauro Rossi
2019-03-17 20:54 ` Mauro Rossi
2019-03-18 8:09 ` Robert Foss
2019-03-18 8:21 ` Robert Foss
2019-03-18 8:38 ` Mauro Rossi
2019-03-18 9:58 ` Robert Foss [this message]
2019-03-18 13:11 ` Mauro Rossi
2019-03-18 13:25 ` Robert Foss
2019-03-18 13:32 ` Tapani Pälli
2019-04-17 17:49 ` Emil Velikov
2019-04-22 9:46 ` Mauro Rossi
2019-04-26 22:06 ` Mauro Rossi
2019-06-24 5:56 ` Chih-Wei Huang
2019-04-22 9:39 ` Mauro Rossi
2019-03-18 11:40 ` Tapani Pälli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44c32bb0-e5d2-7ee6-5269-d47aeab9fbe0@collabora.com \
--to=robert.foss@collabora.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=issor.oruam@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox