OpenSolaris

Printable Version Enter a New Search
Bug ID 6591900
Synopsis Various sun4u platforms try to install sys symlink in usr/share/src/uts in parallel
State 10-Fix Delivered (Fix available in build)
Category:Subcategory consolidation:os-net-misc
Keywords build | make | nitro
Responsible Engineer Alexander Kolbasov
Reported Against
Duplicate Of
Introduced In
Commit to Fix snv_85
Fixed In snv_85
Release Fixed solaris_nevada(snv_85)
Related Bugs 4280813 , 6592975 , 6592977
Submit Date 11-August-2007
Last Update Date 12-March-2008
Description
The whole series of sparc Makefiles cut'n'pasted the same bit of code which installs 
proto/root_sparc/usr/share/src/uts/$(PLATFORM)/sys as a symlink to 
../../../../platform/$(PLATFORM)/include/sys

This is, actually, done in platform-specific sys/Makefile and should not be replicated in 
individual sub-platforms Makefiles.

List of offenders:

usr/src/uts/sun4u/cherrystone/sys/Makefile
usr/src/uts/sun4u/daktari/sys/Makefile
usr/src/uts/sun4u/excalibur/sys/Makefile
usr/src/uts/sun4u/lw8/sys/Makefile
usr/src/uts/sun4u/montecarlo/sys/Makefile
usr/src/uts/sun4u/mpxu/sys/Makefile
usr/src/uts/sun4u/ngdr/sys/Makefile
usr/src/uts/sun4u/opl/sys/Makefile
usr/src/uts/sun4u/serengeti/sys/Makefile
usr/src/uts/sun4u/starcat/sys/Makefile
usr/src/uts/sun4u/starfire/sys/Makefile
usr/src/uts/sun4u/sunfire/sys/Makefile

The problem is that when when we build some of these in parallel all of them try to 
remove the existing link and install a new one, thus creating a race. As a result sys/sys symlink is incorrectly created.
Work Around
N/A
Comments
N/A