Very slow make times on OS X

BuddyCasino
Posts: 263
Joined: Sun Jun 19, 2016 12:00 am

Very slow make times on OS X

Postby BuddyCasino » Sun Jun 19, 2016 3:49 pm

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?

BuddyCasino
Posts: 263
Joined: Sun Jun 19, 2016 12:00 am

Re: Very slow make times on OS X

Postby BuddyCasino » Mon Jun 20, 2016 8:14 am

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.

ESP_tuanpm
Posts: 14
Joined: Sat Dec 05, 2015 7:59 am

Re: Very slow make times on OS X

Postby ESP_tuanpm » Mon Jul 11, 2016 2:42 am

Thank you BuddyCasino,

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

Who is online

Users browsing this forum: No registered users and 24 guests