← Back to team overview

ubuntu-phone team mailing list archive

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

 

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.

Both fixes are also submitted to cynogenmod.

Owner/group permissions are not right on the system/core git repo,
thus I was not able to push. Somebody with more privileges should fix
it up, to get the right sticky group bit again.

Regards,

Dmitrijs.

Attachment: 0002-Link-adb-with-ldl.-Cherrypick-from-AOSP.patch
Description: Binary data

Attachment: 0001-Fix-failure-to-build-from-source-with-modern-_host_-.patch
Description: Binary data


Follow ups