~vicamo/libhybris/+git/libhybris:for-ubuntu/fix-warnings

Last commit made on 2016-08-11
Get this branch:
git clone -b for-ubuntu/fix-warnings https://git.launchpad.net/~vicamo/libhybris/+git/libhybris
Only You-Sheng Yang can upload to this branch. If you are You-Sheng Yang please log in for upload directions.

Branch merges

Branch information

Name:
for-ubuntu/fix-warnings
Repository:
lp:~vicamo/libhybris/+git/libhybris

Recent commits

1f033aa... by You-Sheng Yang

build: fix misc warnings

6b9606a... by You-Sheng Yang

hooks: use pthread_attr_{get,set}stack when available

Following pthread functions have been obsoleted:

 * pthread_attr_setstackaddr
 * pthread_attr_getstackaddr
 * pthread_attr_setstacksize
 * pthread_attr_getstacksize

This change uses pthread_attr_{get,set}stack when available.
ax_pthread.m4 was downloaded from
http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_pthread.m4

01b5eab... by You-Sheng Yang

hooks: fix arm64 shared pthread ptr implementation

libhybris previously stores memory addresses of shared mutexes in a
unsigned integer. When running on arm64 or any other __LP64__ systems,
this results in wrong pointer addresses returned. In this patch we
re-type to storage type to uintptr_t, which guarantees sufficient space
for holding a memory address, and then corretly set HYBRIS_SHM_MASK and
HYBRIS_SHM_MASK_TOP to valid values on both systems.

0fc8151... by You-Sheng Yang

hooks: fix scandir/scandirat hooks prototypes

c3c950a... by You-Sheng Yang

build: include config.h first

556cfc9... by You-Sheng Yang

build: fix warnings due to arm32/arm64 types size differences

2fc8b56... by Simon Fels

Merge remote-tracking branch 'vicamo/for-ubuntu/dont-use-jb-linker-on-arm64-anyway'

079fdc5... by You-Sheng Yang

configure: use lib64 for DEFAULT_HYBRIS_LD_LIBRARY_PATH on arm64

cd5aacb... by You-Sheng Yang

linker: remove /system/lib prefix from lib paths

f7dc8df... by You-Sheng Yang

linker: disable linker probing when unavailable

On arm64 we don't have jb linker, so always probing only those
available.