[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Bug target/11716] [mips] branch out of range when building fold-const.c



PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11716



------- Additional Comments From agx at sigxcpu dot org  2003-08-09 11:04 -------
Subject: Re:  [mips] branch out of range when building fold-const.c

On Sat, Aug 09, 2003 at 09:23:23AM -0000, rsandifo at redhat dot com wrote:
> Ah, sorry about that.  For some reason I'd assumed you were using 3.3 to
> cross-compile 3.3 and trunk to cross-compile trunk.  But it now occurs
> to me that mips64-linux-gnu is new to 3.4, so I guess you were using 3.3
> and trunk to compile the same version of gcc.  Is that right?
Yes, I used 3.3 and a CVS snapshot from 2003-07-22 to build a CVS
checkout from the same date.

>     build: mips-linux-gnu
>     host: mips-linux-gnu
>     target: mips64-linux-gnu
Yes.

> In other words, the compiler itself is to run on mips-linux-gnu
> rather than mips64-linux-gnu.  Is that right?
Yes.

> I tried building an i686-pc-linux-gnu cross mips-linux-gnu compiler
> from HEAD but couldn't reproduce the problem.  The checkout I used
> was updated yesterday.
I don't have any problem on i386 either. Furthermore compiling without
-O2 on mips-linux seems to work around the problem too.

> Is it still a problem for you on HEAD?  If so, could you tell me what
> configure line you used?  Also, could you try both -mexplicit-relocs
> and -mno-explicit-relocs?
Will be some time till I have this all tested. Configure is:
../gcc-cvs/configure --enable-languages=c --disable-shared 	\
 --with-newlib --disable-threads --target=mips64-linux		\
 --prefix=~/toolchain/cross-mips64-linux
Regards,
 -- Guido




------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.



Reply to: