← Back to team overview

ubuntu-phone team mailing list archive

Re: system/core: fix FTBFS with _host_ gcc-4.8/glibc-2.17

 

On 9 July 2013 00:21, Dmitrijs Ledkovs <dmitrij.ledkov@xxxxxxxxxx> wrote:
> When using normal host toolchain (/usr/bin/gcc et al) on saucy, host
> system/core fails to build.
>
> * __USE_GNU is misused, thus resulting in undefined symbols. Fix
> submitted to AOSP as well (see change-id).
>
> * adb is underlinked, missing -ldl, this is a fake cherry-pick as
> equivalent fix is already in AOSP upstream.
>

When above two patches are applied, we stop using host prebuilt toolchains.
One needs g++-multilib installed.

Patch against build/

Regards,

Dmitrijs.

Attachment: 0001-Use-system-multilib-toolchain.patch
Description: Binary data


References