> > The patch also fixed undefined reference symbol seen with max partitioning > > on a testcase. > > Here we fold through a reference to constant variable into a reference to > > constant pool. > > Since initializer of the constant variable is not seen by the partitioner, > > we do not > > duplicate the constant pool entry into the unit and we end up with > > undefined reference. > > Fixed thus. I will try to prepare fix for 4.7, too. I think it is the > > problem > > Andi is seeing with kernel build. > > I did quite some testing with this one with building kernels with > different configurations (including over night randomconfig runs) > and it seems to fix the previous problems. I reverted the workarounds > (making random symbols visible) reverted. So looks good. > > Getting it into 4.7 would be appreciated too, otherwise I would need to > keep the workarounds.
Good news, the 4.7 version of the patch will be bit different, I will try to do it early next week. Thanks for testing! Honza > > -Andi