This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: bootstrap fail, native sparc-sun-solaris2.7, need --disable-nsec-timestamps
- To: chastain at cygnus dot com (Michael Elizabeth Chastain)
- Subject: Re: bootstrap fail, native sparc-sun-solaris2.7, need --disable-nsec-timestamps
- From: Joe Buck <jbuck at synopsys dot COM>
- Date: Mon, 25 Jun 2001 08:19:43 -0700 (PDT)
- Cc: jbuck at synopsys dot com, gcc at gcc dot gnu dot org
> Foo, I can't reproduce my failure.
>
> I rebuilt native sparc-sun-solaris2.7 four more times using gnu make
> 3.79.1 with default options (nsec-timestamps enabled). I started with
> a new build tree each time and did configure/make bootstrap/make install.
> The build worked every time.
Since the issue is a race, this isn't that surprising.
> I did notice some "touch" commands in my (successful) build log:
>
> [chastain@skil build]$ grep touch X-make.log
> touch stamp-picdir
> rm -f needed-list; touch needed-list; \
> if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
> if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
> if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
> if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
> touch stamp-picdir
> rm -f needed-list; touch needed-list; \
I think that this is wrong, and it's not safe to use touch on Solaris
at all (unless you have a make that's configured to ignore the nanosecond
field in the timestamp, since touch will set it to all 0 on local
filesystems but not on NFS filesystems, or is it the other way around?).
> These are coming from libiberty/Makefile.in and gcc/mklibgcc.in.
> You may want to give these files the $(STAMP) treatment.
Yup.