Hi Martin, > On 09/30/2016 02:31 PM, Rainer Orth wrote: >> this would be i386-pc-solaris2.12. I'm not sure if the constructor >> priority detection works in a cross scenario. >> >> I'm attaching the resulting assembly (although for Solaris as, the gas >> build is still running). > > Hi. Sorry, I have a stupid mistake in dtor priority > (I used 65534 instead of desired 99). Please try to test it on Solaris 12 > with the attached patch. I'll send the patch to ML soon.
unfortunately, the patch makes no difference on Solaris 12. The test even FAILs when using gas/gld, which is a different/independent implementation of constructor priority. > Can you please test whether it makes any change on a solaris target w/o > prioritized ctors/dtors? It doesn't: the test PASSes on Solaris 10 and 11 with and without your patch. Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University