[Bug 72672] New: Mesa-10.0.1-x86/src/glsl/../../src/glsl/standalone_scaffolding.cpp:76: undefined reference to `rzalloc_size'

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Dec 13 01:02:05 PST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=72672

          Priority: medium
            Bug ID: 72672
          Assignee: idr at freedesktop.org
           Summary: Mesa-10.0.1-x86/src/glsl/../../src/glsl/standalone_sca
                    ffolding.cpp:76: undefined reference to `rzalloc_size'
        QA Contact: intel-3d-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: nheghathivhistha at gmail.com
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: unspecified
         Component: glsl-compiler
           Product: Mesa

Created attachment 90705
  --> https://bugs.freedesktop.org/attachment.cgi?id=90705&action=edit
Build.log

Hello, I can't compile Mesa library 10.0.1 with LTO enabled gcc-4.9-20131208
snapshot. It seems that header file is (are?) missing in source code files and
so maybe the library at link time (could it be /src/glsl/ralloc.h?). First
error reported in build, this one for 32 bit ABI (-m32):

-cut-
libtool: link: ranlib .libs/libglsl.a
libtool: link: rm -fr .libs/libglsl.lax
libtool: link: ( cd ".libs" && rm -f "libglsl.la" && ln -s "../libglsl.la"
"libglsl.la" )
/bin/sh ../../libtool  --tag=CXX   --mode=link x86_64-pc-linux-gnu-g++ -m32
-fvisibility=hidden -O2 -ggdb -pipe -march=native -mtune=native -flto=4
-fuse-linker-plugin -Wall -fno-strict-aliasing -fno-builtin-memcmp  
-Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -O2 -ggdb -pipe
-march=native -mtune=native -flto=4 -fuse-linker-plugin -o glsl_compiler
hash_table.o imports.o prog_hash_table.o symbol_table.o
standalone_scaffolding.o main.o libglsl.la
libtool: link: x86_64-pc-linux-gnu-g++ -m32 -fvisibility=hidden -O2 -ggdb -pipe
-march=native -mtune=native -flto=4 -fuse-linker-plugin -Wall
-fno-strict-aliasing -fno-builtin-memcmp -Wl,-O1 -Wl,--hash-style=gnu
-Wl,--sort-common -O2 -ggdb -pipe -march=native -mtune=native -flto=4
-fuse-linker-plugin -o glsl_compiler hash_table.o imports.o prog_hash_table.o
symbol_table.o standalone_scaffolding.o main.o  -Wl,--as-needed
./.libs/libglsl.a
/var/tmp/portage/media-libs/mesa-10.0.1/temp/cc0tEQQs.ltrans0.ltrans.o: In
function `_mesa_new_shader':
/var/tmp/portage/media-libs/mesa-10.0.1/work/Mesa-10.0.1-x86/src/glsl/../../src/glsl/standalone_scaffolding.cpp:76:
undefined reference to `rzalloc_size'
/var/tmp/portage/media-libs/mesa-10.0.1/temp/cc0tEQQs.ltrans0.ltrans.o: In
function `main':
/var/tmp/portage/media-libs/mesa-10.0.1/work/Mesa-10.0.1-x86/src/glsl/../../src/glsl/main.cpp:337:
undefined reference to `rzalloc_size'
/var/tmp/portage/media-libs/mesa-10.0.1/work/Mesa-10.0.1-x86/src/glsl/../../src/glsl/main.cpp:339:
undefined reference to `ralloc_strdup'
/var/tmp/portage/media-libs/mesa-10.0.1/work/Mesa-10.0.1-x86/src/glsl/../../src/glsl/main.cpp:343:
undefined reference to `reralloc_array_size'
/var/tmp/portage/media-libs/mesa-10.0.1/work/Mesa-10.0.1-x86/src/glsl/../../src/glsl/main.cpp:347:
undefined reference to `rzalloc_size'
/var/tmp/portage/media-libs/mesa-10.0.1/temp/cc0tEQQs.ltrans0.ltrans.o: In
function `load_text_file':
/var/tmp/portage/media-libs/mesa-10.0.1/work/Mesa-10.0.1-x86/src/glsl/../../src/glsl/main.cpp:216:
undefined reference to `ralloc_size'
/var/tmp/portage/media-libs/mesa-10.0.1/temp/cc0tEQQs.ltrans0.ltrans.o: In
function `operator new':
/var/tmp/portage/media-libs/mesa-10.0.1/work/Mesa-10.0.1-x86/src/glsl/../../src/glsl/glsl_parser_extras.h:80:
undefined reference to `ralloc_size'
/var/tmp/portage/media-libs/mesa-10.0.1/temp/cc0tEQQs.ltrans0.ltrans.o: In
function `compile_shader':
/var/tmp/portage/media-libs/mesa-10.0.1/work/Mesa-10.0.1-x86/src/glsl/../../src/glsl/main.cpp:279:
undefined reference to
`_mesa_glsl_parse_state::_mesa_glsl_parse_state(gl_context*, unsigned int,
void*)'
/var/tmp/portage/media-libs/mesa-10.0.1/work/Mesa-10.0.1-x86/src/glsl/../../src/glsl/main.cpp:281:
undefined reference to `_mesa_glsl_compile_shader'
/var/tmp/portage/media-libs/mesa-10.0.1/work/Mesa-10.0.1-x86/src/glsl/../../src/glsl/main.cpp:285:
undefined reference to `_mesa_print_ir'
/var/tmp/portage/media-libs/mesa-10.0.1/temp/cc0tEQQs.ltrans0.ltrans.o: In
function `main':
/var/tmp/portage/media-libs/mesa-10.0.1/work/Mesa-10.0.1-x86/src/glsl/../../src/glsl/main.cpp:392:
undefined reference to `ralloc_free'
/var/tmp/portage/media-libs/mesa-10.0.1/work/Mesa-10.0.1-x86/src/glsl/../../src/glsl/main.cpp:392:
undefined reference to `ralloc_free'
/var/tmp/portage/media-libs/mesa-10.0.1/work/Mesa-10.0.1-x86/src/glsl/../../src/glsl/main.cpp:392:
undefined reference to `ralloc_free'
/var/tmp/portage/media-libs/mesa-10.0.1/work/Mesa-10.0.1-x86/src/glsl/../../src/glsl/main.cpp:394:
undefined reference to `ralloc_free'
/var/tmp/portage/media-libs/mesa-10.0.1/work/Mesa-10.0.1-x86/src/glsl/../../src/glsl/main.cpp:395:
undefined reference to `_mesa_glsl_release_types'
/var/tmp/portage/media-libs/mesa-10.0.1/work/Mesa-10.0.1-x86/src/glsl/../../src/glsl/main.cpp:396:
undefined reference to `_mesa_glsl_release_builtin_functions()'
/var/tmp/portage/media-libs/mesa-10.0.1/work/Mesa-10.0.1-x86/src/glsl/../../src/glsl/main.cpp:384:
undefined reference to `link_shaders(gl_context*, gl_shader_program*)'
collect2: error: ld returned 1 exit status
Makefile:1136: recipe for target 'glsl_compiler' failed
gmake[3]: *** [glsl_compiler] Error 1
gmake[3]: Leaving directory
'/var/tmp/portage/media-libs/mesa-10.0.1/work/Mesa-10.0.1-x86/src/glsl'
Makefile:1057: recipe for target 'all' failed
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory
'/var/tmp/portage/media-libs/mesa-10.0.1/work/Mesa-10.0.1-x86/src/glsl'
Makefile:529: recipe for target 'all-recursive' failed
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
'/var/tmp/portage/media-libs/mesa-10.0.1/work/Mesa-10.0.1-x86/src'
Makefile:580: recipe for target 'all-recursive' failed

Could you please look at it?
Thank you in advance.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20131213/5d6e2a64/attachment.html>


More information about the intel-3d-bugs mailing list