Page 1 of 1

Very slow make times on OS X

Posted: Sun Jun 19, 2016 3:49 pm
by BuddyCasino
I've managed to configure everything successfully, but "make" takes forever to compile the example project, where it would only take only a few seconds with the ESP8266.

I get high CPU usage for the opendirectoryd and automountd process, while xtensa-esp108-elf-objdump is apparently stuck. I set AUTOMOUNTD_VERBOSE=TRUE in /etc/autofs.conf, and see lots of "od_search for * in auto_home failed" and "od_search for cff in auto_home failed" messages.

I think OSX is trying to auto-mount something that isn't there. This says one reason could be a broken symlink: http://apple.stackexchange.com/question ... acbook-air

But I couldn't find one. Is there something trying to access something on "/home"? Anybody has the same issue?

Re: Very slow make times on OS X

Posted: Mon Jun 20, 2016 8:14 am
by BuddyCasino
I did not find the underlying cause, but I found at least a workaround.

In /etc/auto_master, you need to comment out the line starting with "/home" and then execute:

Code: Select all

sudo automount -vc
This will disable automount for /home, builds are now fast again.

Re: Very slow make times on OS X

Posted: Mon Jul 11, 2016 2:42 am
by ESP_tuanpm
Thank you BuddyCasino,

You're a life saver, I had to use Ubuntu virtual machine all of this month