|
coreutils-4.5.9: Compaq/DEC OSF/1 4.0, a success, and a patch for a failure: msg#00034gnu.core-utils.bugs
The coreutils-4.5.9 on Compaq/DEC OSF/1 4.0 with gcc-2.95.3 succeeded, and all tests passed. However, a build with c89 failed like this: c89 -DLIBDIR=\"/usr/local/lib\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I/usr/local/include -g -c `test -f 'mmap-stack.c' || echo './'`mmap-stack.c cc: Error: mmap-stack.c, line 71: In this statement, "stack" and "(-1)" cannot be compared for equality or inequality. (noequality) if (stack == MAP_FAILED) ------^ make[3]: *** [mmap-stack.o] Error 1 I applied this simple patch: diff lib/mmap-stack.c.~1~ lib/mmap-stack.c 71c71 < if (stack == MAP_FAILED) --- > if (stack == (void*)MAP_FAILED) and restarted the build. It then completed successfully, and all tests passed. ------------------------------------------------------------------------------- - Nelson H. F. Beebe Tel: +1 801 581 5254 - - Center for Scientific Computing FAX: +1 801 581 4148 - - University of Utah Internet e-mail: beebe@xxxxxxxxxxxxx - - Department of Mathematics, 110 LCB beebe@xxxxxxx beebe@xxxxxxxxxxxx - - 155 S 1400 E RM 233 beebe@xxxxxxxx - - Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe - ------------------------------------------------------------------------------- |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | coreutils-4.5.9: universal failure on HP Itanium-2 system: 00034, Nelson H. F. Beebe |
|---|---|
| Next by Date: | Re: coreutils-4.5.9: universal failure on HP Itanium-2 system: 00034, Jim Meyering |
| Previous by Thread: | coreutils-4.5.9: universal failure on HP Itanium-2 systemi: 00034, Nelson H. F. Beebe |
| Next by Thread: | Re: coreutils-4.5.9: Compaq/DEC OSF/1 4.0, a success, and a patch for a failure: 00034, Jim Meyering |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |