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

Duplicate symbols on Windows #257

Open
dabrahams opened this issue Jan 20, 2023 · 0 comments
Open

Duplicate symbols on Windows #257

dabrahams opened this issue Jan 20, 2023 · 0 comments

Comments

@dabrahams
Copy link

This could conceivably be an SPM problem, but we are having problems using swift-numerics on windows. Full details here:

lld-link: error: duplicate symbol: __profcstatic (extension in RealModule):Swift.Double.log(Swift.Double) -> Swift.Double
>>> defined at D:\\a\\val\\val\\.build\\x86_64-unknown-windows-msvc\\debug\\RealModule.build\\Double+Real.swift.o
lld-link: error: duplicate symbol: __profcstatic (extension in RealModule):Swift.Double.log(onePlus: Swift.Double) -> Swift.Double
>>> defined at D:\\a\\val\\val\\.build\\x86_64-unknown-windows-msvc\\debug\\RealModule.build\\Double+Real.swift.o
lld-link: error: duplicate symbol: __profcstatic (extension in RealModule):Swift.Double.root(Swift.Double, Swift.Int) -> Swift.Double
>>> defined at D:\\a\\val\\val\\.build\\x86_64-unknown-windows-msvc\\debug\\RealModule.build\\Double+Real.swift.o
lld-link: error: duplicate symbol: __profc_D:\a\val\val\.build\checkouts\swift-numerics\Sources\RealModule\Double+Real.swift:implicit closure #1 () throws -> Swift.Bool in static (extension in RealModule):Swift.Double.root(Swift.Double, Swift.Int) -> Swift.Double
>>> defined at D:\\a\\val\\val\\.build\\x86_64-unknown-windows-msvc\\debug\\RealModule.build\\Double+Real.swift.o
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

1 participant