[Mesa-dev] Mesa (git 20130828) fails to build on MIPS

Dominik Behr dbehr at chromium.org
Thu Sep 5 17:26:05 PDT 2013


It looks like you have segfaults in /bin/sh. That reminds me why I am not
using my Fuloong anymore ;-)
Maybe you should consider cross-compiling Mesa on a stable system.



On Thu, Sep 5, 2013 at 1:14 PM, Christophe Jarry <
christophe.jarry at ouvaton.org> wrote:

> > According to tis
> > https://lists.gnu.org/archive/html/bug-tar/2005-02/msg00001.html error
> 141
> > is 128+13 = SIGPIPE (broke pipe signal)
> > And this may be relevant
> > https://groups.google.com/forum/#!topic/golang-nuts/xjZ8jJx0IFw
> > Check whether you are using right yacc and bison?
>
> Thanks for your suggestions: I used SIGPIPE during the build and this gave
> me
> Error 141. Without it, make gives me the following error:
>
> make[2]: Entering directory `/usr/src/mesa/mesa-20130828/src/glsl'
> /usr/lib/pkgusr/mkdir -p ../../src/glsl/glcpp
>   LEX      glsl_lexer.cpp
>   YACC     glsl_parser.cpp
> /usr/lib/pkgusr/mkdir -p ../../src/glsl/glcpp
>   YACC     glcpp/glcpp-parse.c
>   LEX      glcpp/glcpp-lex.c
> /bin/sh: line 1:  5657 Segmentation fault \
>      flex -o glsl_lexer.cpp glsl_lexer.ll
> make[2]: *** [glsl_lexer.cpp] Error 139
> make[2]: *** Waiting for unfinished jobs....
> /bin/sh: line 1:  5673 Segmentation fault \
>      flex -o glcpp/glcpp-lex.c glcpp/glcpp-lex.l
> make[2]: *** [glcpp/glcpp-lex.c] Error 139
> bison: m4 subprocess failed
> make[2]: *** [glcpp/glcpp-parse.c] Error 1
> bison: m4 subprocess failed
> make[2]: *** [glsl_parser.cpp] Error 1
> make[2]: Leaving directory `/usr/src/mesa/mesa-20130828/src/glsl'
>
>
> My versions of Flex and Bison:
>
> $ flex --version
> 2.5.37
>
> $ bison --version
> bison (GNU Bison) 2.7
> [...]
>
>
> According to mesa documentation (docs/install.html):
>
> On GNU/Linux systems, flex and bison are used. Versions 2.5.35 and 2.4.1,
> respectively, (or later) should work.
>
>
> Obviously, it does not work. What may I do?
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130905/b17b424c/attachment.html>


More information about the mesa-dev mailing list