Temporary directories left after build on macOS due to dlsym bug

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Tue Nov 28 14:43:44 UTC 2023


As reported in JDK-8320863[1], a bug in dlsym on macOS will leave 
multiple supposedly temporary directories behind when building.

A fix is currently being reviewed[2] that will work around this dlsym 
bug to prohibit the creation of more directories like this, but it will 
not delete the ones that have already been created. A manual cleanup is 
needed to do that.

These directories can be removed by running:

|find /var/folders -name "dsymutil-*" -type d -delete|.

Thanks to Jaikiran for discovering the issue and the fix!

/Magnus

[1] https://bugs.openjdk.org/browse/JDK-8320863
[2] https://github.com/openjdk/jdk/pull/16843

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/jdk-dev/attachments/20231128/9a1bac2d/attachment.htm>


More information about the jdk-dev mailing list