bug-bison
[Top][All Lists]
Advanced

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

Re: Bison fails to run because of vasnprintf() changes in macOS 10.13


From: Hans Åberg
Subject: Re: Bison fails to run because of vasnprintf() changes in macOS 10.13
Date: Sat, 9 Dec 2017 14:40:20 +0100

> On 17 Sep 2017, at 07:19, Paul Eggert <address@hidden> wrote:
> 
> I've updated the Bison maint branch to use the latest Gnulib, so this bug 
> should be fixed there now. Thanks for reporting the problem.

There was no version release, but the archive version has several issues, tried 
on the same MacOS 10.13:

1. The lexer generates files name like scan-code-c.c instead of scan-code.c. 
One can such funny names using AC_PROG_YACC together with the bison -o option.

2. The compile reports the "has no symbols" issue below. It also appears 
towards the end of
    https://lists.gnu.org/archive/html/bug-gnulib/2012-12/msg00005.html

3. When trying to run the 'bison' executable, the error "Illegal instruction: 
4" below appears, also reported in another on this list. This error occurs with 
both gcc7 and clang, and alos on the latest released bison-3.0.4.


----
$ make
...
  AR       lib/libbison.a
/opt/local/bin/ranlib: file: lib/libbison.a(binary-io.o) has no symbols
/opt/local/bin/ranlib: file: lib/libbison.a(bitrotate.o) has no symbols
/opt/local/bin/ranlib: file: lib/libbison.a(fd-hook.o) has no symbols
/opt/local/bin/ranlib: file: lib/libbison.a(math.o) has no symbols
/opt/local/bin/ranlib: file: lib/libbison.a(sig-handler.o) has no symbols
/opt/local/bin/ranlib: file: lib/libbison.a(threadlib.o) has no symbols
/opt/local/bin/ranlib: file: lib/libbison.a(unistd.o) has no symbols
/opt/local/bin/ranlib: file: lib/libbison.a(wctype-h.o) has no symbols
/opt/local/bin/ranlib: file: lib/libbison.a(xsize.o) has no symbols
ranlib: file: lib/libbison.a(binary-io.o) has no symbols
ranlib: file: lib/libbison.a(bitrotate.o) has no symbols
ranlib: file: lib/libbison.a(fd-hook.o) has no symbols
ranlib: file: lib/libbison.a(math.o) has no symbols
ranlib: file: lib/libbison.a(sig-handler.o) has no symbols
ranlib: file: lib/libbison.a(threadlib.o) has no symbols
ranlib: file: lib/libbison.a(unistd.o) has no symbols
ranlib: file: lib/libbison.a(wctype-h.o) has no symbols
ranlib: file: lib/libbison.a(xsize.o) has no symbols
  CCLD     src/bison
  GEN      doc/bison.help
/bin/sh: line 1: 66329 Illegal instruction: 4  src/bison --version > 
doc/bison.help.tmp
make[2]: *** [doc/bison.help] Error 132
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
...
----





reply via email to

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