[Mesa-dev] Mesa (master): configure.ac: Don't duplicate CFLAGS

Matt Turner mattst88 at gmail.com
Wed Oct 10 10:18:57 PDT 2012


On Sat, Oct 6, 2012 at 11:03 AM, Stéphane Marchesin
<stephane.marchesin at gmail.com> wrote:
> Hi Matt,
>
> This patch breaks the build for me on one of my machines (Fedora 15):
>
> gmake[3]: Entering directory `/home/marcheu/mesa/src/glsl/glcpp'
>   LEX    glcpp-lex.c
>   YACC   glcpp-parse.c
>   CXX    glsl_lexer.lo
> updating glcpp-parse.h
> updating glcpp-parse.output
> gmake  all-am
> gmake[4]: Entering directory `/home/marcheu/mesa/src/glsl/glcpp'
>   CC     glcpp-lex.lo
>   CC     glcpp-parse.lo
>   CC     pp.lo
>   CC     ralloc.o
>   CC     hash_table.o
>   CC     glcpp.o
>   CCLD   libglcpp.la
>   CCLD   glcpp
> ralloc.o: file not recognized: File truncated
> collect2: ld returned 1 exit status
>
> Any idea what's going on? The file ralloc.o is empty. Readding those
> two lines fixes it.
>
> Stéphane

That's weird. What are CFLAGS/CXXFLAGS set to (as printed at the end
of configure)? Also, what's the make V=1 output building ralloc.o?


More information about the mesa-dev mailing list