Commit: c6ba7359ae89dc4405c35972ecea7850f55dd83f
Author: Brecht Van Lommel
Date:   Tue Jul 27 17:37:59 2021 +0200
Branches: master
https://developer.blender.org/rBc6ba7359ae89dc4405c35972ecea7850f55dd83f

Fix LLVM 12 symbol conflict with Mesa drivers, after recent Linux libs update

===================================================================

M       source/creator/blender.map

===================================================================

diff --git a/source/creator/blender.map b/source/creator/blender.map
index 9aafddd9666..a817908acfb 100644
--- a/source/creator/blender.map
+++ b/source/creator/blender.map
@@ -74,21 +74,55 @@ local:
   *YAML*;
 
   /* LLVM symbols not in the LLVM namespace that can conflict with LLVM usage
-   * in OpenGL and OpenCL drivers. */
+   * in OpenGL and OpenCL drivers.
+   *
+   * These are found by doing a Blender build with and without OSL, and
+   * comparing the output of nm -gD ./bin/blender to find symbols. */
+  AlwaysSpillBase;
+  AsmMacroMaxNestingDepth;
+  AttributorRun;
+  CheckBFIUnknownBlockQueries;
+  *cloneBitwiseIVUser*;
+  *computeHostNumHardwareThread*;
+  *computeHostNumPhysicalCores*;
   decodeInstruction;
+  DisableBasicAA;
+  DisablePreInliner;
+  DisableWholeProgramVisibility;
+  EnableCHR;
+  EnableConstraintElimination;
+  EnableGVNHoist;
+  EnableGVNSink;
   EnableHotColdSplit;
   EnableIPRA;
+  EnableIROutliner;
+  EnableKnowledgeRetention;
+  EnableLoopFlatten;
+  EnableMatrix;
   EnableOrderFileInstrumentation;
+  EnablePGSO;
+  EnableUnrollAndJam;
   EnableVPlanNativePath;
   EnableVPlanPredication;
+  ExtraVectorizerPasses;
   FlattenedProfileUsed;
+  ForcePGSO;
   ForceStackAlign;
   ForceSummaryEdgesCold;
   FSEC;
+  *getExtendedOperandRecurrence*;
+  *getWideRecurrence*;
+  InlinerFunctionImportStats;
+  *IROutlinerLegacyPass*;
   __jit_debug_descriptor;
   __jit_debug_register_code;
   _Jv_RegisterClasses;
+  *LiveDebugValues*;
+  *LoopInterchangeLegacyPass*;
   MachineRegionInfoPassID;
+  MaxDevirtIterations;
+  MaxRegistersForGCPointers;
+  MemOPOptMemcmpBcmp;
   MemOPSizeLarge;
   MemOPSizeRange;
   MISchedPostRA;
@@ -97,18 +131,40 @@ local:
   Name;
   NumNamedVarArgParams;
   PGOViewCounts;
+  PGSOColdCodeOnly;
+  PGSOColdCodeOnlyForInstrPGO;
+  PGSOColdCodeOnlyForPartialSamplePGO;
+  PGSOColdCodeOnlyForSamplePGO;
+  PgsoCutoffInstrProf;
+  PgsoCutoffSampleProf;
+  PGSOLargeWorkingSetSizeOnly;
+  PreInlineThreshold;
   PrintBlockFreqFuncName;
   PrintBranchProbFuncName;
   ProfileLikelyProb;
+  RunNewGVN;
+  RunPartialInlining;
+  RunSLPVectorization;
+  ScalePartialSampleProfileWorkingSetSize;
+  *ScopedAliasMetadataDeepCloner*;
+  ShouldPreserveAllAttributes;
+  SkipFunctionNames;
   StartAfterOptName;
   StartBeforeOptName;
   StaticLikelyProb;
   StopAfterOptName;
   StopBeforeOptName;
+  UseContextLessSummary;
   UseDbgAddr;
+  UseLEB128Directives;
+  UseRegistersForDeoptValues;
+  UseRegistersForGCPointersInLandingPad;
   ViewBlockFreqFuncName;
   ViewBlockLayoutWithBFI;
   ViewHotFreqPercent;
+  WholeProgramVisibility;
+  *widenLoopCompare*;
+  *widenWithVariant*;
   WriteRelBFToSummary;
   X86CompilationCallback*;
 };

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to