[Galaxy Tab S Android Development] :
Still testing with different LD_SHIM_LIBS. I think the cm linker is different from aosp one. Forcing hwcomposer to libio_exynos or gralloc.exynos worsen things.

Sammys drmserver is installed on my rom as samsung.drmserver. Could it be, that drmserver would run, if the key symbol would be resolved?

On gpsd you are right - just building with yoir boringssl patches.

EDIT: gps is running WITHOUT! any LD_SHIM_LIBS line.

EDIT2: I have now this:

02-02 17:00:13.330 10504 10504 F libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x1c in tid 10504 (drmserver.samsu)
02-02 17:00:13.330 2446 2446 I DEBUG : property debug.db.uid not set; NOT waiting for gdb.
02-02 17:00:13.330 2446 2446 I DEBUG : HINT: adb shell setprop debug.db.uid 100000
02-02 17:00:13.330 2446 2446 I DEBUG : HINT: adb forward tcp:5039 tcp:5039
02-02 17:00:13.432 2446 2446 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
02-02 17:00:13.432 2446 2446 F DEBUG : Build fingerprint: 'samsung/cm_chagallwifi/chagallwifi:6.0.1/MMB29U/e1fa85e3f4:userdebug/test-keys'
02-02 17:00:13.432 2446 2446 F DEBUG : Revision: '0'
02-02 17:00:13.432 2446 2446 F DEBUG : ABI: 'arm'
02-02 17:00:13.432 2446 2446 F DEBUG : pid: 10504, tid: 10504, name: drmserver.samsu >>> /system/bin/drmserver.samsung <<<
02-02 17:00:13.432 2446 2446 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x1c
02-02 17:00:13.432 3385 6650 W NativeCrashListener: Couldn't find ProcessRecord for pid 10504
02-02 17:00:13.438 2446 2446 F DEBUG : r0 be8006fc r1 b62b7238 r2 80000000 r3 00000000
02-02 17:00:13.438 2446 2446 E DEBUG : AM write failed: Broken pipe
02-02 17:00:13.438 2446 2446 F DEBUG : r4 be8006fc r5 b6ef2ec0 r6 b62b7238 r7 be8006e4
02-02 17:00:13.438 2446 2446 F DEBUG : r8 be8006fc r9 b6500c24 sl b6ef153c fp b6ef154c
02-02 17:00:13.438 2446 2446 F DEBUG : ip b62b6858 sp be8006d0 lr b629f14d pc b629f0f6 cpsr 40070030
02-02 17:00:13.467 2446 2446 F DEBUG :
02-02 17:00:13.467 2446 2446 F DEBUG : backtrace:
02-02 17:00:13.467 2446 2446 F DEBUG : #00 pc 000250f6 /system/lib/libstlport.so (std::locale::name() const+9)
02-02 17:00:13.467 2446 2446 F DEBUG : #01 pc 00025149 /system/lib/libstlport.so (std::locale::operator==(std::locale const&) const+48)
02-02 17:00:13.467 2446 2446 F DEBUG : #02 pc 000251b7 /system/lib/libstlport.so (std::locale::operator!=(std::locale const&) const+2)
02-02 17:00:13.468 2446 2446 F DEBUG : #03 pc 0001e4f3 /system/lib/libstlport.so (std::ios_base::imbue(std::locale const&)+18)
02-02 17:00:13.468 2446 2446 F DEBUG : #04 pc 000b5321 /system/vendor/lib/libWVStreamControlAPI_L1.so (std::basic_ios<char, std::char_traits<char> >::init(std::basic_streambuf<char, std::char_traits<char> >*)+44)
02-02 17:00:13.468 2446 2446 F DEBUG : #05 pc 0001f599 /system/lib/libstlport.so (std::ios_base::_S_initialize()+316)
02-02 17:00:13.468 2446 2446 F DEBUG : #06 pc 0001f73b /system/lib/libstlport.so (std::ios_base::Init::Init()+22)
02-02 17:00:13.468 2446 2446 F DEBUG : #07 pc 0001c9d9 /system/lib/libstlport.so
02-02 17:00:13.468 2446 2446 F DEBUG : #08 pc 00002559 /system/bin/linker (__dl__ZN6soinfo13call_functionEPKcPFvvE+48)
02-02 17:00:13.468 2446 2446 F DEBUG : #09 pc 00002623 /system/bin/linker (__dl__ZN6soinfo10call_arrayEPKcPPFvvEjb+134)
02-02 17:00:13.468 2446 2446 F DEBUG : #10 pc 000027e9 /system/bin/linker (__dl__ZN6soinfo17call_constructorsEv+160)
02-02 17:00:13.468 2446 2446 F DEBUG : #11 pc 0000279d /system/bin/linker (__dl__ZN6soinfo17call_constructorsEv+84)
02-02 17:00:13.468 2446 2446 F DEBUG : #12 pc 0000279d /system/bin/linker (__dl__ZN6soinfo17call_constructorsEv+84)
02-02 17:00:13.468 2446 2446 F DEBUG : #13 pc 0000699d /system/bin/linker (__dl__Z9do_dlopenPKciPK17android_dlextinfo+184)
02-02 17:00:13.468 2446 2446 F DEBUG : #14 pc 00001d65 /system/bin/linker (__dl_dlopen+20)
02-02 17:00:13.468 2446 2446 F DEBUG : #15 pc 00007181 /system/bin/drmserver.samsung
02-02 17:00:13.468 2446 2446 F DEBUG : #16 pc 000072b9 /system/bin/drmserver.samsung
02-02 17:00:13.469 2446 2446 F DEBUG : #17 pc 00007377 /system/bin/drmserver.samsung
02-02 17:00:13.470 2446 2446 F DEBUG : #18 pc 00008b5b /system/bin/drmserver.samsung
02-02 17:00:13.470 2446 2446 F DEBUG : #19 pc 00008b9b /system/bin/drmserver.samsung
02-02 17:00:13.470 2446 2446 F DEBUG : #20 pc 00005839 /system/bin/drmserver.samsung
02-02 17:00:13.470 2446 2446 F DEBUG : #21 pc 0001738d /system/lib/libc.so (__libc_init+44)
02-02 17:00:13.470 2446 2446 F DEBUG : #22 pc 00006084 /system/bin/drmserver.samsung
02-02 17:00:13.590 10504 10504 W drmserver.samsu: type=1701 audit(0.0:362): auid=4294967295 uid=1019 gid=1000 ses=4294967295 subj=u:r:drmserver:s0 reason="memory violation" sig=11

This is with or without LD_SHIM_LIBS. I've only changed the boringssl - I really don't now, how and when I broke this.

EDIT3: Uups, I forgot that I changed the drm blobs (including samsung.drmserver). Testing...