Hello,
I report here a bug met with gmake 3.79 on Solaris 2.6. It has been
tested under Linux RH 6.1 and AIX 4.3.2, and no problem occured :
OS used :
---------
$ uname -a
SunOS refsol26 5.6 Generic_105181-16 sun4m sparc SUNW,SPARCstation-10
gmake used :
------------
$ /usr/local/bin/gmake -ver
GNU Make version 3.79, by Richard Stallman and Roland McGrath.
Built for sparc-sun-solaris2.6
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99
Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Report bugs to <[EMAIL PROTECTED]>.
Example :
---------
To produce the problem, untar the archive, and 'make' it.
$ tar cvzf gmake_pb.tgz
$ cd gmake
$ /usr/local/bin/gmake
cc -c -o main.o main.c
cc -c -o one.o one.c
ar rv libTest.a one.o
a - one.o
ar: creating libTest.a
ar: writing libTest.a
gmake: *** Warning: File `libTest.a(two.o)' has modification time in the future
(2010-02-22 22:41:28.709551616 > 2000-05-15 10:47:55.1656795)
cc main.o libTest.a -o main
Undefined first referenced
symbol in file
two main.o
ld: fatal: Symbol referencing errors. No output written to main
gmake: *** [main] Error 1
rm one.o
Comments :
----------
Obviously, there is something wrong in the way gmake gets the time of
library modules. I provide you also the output of the system calls and
signals traced during the execution of 'make', available in file
system_calls.
Best regards,
Jerome.
--
-------------------------------------------------------
Jerome Fournier E-mail: [EMAIL PROTECTED]
IT Division Phone: +41 22 767 47 63
CERN,CH-1211 GENEVA 23 Fax: +41 22 767 66 50
gmake_pb.tgz