Heat the olive oil in a large heavy pot. Add the onions, carrots, and garlic and cook, covered, over low heat until the vegetables are tender and lightly colored, about 25 minutes; stir occasionally.
Uncover, add the beef stock, raise the heat, and bring to a boil. Reduce the heat, cover, and simmer for 20 minutes.