Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 May 2014 18:47:10 GMT
From:      Martin Birgmeier <Martin.Birgmeier@aon.at>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/189965: updating dri-9.1.7_3, 2 to dri-9.1.7_4, 2 fails on 9.2 i386
Message-ID:  <201405191847.s4JIlA5J033455@cgiserv.freebsd.org>
Resent-Message-ID: <201405191850.s4JIo0pJ051489@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         189965
>Category:       ports
>Synopsis:       updating dri-9.1.7_3,2 to dri-9.1.7_4,2 fails on 9.2 i386
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 19 18:50:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Martin Birgmeier
>Release:        9.2
>Organization:
MBi at home
>Environment:
FreeBSD v902.xyzzy 9.2-RELEASE-p5 FreeBSD 9.2-RELEASE-p5 #1 r265148M: Wed Apr 30 23:57:16 CEST 2014     root@v902.xyzzy:/usr/obj/.../hal/z/SRC/FreeBSD/releng/9.2/sys/XYZZY_SMP  i386

Note: userland is at release/9.2.0, only kernel at releng/9.2
>Description:
Updating dri-9.1.7_3,2 to dri-9.1.7_4,2 fails on FreeBSD 9.2 i386

It seems that clang fails with an error already described in http://llvm.org/bugs/show_bug.cgi?id=11532

The portmaster log is attached.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

]0;portmaster: All===>>> Starting check of installed ports for available updates
===>>> Launching child to update dri-9.1.7_3,2 to dri-9.1.7_4,2

===>>> All >> dri-9.1.7_3,2 (1/1)
]0;portmaster: All >> dri-9.1.7_3,2 (1/1)
===>>> Currently installed version: dri-9.1.7_3,2
===>>> Port directory: /usr/ports/graphics/dri

===>>> Launching 'make checksum' for graphics/dri in background
===>>> Gathering dependency list for graphics/dri from ports
===>>> Initial dependency check complete for graphics/dri

]0;portmaster: All (1)===>>> Returning to update check of installed ports

===>>> Launching child to update libEGL-9.1.7_1 to libEGL-9.1.7_2

===>>> All >> libEGL-9.1.7_1 (2/2)
]0;portmaster: All >> libEGL-9.1.7_1 (2/2)
===>>> Currently installed version: libEGL-9.1.7_1
===>>> Port directory: /usr/ports/graphics/libEGL

===>>> Launching 'make checksum' for graphics/libEGL in background
===>>> Gathering dependency list for graphics/libEGL from ports
===>>> Initial dependency check complete for graphics/libEGL

]0;portmaster: All (2)===>>> Returning to update check of installed ports

===>>> Launching child to update libGL-9.1.7 to libGL-9.1.7_1

===>>> All >> libGL-9.1.7 (3/3)
]0;portmaster: All >> libGL-9.1.7 (3/3)
===>>> Currently installed version: libGL-9.1.7
===>>> Port directory: /usr/ports/graphics/libGL

===>>> Launching 'make checksum' for graphics/libGL in background
===>>> Gathering dependency list for graphics/libGL from ports
===>>> Launching child to install graphics/libglapi

===>>> All >> libGL-9.1.7 >> graphics/libglapi (4/4)
]0;portmaster: All >> libGL-9.1.7 >> graphics/libglapi (4/4)
===>>> Port directory: /usr/ports/graphics/libglapi

===>>> Launching 'make checksum' for graphics/libglapi in background
===>>> Gathering dependency list for graphics/libglapi from ports
===>>> Launching child to install x11/dri3proto

===>>> All >> libGL-9.1.7 >> graphics/libglapi >> x11/dri3proto (5/5)
]0;portmaster: All >> libGL-9.1.7 >> graphics/libglapi >> x11/dri3proto (5/5)
===>>> Port directory: /usr/ports/x11/dri3proto

===>>> Launching 'make checksum' for x11/dri3proto in background
===>>> Gathering dependency list for x11/dri3proto from ports
===>>> Initial dependency check complete for x11/dri3proto

===>>> Continuing initial dependency check for graphics/libglapi
===>>> Launching child to install x11/libxshmfence

===>>> All >> libGL-9.1.7 >> graphics/libglapi >> x11/libxshmfence (6/6)
]0;portmaster: All >> libGL-9.1.7 >> graphics/libglapi >> x11/libxshmfence (6/6)
===>>> Port directory: /usr/ports/x11/libxshmfence

===>>> Launching 'make checksum' for x11/libxshmfence in background
===>>> Gathering dependency list for x11/libxshmfence from ports
===>>> Initial dependency check complete for x11/libxshmfence

===>>> Continuing initial dependency check for graphics/libglapi
===>>> Launching child to install x11/presentproto

===>>> All >> libGL-9.1.7 >> graphics/libglapi >> x11/presentproto (7/7)
]0;portmaster: All >> libGL-9.1.7 >> graphics/libglapi >> x11/presentproto (7/7)
===>>> Port directory: /usr/ports/x11/presentproto

===>>> Launching 'make checksum' for x11/presentproto in background
===>>> Gathering dependency list for x11/presentproto from ports
===>>> Initial dependency check complete for x11/presentproto

===>>> Continuing initial dependency check for graphics/libglapi
===>>> Initial dependency check complete for graphics/libglapi

===>>> Continuing initial dependency check for graphics/libGL
===>>> Initial dependency check complete for graphics/libGL

]0;portmaster: All (7)===>>> Returning to update check of installed ports

===>>> Launching child to update libglesv2-9.1.7 to libglesv2-9.1.7_1

===>>> All >> libglesv2-9.1.7 (8/8)
]0;portmaster: All >> libglesv2-9.1.7 (8/8)
===>>> Currently installed version: libglesv2-9.1.7
===>>> Port directory: /usr/ports/graphics/libglesv2

===>>> Launching 'make checksum' for graphics/libglesv2 in background
===>>> Gathering dependency list for graphics/libglesv2 from ports
===>>> Initial dependency check complete for graphics/libglesv2

]0;portmaster: All (8)===>>> Returning to update check of installed ports


===>>> All >> (8)
]0;portmaster: All >> (8)
===>>> The following actions will be taken if you choose to proceed:
	Upgrade dri-9.1.7_3,2 to dri-9.1.7_4,2
	Upgrade libEGL-9.1.7_1 to libEGL-9.1.7_2
	Upgrade libGL-9.1.7 to libGL-9.1.7_1
	Install graphics/libglapi
	Install x11/dri3proto
	Install x11/libxshmfence
	Install x11/presentproto
	Upgrade libglesv2-9.1.7 to libglesv2-9.1.7_1

===>>> Proceed? y/n [y] 

===>>> Starting build for ports that need updating <<<===

===>>> Launching child to install graphics/dri

===>>> All >> graphics/dri (1/8)
]0;portmaster: All >> graphics/dri (1/8)
===>>> Currently installed version: dri-9.1.7_3,2
===>>> Port directory: /usr/ports/graphics/dri

===>>> Starting check for build dependencies
===>>> Gathering dependency list for graphics/dri from ports
===>>> Dependency check complete for graphics/dri

===>>> All >> dri-9.1.7_3,2 (1/8)
]0;portmaster: All >> dri-9.1.7_3,2 (1/8)
===>  Found saved configuration for dri-7.6.1_3,2
===>   dri-9.1.7_4,2 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by dri-9.1.7_4,2 for building
===>  Extracting for dri-9.1.7_4,2
=> SHA256 Checksum OK for MesaLib-9.1.7.tar.bz2.
===>  Patching for dri-9.1.7_4,2
===>  Applying FreeBSD patches for dri-9.1.7_4,2
===>   dri-9.1.7_4,2 depends on executable: makedepend - found
===>   dri-9.1.7_4,2 depends on executable: python2 - found
===>   dri-9.1.7_4,2 depends on file: /usr/local/lib/python2.7/site-packages/libxml2.py - found
===>   dri-9.1.7_4,2 depends on file: /usr/local/bin/flex - found
===>   dri-9.1.7_4,2 depends on executable: llvm-config33 - found
===>   dri-9.1.7_4,2 depends on file: /usr/local/bin/python2.7 - found
===>   dri-9.1.7_4,2 depends on executable: python2 - found
===>   dri-9.1.7_4,2 depends on executable: xgettext - found
===>   dri-9.1.7_4,2 depends on executable: bison - found
===>   dri-9.1.7_4,2 depends on executable: gmake - found
===>   dri-9.1.7_4,2 depends on executable: pkgconf - found
===>   dri-9.1.7_4,2 depends on file: /usr/local/libdata/pkgconfig/glproto.pc - found
===>   dri-9.1.7_4,2 depends on file: /usr/local/libdata/pkgconfig/dri2proto.pc - found
===>   dri-9.1.7_4,2 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found
===>   dri-9.1.7_4,2 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found
===>   dri-9.1.7_4,2 depends on file: /usr/local/libdata/pkgconfig/xxf86vm.pc - found
===>   dri-9.1.7_4,2 depends on file: /usr/local/libdata/pkgconfig/xdamage.pc - found
===>   dri-9.1.7_4,2 depends on file: /usr/local/libdata/pkgconfig/xfixes.pc - found
===>   dri-9.1.7_4,2 depends on shared library: libdrm.so - found
===>   dri-9.1.7_4,2 depends on shared library: libexpat.so - found
===>  Configuring for dri-9.1.7_4,2
configure: loading site script /usr/ports/Templates/config.site
checking build system type... i386-portbld-freebsd9.2
checking host system type... i386-portbld-freebsd9.2
checking target system type... i386-portbld-freebsd9.2
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) /usr/bin/awk
checking whether gmake sets $(MAKE)... yes
checking whether gmake supports nested variables... yes
checking for style of include used by gmake... GNU
checking for gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking dependency style of clang... gcc3
checking for ar... ar
checking the archiver (ar) interface... ar
checking how to run the C preprocessor... clang-cpp
checking for gcc... (cached) clang
checking whether we are using the GNU C compiler... (cached) yes
checking whether clang accepts -g... (cached) yes
checking for clang option to accept ISO C89... (cached) none needed
checking dependency style of clang... (cached) gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking whether we are using the GNU C++ compiler... yes
checking whether clang++ accepts -g... yes
checking dependency style of clang++... gcc3
checking how to run the C++ preprocessor... clang++ -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... g++ -E
checking whether clang and cc understand -c and -o together... yes
checking dependency style of clang... gcc3
checking for gmake... gmake
checking for python2... python2
checking python2 module: libxml2... yes
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for fgrep... (cached) /usr/bin/fgrep
checking for ld used by clang... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... (cached) 262144
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking how to convert i386-portbld-freebsd9.2 file names to i386-portbld-freebsd9.2 format... func_convert_file_noop
checking how to convert i386-portbld-freebsd9.2 file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from clang object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for dlfcn.h... (cached) yes
checking for objdir... .libs
checking if clang supports -fno-rtti -fno-exceptions... yes
checking for clang option to produce PIC... -fPIC -DPIC
checking if clang PIC flag -fPIC -DPIC works... yes
checking if clang static flag -static works... yes
checking if clang supports -c -o file.o... yes
checking if clang supports -c -o file.o... (cached) yes
checking whether the clang linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd9.2 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... clang++ -E
checking for ld used by clang++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the clang++ linker (/usr/bin/ld) supports shared libraries... yes
checking for clang++ option to produce PIC... -fPIC -DPIC
checking if clang++ PIC flag -fPIC -DPIC works... yes
checking if clang++ static flag -static works... yes
checking if clang++ supports -c -o file.o... yes
checking if clang++ supports -c -o file.o... (cached) yes
checking whether the clang++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd9.2 ld.so
checking how to hardcode library paths into programs... immediate
checking for bison... bison -y
checking if bison is the parser generator... yes
checking for flex... (cached) /usr/local/bin/flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking if flex is the lexer generator... yes
checking for perl... /usr/bin/perl
checking for indent... indent
checking if compiling with clang... yes
checking pkg-config is at least version 0.9.0... yes
checking whether clang supports -Werror=missing-prototypes... yes
checking whether clang supports -fvisibility=hidden... yes
checking whether clang++ supports -fvisibility=hidden... yes
checking whether to enable assembly... yes, x86
checking for dlopen... (cached) yes
checking for clock_gettime... (cached) yes
checking for posix_memalign... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... -D_THREAD_SAFE
checking for PTHREAD_PRIO_INHERIT... yes
checking for LIBDRM... yes
checking for GLPROTO... yes
checking for DRI2PROTO... yes
checking for XF86VIDMODE... yes
checking for DRIGL... yes
checking expat.h usability... yes
checking expat.h presence... yes
checking for expat.h... yes
checking for XML_ParserCreate in -lexpat... yes
checking for INTEL... yes
checking for RADEON... yes
checking for llvm-config... /usr/local/bin/llvm-config33
checking for RADEON... yes
checking for RADEON... yes
checking for RADEON... yes
configure: WARNING: Please ensure you use the latest llvm tree from git://people.freedesktop.org/~tstellar/llvm master before submitting a bug
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/egl/Makefile
config.status: creating src/egl/drivers/Makefile
config.status: creating src/egl/drivers/dri2/Makefile
config.status: creating src/egl/drivers/glx/Makefile
config.status: creating src/egl/main/Makefile
config.status: creating src/egl/main/egl.pc
config.status: creating src/egl/wayland/Makefile
config.status: creating src/egl/wayland/wayland-drm/Makefile
config.status: creating src/egl/wayland/wayland-egl/Makefile
config.status: creating src/egl/wayland/wayland-egl/wayland-egl.pc
config.status: creating src/gallium/Makefile
config.status: creating src/gallium/auxiliary/Makefile
config.status: creating src/gallium/auxiliary/pipe-loader/Makefile
config.status: creating src/gallium/drivers/Makefile
config.status: creating src/gallium/drivers/i915/Makefile
config.status: creating src/gallium/drivers/llvmpipe/Makefile
config.status: creating src/gallium/drivers/nouveau/Makefile
config.status: creating src/gallium/drivers/nv30/Makefile
config.status: creating src/gallium/drivers/nv50/Makefile
config.status: creating src/gallium/drivers/nvc0/Makefile
config.status: creating src/gallium/drivers/r300/Makefile
config.status: creating src/gallium/drivers/r600/Makefile
config.status: creating src/gallium/drivers/radeon/Makefile
config.status: creating src/gallium/drivers/radeonsi/Makefile
config.status: creating src/gallium/drivers/rbug/Makefile
config.status: creating src/gallium/drivers/softpipe/Makefile
config.status: creating src/gallium/drivers/svga/Makefile
config.status: creating src/gallium/drivers/trace/Makefile
config.status: creating src/gallium/state_trackers/Makefile
config.status: creating src/gallium/state_trackers/clover/Makefile
config.status: creating src/gallium/state_trackers/dri/Makefile
config.status: creating src/gallium/state_trackers/dri/drm/Makefile
config.status: creating src/gallium/state_trackers/dri/sw/Makefile
config.status: creating src/gallium/state_trackers/egl/Makefile
config.status: creating src/gallium/state_trackers/gbm/Makefile
config.status: creating src/gallium/state_trackers/glx/Makefile
config.status: creating src/gallium/state_trackers/vdpau/Makefile
config.status: creating src/gallium/state_trackers/vega/Makefile
config.status: creating src/gallium/state_trackers/xa/Makefile
config.status: creating src/gallium/state_trackers/xorg/Makefile
config.status: creating src/gallium/state_trackers/xvmc/Makefile
config.status: creating src/gallium/targets/Makefile
config.status: creating src/gallium/targets/dri-i915/Makefile
config.status: creating src/gallium/targets/dri-nouveau/Makefile
config.status: creating src/gallium/targets/dri-r300/Makefile
config.status: creating src/gallium/targets/dri-r600/Makefile
config.status: creating src/gallium/targets/dri-radeonsi/Makefile
config.status: creating src/gallium/targets/dri-swrast/Makefile
config.status: creating src/gallium/targets/dri-vmwgfx/Makefile
config.status: creating src/gallium/targets/egl-static/Makefile
config.status: creating src/gallium/targets/gbm/Makefile
config.status: creating src/gallium/targets/opencl/Makefile
config.status: creating src/gallium/targets/pipe-loader/Makefile
config.status: creating src/gallium/targets/libgl-xlib/Makefile
config.status: creating src/gallium/targets/vdpau-nouveau/Makefile
config.status: creating src/gallium/targets/vdpau-r300/Makefile
config.status: creating src/gallium/targets/vdpau-r600/Makefile
config.status: creating src/gallium/targets/vdpau-radeonsi/Makefile
config.status: creating src/gallium/targets/vdpau-softpipe/Makefile
config.status: creating src/gallium/targets/xa-vmwgfx/Makefile
config.status: creating src/gallium/targets/xa-vmwgfx/xatracker.pc
config.status: creating src/gallium/targets/xorg-i915/Makefile
config.status: creating src/gallium/targets/xorg-nouveau/Makefile
config.status: creating src/gallium/targets/xorg-r600/Makefile
config.status: creating src/gallium/targets/xorg-radeonsi/Makefile
config.status: creating src/gallium/targets/xvmc-nouveau/Makefile
config.status: creating src/gallium/targets/xvmc-r300/Makefile
config.status: creating src/gallium/targets/xvmc-r600/Makefile
config.status: creating src/gallium/targets/xvmc-softpipe/Makefile
config.status: creating src/gallium/tests/trivial/Makefile
config.status: creating src/gallium/tests/unit/Makefile
config.status: creating src/gallium/winsys/Makefile
config.status: creating src/gallium/winsys/i915/drm/Makefile
config.status: creating src/gallium/winsys/i915/sw/Makefile
config.status: creating src/gallium/winsys/nouveau/drm/Makefile
config.status: creating src/gallium/winsys/radeon/drm/Makefile
config.status: creating src/gallium/winsys/svga/drm/Makefile
config.status: creating src/gallium/winsys/sw/Makefile
config.status: creating src/gallium/winsys/sw/dri/Makefile
config.status: creating src/gallium/winsys/sw/fbdev/Makefile
config.status: creating src/gallium/winsys/sw/null/Makefile
config.status: creating src/gallium/winsys/sw/wayland/Makefile
config.status: creating src/gallium/winsys/sw/wrapper/Makefile
config.status: creating src/gallium/winsys/sw/xlib/Makefile
config.status: creating src/gbm/Makefile
config.status: creating src/gbm/main/gbm.pc
config.status: creating src/glsl/Makefile
config.status: creating src/glsl/builtin_compiler/Makefile
config.status: creating src/glx/Makefile
config.status: creating src/glx/tests/Makefile
config.status: creating src/gtest/Makefile
config.status: creating src/mapi/es1api/Makefile
config.status: creating src/mapi/es1api/glesv1_cm.pc
config.status: creating src/mapi/es2api/Makefile
config.status: creating src/mapi/es2api/glesv2.pc
config.status: creating src/mapi/glapi/Makefile
config.status: creating src/mapi/glapi/gen/Makefile
config.status: creating src/mapi/glapi/tests/Makefile
config.status: creating src/mapi/shared-glapi/Makefile
config.status: creating src/mapi/shared-glapi/tests/Makefile
config.status: creating src/mapi/vgapi/Makefile
config.status: creating src/mapi/vgapi/vg.pc
config.status: creating src/mesa/Makefile
config.status: creating src/mesa/gl.pc
config.status: creating src/mesa/drivers/Makefile
config.status: creating src/mesa/drivers/dri/dri.pc
config.status: creating src/mesa/drivers/dri/common/Makefile
config.status: creating src/mesa/drivers/dri/common/xmlpool/Makefile
config.status: creating src/mesa/drivers/dri/i915/Makefile
config.status: creating src/mesa/drivers/dri/i965/Makefile
config.status: creating src/mesa/drivers/dri/Makefile
config.status: creating src/mesa/drivers/dri/nouveau/Makefile
config.status: creating src/mesa/drivers/dri/r200/Makefile
config.status: creating src/mesa/drivers/dri/radeon/Makefile
config.status: creating src/mesa/drivers/dri/swrast/Makefile
config.status: creating src/mesa/drivers/osmesa/Makefile
config.status: creating src/mesa/drivers/osmesa/osmesa.pc
config.status: creating src/mesa/drivers/x11/Makefile
config.status: creating src/mesa/libdricore/Makefile
config.status: creating src/mesa/main/tests/Makefile
config.status: creating src/mesa/main/tests/hash_table/Makefile
config.status: creating src/mesa/program/Makefile
config.status: creating src/mesa/x86-64/Makefile
config.status: creating src/mesa/x86/Makefile
config.status: executing depfiles commands
config.status: executing libtool commands

        prefix:          /usr/local
        exec_prefix:     ${prefix}
        libdir:          ${exec_prefix}/lib
        includedir:      ${prefix}/include

        OpenGL:          yes (ES1: no ES2: no)
        OpenVG:          no

        OSMesa:          no
        DRI drivers:     i915 i965 r200 radeon swrast
        DRI driver dir:  ${libdir}/dri
        GLX:             DRI-based

        EGL:             no

        llvm:            yes
        llvm-config:     /usr/local/bin/llvm-config33
        llvm-version:    3.3

        Gallium:         yes
        Gallium dirs:    auxiliary drivers state_trackers
        Target dirs:     dri-r300 dri-r600 dri-radeonsi dri-swrast dri-vmwgfx 
        Winsys dirs:     radeon/drm svga/drm sw sw/dri 
        Driver dirs:     galahad identity llvmpipe noop r300 r600 radeonsi rbug softpipe svga trace 
        Trackers dirs:   dri 

        Shared libs:     yes
        Static libs:     no
        Shared-glapi:    yes

        CFLAGS:          -O2 -pipe -fno-strict-aliasing -Wall -std=c99 -Werror=implicit-function-declaration -Werror=missing-prototypes -fno-strict-aliasing -fno-builtin-memcmp
        CXXFLAGS:        -O2 -pipe -fno-strict-aliasing -Wall -fno-strict-aliasing -fno-builtin-memcmp
        Macros:          -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DHAVE_DLOPEN -DHAVE_POSIX_MEMALIGN -DIN_DRI_DRIVER -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DHAVE_PTHREAD -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DHAVE_ALIAS -DHAVE_LLVM=0x0303

        LLVM_CFLAGS:     -I/usr/local/llvm33/include -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
        LLVM_CXXFLAGS:   -I/usr/local/llvm33/include -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O2 -fvisibility-inlines-hidden -fno-exceptions -fPIC -Woverloaded-virtual -Wcast-qual
        LLVM_CPPFLAGS:   -I/usr/local/llvm33/include -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS

        PYTHON2:         python2

        Run 'gmake' to build Mesa

===>  Building for dri-9.1.7_4,2
Making all in src
gmake[1]: Entering directory `/usr/tmp/z/SRC/FreeBSD-ports/head/graphics/dri/work/Mesa-9.1.7/src'
cd .. && gmake  am--refresh
gmake[2]: Entering directory `/usr/tmp/z/SRC/FreeBSD-ports/head/graphics/dri/work/Mesa-9.1.7'
gmake[2]: Leaving directory `/usr/tmp/z/SRC/FreeBSD-ports/head/graphics/dri/work/Mesa-9.1.7'
cd .. && gmake  am--refresh
gmake[2]: Entering directory `/usr/tmp/z/SRC/FreeBSD-ports/head/graphics/dri/work/Mesa-9.1.7'
gmake[2]: Entering directory `/usr/tmp/z/SRC/FreeBSD-ports/head/graphics/dri/work/Mesa-9.1.7'
gmake[2]: Leaving directory `/usr/tmp/z/SRC/FreeBSD-ports/head/graphics/dri/work/Mesa-9.1.7'
gmake[2]: Leaving directory `/usr/tmp/z/SRC/FreeBSD-ports/head/graphics/dri/work/Mesa-9.1.7'
Making all in mapi/glapi/gen
gmake[2]: Entering directory `/usr/tmp/z/SRC/FreeBSD-ports/head/graphics/dri/work/Mesa-9.1.7/src/mapi/glapi/gen'
cd ../../../.. && gmake  am--refresh
gmake[3]: Entering directory `/usr/tmp/z/SRC/FreeBSD-ports/head/graphics/dri/work/Mesa-9.1.7'
gmake[3]: Leaving directory `/usr/tmp/z/SRC/FreeBSD-ports/head/graphics/dri/work/Mesa-9.1.7'
cd ../../../.. && gmake  am--refresh
gmake[3]: Entering directory `/usr/tmp/z/SRC/FreeBSD-ports/head/graphics/dri/work/Mesa-9.1.7'
gmake[3]: Leaving directory `/usr/tmp/z/SRC/FreeBSD-ports/head/graphics/dri/work/Mesa-9.1.7'
gmake[3]: Entering directory `/usr/tmp/z/SRC/FreeBSD-ports/head/graphics/dri/work/Mesa-9.1.7'
gmake[3]: Leaving directory `/usr/tmp/z/SRC/FreeBSD-ports/head/graphics/dri/work/Mesa-9.1.7'
  GEN      ../../../../src/mapi/glapi/glapi_mapi_tmp.h
  GEN      ../../../../src/mapi/glapi/glprocs.h
  GEN      ../../../../src/mapi/glapi/glapitemp.h
  GEN      ../../../../src/mapi/glapi/glapitable.h
  GEN      ../../../../src/mapi/glapi/glapi_gentable.c
  GEN      ../../../../src/mapi/glapi/glapi_x86.S
  GEN      ../../../../src/mesa/main/enums.c
  GEN      ../../../../src/mesa/main/api_exec.c
  GEN      ../../../../src/mesa/main/dispatch.h
  GEN      ../../../../src/mesa/main/remap_helper.h
  GEN      ../../../../src/glx/indirect.c
  GEN      ../../../../src/glx/indirect.h
  GEN      ../../../../src/glx/indirect_init.c
  GEN      ../../../../src/glx/indirect_size.h
  GEN      ../../../../src/glx/indirect_size.c
gmake  all-am
gmake[3]: Entering directory `/usr/tmp/z/SRC/FreeBSD-ports/head/graphics/dri/work/Mesa-9.1.7/src/mapi/glapi/gen'
cd ../../../.. && gmake  am--refresh
gmake[4]: Entering directory `/usr/tmp/z/SRC/FreeBSD-ports/head/graphics/dri/work/Mesa-9.1.7'
gmake[4]: Leaving directory `/usr/tmp/z/SRC/FreeBSD-ports/head/graphics/dri/work/Mesa-9.1.7'
cd ../../../.. && gmake  am--refresh
gmake[4]: Entering directory `/usr/tmp/z/SRC/FreeBSD-ports/head/graphics/dri/work/Mesa-9.1.7'
gmake[4]: Leaving directory `/usr/tmp/z/SRC/FreeBSD-ports/head/graphics/dri/work/Mesa-9.1.7'
gmake[4]: Entering directory `/usr/tmp/z/SRC/FreeBSD-ports/head/graphics/dri/work/Mesa-9.1.7'
gmake[4]: Leaving directory `/usr/tmp/z/SRC/FreeBSD-ports/head/graphics/dri/work/Mesa-9.1.7'
gmake[3]: Nothing to be done for `all-am'.
gmake[3]: Leaving directory `/usr/tmp/z/SRC/FreeBSD-ports/head/graphics/dri/work/Mesa-9.1.7/src/mapi/glapi/gen'
gmake[2]: Leaving directory `/usr/tmp/z/SRC/FreeBSD-ports/head/graphics/dri/work/Mesa-9.1.7/src/mapi/glapi/gen'
Making all in mapi/shared-glapi
gmake[2]: Entering directory `/usr/tmp/z/SRC/FreeBSD-ports/head/graphics/dri/work/Mesa-9.1.7/src/mapi/shared-glapi'
cd ../../.. && gmake  am--refresh
gmake[3]: Entering directory `/usr/tmp/z/SRC/FreeBSD-ports/head/graphics/dri/work/Mesa-9.1.7'
gmake[3]: Leaving directory `/usr/tmp/z/SRC/FreeBSD-ports/head/graphics/dri/work/Mesa-9.1.7'
cd ../../.. && gmake  am--refresh
gmake[3]: Entering directory `/usr/tmp/z/SRC/FreeBSD-ports/head/graphics/dri/work/Mesa-9.1.7'
gmake[3]: Leaving directory `/usr/tmp/z/SRC/FreeBSD-ports/head/graphics/dri/work/Mesa-9.1.7'
gmake[3]: Entering directory `/usr/tmp/z/SRC/FreeBSD-ports/head/graphics/dri/work/Mesa-9.1.7'
gmake[3]: Leaving directory `/usr/tmp/z/SRC/FreeBSD-ports/head/graphics/dri/work/Mesa-9.1.7'
  GEN      glapi_mapi_tmp.h
gmake  all-am
gmake[3]: Entering directory `/usr/tmp/z/SRC/FreeBSD-ports/head/graphics/dri/work/Mesa-9.1.7/src/mapi/shared-glapi'
cd ../../.. && gmake  am--refresh
gmake[4]: Entering directory `/usr/tmp/z/SRC/FreeBSD-ports/head/graphics/dri/work/Mesa-9.1.7'
gmake[4]: Leaving directory `/usr/tmp/z/SRC/FreeBSD-ports/head/graphics/dri/work/Mesa-9.1.7'
cd ../../.. && gmake  am--refresh
gmake[4]: Entering directory `/usr/tmp/z/SRC/FreeBSD-ports/head/graphics/dri/work/Mesa-9.1.7'
gmake[4]: Leaving directory `/usr/tmp/z/SRC/FreeBSD-ports/head/graphics/dri/work/Mesa-9.1.7'
gmake[4]: Entering directory `/usr/tmp/z/SRC/FreeBSD-ports/head/graphics/dri/work/Mesa-9.1.7'
gmake[4]: Leaving directory `/usr/tmp/z/SRC/FreeBSD-ports/head/graphics/dri/work/Mesa-9.1.7'
  CC       entry.lo
  CC       mapi_glapi.lo
  CC       stub.lo
  CC       table.lo
clang: warning: argument unused during compilation: '-fno-builtin-memcmp'
clang: warning: argument unused during compilation: '-fno-builtin-memcmp'
clangclang: warning: argument unused during compilation: '-fno-builtin-memcmp'
: warning: argument unused during compilation: '-fno-builtin-memcmp'
In file included from ../../../src/mapi/mapi/entry.c:47:
./../../src/mapi/mapi/entry_x86_tsd.h:63:19: warning: tentative array definition assumed to have one element
static const char x86_entry_start[];
                  ^
./../../src/mapi/mapi/entry_x86_tsd.h:64:19: warning: tentative array definition assumed to have one element
static const char x86_entry_end[];
                  ^
  CC       u_current.lo
Assertion failed: (Symbol->isUndefined() && "Cannot define a symbol twice!"), function EmitLabel, file /.../hal/z/SRC/FreeBSD/release/9.2.0/lib/clang/libllvmmc/../../../contrib/llvm/lib/MC/MCELFStreamer.cpp, line 83.
Stack dump:
0.	Program arguments: /usr/bin/clang -cc1 -triple i386-unknown-freebsd9.2 -emit-obj -disable-free -main-file-name entry.c -mrelocation-model pic -pic-level 2 -mdisable-fp-elim -relaxed-aliasing -masm-verbose -mconstructor-aliases -target-cpu i486 -coverage-file /usr/tmp/.../hal/z/SRC/FreeBSD-ports/head/graphics/dri/work/Mesa-9.1.7/src/mapi/shared-glapi/.libs/entry.o -resource-dir /usr/bin/../lib/clang/3.3 -dependency-file .deps/entry.Tpo -sys-header-deps -MP -MT entry.lo -isystem /usr/local/include -D PACKAGE_NAME="Mesa" -D PACKAGE_TARNAME="mesa" -D PACKAGE_VERSION="9.1.7" -D PACKAGE_STRING="Mesa 9.1.7" -D PACKAGE_BUGREPORT="https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa" -D PACKAGE_URL="" -D PACKAGE="mesa" -D VERSION="9.1.7" -D STDC_HEADERS=1 -D HAVE_SYS_TYPES_H=1 -D HAVE_SYS_STAT_H=1 -D HAVE_STDLIB_H=1 -D HAVE_STRING_H=1 -D HAVE_MEMORY_H=1 -D HAVE_STRINGS_H=1 -D HAVE_INTTYPES_H=1 -D HAVE_STDINT_H=1 -D HAVE_UNISTD_H=1 -D HAVE_DLFCN_H=1 -D LT_OBJDIR=".libs/" -D YYTEXT_POINTE
 R=1 -D HAVE_CLOCK_GETTIME=1 -D HAVE_PTHREAD_PRIO_INHERIT=1 -D HAVE_PTHREAD=1 -D HAVE_LIBEXPAT=1 -D USE_X86_ASM -D USE_MMX_ASM -D USE_3DNOW_ASM -D USE_SSE_ASM -D HAVE_DLOPEN -D HAVE_POSIX_MEMALIGN -D IN_DRI_DRIVER -D GLX_INDIRECT_RENDERING -D GLX_DIRECT_RENDERING -D HAVE_PTHREAD -D USE_EXTERNAL_DXTN_LIB=1 -D IN_DRI_DRIVER -D HAVE_ALIAS -D HAVE_LLVM=0x0303 -D MAPI_MODE_GLAPI -D MAPI_ABI_HEADER="shared-glapi/glapi_mapi_tmp.h" -D _THREAD_SAFE -D PIC -I . -I ../../../include -I ../../../src/mapi -I ../../../src/mapi -O2 -Wall -Werror=implicit-function-declaration -Werror=missing-prototypes -std=c99 -fdebug-compilation-dir /usr/tmp/.../hal/z/SRC/FreeBSD-ports/head/graphics/dri/work/Mesa-9.1.7/src/mapi/shared-glapi -ferror-limit 19 -fmessage-length 0 -pthread -mstackrealign -fobjc-runtime=gnustep -fobjc-default-synthesize-properties -fdiagnostics-show-option -backend-option -vectorize-loops -o .libs/entry.o -x c ../../../src/mapi/mapi/entry.c 
1.	<eof> parser at end of file
2.	Code generation
clang: warning: argument unused during compilation: '-fno-builtin-memcmp'
  CC       u_execmem.lo
clang: warning: argument unused during compilation: '-fno-builtin-memcmp'
clang: error: unable to execute command: Abort trap: 6 (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see invocation)
FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610
Target: i386-unknown-freebsd9.2
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
clang: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /tmp/entry-FigFAx.c
clang: note: diagnostic msg: /tmp/entry-FigFAx.sh
clang: note: diagnostic msg: 

********************
gmake[3]: *** [entry.lo] Error 1
gmake[3]: Leaving directory `/usr/tmp/z/SRC/FreeBSD-ports/head/graphics/dri/work/Mesa-9.1.7/src/mapi/shared-glapi'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/tmp/z/SRC/FreeBSD-ports/head/graphics/dri/work/Mesa-9.1.7/src/mapi/shared-glapi'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/tmp/z/SRC/FreeBSD-ports/head/graphics/dri/work/Mesa-9.1.7/src'
gmake: *** [all-recursive] Error 1
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** [do-build] Error code 1

Stop in /.../hal/z/SRC/FreeBSD-ports/head/graphics/dri.

===>>> make failed for graphics/dri
===>>> Aborting update

===>>> Update for graphics/dri failed
===>>> Aborting update

===>>> Killing background jobs
Terminated

===>>> You can restart from the point of failure with this command line:
       portmaster <flags> graphics/dri graphics/libEGL graphics/libGL graphics/libglapi x11/dri3proto x11/libxshmfence x11/presentproto graphics/libglesv2 

===>>> Exiting


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405191847.s4JIlA5J033455>