Search Unity

[Burst] Preview.9-1.3.0 Build Fail Unable to find sleef function

Discussion in 'Burst' started by dyox, Apr 1, 2020.

  1. dyox

    dyox

    Joined:
    Aug 19, 2011
    Posts:
    619
    Hi,

    Preview.9-1.3.0 : Build fail
    Preview.8 : throws other errors (fixed on preview 9)
    Preview.7 : works fine.

    Code (CSharp):
    1. BuildFailedException: Burst compiler (1.3.0-preview.9) failed running
    2.  
    3. stdout:
    4. An unexpected exception occurred:
    5. stderr:
    6. Burst.Compiler.IL.CompilerException: Unable to find sleef function `Sleef_cinz_ldexpd1purec, Sleef_cinz_ldexpd1`
    7.    � Burst.Bcl.BclApp.CompileAndLink(List`1 libraryCompilationRequests)
    8.    � Burst.Bcl.Program.Main(String[] args)
    9.  
     
  2. sheredom

    sheredom

    Unity Technologies

    Joined:
    Jul 15, 2019
    Posts:
    300
    Hey there - I can take a look at this.

    Have you got a repro project I can look at?
     
  3. sheredom

    sheredom

    Unity Technologies

    Joined:
    Jul 15, 2019
    Posts:
    300
    Also - can you confirm whether you've got deterministic floating point on?
     
    dyox likes this.
  4. sheredom

    sheredom

    Unity Technologies

    Joined:
    Jul 15, 2019
    Posts:
    300
    Assuming your issue is with determinism (I think it is) I've worked out a fix for that locally. Should be in the next preview.
     
    dyox likes this.
  5. dyox

    dyox

    Joined:
    Aug 19, 2011
    Posts:
    619
    Yes. It fixed the error.
    Removing Standard/Deterministic. Only
    [BurstCompile(CompileSynchronously = true)]
    Thanks