Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not build in Fire 10.0.0.2525 #15

Open
mhavu opened this issue Jun 25, 2020 · 8 comments
Open

Does not build in Fire 10.0.0.2525 #15

mhavu opened this issue Jun 25, 2020 · 8 comments

Comments

@mhavu
Copy link
Contributor

mhavu commented Jun 25, 2020

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.
@mhavu
Copy link
Contributor Author

mhavu commented Sep 25, 2020

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.

@dwarfland
Copy link
Member

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

@mhavu
Copy link
Contributor Author

mhavu commented Sep 26, 2020

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

@mhavu
Copy link
Contributor Author

mhavu commented Sep 26, 2020

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.

@dwarfland
Copy link
Member

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

@mhavu
Copy link
Contributor Author

mhavu commented Sep 27, 2020

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).

@dwarfland
Copy link
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

@mhavu
Copy link
Contributor Author

mhavu commented Sep 28, 2020

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants