Page 1 of 1

mpy-cross can't work on MacOSX Catalina [ missing LC_DYSYMTAB]

Posted: Sun Jan 12, 2020 10:06 am
by lolomarx
Any body can help to reproduce this problem on your machine ?

Code: Select all

cd mpy-cross 
make clean
make 
The result with error as below

Code: Select all

CC main.c
CC gccollect.c
LINK mpy-cross
BFD: mpy-cross: unknown load command 0x32
   text	   data	    bss	    dec	    hex	filename
 130999	  13512	    860	 145371	  237db	mpy-cross
And can't perform may-cross as except:

Code: Select all

./mpy-cross --help
dyld: malformed mach-o image: missing LC_DYSYMTAB
Abort trap: 6
My OSX system version is 10.15.2 and gcc version as below :

Code: Select all

gcc --version
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
Apple clang version 11.0.0 (clang-1100.0.33.16)
Target: x86_64-apple-darwin19.2.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

Re: mpy-cross can't work on MacOSX Catalina [ missing LC_DYSYMTAB]

Posted: Sun Jan 12, 2020 10:53 am
by jimmo
Can we keep this in the same thread? viewtopic.php?f=18&t=7571

Re: mpy-cross can't work on MacOSX Catalina [ missing LC_DYSYMTAB]

Posted: Mon Jan 13, 2020 12:43 am
by lolomarx
Please help to delete this post . Thx