Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 488064 - media-libs/mesa-9.2.1 - gallivm/lp_bld_misc.cpp:276:12: error: 'class llvm::TargetOptions' has no member named 'RealignStack'
Summary: media-libs/mesa-9.2.1 - gallivm/lp_bld_misc.cpp:276:12: error: 'class llvm::T...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-14 20:54 UTC by Robert
Modified: 2013-11-29 16:40 UTC (History)
0 users

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


Attachments
emerge --info (mesa-9.2.1-info.txt,6.76 KB, text/plain)
2013-10-14 20:55 UTC, Robert
Details
builkd (mesa-build.bz2,35.16 KB, application/x-bzip)
2013-10-14 20:59 UTC, Robert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert 2013-10-14 20:54:24 UTC
I have llvm 9999 and clang-9999-r100 with libclc-0.0.1_pre20130819-r1, before I installed these packages mesa would say that libclc could not be found in pkg-config path, even if i explicitly set the path, now it can find libclc but fails to compile on a llvm function which is evidently not functioning as expected or no longer located in the same place as it was before.

I have attached everything that was requested, I think, for a bug report. Sorry for the large list of packages in the 'emerge -p' log, i have to emerge all that to get mesa in line without emerge yelling at me about stuff conflicting.
Comment 1 Robert 2013-10-14 20:55:59 UTC
Created attachment 360910 [details]
emerge --info
Comment 2 Robert 2013-10-14 20:59:38 UTC
Created attachment 360912 [details]
builkd
Comment 3 Robert 2013-10-14 21:01:53 UTC
I believe that this is the relevent part of the error, of course there could be more info higher up but at least it is finding libclc now...

libtool: compile:  x86_64-pc-linux-gnu-g++ -m32 -DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\" -DPACKAGE_VERSION=\"9.2.1\" "-DPACKAGE_STRING=\"Mesa 9.2.1\"" "-DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\"" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesa\" -DVERSION=\"9.2.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CLOCK_GETTIME=1 -DHAVE_PTHREAD=1 -DHAVE_LIBEXPAT=1 -I. -fvisibility=hidden -I../../../include -I../../../src/gallium/include -I../../../src/gallium/auxiliary -D_GNU_SOURCE -DHAVE_PTHREAD -DTEXTURE_FLOAT_ENABLED -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DHAVE_DLOPEN -DHAVE_POSIX_MEMALIGN -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DHAVE_PTHREAD -DUSE_EXTERNAL_DXTN_LIB=1 -DHAVE_ALIAS -DHAVE_MINCORE -DHAVE_LIBUDEV -DHAVE_LLVM=0x0304 -I/usr/include -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fvisibility-inlines-hidden -fno-exceptions -fPIC -Woverloaded-virtual -Wcast-qual -fno-rtti -march=core2 -O2 -pipe -Wall -fno-strict-aliasing -fno-builtin-memcmp -c gallivm/lp_bld_misc.cpp  -fPIC -DPIC -o gallivm/.libs/lp_bld_misc.o
gallivm/lp_bld_debug.cpp: In member function 'virtual void raw_debug_ostream::write_impl(const char*, size_t)':
gallivm/lp_bld_debug.cpp:116:40: warning: cast from type 'const char*' to type 'char*' casts away qualifiers [-Wcast-qual]
gallivm/lp_bld_misc.cpp: In function 'LLVMBool lp_build_create_jit_compiler_for_module(LLVMOpaqueExecutionEngine**, LLVMModuleRef, unsigned int, int, char**)':
gallivm/lp_bld_misc.cpp:276:12: error: 'class llvm::TargetOptions' has no member named 'RealignStack'
gmake[3]: *** [gallivm/lp_bld_misc.lo] Error 1
Comment 4 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-10-14 21:06:43 UTC
And this problem exists with 9.2.0 or 9.2.1, or mesa-9999 from the x11 overlay?
Comment 6 Robert 2013-10-17 03:58:22 UTC
Thanks for the link to the patches, it took all 3 of them but mesa-9.2.1 now builds with llvm-9999/clang-9999-r100
Comment 7 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-11-29 16:40:17 UTC
Fixed in 9.2.4