Git Product home page Git Product logo

Comments (3)

dan-zheng avatar dan-zheng commented on May 5, 2024

I confirmed that the bug also occurs on Ubuntu 14.04 and 16.04.
Here's the error message from Ubuntu 16.04:

<unknown>:0: error: fatal error encountered during compilation; please file a bug report with your project and the crash log
<unknown>:0: note: Program used external function '$S5catch8PositionVMn' which could not be resolved!
/home/swift-build/swift/swift-nightly-install/usr/bin/swift[0x417a164]
/home/swift-build/swift/swift-nightly-install/usr/bin/swift[0x417a4a6]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x11390)[0x7fe4285c4390]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38)[0x7fe422779428]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x16a)[0x7fe42277b02a]
/home/swift-build/swift/swift-nightly-install/usr/bin/swift[0x4e1e05]
/home/swift-build/swift/swift-nightly-install/usr/bin/swift[0x410b6bf]
/home/swift-build/swift/swift-nightly-install/usr/bin/swift[0x10a013b]
/home/swift-build/swift/swift-nightly-install/usr/bin/swift[0x109eb06]
/home/swift-build/swift/swift-nightly-install/usr/bin/swift[0x108c7fd]
/home/swift-build/swift/swift-nightly-install/usr/bin/swift[0x4f8f3e]
/home/swift-build/swift/swift-nightly-install/usr/bin/swift[0x4e1310]
/home/swift-build/swift/swift-nightly-install/usr/bin/swift[0x4dc7cc]
/home/swift-build/swift/swift-nightly-install/usr/bin/swift[0x48ceed]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7fe422764830]
/home/swift-build/swift/swift-nightly-install/usr/bin/swift[0x48a749]
Stack dump:
0.	Program arguments: /home/swift-build/swift/swift-nightly-install/usr/bin/swift -frontend -interpret catch.swift -disable-objc-interop -O -color-diagnostics -module-name catch
[1]    34890 abort (core dumped)  swift/swift-nightly-install/usr/bin/swift -O catch.swift

However, compiling the file (swiftc -O catch.swift) works on all platforms.

from swift.

rxwei avatar rxwei commented on May 5, 2024

Adding @_versioned on CatchAgent, Position and CatchEnvironment makes it run normally. We should take a look at the frontend and see what's going on with linking.

from swift.

rxwei avatar rxwei commented on May 5, 2024

Moved to tensorflow/swift-models#5. google/swift is no longer used.

from swift.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.