x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Clang 4.0 support.

It looks like a lot of the Linux distros are starting to push out clang 4.0. I haven't seen anything in the issue tracker for 4.0 support. So, I just thought being aware of this for 4.16 would be a good idea.

Product Version: UE 4.15
Tags:
more ▼

asked Apr 20 '17 at 11:46 PM in Linux

avatar image

zerophase
138 8 17 25

avatar image Acheta Games Apr 22 '17 at 05:01 PM

I can agree with this, it does seem just like an artificial limitation of the clang versions. In the mean time most distros do have the dependency set for Clang 3.5, so...

avatar image jaked122 Apr 23 '17 at 10:28 PM

Sadly I can't have both the newest clang and clang35 installed, so I'm not really sure where to go from there.

avatar image zerophase Apr 24 '17 at 12:12 AM
  1. works perfectly fine as far as I'm aware. I know arch has a patch that gets the engine to start compilation on 4.0, but some of the actual engine code needs to be updated to support 4.0's changes. I'll be looking into it within the next week.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

4.16 can be compiled with clang 4.0. Moreover, it is included in the new cross-toolchain that is shipped with 4.16.

more ▼

answered Apr 24 '17 at 01:02 AM

avatar image

RCL STAFF
2.7k 59 6 88

avatar image cemas Aug 08 '17 at 09:38 PM

Is this also true for 4.17? Compiling 4.17 on Ubuntu 17.04 x64 with clang 4.0 does not work for me:

clang: error: unable to execute command: Segmentation fault (core dumped)

clang: error: clang frontend command failed due to signal (use -v to see invocation)

clang version 4.0.0-1ubuntu1 (tags/RELEASE_400/rc1)

avatar image zerophase Aug 08 '17 at 10:29 PM

It compiles fine on Arch. Look in the aur for our copy of Unreal with patches. You might need to patch the compilation command Unreal uses to not apply pie, while compiling.

avatar image RCL STAFF Aug 08 '17 at 11:54 PM

Notice that Ubuntu 17.04 shipped pre-release clang (RC1). RC1 cannot compile the engine due to bugs that were fixed in the final version. Look for clang version that says tags/RELEASE_400/final)

avatar image cemas Aug 10 '17 at 02:32 PM

Thank you! The second clang version of Ubuntu 17.04 (clang 3.9.1-5ubuntu1 (tags/RELEASE_391/rc2)) also did not work and 4.0final would not install due to the installed 4.0rc1. Ultimately, I downloaded 3.8 and compiled successfully.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question