• AVR Freaks

Hot!*make* crashes using MPLAB X v5.35 on MacOS High Sierra/10.13.6

Author
g1l1t1
Starting Member
  • Total Posts : 13
  • Reward points : 0
  • Joined: 2020/02/27 06:19:02
  • Location: 0
  • Status: offline
2020/03/20 08:41:57 (permalink)
0

*make* crashes using MPLAB X v5.35 on MacOS High Sierra/10.13.6

make is crashing when I try to build any project. It's clear from the error message that it was built for Catalina/MacOS 10.15. Here's the log from an attempt to build:
 
CLEAN SUCCESSFUL (total time: 56ms)
dyld: lazy symbol binding failed: Symbol not found: ____chkstk_darwin
  Referenced from: /Applications/microchip/mplabx/v5.35/mplab_platform/bin/make (which was built for Mac OS X 10.15)
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: ____chkstk_darwin
  Referenced from: /Applications/microchip/mplabx/v5.35/mplab_platform/bin/make (which was built for Mac OS X 10.15)
  Expected in: /usr/lib/libSystem.B.dylib


BUILD FAILED (exit value 134, total time: 55ms)

 
What version of MPLAB X will work with High Sierra? If someone knows and can tell me, it may save me a lot of time trying to find it myself.
 
I can't simply update my OS. I've heard there can be problems installing newer versions from High Sierra if the system has a "homemade" Fusion drive. Mine does, and it was rendered unbootable when I tried to install Mojave.
 
It's also a 2009 MacPro5,1 (originally MacPro4,1 but with updated firmware) and some "magic" may be required to get it all the way to Mojave.
 
I can't take the time or run the risk to do that because I'm working at home (thanks, Covid-19) and rely on my Mac for both doing my job and for personal stuff.
#1

7 Replies Related Threads

    crennolet
    Super Member
    • Total Posts : 195
    • Reward points : 0
    • Joined: 2012/03/15 09:51:58
    • Location: 0
    • Status: offline
    Re: *make* crashes using MPLAB X v5.35 on MacOS High Sierra/10.13.6 2020/03/20 12:44:48 (permalink)
    +2 (2)
    You could install your own version of make (which is available in several forms, including source, if you want to go that far) over the top of the one that dies.
     
    From what I've seen, the makefiles aren't so weird that they're likely to break any fairly standard version of make.
     
    #2
    g1l1t1
    Starting Member
    • Total Posts : 13
    • Reward points : 0
    • Joined: 2020/02/27 06:19:02
    • Location: 0
    • Status: offline
    Re: *make* crashes using MPLAB X v5.35 on MacOS High Sierra/10.13.6 2020/03/20 15:14:31 (permalink)
    0
    For now I’m just running the Windows version of MPLAB X in a VM on my Mac, but eventually I’d like to try your suggestion—hoping that nothing else in the toolchain is unable to run on 10.13.
    #3
    andersm
    Super Member
    • Total Posts : 2800
    • Reward points : 0
    • Joined: 2012/10/07 14:57:44
    • Location: 0
    • Status: online
    Re: *make* crashes using MPLAB X v5.35 on MacOS High Sierra/10.13.6 2020/03/20 23:10:04 (permalink)
    +2 (2)
    MPLAB X v5.35 was the first 64-bit version, so presumably all previous versions should work.
     
    If anyone on the toolchain team happens to be reading, you need to set MACOSX_DEPLOYMENT_TARGET to the oldest version you want to support when compiling (or explicitly use the --mmacosx-version-min compiler flag).
     
    (Edit: The make binary from 5.35 runs fine on Mojave.)
    #4
    charlieduru
    New Member
    • Total Posts : 15
    • Reward points : 0
    • Joined: 2019/03/30 11:59:21
    • Location: 0
    • Status: offline
    Re: *make* crashes using MPLAB X v5.35 on MacOS High Sierra/10.13.6 2020/04/01 12:12:15 (permalink)
    0
    @crennolet how do i get and install my own version of make?
    #5
    crennolet
    Super Member
    • Total Posts : 195
    • Reward points : 0
    • Joined: 2012/03/15 09:51:58
    • Location: 0
    • Status: offline
    Re: *make* crashes using MPLAB X v5.35 on MacOS High Sierra/10.13.6 2020/04/01 12:27:30 (permalink)
    0
    Sorry -- I know it's possible, because under the user interface, macos is basically unix. But I would be no better at telling you how than you could get from an internet search. One possibility is that you might install a previous version of mplabx and simply copy the version of make in that over the one installed under 5.35. But I'm guessing.
    #6
    charlieduru
    New Member
    • Total Posts : 15
    • Reward points : 0
    • Joined: 2019/03/30 11:59:21
    • Location: 0
    • Status: offline
    Re: *make* crashes using MPLAB X v5.35 on MacOS High Sierra/10.13.6 2020/04/01 14:50:14 (permalink)
    0
    @crennolet i did already , but please i have issues with the plib installer refusing to launch(MAC OS high sierra). can anyone upload a zip file of lib for mac
     
    #7
    peter@work
    New Member
    • Total Posts : 1
    • Reward points : 0
    • Joined: 2020/04/17 12:04:47
    • Location: 0
    • Status: offline
    Re: *make* crashes using MPLAB X v5.35 on MacOS High Sierra/10.13.6 2020/04/20 13:55:27 (permalink)
    0
    I had the same problem and finally solved it by:
    • deleting the make file in /Applications/microchip/mplabx/v5.35/mplab_platform/bin
    • building one of my projects
    • installing the "command line developer tools" as suggested by MPLabX
     
    #8
    Jump to:
    © 2020 APG vNext Commercial Version 4.5