On Mon, Jul 01, 2002 at 08:09:59PM -0700, Eric Christopher wrote: > > > AFAIK it happens to mozilla as well. > > > > Guh. > > There are a few different possible solutions, one is to do the > -fPIC/-fpic split, another is to copy to SGI multigot, I'm sure there > are other solutions as well... > I am testing this patch now. It will take a day to verify it. H.J. ---- 2002-07-02 H.J. Lu <hjl@gnu.org> * ltcf-gcj.sh (ac_cv_prog_cc_pic): Add "-Wa,-xgot" for Linux/mips. --- ltcf-gcj.sh.xgot Mon Sep 10 08:39:17 2001 +++ ltcf-gcj.sh Mon Jul 1 23:49:06 2002 @@ -639,6 +639,14 @@ fi ac_cv_prog_cc_pic=-Kconform_pic fi ;; + linux*) + ac_cv_prog_cc_pic='-fPIC' + case $host_cpu in + mips*) + ac_cv_prog_cc_pic="$ac_cv_prog_cc_pic -Wa,-xgot" + ;; + esac + ;; *) ac_cv_prog_cc_pic='-fPIC' ;;