The canon 100-400mm f4.5-5.6 IS is 12 years old now, the IS system is the 1st generation and the push pull system does take a bit of getting use to, but its one of canon's best selling lenses and if you get a good copy, its still a very good lens. It can be a bit soft 350-400mm wide open (just step it down), but most zooms suffer this.
The sigma 150-500mm f5-6.3 OS has the latest generation OS which seems (maybe) to give it the edge slightly as conditions drop off, but its still f6.3 at 500mm (well 450mm). It has similar issue to the canon, being soft at 500mm wide open depending on your copy.
In good light both lenses will perform well.
Other options are sigma 120-400mm f4-5.6 OS and 50-500mm f4.5-6.3 OS. The 50-500mm OS is slightly better than the 150-500mm, but you're paying the extra $$$ for it.
At the end of the day it depends on your budget and what you want to photograph