Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Feb 2015 01:08:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 197890] emulators/dolphin-emu fails to build with GCC 4.9 (despite USES=compiler:c++11-lib)
Message-ID:  <bug-197890-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197890

            Bug ID: 197890
           Summary: emulators/dolphin-emu fails to build with GCC 4.9
                    (despite USES=compiler:c++11-lib)
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: martymac@FreeBSD.org
          Reporter: gerald@FreeBSD.org
            Blocks: 196712
             Flags: maintainer-feedback?(martymac@FreeBSD.org)
          Assignee: martymac@FreeBSD.org

This is related to PR 196712 and blocks updating the default version of
GCC from 4.8 to 4.9.

Here is a build log, apparently the problem is amd64-specific.

http://package22.nyi.freebsd.org/data/93amd64-default-PR196712/2015-01-18_12h28m08s/logs/errors/dolphin-emu-4.0.2_2.log

cd
/wrkdirs/usr/ports/emulators/dolphin-emu/work/dolphin-emu-dolphin-88fabf7/Source/Core/Common
&& /usr/local/bin/g++49   -DDATA_DIR=\"/usr/local/share/dolphin-emu/\"
-DHAVE_ALSA=0 -DHAVE_AO=0 -DHAVE_BLUEZ=0 -DHAVE_LIBAV -DHAVE_OPENAL=1
-DHAVE_PORTAUDIO=1 -DHAVE_PULSEAUDIO=0 -DHAVE_WAYLAND=0 -DHAVE_WX=1
-DHAVE_X11=1 -DHAVE_X11_XINPUT2=1 -DHAVE_XRANDR=1 -DUSER_DIR=\".dolphin-emu\"
-DUSE_UPNP -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_THREAD_SAFE -D__LIBUSB__ -D__WXGTK__ -O2 -pipe -fstack-protector
-Wl,-rpath=/usr/local/lib/gcc49 -fno-strict-aliasing
-Wl,-rpath=/usr/local/lib/gcc49 -Wtype-limits -Wsign-compare
-Wignored-qualifiers -Wuninitialized -Wlogical-op -Wshadow -Winit-self
-fvisibility-inlines-hidden -fvisibility=hidden -I/usr/local/include/wx-3.0 -O2
-pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc49 -fno-strict-aliasing
-Wl,-rpath=/usr/local/lib/gcc49
-I/wrkdirs/usr/ports/emulators/dolphin-emu/work/dolphin-emu-dolphin-88fabf7/Externals/SFML/include
-I/usr/local/include/portaudio2 -I/usr/local/include -I/usr/local/include/AL
-I/wrkdirs/usr/ports/emulators/dolphin-emu/work/dolphin-emu-dolphin-88fabf7/Source/Core/AudioCommon/Src
-I/wrkdirs/usr/ports/emulators/dolphin-emu/work/dolphin-emu-dolphin-88fabf7/Source/Core/Common/Src
-I/wrkdirs/usr/ports/emulators/dolphin-emu/work/dolphin-emu-dolphin-88fabf7/Source/Core/Core/Src
-I/wrkdirs/usr/ports/emulators/dolphin-emu/work/dolphin-emu-dolphin-88fabf7/Source/Core/DebuggerUICommon/Src
-I/wrkdirs/usr/ports/emulators/dolphin-emu/work/dolphin-emu-dolphin-88fabf7/Source/Core/DebuggerWX/Src
-I/wrkdirs/usr/ports/emulators/dolphin-emu/work/dolphin-emu-dolphin-88fabf7/Source/Core/DiscIO/Src
-I/wrkdirs/usr/ports/emulators/dolphin-emu/work/dolphin-emu-dolphin-88fabf7/Source/Core/DolphinWX/Src
-I/wrkdirs/usr/ports/emulators/dolphin-emu/work/dolphin-emu-dolphin-88fabf7/Source/Core/InputCommon/Src
-I/wrkdirs/usr/ports/emulators/dolphin-emu/work/dolphin-emu-dolphin-88fabf7/Source/Core/VideoCommon/Src
-I/wrkdirs/usr/ports/emulators/dolphin-emu/work/dolphin-emu-dolphin-88fabf7/Source/Core/VideoUICommon/Src
-I/wrkdirs/usr/ports/emulators/dolphin-emu/work/dolphin-emu-dolphin-88fabf7/Externals/Bochs_disasm
-I/usr/local/include/soundtouch -I/usr/local/include/SDL
-I/usr/local/include/miniupnpc
-I/wrkdirs/usr/ports/emulators/dolphin-emu/work/dolphin-emu-dolphin-88fabf7/Externals/SOIL
-I/usr/include/GL -I/usr/local/include/libdrm
-I/wrkdirs/usr/ports/emulators/dolphin-emu/work/dolphin-emu-dolphin-88fabf7/Externals/CLRun/include
-I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/local/include/atk-1.0
-I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/cairo
-I/usr/local/include/pango-1.0 -I/usr/local/include/gtk-2.0 -isystem
/usr/local/lib/wx/include/gtk2-unicode-3.0 -isystem /usr/local/include/wx-3.0  
 -msse2 -Wall -fno-strict-aliasing -fno-exceptions -fomit-frame-pointer
-Wno-unknown-pragmas -std=gnu++0x -o
CMakeFiles/common.dir/Src/BreakPoints.cpp.o -c
/wrkdirs/usr/ports/emulators/dolphin-emu/work/dolphin-emu-dolphin-88fabf7/Source/Core/Common/Src/BreakPoints.cpp
In file included from
/usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd9.3/4.9.2/include/x86intrin.h:37:0,
                 from
/usr/local/lib/gcc49/include/c++/x86_64-portbld-freebsd9.3/bits/opt_random.h:33,
                 from /usr/local/lib/gcc49/include/c++/random:50,
                 from /usr/local/lib/gcc49/include/c++/bits/stl_algo.h:66,
                 from /usr/local/lib/gcc49/include/c++/algorithm:62,
                 from
/wrkdirs/usr/ports/emulators/dolphin-emu/work/dolphin-emu-dolphin-88fabf7/Source/Core/Common/Src/BreakPoints.cpp:11:
/usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd9.3/4.9.2/include/tmmintrin.h:
In function '__m128i _mm_shuffle_epi8(__m128i, __m128i)':
/usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd9.3/4.9.2/include/tmmintrin.h:136:1:
error: redefinition of '__m128i _mm_shuffle_epi8(__m128i, __m128i)'
 _mm_shuffle_epi8 (__m128i __X, __m128i __Y)
 ^
In file included from
/wrkdirs/usr/ports/emulators/dolphin-emu/work/dolphin-emu-dolphin-88fabf7/Source/Core/Common/Src/Common.h:49:0,
                 from
/wrkdirs/usr/ports/emulators/dolphin-emu/work/dolphin-emu-dolphin-88fabf7/Source/Core/Common/Src/BreakPoints.cpp:5:
/wrkdirs/usr/ports/emulators/dolphin-emu/work/dolphin-emu-dolphin-88fabf7/Source/Core/Common/Src/CommonFuncs.h:36:1:
note: '__m128i _mm_shuffle_epi8(__m128i, __m128i)' previously defined here
 _mm_shuffle_epi8(__m128i a, __m128i mask)
 ^
*** [Source/Core/Common/CMakeFiles/common.dir/Src/BreakPoints.cpp.o] Error code
1

--- Comment #1 from Bugzilla Automation <bugzilla@FreeBSD.org> ---
Auto-assigned to maintainer martymac@FreeBSD.org

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



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