[parisc-linux] touch fails on hppa because utimes is the devil.
Carlos O'Donell
carlos@baldric.uwo.ca
Thu, 6 Nov 2003 02:34:05 -0500
r,
touch failing is all about the configure.
readelf -a src/touch | grep utime
00027600 00000581 R_PARISC_IPLT 00000000 utime + 0
5: 00000000 76 FUNC GLOBAL DEFAULT UND utime@GLIBC_2.2 (2)
123: 00000000 76 FUNC GLOBAL DEFAULT UND utime@@GLIBC_2.2
203: 00014ca0 48 FUNC GLOBAL DEFAULT 11 utimens
readelf -a /usr/bin/touch | grep utime
000274c0 00000581 R_PARISC_IPLT 00000000 utime + 0
00027500 00000e81 R_PARISC_IPLT 00000000 utimes + 0
5: 00000000 68 FUNC GLOBAL DEFAULT UND utime@GLIBC_2.2 (2)
14: 00000000 232 FUNC GLOBAL DEFAULT UND utimes@GLIBC_2.2 (2)
In the newly built touch we don't use "utimes"
So I dug a bit:
configure:27240: checking determine whether the utimes function works
configure:27282: hppa-linux-gcc -o conftest -g -DSYSLOG_SUCCESS
-DSYSLOG_FAILURE -DSYSLOG_NON_ROOT -O2 conftest.c >&5
configure:27285: $? = 0
configure:27287: ./conftest
configure:27290: $? = 1
configure: program exited with status 1
configure: failed program was:
...
configure:27304: result: no
Sombody should sick themselves on this failure? Takers? :)
c.