go to the ends of the earth - definition and synonyms

phrase
  1. to put a lot of effort into something, especially when there are problems or difficulties
See also main entry: end