Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 318671 - [x11 overlay] media-libs/mesa with gallium+llvm fails with -Wl,--as-needed
Summary: [x11 overlay] media-libs/mesa with gallium+llvm fails with -Wl,--as-needed
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-05 18:59 UTC by Maciej Piechotka
Modified: 2010-05-05 19:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej Piechotka 2010-05-05 18:59:37 UTC
x86_64-pc-linux-gnu-gcc -c -I. -I../../../../src/gallium/include -I../../../../src/gallium/auxiliary -I../../../../src/gallium/drivers  -O2 -pipe -ggdb -march=native -msahf -mcx16 -fgcse-sm -fgcse-las -fgcse-after-reload -ftracer -floop-interchange -floop-strip-mine -floop-block -ffast-math -Wall -Wmissing-prototypes -std=c99 -ffast-math -fvisibility=hidden -fno-strict-aliasing  -fPIC  -DUSE_X86_64_ASM -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DGLX_USE_TLS -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_UDIS86 -DMESA_LLVM -D__STDC_CONSTANT_MACROS -DHAVE_LLVM=0x0207 -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS  lp_test_format.c -o lp_test_format.o
x86_64-pc-linux-gnu-gcc -c -I. -I../../../../src/gallium/include -I../../../../src/gallium/auxiliary -I../../../../src/gallium/drivers  -O2 -pipe -ggdb -march=native -msahf -mcx16 -fgcse-sm -fgcse-las -fgcse-after-reload -ftracer -floop-interchange -floop-strip-mine -floop-block -ffast-math -Wall -Wmissing-prototypes -std=c99 -ffast-math -fvisibility=hidden -fno-strict-aliasing  -fPIC  -DUSE_X86_64_ASM -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DGLX_USE_TLS -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_UDIS86 -DMESA_LLVM -D__STDC_CONSTANT_MACROS -DHAVE_LLVM=0x0207 -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS  lp_test_main.c -o lp_test_main.o
x86_64-pc-linux-gnu-gcc -c -I. -I../../../../src/gallium/include -I../../../../src/gallium/auxiliary -I../../../../src/gallium/drivers  -O2 -pipe -ggdb -march=native -msahf -mcx16 -fgcse-sm -fgcse-las -fgcse-after-reload -ftracer -floop-interchange -floop-strip-mine -floop-block -ffast-math -Wall -Wmissing-prototypes -std=c99 -ffast-math -fvisibility=hidden -fno-strict-aliasing  -fPIC  -DUSE_X86_64_ASM -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DGLX_USE_TLS -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_UDIS86 -DMESA_LLVM -D__STDC_CONSTANT_MACROS -DHAVE_LLVM=0x0207 -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS  lp_test_blend.c -o lp_test_blend.o
x86_64-pc-linux-gnu-gcc -c -I. -I../../../../src/gallium/include -I../../../../src/gallium/auxiliary -I../../../../src/gallium/drivers  -O2 -pipe -ggdb -march=native -msahf -mcx16 -fgcse-sm -fgcse-las -fgcse-after-reload -ftracer -floop-interchange -floop-strip-mine -floop-block -ffast-math -Wall -Wmissing-prototypes -std=c99 -ffast-math -fvisibility=hidden -fno-strict-aliasing  -fPIC  -DUSE_X86_64_ASM -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DGLX_USE_TLS -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_UDIS86 -DMESA_LLVM -D__STDC_CONSTANT_MACROS -DHAVE_LLVM=0x0207 -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS  lp_test_conv.c -o lp_test_conv.o
x86_64-pc-linux-gnu-gcc -c -I. -I../../../../src/gallium/include -I../../../../src/gallium/auxiliary -I../../../../src/gallium/drivers  -O2 -pipe -ggdb -march=native -msahf -mcx16 -fgcse-sm -fgcse-las -fgcse-after-reload -ftracer -floop-interchange -floop-strip-mine -floop-block -ffast-math -Wall -Wmissing-prototypes -std=c99 -ffast-math -fvisibility=hidden -fno-strict-aliasing  -fPIC  -DUSE_X86_64_ASM -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DGLX_USE_TLS -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_UDIS86 -DMESA_LLVM -D__STDC_CONSTANT_MACROS -DHAVE_LLVM=0x0207 -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS  lp_test_printf.c -o lp_test_printf.o
/bin/sh ../../../../bin/mklib -o llvmpipe -static lp_bld_alpha.o lp_bld_blend_aos.o lp_bld_blend_logicop.o lp_bld_blend_soa.o lp_bld_depth.o lp_bld_interp.o lp_clear.o lp_context.o lp_draw_arrays.o lp_fence.o lp_flush.o lp_jit.o lp_perf.o lp_query.o lp_rast.o lp_rast_tri.o lp_scene.o lp_scene_queue.o lp_screen.o lp_setup.o lp_setup_line.o lp_setup_point.o lp_setup_tri.o lp_setup_vbuf.o lp_state_blend.o lp_state_clip.o lp_state_derived.o lp_state_fs.o lp_state_rasterizer.o lp_state_sampler.o lp_state_surface.o lp_state_vertex.o lp_state_vs.o lp_surface.o lp_tex_sample.o lp_texture.o lp_tile_image.o lp_tile_soa.o   
mklib: Making Linux static library:  libllvmpipe.a
ar: creating libllvmpipe.a
g++ -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=both -Wl,--sort-common -L/usr/lib  -lpthread -lffi -ldl -lm  lp_test_format.o lp_test_main.o -o lp_test_format -Wl,--start-group   -lXext -lXxf86vm -lXdamage -lXfixes -lX11-xcb -lX11 -lxcb-glx -lxcb   -ldrm   -lm -lpthread -ldl -L../../auxiliary/ -lgallium libllvmpipe.a -lLLVMBitWriter -lLLVMX86CodeGen -lLLVMX86Info -lLLVMSelectionDAG -lLLVMAsmPrinter -lLLVMInterpreter -lLLVMJIT -lLLVMExecutionEngine -lLLVMCodeGen -lLLVMScalarOpts -lLLVMInstCombine -lLLVMTransformUtils -lLLVMipa -lLLVMAnalysis -lLLVMTarget -lLLVMMC -lLLVMCore -lLLVMSupport -lLLVMSystem -lstdc++ -ludis86 -Wl,--end-group
g++ -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=both -Wl,--sort-common -L/usr/lib  -lpthread -lffi -ldl -lm  lp_test_blend.o lp_test_main.o -o lp_test_blend -Wl,--start-group   -lXext -lXxf86vm -lXdamage -lXfixes -lX11-xcb -lX11 -lxcb-glx -lxcb   -ldrm   -lm -lpthread -ldl -L../../auxiliary/ -lgallium libllvmpipe.a -lLLVMBitWriter -lLLVMX86CodeGen -lLLVMX86Info -lLLVMSelectionDAG -lLLVMAsmPrinter -lLLVMInterpreter -lLLVMJIT -lLLVMExecutionEngine -lLLVMCodeGen -lLLVMScalarOpts -lLLVMInstCombine -lLLVMTransformUtils -lLLVMipa -lLLVMAnalysis -lLLVMTarget -lLLVMMC -lLLVMCore -lLLVMSupport -lLLVMSystem -lstdc++ -ludis86 -Wl,--end-group
/usr/lib/libLLVMSystem.a(DynamicLibrary.o): In function `llvm::sys::DynamicLibrary::LoadLibraryPermanently(char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*)':
(.text+0xac): undefined reference to `dlopen'
/usr/lib/libLLVMSystem.a(DynamicLibrary.o): In function `llvm::sys::DynamicLibrary::LoadLibraryPermanently(char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*)':
(.text+0x10b): undefined reference to `dlerror'
/usr/lib/libLLVMSystem.a(DynamicLibrary.o): In function `llvm::sys::DynamicLibrary::SearchForAddressOfSymbol(char const*)':
(.text+0x248): undefined reference to `dlsym'
/usr/lib/libLLVMSystem.a(Signals.o): In function `PrintStackTrace(void*)':
(.text+0x64): undefined reference to `dladdr'
/usr/lib/libLLVMSystem.a(Signals.o): In function `PrintStackTrace(void*)':
(.text+0x17d): undefined reference to `dladdr'
collect2: ld returned 1 exit status
gmake[4]: *** [lp_test_blend] Error 1
gmake[4]: *** Waiting for unfinished jobs....
../../auxiliary//libgallium.a(u_dl.o): In function `util_dl_open':
/var/tmp/paludis/media-libs-mesa-9999/work/Mesa-9999/src/gallium/auxiliary/util/u_dl.c:47: undefined reference to `dlopen'
../../auxiliary//libgallium.a(u_dl.o): In function `util_dl_get_proc_address':
/var/tmp/paludis/media-libs-mesa-9999/work/Mesa-9999/src/gallium/auxiliary/util/u_dl.c:61: undefined reference to `dlsym'
../../auxiliary//libgallium.a(u_dl.o): In function `util_dl_close':
/var/tmp/paludis/media-libs-mesa-9999/work/Mesa-9999/src/gallium/auxiliary/util/u_dl.c:74: undefined reference to `dlclose'
../../auxiliary//libgallium.a(u_dl.o): In function `util_dl_error':
/var/tmp/paludis/media-libs-mesa-9999/work/Mesa-9999/src/gallium/auxiliary/util/u_dl.c:87: undefined reference to `dlerror'
/usr/lib/libLLVMSystem.a(DynamicLibrary.o): In function `llvm::sys::DynamicLibrary::LoadLibraryPermanently(char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*)':
(.text+0xac): undefined reference to `dlopen'
/usr/lib/libLLVMSystem.a(DynamicLibrary.o): In function `llvm::sys::DynamicLibrary::LoadLibraryPermanently(char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*)':
(.text+0x10b): undefined reference to `dlerror'
/usr/lib/libLLVMSystem.a(DynamicLibrary.o): In function `llvm::sys::DynamicLibrary::SearchForAddressOfSymbol(char const*)':
(.text+0x248): undefined reference to `dlsym'
/usr/lib/libLLVMSystem.a(Signals.o): In function `PrintStackTrace(void*)':
(.text+0x64): undefined reference to `dladdr'
/usr/lib/libLLVMSystem.a(Signals.o): In function `PrintStackTrace(void*)':
(.text+0x17d): undefined reference to `dladdr'
collect2: ld returned 1 exit status
gmake[4]: *** [lp_test_format] Error 1
gmake[4]: Leaving directory `/var/tmp/paludis/media-libs-mesa-9999/work/Mesa-9999/src/gallium/drivers/llvmpipe'
gmake[3]: Leaving directory `/var/tmp/paludis/media-libs-mesa-9999/work/Mesa-9999/src/gallium/drivers'
gmake[2]: Leaving directory `/var/tmp/paludis/media-libs-mesa-9999/work/Mesa-9999/src/gallium'
make[1]: Leaving directory `/var/tmp/paludis/media-libs-mesa-9999/work/Mesa-9999/src'
gmake[3]: *** [default] Error 1
gmake[2]: *** [default] Error 1
make[1]: *** [subdirs] Error 1
make: *** [default] Error 1
/usr/libexec/paludis/utils/emake: emake returned error 2

!!! ERROR in media-libs/mesa-9999::x11:
!!! In base_src_make at line 1010
!!! died running emake, base_src_make:make

!!! Call stack:
!!!    * base_src_make (/var/tmp/paludis/media-libs-mesa-9999/temp/loadsaveenv:1010)
!!!    * base_src_compile (/var/tmp/paludis/media-libs-mesa-9999/temp/loadsaveenv:972)
!!!    * src_compile (/var/tmp/paludis/media-libs-mesa-9999/temp/loadsaveenv:5344)
!!!    * ebuild_f_compile (/usr/libexec/paludis/2/src_compile.bash:56)
!!!    * ebuild_main (/usr/libexec/paludis/ebuild.bash:647)
!!!    * main (/usr/libexec/paludis/ebuild.bash:675)

diefunc: making ebuild PID 2128 exit with error
die trap: exiting with error.

Install error:
  * In program paludis -i1 =media-libs/mesa-9999 =x11-drivers/xf86-video-intel-9999 =x11-base/xorg-server-9999:
  * When performing install action from command line:
  * When executing install task:
  * When installing 'media-libs/mesa-9999:0::x11' replacing { 'media-libs/mesa-7.8.1:0::installed' }:
  * When running an ebuild command on 'media-libs/mesa-9999:0::x11':
  * Install failed for 'media-libs/mesa-9999:0::x11'
Comment 1 Maciej Piechotka 2010-05-05 19:02:40 UTC
Ups. Wrong bugzilla