Impossible challenge. Conflicting aims. How do you make a circle into a square? not easily! So this idiom refers to a difficult conundrum. (Compare to Hard nut to crack or Long shot.)
“You can try to work part time but if you still want to buy a car, well that’s a hard circle to square.”