Skip to content

Does not build in Fire 10.0.0.2525 #15

Description

@mhavu

The SwiftBaseLibrary does not build under Fire 10.0.0.2525. I get the following error messages:

E: undefined symbol: raise
E: undefined symbol: __aeabi_memclr4
E: undefined symbol: __aeabi_memset
E: undefined symbol: __aeabi_memcpy4
E: undefined symbol: __aeabi_memclr
E: undefined symbol: __aeabi_memcpy
E: undefined symbol: __aeabi_memset4
E: undefined symbol: sigsetjmp
E: undefined symbol: isspace
E: undefined symbol: snprintf
E: undefined symbol: readlink
E: undefined symbol: popen
E: undefined symbol: pclose
E: undefined symbol: strchr
E: undefined symbol: __pthread_cleanup_push
E: undefined symbol: __pthread_cleanup_pop
E: undefined symbol: __tls_get_addr
E: Output type 'Executable' is not supported for Island WebAssembly projects.

Activity

  1. mhavu commented on Sep 25, 2020

    @mhavu
    ContributorAuthor

    These error messages are gone in Fire 10.0.0.2551. I get these instead:

    E: No member "ToList" on type "ISequence<T>!" [SwiftBaseLibrary/Source/Array.swift (126)]
    N: Unused namespace "com.remobjects.elements.linq" has an extension member called "ToList" [SwiftBaseLibrary/Source/Array.swift (126)]
    E: Member "list.Count" of type "PlatformList<T>!" is a property but is used as a method [SwiftBaseLibrary/Source/Array.swift (326)]
    N: Type "PlatformList<T>" was declared here [SwiftBaseLibrary/Source/Array.swift (15)]
    E: No member "Skip" on type "PlatformList<T>!" [SwiftBaseLibrary/Source/Array.swift (360)]
    N: Unused namespace "com.remobjects.elements.linq" has an extension member called "Skip" [SwiftBaseLibrary/Source/Array.swift (360)]
    E: No member "ToList" on type "ISequence<T>!" [SwiftBaseLibrary/Source/Array.swift (454)]
    N: Unused namespace "com.remobjects.elements.linq" has an extension member called "ToList" [SwiftBaseLibrary/Source/Array.swift (454)]
    E: No member "Select" on type "PlatformList<T>!" [SwiftBaseLibrary/Source/Array.swift (656)]
    N: Unused namespace "com.remobjects.elements.linq" has an extension member called "Select" [SwiftBaseLibrary/Source/Array.swift (656)]
    E: No member "Where" on type "PlatformList<T>!" [SwiftBaseLibrary/Source/Array.swift (668)]
    N: Unused namespace "com.remobjects.elements.linq" has an extension member called "Where" [SwiftBaseLibrary/Source/Array.swift (668)]
    E: Member "dictionary.keySet().Count" of type "java.util.Set<Key>!" is a property but is used as a method [SwiftBaseLibrary/Source/Dictionary.swift (346)]
    E: Unknown identifier "remobjects.elements" [SwiftBaseLibrary/Source/String.swift (183)]
    E: Unknown identifier "remobjects.elements" [SwiftBaseLibrary/Source/String.Views.swift (234)]
    E: Unknown identifier "remobjects.elements" [SwiftBaseLibrary/Source/String.Views.swift (310)]
    E: Member "self.Count" of type "Iterable<T>!" is a property but is used as a method [SwiftBaseLibrary/Source/Sequence_Extensions.swift (49)]
    E: No member "Skip" on type "Iterable<T>!" [SwiftBaseLibrary/Source/Sequence_Extensions.swift (53)]
    N: Unused namespace "com.remobjects.elements.linq" has an extension member called "Skip" [SwiftBaseLibrary/Source/Sequence_Extensions.swift (53)]
    E: No member "Skip" on type "Iterable<T>!" [SwiftBaseLibrary/Source/Sequence_Extensions.swift (57)]
    N: Unused namespace "com.remobjects.elements.linq" has an extension member called "Skip" [SwiftBaseLibrary/Source/Sequence_Extensions.swift (57)]
    E: No member "Where " on type "Iterable<T>!" [SwiftBaseLibrary/Source/Sequence_Extensions.swift (85)]
    N: Unused namespace "com.remobjects.elements.linq" has an extension member called "Where" [SwiftBaseLibrary/Source/Sequence_Extensions.swift (85)]
    E: No member "FirstOrDefault" on type "Iterable<T>!" [SwiftBaseLibrary/Source/Sequence_Extensions.swift (89)]
    N: Unused namespace "com.remobjects.elements.linq" has an extension member called "FirstOrDefault" [SwiftBaseLibrary/Source/Sequence_Extensions.swift (89)]
    E: No member "Any" on type "Iterable<T>!" [SwiftBaseLibrary/Source/Sequence_Extensions.swift (115)]
    N: Unused namespace "com.remobjects.elements.linq" has an extension member called "Any" [SwiftBaseLibrary/Source/Sequence_Extensions.swift (115)]
    E: No member "Select " on type "Iterable<T>!" [SwiftBaseLibrary/Source/Sequence_Extensions.swift (165)]
    N: Unused namespace "com.remobjects.elements.linq" has an extension member called "Select" [SwiftBaseLibrary/Source/Sequence_Extensions.swift (165)]
    E: No member "Take" on type "Iterable<T>!" [SwiftBaseLibrary/Source/Sequence_Extensions.swift (190)]
    N: Unused namespace "com.remobjects.elements.linq" has an extension member called "Take" [SwiftBaseLibrary/Source/Sequence_Extensions.swift (190)]
    E: No member "ToList" on type "Iterable<T>!" [SwiftBaseLibrary/Source/Sequence_Extensions.swift (208)]
    N: Unused namespace "com.remobjects.elements.linq" has an extension member called "ToList" [SwiftBaseLibrary/Source/Sequence_Extensions.swift (208)]
    E: Member "self.Count" of type "Iterable<T>!" is a property but is used as a method [SwiftBaseLibrary/Source/Sequence_Extensions.swift (354)]
    E: Member "s.Count" of type "ISequence<T>!" is a property but is used as a method [SwiftBaseLibrary/Source/Sequence_Functions.swift (19)]
       Project 'Swift.Cooper' failed to build.
    
  2. dwarfland commented on Sep 25, 2020

    @dwarfland
    Member

    Does it build in 2555? It kinda has to, since we build it as part of shipping....

  3. mhavu commented on Sep 26, 2020

    @mhavu
    ContributorAuthor

    I just tried 2557, and I get the same errors when building Swift.Tests/Cooper.

  4. mhavu commented on Sep 26, 2020

    @mhavu
    ContributorAuthor

    After the latest commit, SBL compiles in 2557, but linker gives the errors mentioned in the first comment along with warning File 'libgc.a' does not exist. in Swift.Tests.

  5. dwarfland commented on Sep 27, 2020

    @dwarfland
    Member

    Is this possibly happening for watchOS? if so, watchOS is not supported by island yet, due to limitations on the GC.

  6. mhavu commented on Sep 27, 2020

    @mhavu
    ContributorAuthor

    Just increased the verbosity of the build log to check this out. The warning seems to come from watchOS, but the errors are from Swift.Tests/Island.Android (except the last one that comes from Swift.Tests/Island.WebAssembly).

  7. dwarfland commented on Sep 27, 2020

    @dwarfland
    Member

    Curious. I get compiler errors, instead:

    E: Internal error: Duplicate method with mismatching signature: ms_t21_Swift_d_____$Extension$Double_t_04_$Newns

    logged as: 84987: SBL Test.sln fails with IE

  8. mhavu commented on Sep 28, 2020

    @mhavu
    ContributorAuthor

    Could this have something to do with Android SDK version? I have 24.0.3 and 28.0.3, and out of those, Elements seems to pick 24.0.3 (No exact Android SDK version was specified for target 'Island-Android', using 'Android 24'.).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions