The invention provides a compound for forming an organic film having a partial structure represented by the following formula (vii-2),
wherein R
1
represents a linear, branched or cyclic monovalent hydrocarbon group having 1 to 20 carbon atoms, and a methylene group constituting R
1
may be substituted by an oxygen atom; a+b is 1, 2 or 3; c and d are each independently 0, 1 or 2; x represents 0 or 1, when x=0, then a=c=0; L
7
represents a linear, branched or cyclic divalent organic group having 1 to 20 carbon atoms, L
8′
represents the partial structure represented by the following formula (i), 0≦o<1, 0