Wed 23 Nov 2005 09:49:20 AM UTC, comment #2:
This problem has been fixed already.
make-3.81beta3 works well. Thank you.
I had some problems in compiling. Probably you know already but I'll report them just in case.
HAVE_DECL_SYS_SIGLIST is defined in 'config.h', therefor signame.c(30):!defined(HAVE_DECL_SYS_SIGLIST) is always false.
'cc' with '-std1' is interrupted by errors in compiling 'main.c'.
('cc' without '-std1' is OK.)
|
Mon 21 Nov 2005 07:21:07 PM UTC, comment #1:
This works fine for me, so I suspect it's an issue on OSF1. Especially with the commend about read(2) getting EINTR: since you're not running parallel make here (-j) you shouldn't be getting EINTR signals at all.
However, you can try the latest beta of GNU make, where there are some loops to try to handle EINTR, and see if that helps at all:
ftp://alpha.gnu.org/gnu/make/make-3.81beta3.tar.gz
|
Mon 21 Nov 2005 08:27:52 AM UTC, original submission:
make-3.79.1 shell function returns expected string.
But make-3.80 shell function returns null string.
The result is as follows:
% uname -a
OSF1 kokemomo V4.0 878 alpha
% cat shell.mk
VPATH = .:../src:/var/tmp/gnu:/var/tmp/include
shout := $(shell echo $(subst :, ,$(VPATH)) | \
awk '{for(i=1;i<=NF;i++) print length($$i) " " $$i}' | \
sort -u -k1,1nr -k2 | \
awk '{gsub(/\./,"\\.",$$2); print "s|\\([: \t]\\)" $$2 "/|\\1|g;"}')
test:
echo '$(shout)'
%
% ../make-3.79.1/make -v
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for alpha-dec-osf4.0d
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
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 <bug-make@gnu.org>.
% ../make-3.79.1/make -f shell.mk
echo 's|\([: ]\)/var/tmp/include/|\1|g; s|\([: ]\)/var/tmp/gnu/|\1|g; s|\([: ]\)\.\./src/|\1|g; s|\([: ]\)\./|\1|g;'
s|\([: ]\)/var/tmp/include/|\1|g; s|\([: ]\)/var/tmp/gnu/|\1|g; s|\([: ]\)\.\./src/|\1|g; s|\([: ]\)\./|\1|g;
%
% ../make-3.80/make -v
GNU Make 3.80
Copyright (C) 2002 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.
% ../make-3.80/make -f shell.mk
echo ''
%
FYI:
make-3.80/function.c(1609)
The read() function returns -1 and errno sets [EINTR] on my system.
|