[Bug 217004] graphics/dri: Build breaks with "-ivybridge"

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Feb 11 22:03:42 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217004

oleg.nauman at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |oleg.nauman at gmail.com

--- Comment #2 from oleg.nauman at gmail.com ---
I see the same build failure with CPUTYPE?=core2 defined in /etc/make.conf

libtool: compile:  c++ -DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\" -
DPACKAGE_VERSION=\"13.0.4\" "-DPACKAGE_STRING=\"Mesa 13.0.4\"" "-
DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\"" 
-DPACKAGE_URL=\"\" -DPACKAGE=\"mesa\" -DVERSION=\"13.0.4\" -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/\" -DYYTEXT_POINTER=1 -
DHAVE___BUILTIN_BSWAP32=1 -DHAVE___BUILTIN_BSWAP64=1 -DHAVE___BUILTIN_CLZ=1 -
DHAVE___BUILTIN_CLZLL=1 -DHAVE___BUILTIN_CTZ=1 -DHAVE___BUILTIN_EXPECT=1 -
DHAVE___BUILTIN_FFS=1 -DHAVE___BUILTIN_FFSLL=1 -DHAVE___BUILTIN_POPCOUNT=1 -
DHAVE___BUILTIN_POPCOUNTLL=1 -DHAVE___BUILTIN_UNREACHABLE=1 -
DHAVE_FUNC_ATTRIBUTE_CONST=1 -DHAVE_FUNC_ATTRIBUTE_FLATTEN=1 -
DHAVE_FUNC_ATTRIBUTE_FORMAT=1 -DHAVE_FUNC_ATTRIBUTE_MALLOC=1 -
DHAVE_FUNC_ATTRIBUTE_PACKED=1 -DHAVE_FUNC_ATTRIBUTE_PURE=1 -
DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL=1 -DHAVE_FUNC_ATTRIBUTE_UNUSED=1 -
DHAVE_FUNC_ATTRIBUTE_VISIBILITY=1 -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT=1 -
DHAVE_FUNC_ATTRIBUTE_WEAK=1 -DHAVE_DLADDR=1 -DHAVE_CLOCK_GETTIME=1 -
DHAVE_PTHREAD_PRIO_INHERIT=1 -DHAVE_PTHREAD=1 -DENABLE_SHADER_CACHE=1 -I. -
isystem /usr/local/include -fvisibility=hidden -Werror=pointer-arith -
Werror=vla -I../../../include -I../../../src -I../../../src/gallium/include -
I../../../src/gallium/auxiliary -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS 
-DUSE_SSE41 -DUSE_GCC_ATOMIC_BUILTINS -DNDEBUG -DTEXTURE_FLOAT_ENABLED -
DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DHAVE_XLOCALE_H -
DHAVE_SYS_SYSCTL_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_DLOPEN -
DHAVE_POSIX_MEMALIGN -DHAVE_LIBDRM -DHAVE_SHA1 -DGLX_USE_DRM -
DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DHAVE_DRI3 -
DHAVE_MINCORE -DHAVE_LLVM=0x0309 -DMESA_LLVM_VERSION_PATCH=1 -
I/usr/local/llvm39/include -pipe core2 -fstack-protector -isystem 
/usr/local/include -fno-strict-aliasing -isystem /usr/local/include -W -Wno-
unused-parameter -Wwrite-strings -Wmissing-field-initializers -Wno-long-long -
Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Werror=date-time -std=c++11 -pipe 
core2 -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -
isystem /usr/local/include -fno-rtti -D__STDC_CONSTANT_MACROS -
D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O2 -pipe -march=core2 -fstack-
protector -isystem /usr/local/include -fno-strict-aliasing -isystem 
/usr/local/include -Wall -fno-math-errno -fno-trapping-math -Qunused-arguments 
-MT gallivm/lp_bld_debug.lo -MD -MP -MF gallivm/.deps/lp_bld_debug.Tpo -c 
gallivm/lp_bld_debug.cpp  -fPIC -DPIC -o gallivm/.libs/lp_bld_debug.o
c++: error: no such file or directory: 'core2'
c++: error: no such file or directory: 'core2'

Unsetting CPUTYPE does not help does not fix the build

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-x11 mailing list