maintainer-feedback requested: [Bug 217004] graphics/dri: Build breaks when CPUTYPE is defined

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Feb 11 19:23:58 UTC 2017


Raphael Kubo da Costa <rakuco at FreeBSD.org> has reassigned Bugzilla Automation
<bugzilla at FreeBSD.org>'s request for maintainer-feedback to x11 at FreeBSD.org:
Bug 217004: graphics/dri: Build breaks when CPUTYPE is defined
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217004



--- Description ---
I have "CPUTYPE?=ivybridge" in my /etc/make.conf. When building graphics/dri
13.0.4,2 on Poudriere, the build breaks like this:

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_64_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 ivybridge -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 ivybridge -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=ivybridge -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: 'ivybridge'
c++: error: no such file or directory: 'ivybridge'


More information about the freebsd-x11 mailing list