SAN FRANCISCO - Some of Barry Bonds' former teammates, along with other retired Major League Baseball players and perhaps current player Jason Giambi, will have to testify at the slugger's upcoming perjury trial, a federal judge said Friday.