This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Bootstrap failure on mips-sgi-irix6.5


---Mark Mitchell <mark@markmitchell.com> wrote:
>
> >>>>> "Jeffrey" == Jeffrey A Law <law@cygnus.com>
writes:
> 
>     Jeffrey>   In message
>     Jeffrey>
<199806290658.XAA00943@smtp.earthlink.net>you write:
>     >>  I get:
>     >> 
>     >> ./xgcc -B./ -O2 -DIN_GCC -g -I./include -g1
-DIN_LIBGCC2
>     >> -D__GCC_ FLOAT_NOT_NEEDED -I. -I../../gcc
-I../../gcc/config -c
>     >> -DL${name} \ ../../gcc/libgcc2.c -o
${name}.o; \ if [ $? -eq 0
>     >> ] ; then true; else exit 1; fi; \ ar rc
tmplibgcc2.a ${name}.o;
>     >> \ rm -f ${name}.o; \ done _muldi3 ld32:
FATAL 11: Object file
>     >> format error (/usr/tmp/ccUytB0C):
unrecognizable fo
>     >> 
>     >> Note that the linker is being invoked even
with `-c'.  In fact,
>     >> xgcc will do this for all files.  `-S' does
not result in
>     >> linker invocation, however.
> 
>     Jeffrey> Can you add "-v" to CFLAGS to help us
determine what's
>     Jeffrey> going on.
> 
> Sure.  Could it be that the fact that intermediate
temporary files no
> longer have .s,.i,.ii extensions that is confusing
/usr/bin/as?  Yup;
> a little investigation shows that is the MIPS
assembler that is
> invoking the linker for us, and that it doesn't do
that if the input
> files end in a .s extension.  Did one of your
recent changes to
> temporary file name generation make the suffixes go
away?
>

This gcc/ChangeLog entry looks suspicious :-)
 
Sat Jun 27 01:35:14 1998  Jeffrey A Law 
(law@cygnus.com)

        * choose-temp.c (choose_temp_base): Remove
MPW bits.  Use mkstemp
        instead of mktemp.
        * gcc.c (MKTEMP_EACH_FILE): Define.
        (main): No need to call choose_temp_base if
we are going to
        use choose_temp_base to create each file later.
        * mkstemp.c: New file.  Adapted from glibc.
        * Makefile.in (xgcc, colect2, protoize,
unprotoize): Link in mkstemp.o
        (mkstemp.o): Add dependencies.

        * configure.in (gettimeofday): Check for its
existance.
        * config.in (HAVE_GETTIMEOFDAY): Define.
        * configure: Rebuilt.

Martin




===
------------------------------------------------------
Martin Knoblauch
email: knobi@knobisoft.de or knobi@rocketmail.com
www:   http://www.knobisoft.de

_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]