[Galaxy Tab 3 General] Restl3ss:
[MENTION=5864662]moonbutt74[/MENTION]

okay so, i tried rebuilding cm11 with gcc 4.6

no luck, same problem. First thought was that, since the output on the patches [MENTION=1649190]Angel_666[/MENTION] recommended came out weird that I would try it on cm 10.1, since that's what the patches were originally designed for. Patches applied with a much more straightforward output and i ran make, build ran for a fair amount of time but sure enough, just like with cm11, the build stopped with error 1 at libc.so with

target SharedLib: libc (/home/restl3ss/oldroid/cm10.1/out/target/product/santos103g/obj/SHARED_LIBRARIES/libc_intermediates/LINKED/libc.so)
/home/restl3ss/oldroid/cm10.1/prebuilts/gcc/linux-x86/x86/i686-linux-android-4.6/bin/../lib/gcc/i686-linux-android/4.6/../../../../i686-linux-android/bin/ld: /home/restl3ss/oldroid/cm10.1/out/target/product/santos103g/obj/STATIC_LIBRARIES/libc_common_intermediates/libc_common.a(fgetln.o): in function fgetln:bionic/libc/stdio/fgetln.c:85: error: undefined reference to 'memchr'
/home/restl3ss/oldroid/cm10.1/prebuilts/gcc/linux-x86/x86/i686-linux-android-4.6/bin/../lib/gcc/i686-linux-android/4.6/../../../../i686-linux-android/bin/ld: /home/restl3ss/oldroid/cm10.1/out/target/product/santos103g/obj/STATIC_LIBRARIES/libc_common_intermediates/libc_common.a(fgetln.o): in function fgetln:bionic/libc/stdio/fgetln.c:126: error: undefined reference to 'memchr'
/home/restl3ss/oldroid/cm10.1/prebuilts/gcc/linux-x86/x86/i686-linux-android-4.6/bin/../lib/gcc/i686-linux-android/4.6/../../../../i686-linux-android/bin/ld: /home/restl3ss/oldroid/cm10.1/out/target/product/santos103g/obj/STATIC_LIBRARIES/libc_common_intermediates/libc_common.a(fgets.o): in function fgets:bionic/libc/stdio/fgets.c:83: error: undefined reference to 'memchr'
/home/restl3ss/oldroid/cm10.1/prebuilts/gcc/linux-x86/x86/i686-linux-android-4.6/bin/../lib/gcc/i686-linux-android/4.6/../../../../i686-linux-android/bin/ld: /home/restl3ss/oldroid/cm10.1/out/target/product/santos103g/obj/STATIC_LIBRARIES/libc_common_intermediates/libc_common.a(fvwrite.o): in function __sfvwrite:bionic/libc/stdio/fvwrite.c:171: error: undefined reference to 'memchr'
collect2: ld returned 1 exit status
make: *** [/home/restl3ss/oldroid/cm10.1/out/target/product/santos103g/obj/SHARED_LIBRARIES/libc_intermediates/LINKED/libc.so] Error 1

so the output looks slightly different than with the cm11 build but the error remains pretty much the same. still digging, can't seem to figure out what's going on. I've asked several times on the cyanogenmod freenode chat but nobody seems to have an answer.

there's gotta be something we're missing.

as for your build, maybe try installing yasm and rebuilding? it shows up under apt-cache search

to give an exact idea of what i'm doing, i cloned the entire motorola/smi repo in angel's thread to device/motorola/smi (so in its rightful place)

cloned device / samsung / santos103g from angel's git to device/samsung/santos103g

cloned vendor / samsung / santos103g from angel's git to vendor/samsung/santos103g

cloned hardware/intel from angels git to well, hardware/intel

cloned libva-cros from angels git into hardware/intel/libva

applied patches in device/motorola/smi/patch with sudo ./ApplyPatches.sh

ran lunch, selected cm_santos103g

build with make

i know the above is over-simplified but i'm just making sure you know exactly what my setup is, in case someting looks off

I've tried experimenting with the toolchain, various gcc setups specifically

no luck

awaiting your thoughts

cheers

edit: this is a shot in the dark and probably won't fix it but for the sake of satisfying my curiosity, i'm gonna attempt the build on OS X instead of debian.