http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47571
Summary: undefined reference to clock_gettime in Linux build of 02/01/2011 Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassig...@gcc.gnu.org ReportedBy: michael.a.richm...@nasa.gov Host: i686-pc-linux-gnu Target: i686-pc-linux-gnu Build: i686-pc-linux-gnu When I compile the following program: PROGRAM call_date_and_time CHARACTER(LEN=8) date CHARACTER(LEN=10) time CALL DATE_AND_TIME(date, time) END PROGRAM call_date_and_time I get the message: /home/mrichmon/usr/local/gfortran/bin/../lib/gcc/i686-pc-linux-gnu/4.6.0/../../../libgfortran.a(date_and_time.o): In function `gf_gettime': /home/jerry/gcc/trunk/libgfortran/intrinsics/time_1.h:211: undefined reference to `clock_gettime' collect2: ld returned 1 exit status This bug is specific to the following build: http://gfortran.org/download/i686/gfortran-4.6-20110201-linux-i686.tar.gz Is it due to Patch 81226?