PURPOSE: This randomized phase III trial is studying giving gemcitabine together with sorafenib to see how well it works compared with giving gemcitabine alone in treating patients with locally advanced or metastatic pancreatic cancer.