[Bug target/69012] gcc-6.0.0 internal compiler error building libgfortran for mips64el target

paul.hua.gm at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Dec 24 12:58:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69012

--- Comment #10 from Paul Hua <paul.hua.gm at gmail dot com> ---
(In reply to Bernd Edlinger from comment #9)
> (In reply to Paul Hua from comment #8)
> > (In reply to Bernd Edlinger from comment #6)
> > > (In reply to Paul Hua from comment #5)
> > > > Created attachment 37115 [details]
> > > > building command
> > > 
> > > I'm unable to reproduce.
> > > What is your cross-compiler command line?
> > 
> 
> 
> and how exactly did you configure your cross compiler?

I'm compared the diff between your configure and mine, find something that my
configure specify the --with-build-time-tools=xxx. If don't specify the
--with-build-time-tools=xxx the gcc(both r225249 and r225260) can be build
successfully. This is the reason why you can't reproduce.

But, when specify the --with-build-time-tools=xxx the gcc r225249 can be build
successfully. The gcc r225260 failed, the error is same as above. 

The --with-build-time-tools=xxx is the binutils installed dir.

binutils cross-compiler configure with:

../../binutils-gdb_git_trunk/configure
--prefix=/home/xuchenghua/toolchain/cross-compiler/gcc-6.0.0
--build=x86_64-linux-gnu --host=x86_64-linux-gnu
--target=mipsel-redhat-linux-gnu

gcc cross-compiler configure with:

../../gcc_git_trunk/configure --prefix=/home/xuchenghua/gcc-trunk
--target=mipsel-redhat-linux --with-arch=mips64r2 --with-abi=32
--enable-threads=posix --enable-__cxa_atexit --disable-libunwind-exceptions
--enable-gnu-unique-object --disable-dssi --disable-multilib
--enable-languages=c --enable-shared
--with-build-time-tools=/home/xuchenghua/toolchain/cross-compiler/gcc-6.0.0/mipsel-redhat-linux-gnu/bin/

I'm sorry for wasted your time.

thanks.


More information about the Gcc-bugs mailing list