bug-patch
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-patch] minor problems compiling, 2 test failures, alpha-osf


From: Jay K
Subject: [bug-patch] minor problems compiling, 2 test failures, alpha-osf
Date: Fri, 11 Jun 2010 14:37:32 +0000

bash-4.1$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/home/jayk/libexec/gcc/alphaev67-dec-osf5.1/4.5.0/lto-wrapper
Target: alphaev67-dec-osf5.1
Configured with: /home/jayk/src/gcc-4.5.0/configure -disable-nls 
-prefix=/home/jayk
Thread model: posix
gcc version 4.5.0 (GCC) 


(This is an old osf1, not 5.1a or 5.1b, but 5.1)



gcc: gl/lib/strnlen.o: No such file or directory
make: *** [src/patch] Error 1

workaround: copied the file from gnulib

or by using latest ftp://alpha.gnu.org/gnu/patch/patch-2.6.1.85-423d.tar.gz.

With ftp://alpha.gnu.org/gnu/patch/patch-2.6.1.85-423d.tar.gz:

getdate.y: In function 'get_date':
getdate.y:1532:5: warning: implicit declaration of function 'unsetenv'

/home/jayk/src/patch-2.6.1.85-423d/lib/setenv.c: In function 'rpl_setenv':
/home/jayk/src/patch-2.6.1.85-423d/lib/setenv.c:362:3: warning: implicit 
declaration of function 'setenv'

setenv and unsetenv are in /usr/include/stdlib.h but under #ifdef _BSD.
I haven't looked into what all changes when you #define _BSD though,
and unsetenv returns void instead of int.

/home/jayk/src/patch-2.6.1.85-423d/lib/error.c: In function 
'print_errno_message':
/home/jayk/src/patch-2.6.1.85-423d/lib/error.c:142:3: warning: implicit 
declaration of function 'strerror_r'

It is under if defined(_REENTRANT) || defined(_THREAD_SAFE)
and I've generally seen #define _REENTRANT is good or ok across a bunch of 
systems.

So I did:
CFLAGS='-D_REENTRANT -O1' /home/jayk/src/patch-2.6.1.85-423d/configure 
-prefix=$HOME

With ftp://ftp.gnu.org/gnu/patch/patch-2.6.1.tar.gz, make check failed all 
tests.

ftp://alpha.gnu.org/gnu/patch/patch-2.6.1.85-423d.tar.gz fails only two:

FAIL: crlf-handling
XFAIL: dash-o-append
FAIL: merge
==================================
2 of 27 tests failed
See tests/test-suite.log
Please report to address@hidden
==================================

test-suite.log attached.


- Jay                                     

Attachment: test-suite.log
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]