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

illegal hardware instruction - BUG #62

Closed
CavalcanteLeo opened this issue Jul 13, 2017 · 4 comments
Closed

illegal hardware instruction - BUG #62

CavalcanteLeo opened this issue Jul 13, 2017 · 4 comments

Comments

@CavalcanteLeo
Copy link

I've got this error on my mac, but plank works on another macs with the same json file.

captura de tela 2017-07-13 as 19 13 47

@bkase
Copy link
Contributor

bkase commented Jul 13, 2017

Hi @CavalcanteLeo , thanks for the report. Could you try building plank from source with debug on and sending us the logs?

Just clone and run make build, and then invoke by running it from the .build/ folder.

Thanks!

@CavalcanteLeo
Copy link
Author

 make build
./Utility/lint.sh
SwiftLint finished: No errors or warnings found.
xcrun swift build -v -Xswiftc -static-stdlib
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --driver-mode=swift -I /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/pm -L /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/pm -lPackageDescription -target x86_64-apple-macosx10.10 /Users/Leo-KiddoLabs/Downloads/plank-master/Package.swift -fileno 5
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-build-tool -f /Users/Leo-KiddoLabs/Downloads/plank-master/.build/debug.yaml -v
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name Core -incremental -emit-dependencies -emit-module -emit-module-path /Users/Leo-KiddoLabs/Downloads/plank-master/.build/debug/Core.swiftmodule -output-file-map /Users/Leo-KiddoLabs/Downloads/plank-master/.build/debug/Core.build/output-file-map.json -parse-as-library -num-threads 8 -c /Users/Leo-KiddoLabs/Downloads/plank-master/Sources/Core/FileGenerator.swift /Users/Leo-KiddoLabs/Downloads/plank-master/Sources/Core/JSADTExtension.swift /Users/Leo-KiddoLabs/Downloads/plank-master/Sources/Core/JSFileGenerator.swift /Users/Leo-KiddoLabs/Downloads/plank-master/Sources/Core/JSFileRenderer.swift /Users/Leo-KiddoLabs/Downloads/plank-master/Sources/Core/JSIR.swift /Users/Leo-KiddoLabs/Downloads/plank-master/Sources/Core/JSModelRenderer.swift /Users/Leo-KiddoLabs/Downloads/plank-master/Sources/Core/JSRuntimeFile.swift /Users/Leo-KiddoLabs/Downloads/plank-master/Sources/Core/ObjCADTRenderer.swift /Users/Leo-KiddoLabs/Downloads/plank-master/Sources/Core/ObjCFileRenderer.swift /Users/Leo-KiddoLabs/Downloads/plank-master/Sources/Core/ObjCModelRenderer.swift /Users/Leo-KiddoLabs/Downloads/plank-master/Sources/Core/ObjectiveCBuilderExtension.swift /Users/Leo-KiddoLabs/Downloads/plank-master/Sources/Core/ObjectiveCDebugExtension.swift /Users/Leo-KiddoLabs/Downloads/plank-master/Sources/Core/ObjectiveCEqualityExtension.swift /Users/Leo-KiddoLabs/Downloads/plank-master/Sources/Core/ObjectiveCFileGenerator.swift /Users/Leo-KiddoLabs/Downloads/plank-master/Sources/Core/ObjectiveCInitExtension.swift /Users/Leo-KiddoLabs/Downloads/plank-master/Sources/Core/ObjectiveCIR.swift /Users/Leo-KiddoLabs/Downloads/plank-master/Sources/Core/ObjectiveCNSCodingExtension.swift /Users/Leo-KiddoLabs/Downloads/plank-master/Sources/Core/Schema.swift /Users/Leo-KiddoLabs/Downloads/plank-master/Sources/Core/SchemaLoader.swift /Users/Leo-KiddoLabs/Downloads/plank-master/Sources/Core/StringExtensions.swift -I /Users/Leo-KiddoLabs/Downloads/plank-master/.build/debug -j8 -D SWIFT_PACKAGE -Onone -g -enable-testing -target x86_64-apple-macosx10.10 -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -F /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -static-stdlib -module-cache-path /Users/Leo-KiddoLabs/Downloads/plank-master/.build/debug/ModuleCache
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name plank -incremental -emit-dependencies -emit-module -emit-module-path /Users/Leo-KiddoLabs/Downloads/plank-master/.build/debug/plank.swiftmodule -output-file-map /Users/Leo-KiddoLabs/Downloads/plank-master/.build/debug/plank.build/output-file-map.json -num-threads 8 -c /Users/Leo-KiddoLabs/Downloads/plank-master/Sources/plank/Cli.swift /Users/Leo-KiddoLabs/Downloads/plank-master/Sources/plank/main.swift -I /Users/Leo-KiddoLabs/Downloads/plank-master/.build/debug -j8 -D SWIFT_PACKAGE -Onone -g -enable-testing -target x86_64-apple-macosx10.10 -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -F /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -static-stdlib -module-cache-path /Users/Leo-KiddoLabs/Downloads/plank-master/.build/debug/ModuleCache
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -target 'x86_64-apple-macosx10.10' -sdk '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk' -F /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -static-stdlib -g -L/Users/Leo-KiddoLabs/Downloads/plank-master/.build/debug -o /Users/Leo-KiddoLabs/Downloads/plank-master/.build/debug/plank -emit-executable /Users/Leo-KiddoLabs/Downloads/plank-master/.build/debug/plank.build/Cli.swift.o /Users/Leo-KiddoLabs/Downloads/plank-master/.build/debug/plank.build/main.swift.o /Users/Leo-KiddoLabs/Downloads/plank-master/.build/debug/Core.build/FileGenerator.swift.o /Users/Leo-KiddoLabs/Downloads/plank-master/.build/debug/Core.build/JSADTExtension.swift.o /Users/Leo-KiddoLabs/Downloads/plank-master/.build/debug/Core.build/JSFileGenerator.swift.o /Users/Leo-KiddoLabs/Downloads/plank-master/.build/debug/Core.build/JSFileRenderer.swift.o /Users/Leo-KiddoLabs/Downloads/plank-master/.build/debug/Core.build/JSIR.swift.o /Users/Leo-KiddoLabs/Downloads/plank-master/.build/debug/Core.build/JSModelRenderer.swift.o /Users/Leo-KiddoLabs/Downloads/plank-master/.build/debug/Core.build/JSRuntimeFile.swift.o /Users/Leo-KiddoLabs/Downloads/plank-master/.build/debug/Core.build/ObjCADTRenderer.swift.o /Users/Leo-KiddoLabs/Downloads/plank-master/.build/debug/Core.build/ObjCFileRenderer.swift.o /Users/Leo-KiddoLabs/Downloads/plank-master/.build/debug/Core.build/ObjCModelRenderer.swift.o /Users/Leo-KiddoLabs/Downloads/plank-master/.build/debug/Core.build/ObjectiveCBuilderExtension.swift.o /Users/Leo-KiddoLabs/Downloads/plank-master/.build/debug/Core.build/ObjectiveCDebugExtension.swift.o /Users/Leo-KiddoLabs/Downloads/plank-master/.build/debug/Core.build/ObjectiveCEqualityExtension.swift.o /Users/Leo-KiddoLabs/Downloads/plank-master/.build/debug/Core.build/ObjectiveCFileGenerator.swift.o /Users/Leo-KiddoLabs/Downloads/plank-master/.build/debug/Core.build/ObjectiveCInitExtension.swift.o /Users/Leo-KiddoLabs/Downloads/plank-master/.build/debug/Core.build/ObjectiveCIR.swift.o /Users/Leo-KiddoLabs/Downloads/plank-master/.build/debug/Core.build/ObjectiveCNSCodingExtension.swift.o /Users/Leo-KiddoLabs/Downloads/plank-master/.build/debug/Core.build/Schema.swift.o /Users/Leo-KiddoLabs/Downloads/plank-master/.build/debug/Core.build/SchemaLoader.swift.o /Users/Leo-KiddoLabs/Downloads/plank-master/.build/debug/Core.build/StringExtensions.swift.o

@CavalcanteLeo
Copy link
Author

CavalcanteLeo commented Jul 14, 2017

But after i installed in this way, it worked!

PS: i had to install realm/SwiftLint

@bkase
Copy link
Contributor

bkase commented Jul 15, 2017

ok I'll mark this as closed then

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