Get your taxes done using TurboTax

Your capital loss carryovers should wipe out your entire capital gain on the sale of your second home.

 

I presume the second home is not used for business or rental purposes.