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

dyld: malformed mach-o image: segment __DWARF has vmsize < filesize #1077

Closed
newtorn opened this issue Jun 3, 2020 · 4 comments
Closed

dyld: malformed mach-o image: segment __DWARF has vmsize < filesize #1077

newtorn opened this issue Jun 3, 2020 · 4 comments

Comments

@newtorn
Copy link

newtorn commented Jun 3, 2020

Describe the bug:

➜ fyne git:(master) fyne_demo
dyld: malformed mach-o image: segment __DWARF has vmsize < filesize
[1] 81470 abort fyne_demo

To Reproduce:

Steps to reproduce the behaviour:

  1. go get fyne.io/fyne/cmd/fyne_demo/
  2. fyne_demo
  3. See error

Screenshots:

image

Example code:

Device (please complete the following information):

  • OS: MacOS Catalina
  • Version: 10.15.2
  • Go version: go1.12.5
  • Fyne version: 1.2.4
@andydotxyz
Copy link
Member

It seems that this was a known issue with Go - can you please upgrade to at least 1.12.7 and try again?
golang/go#34935

@newtorn
Copy link
Author

newtorn commented Jun 4, 2020

@andydotxyz okay, thank you! I know that building option should point -ldflags "-w",it means that I should rebuild fyne_demo.

@andydotxyz
Copy link
Member

You should not need to worry about ldflags. Upgrading go and rebuilding fyne_demo should fix the issue

@andydotxyz
Copy link
Member

Please let us know if updating helped. No hurry but it's good to know if we have a Fyne issue here or not.

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