Trying to build on Ubuntu Werewolf

I am using clang 3.6.2 on (K)ubuntu Werewolf.
The machine I am is using the nvidia 355.06 binary drivers.

I am getting a *** Error in `./UE4Editor’: malloc(): memory corruption: 0x00007f669817f230 ***.
Has anybody else got a successful build working with this combo. What should I suspect/change?

I’m also building on Wily Werewolf, using clang 3.6.2, and am running with KDE and nvidia 355.06 drivers (and primusrun).

I’m not getting memory corruption errors. Everything compiles fine with 4.9, but I get the hlslcc error another user posted here Linux 4.9 Bad hlslcc header error - Platform & Builds - Epic Developer Community Forums when I execute it.

3.6.2 man? How? I have 3.6 and i don’t know how update it, in adittion, the lastest clang release version is 3.7.

Uhmmm this way:

12:30:47 evil@clevo [~]> clang --version
Ubuntu clang version 3.6.2-1 (tags/RELEASE_362/final) (based on LLVM 3.6.2)
Target: x86_64-pc-linux-gnu
Thread model: posix
14:40:59 evil@clevo [~]> sudo apt-get install clang
[sudo] password for evil: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
clang is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

Not doing anything special… that’s just what’s installed.

Edit: You would likely have 3.6.0 If you’re using Vivid (15.04), and not Wily (15.10) like the OP of this thread.