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

error building in release mode on linux #5

Open
saltzmanjoelh opened this issue Jul 18, 2016 · 1 comment
Open

error building in release mode on linux #5

saltzmanjoelh opened this issue Jul 18, 2016 · 1 comment

Comments

@saltzmanjoelh
Copy link

It was building yesterday, maybe some recent edits caused it?

release.yaml.zip

Verify swift version
root@e7885353a3d2:/s/PerfectTemplate# swift --version Swift version 3.0 (swift-3.0-PREVIEW-2) Target: x86_64-unknown-linux-gnu

build in release mode
root@e7885353a3d2:/s/PerfectTemplate# swift build -c release

Errors:
Linking .build/release/PerfectTemplate /usr/bin/ld.gold: error: /s/PerfectTemplate/.build/release/PerfectThread.build/Threading.swift.o: multiple definition of 'pthread_cond_timedwait_relative_np' /usr/bin/ld.gold: /s/PerfectTemplate/.build/release/PerfectThread.build/ThreadQueue.swift.o: previous definition here /usr/bin/ld.gold: error: /s/PerfectTemplate/.build/release/PerfectNet.build/NetTCP.swift.o: multiple definition of 'linux_errno' /usr/bin/ld.gold: /s/PerfectTemplate/.build/release/PerfectNet.build/NetTCPSSL.swift.o: previous definition here /usr/bin/ld.gold: error: /s/PerfectTemplate/.build/release/PerfectNet.build/NetTCP.swift.o: multiple definition of 'linux_fcntl_get' /usr/bin/ld.gold: /s/PerfectTemplate/.build/release/PerfectNet.build/NetTCPSSL.swift.o: previous definition here /usr/bin/ld.gold: error: /s/PerfectTemplate/.build/release/PerfectNet.build/NetTCP.swift.o: multiple definition of 'linux_fcntl_set' /usr/bin/ld.gold: /s/PerfectTemplate/.build/release/PerfectNet.build/NetTCPSSL.swift.o: previous definition here /usr/bin/ld.gold: error: /s/PerfectTemplate/.build/release/PerfectNet.build/NetEvent.swift.o: multiple definition of 'SIG_IGN' /usr/bin/ld.gold: /s/PerfectTemplate/.build/release/PerfectNet.build/NetTCPSSL.swift.o: previous definition here /usr/bin/ld.gold: error: /s/PerfectTemplate/.build/release/PerfectNet.build/Net.swift.o: multiple definition of 'linux_errno' /usr/bin/ld.gold: /s/PerfectTemplate/.build/release/PerfectNet.build/NetTCPSSL.swift.o: previous definition here /usr/bin/ld.gold: error: /s/PerfectTemplate/.build/release/PerfectNet.build/NetNamedPipe.swift.o: multiple definition of 'linux_errno' /usr/bin/ld.gold: /s/PerfectTemplate/.build/release/PerfectNet.build/NetTCPSSL.swift.o: previous definition here /usr/bin/ld.gold: error: /s/PerfectTemplate/.build/release/PerfectNet.build/NetNamedPipe.swift.o: multiple definition of 'linux_fcntl_get' /usr/bin/ld.gold: /s/PerfectTemplate/.build/release/PerfectNet.build/NetTCPSSL.swift.o: previous definition here /usr/bin/ld.gold: error: /s/PerfectTemplate/.build/release/PerfectNet.build/NetNamedPipe.swift.o: multiple definition of 'linux_fcntl_set' /usr/bin/ld.gold: /s/PerfectTemplate/.build/release/PerfectNet.build/NetTCPSSL.swift.o: previous definition here clang: error: linker command failed with exit code 1 (use -v to see invocation) <unknown>:0: error: link command failed with exit code 1 (use -v to see invocation) <unknown>:0: error: build had 1 command failures error: exit(1): /usr/bin/swift-build-tool -f /s/PerfectTemplate/.build/release.yaml

@iamjono
Copy link
Member

iamjono commented Jul 21, 2016

Thanks @saltzmanjoelh we'll look into it.

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