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

[CLOSED] Investigate visibility issue with method and instance variable modifiers on linux (not compiling) #45

Closed
dfirsht opened this issue Feb 8, 2016 · 2 comments
Milestone

Comments

@dfirsht
Copy link
Contributor

dfirsht commented Feb 8, 2016

Issue by ricardo-olivieri
Thursday Jan 14, 2016 at 15:57 GMT
Originally opened as https://github.ibm.com/ibmswift/Phoenix/issues/45


We were able to get the build to work. For some reason the closed property in FileDescriptor in IO module is being called in the net module.

public private(set) var closed = false
clang ./build/net.o -shared -o ./build/libnet.so
./build/net.o:(.data.rel+0x1200): undefined reference to `_TFC2io14FileDescriptors6closedSb'
./build/net.o:(.data.rel+0x1208): undefined reference to `_TFC2io14FileDescriptorm6closedSb'
/usr/bin/ld: ./build/libnet.so: hidden symbol `_TFC2io14FileDescriptorm6closedSb' isn't defined

Changing it to public is a temporary workaround:

public var closed = false
@dfirsht dfirsht added this to the 0.3 milestone Feb 8, 2016
@dfirsht
Copy link
Contributor Author

dfirsht commented Feb 8, 2016

Comment by ricardo-olivieri
Monday Jan 25, 2016 at 17:20 GMT


We should double check if this issue still occurs now that we are using SPM to build Phoenix.

@dfirsht
Copy link
Contributor Author

dfirsht commented Feb 8, 2016

Comment by dfirsht
Tuesday Jan 26, 2016 at 17:44 GMT


This is a non-issue since this code went away when we merged ETSockets into the project

@dfirsht dfirsht closed this as completed Feb 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant