Package Details: unreal-engine 4.16.2-2

Git Clone URL: https://aur.archlinux.org/unreal-engine.git (read-only)
Package Base: unreal-engine
Description: A 3D game engine by Epic Games which can be used non-commercially for free.
Upstream URL: https://www.unrealengine.com/
Keywords: 3D engine game UE4 Unreal
Licenses: custom:UnrealEngine
Submitter: acerix
Maintainer: acerix (zerophase)
Last Packager: acerix
Votes: 16
Popularity: 1.346288
First Submitted: 2016-05-01 18:37
Last Updated: 2017-07-26 02:58

Latest Comments

acerix commented on 2017-07-26 02:57

Sure, I made that the default since since it does build the package way faster although it does save about 3 GiB in package size so may be worth it for some people.

haagch commented on 2017-07-25 17:22

I think you should add options=(!strip) anyway because strip on all files is extremely slow. Maybe it's something I have installed, but I had to add it because stripping files took forever here.

acerix commented on 2017-07-23 17:42

@undefinedmethod I tried "ARGS=-no-pie" but that didn't work for me, I only got it to build after patching LinuxToolChain.cs.

zerophase commented on 2017-07-23 16:16

For the amd issues issues I'd check with Epic. There have been known issues with amd hardware and ue4 on Linux.

@undefinedmethod not sure if that matters, since unreal has its own build system.

undefinedmethod commented on 2017-07-23 13:56

@acerix did you use make ARGS=-no-pie ?

LinuxDonald commented on 2017-07-22 10:10

I have the same problem. Mesa AMDGPU Kernel driver here

kro007 commented on 2017-07-18 22:21

Hi,
@acerix Thanks, successfully build.

Unfortunately, it's doesn't run... i get an error
*** Error in `./UE4Editor': free(): invalid pointer: 0x00007f8b456ea560 ***

Looks like it doesn't run on AMDGPU driver.

dariost commented on 2017-07-18 20:06

Cannot build 4.16.2-2, gives this error:
patching file /home/dariost/unreal-engine/src/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/Linux/LinuxToolChain.cs
Hunk #1 succeeded at 395 (offset 8 lines).
patching file /home/dariost/unreal-engine/src/UnrealEngine/Engine/Source/Programs/UnrealLightmass/Private/LightmassCore/Misc/LMStats.h
patching file /home/dariost/unreal-engine/src/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/Linux/LinuxToolChain.cs
Hunk #1 FAILED at 404.
Hunk #2 FAILED at 593.
2 out of 2 hunks FAILED -- saving rejects to file /home/dariost/unreal-engine/src/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/Linux/LinuxToolChain.cs.rej

/home/dariost/unreal-engine/src/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/Linux/LinuxToolChain.cs.rej contains:
--- LinuxToolChain.cs.orig 2017-07-17 14:53:24.847599080 -0400
+++ LinuxToolChain.cs 2017-07-17 14:53:33.137529047 -0400
@@ -404,6 +404,8 @@
Result += " -Wno-invalid-offsetof";
// we use this feature to allow static FNames.
Result += " -Wno-gnu-string-literal-operator-template";
+ // disable PIE which is on by default in Arch since July 2017
+ Result += " -fno-pie";

if (CompileEnvironment.bEnableShadowVariableWarnings)
{
@@ -593,6 +595,9 @@
Result += string.Format(" -Wl,--unresolved-symbols=ignore-in-shared-libs");
}

+ // disable PIE which is on by default in Arch since July 2017
+ Result += " -nopie";
+
// RPATH for third party libs
Result += " -Wl,-rpath=${ORIGIN}";
Result += " -Wl,-rpath-link=${ORIGIN}";

acerix commented on 2017-07-17 16:58

It turns out hardening-wrapper is now deprecated because the clang package in Arch has been modified to use SSP and PIE by default.

https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/llvm&id=1d5568f96e56efb2186b3ae081488e1e5a509397

https://www.reddit.com/r/archlinux/comments/6n5tkp/arch_now_enables_pie_and_ssp_by_default_in_gcc/

I don't know what changes the engine needs for it to compile with PIE, so I added "no-pie" flags to the compile/linker which got it building.

kro007 commented on 2017-07-17 07:23

@zerophase hardening-wrapper is not installed on my computer.


" Have any more information on your system ? "
Arch x64 fully update ... many 32bits lib from multilib repo installed
(for steam)

what info do you need ?

All comments