Tom G. Christensen wrote:
> With this change there is still a link failure on CentOS 5.6:
> gcc -std=gnu99 -g -O2 -Wall -o test-spawn-pipe-child
> test-spawn-pipe-child.o -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm
> test-spawn-pipe-child.o: In function `main':
> /home/tgc/projects/gnulib/buil
On 06/17/2011 01:45 PM, Bruno Haible wrote:
On 2011-06-06 I wrote:
spawn-pipe tests: Like the child program only against libc.
2011-06-17 Bruno Haible
spawn-pipe tests: Fix link error.
* tests/test-spawn-pipe-child.c: Undefine fflush.
With this change there is still
On 2011-06-06 I wrote:
> spawn-pipe tests: Like the child program only against libc.
One link failure is still present:
gcc -g -O2 -o test-spawn-pipe-child test-spawn-pipe-child.o
test-spawn-pipe-child.o: In function `main':
/tmp/testdir/gltests/test-spawn-pipe-child.c:86: undefined re
I wrote:
> This failure is probably due to the many libraries against which the child
> program is linked:
>
> $ ldd gettext-0.18.2/gettext-tools/gnulib-tests/.libs/*test-spawn-pipe*
>
> Main =>
> gettext-0.18.2/gettext-tools/gnulib-tests/.libs/lt-test-spawn-pipe
> libiconv.so
I Bruno. Hope you doon't mind if I chime in just to signal ...
On Monday 06 June 2011, Bruno Haible wrote:
>
> 2011-06-06 Bruno Haible
>
> spawn-pipe tests: Like the child program only against libc.
>
... this probable typo (should s/Like/Link/ I think).
Regards,
Stefano
On OSF/1 5.1 with cc (but not with gcc), and only in the gettext build, not in
testdirs, I see a test failure like this:
test-spawn-pipe.c:80: assertion failed
(null):
/home/haible/gettext-0.18.2/gettext-tools/gnulib-tests/.libs/lt-test-spawn-pipe
subprocess got fatal signal 6
test-spawn-pipe.sh