<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Mesa-10.0.1-x86/src/glsl/../../src/glsl/standalone_scaffolding.cpp:76: undefined reference to `rzalloc_size'"
href="https://bugs.freedesktop.org/show_bug.cgi?id=72672">72672</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>idr@freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>Mesa-10.0.1-x86/src/glsl/../../src/glsl/standalone_scaffolding.cpp:76: undefined reference to `rzalloc_size'
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>intel-3d-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Reporter</th>
<td>nheghathivhistha@gmail.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Component</th>
<td>glsl-compiler
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=90705" name="attach_90705" title="Build.log">attachment 90705</a> <a href="attachment.cgi?id=90705&action=edit" title="Build.log">[details]</a></span>
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>