bug-bison
[Top][All Lists]
Advanced

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

Re: [GNU Bison 2.1] testsuite: 5 41 42 43 44 45 46 47 48 49 51 62 63 [..


From: Ralf Menzel
Subject: Re: [GNU Bison 2.1] testsuite: 5 41 42 43 44 45 46 47 48 49 51 62 63 [...]
Date: Wed, 19 Oct 2005 13:42:15 +0200
User-agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.17 (Jumbo Shrimp, usg-unix-v)

Paul Eggert <address@hidden> writes:
> I can't reproduce the problem on my Sparc/Solaris 2.9 host.
>
> My guess is that you have something installed in /usr/local/include
> (or some other standard include path) that causes 'configure' to mess
> up somehow.  Perhaps this is a bug in 'configure'; if so, it's one
> that I'd like to fix.
>
> Can you please compare the output of my session
>
> export LD_RUN_PATH=/opt/reb/lib/gcc/4.0.0/lib
> export M4=/opt/reb/bin/m4
> ./configure --prefix=/opt/reb
> make
> make check
>
> to yours?  I enclose my output below.  I am using GCC 4.0.0 rather
> than your 4.0.2, but I doubt whether that matters.

OK, I did the following: I ran

  ./configure --prefix=$prefix
  make
  make check

with the following environment variables set:

  prefix=/home/menzel/sw64-5.9-gcc4.0
  PATH=$prefix/bin:/usr/bin:/usr/ccs/bin
  LDFLAGS="-L$prefix/lib/sparcv9 -R$prefix/lib/sparcv9 -L$prefix/lib 
-R$prefix/lib"
  CPPFLAGS="-I$prefix/include"
  unset LD_RUN_PATH

afterwards I took the typescript of the session and made some text
replacements to reduce the differences.
  - I replaced my prefix /home/menzel/sw64-5.9-gcc4.0 with your
    prefix /opt/reb
  - I removed the diagnostic output of GNU make, that is, lines
    starting with:
     * /home/menzel/src/4.0/bison-2.1
     * make[

Then I ran `diff -ub' and examined its output. Here is the start of
the output of diff. I inserted some comments delimited by asterisks.

-LD_RUN_PATH=/opt/reb/lib/gcc/gcc-`gcc -dumpversion`/lib M4=/opt/reb/bin/m4 
./configure --prefix=/opt/reb
-checking for a BSD-compatible install... /opt/sfw/bin/ginstall -c
+Script started on Wed Oct 19 12:01:58 2005
+[anarion:bison-2.1]26> ./configure --prefix=$prefix
+checking for a BSD-compatible install... /opt/reb/bin/install -c
*** I have coreutils 5.2.1 installed ***
 checking whether build environment is sane... yes
 checking for gawk... gawk
 checking whether make sets $(MAKE)... yes
@@ -44,13 +42,14 @@
 checking for gcc option to accept ANSI C... (cached) none needed
 checking dependency style of gcc... (cached) gcc3
 checking for flex... flex
-checking for yywrap in -lfl... no
-checking for yywrap in -ll... yes
+checking for yywrap in -lfl... yes
*** I have flex 2.5.4a installed ***
 checking lex output file root... lex.yy
 checking whether yytext is a pointer... yes
 checking for bison... bison -y
 checking for ranlib... ranlib
-checking for gm4... /opt/reb/bin/m4
+checking for gm4... no
+checking for gnum4... no
+checking for m4... /opt/reb/bin/m4
*** This is GNU M4 1.4.3 ***
 checking whether m4 supports frozen files... yes
 checking locale.h usability... yes
 checking locale.h presence... yes
@@ -108,7 +107,7 @@
 checking for getopt.h... no
 checking whether NLS is requested... yes
 checking for msgfmt... /opt/reb/bin/msgfmt
-checking for gmsgfmt... /opt/reb/bin/msgfmt
+checking for gmsgfmt... /opt/reb/bin/gmsgfmt
 checking for xgettext... /opt/reb/bin/xgettext
 checking for msgmerge... /opt/reb/bin/msgmerge
 checking build system type... sparc-sun-solaris2.9
@@ -131,7 +130,7 @@
 checking for GNU gettext in libintl... yes
 checking whether to use NLS... yes
 checking where the gettext function comes from... external libintl
-checking how to link with libintl... /opt/reb/lib/libintl.so -L/opt/reb/lib 
/opt/reb/lib/libiconv.so -lc -R/opt/reb/lib -R/opt/reb/lib/gcc/gcc-3.4.3/lib
+checking how to link with libintl... /opt/reb/lib/libintl.so 
/opt/reb/lib/libiconv.so -lc -R/opt/reb/lib -R/opt/reb/lib/sparcv9
*** This difference is probably caused by the settings of LDFLAGS or 
LD_RUN_PATH ***
 checking for stdlib.h... (cached) yes
 checking for GNU libc compatible malloc... yes
 checking for iswcntrl... yes
@@ -175,7 +174,7 @@
 config.status: creating po/POTFILES
 config.status: creating po/Makefile
 config.status: executing tests/atconfig commands
-LD_RUN_PATH=/opt/reb/lib/gcc/gcc-`gcc -dumpversion`/lib M4=/opt/reb/bin/m4 make
+[anarion:bison-2.1]27> make
 make  all-recursive
 Making all in config
 Making all in po
@@ -247,6 +246,8 @@
 then mv -f ".deps/quote.Tpo" ".deps/quote.Po"; else rm -f ".deps/quote.Tpo"; 
exit 1; fi
 if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/opt/reb/include  -g -O2 -MT 
quotearg.o -MD -MP -MF ".deps/quotearg.Tpo" -c -o quotearg.o quotearg.c; \
 then mv -f ".deps/quotearg.Tpo" ".deps/quotearg.Po"; else rm -f 
".deps/quotearg.Tpo"; exit 1; fi
+quotearg.c: In function 'quotearg_n_options':
+quotearg.c:591: warning: comparison is always false due to limited range of 
data type
*** difference between gcc 4.0.0 and 4.0.2? ***
 if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/opt/reb/include  -g -O2 -MT 
fopen-safer.o -MD -MP -MF ".deps/fopen-safer.Tpo" -c -o fopen-safer.o 
fopen-safer.c; \
 then mv -f ".deps/fopen-safer.Tpo" ".deps/fopen-safer.Po"; else rm -f 
".deps/fopen-safer.Tpo"; exit 1; fi
 if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/opt/reb/include  -g -O2 -MT stpcpy.o 
-MD -MP -MF ".deps/stpcpy.Tpo" -c -o stpcpy.o stpcpy.c; \
@@ -327,7 +328,7 @@
 then mv -f ".deps/uniqstr.Tpo" ".deps/uniqstr.Po"; else rm -f 
".deps/uniqstr.Tpo"; exit 1; fi
 if gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/opt/reb/share/bison\"  
-DLOCALEDIR=\"/opt/reb/share/locale\" -I. -I. -I..  -I../lib -I../lib  
-I/opt/reb/include   -g -O2 -MT vcg.o -MD -MP -MF ".deps/vcg.Tpo" -c -o vcg.o 
vcg.c; \
 then mv -f ".deps/vcg.Tpo" ".deps/vcg.Po"; else rm -f ".deps/vcg.Tpo"; exit 1; 
fi
-gcc   -g -O2   -o bison  LR0.o assoc.o closure.o  complain.o conflicts.o 
derives.o  files.o getargs.o gram.o  lalr.o location.o main.o  muscle_tab.o 
nullable.o output.o  parse-gram.o print.o print_graph.o  reader.o reduce.o 
relation.o  scan-gram.o scan-skel.o state.o  symlist.o symtab.o tables.o  
uniqstr.o vcg.o ../lib/libbison.a /opt/reb/lib/libintl.so -L/opt/reb/lib 
/opt/reb/lib/libiconv.so -lc -R/opt/reb/lib -R/opt/reb/lib/gcc/gcc-3.4.3/lib 
+gcc   -g -O2  -L/opt/reb/lib/sparcv9 -R/opt/reb/lib/sparcv9 -L/opt/reb/lib 
-R/opt/reb/lib -o bison  LR0.o assoc.o closure.o complain.o conflicts.o 
derives.o files.o getargs.o gram.o lalr.o location.o main.o muscle_tab.o 
nullable.o output.o parse-gram.o print.o print_graph.o reader.o reduce.o 
relation.o scan-gram.o scan-skel.o state.o symlist.o symtab.o tables.o 
uniqstr.o vcg.o ../lib/libbison.a /opt/reb/lib/libintl.so 
/opt/reb/lib/libiconv.so -lc -R/opt/reb/lib -R/opt/reb/lib/sparcv9 
*** LDFLAGS? ***
 echo '#! /bin/sh' >yacc
 echo 'exec /opt/reb/bin/bison -y "$@"' >>yacc
 chmod a+x yacc
@@ -343,12 +344,9 @@
 then mv -f ".deps/calc++-driver.Tpo" ".deps/calc++-driver.Po"; else rm -f 
".deps/calc++-driver.Tpo"; exit 1; fi
 if g++ -DHAVE_CONFIG_H -I. -I. -I../..   -I/opt/reb/include  -g -O2 -MT 
calc++-parser.o -MD -MP -MF ".deps/calc++-parser.Tpo" -c -o calc++-parser.o 
`test -f './calc++-parser.cc' || echo './'`./calc++-parser.cc; \
 then mv -f ".deps/calc++-parser.Tpo" ".deps/calc++-parser.Po"; else rm -f 
".deps/calc++-parser.Tpo"; exit 1; fi
-g++  -g -O2    -o calc++  calc++-scanner.o calc++.o  calc++-driver.o 
calc++-parser.o  
+g++  -g -O2  -L/opt/reb/lib/sparcv9 -R/opt/reb/lib/sparcv9 -L/opt/reb/lib 
-R/opt/reb/lib -o calc++  calc++-scanner.o calc++.o calc++-driver.o 
calc++-parser.o  
*** LDFLAGS? ***
 Making all in tests
-
---=-=-=
-Content-Disposition: inline; filename=checklog.txt
-
+[anarion:bison-2.1]28> make check
 Making check in config
 Making check in po
 Making check in runtime-po
@@ -513,7 +511,6 @@
 ==================
 Making check in tests
 make  bison
-`bison' is up to date.
 make  check-local
 /bin/bash ./testsuite 
 ## ------------------------- ##
@@ -526,7 +523,7 @@
   2: Invalid @n                                   ok
   3: Type Clashes                                 ok
   4: Incompatible Aliases                         ok
-  5: Torturing the Scanner                        ok
+  5: Torturing the Scanner                        FAILED (input.at:269)
   6: Typed symbol aliases                         ok
 
 Output file names.
[...]

I attach the unmodified output of my session.

Bye,
Ralf

Attachment: typescript
Description: Binary data


reply via email to

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