Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Dec 2013 11:38:48 GMT
From:      Anton Sayetsky <vsjcfm@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/184990: net/freerdp: build with SSE fails
Message-ID:  <201312191138.rBJBcmOB088931@oldred.freebsd.org>
Resent-Message-ID: <201312191140.rBJBe0xm064501@freefall.freebsd.org>

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

>Number:         184990
>Category:       ports
>Synopsis:       net/freerdp: build with SSE fails
>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:   Thu Dec 19 11:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Anton Sayetsky
>Release:        FreeBSD 9.2-RELEASE-p2 amd64
>Organization:
>Environment:
System: FreeBSD jnb.localdomain 9.2-RELEASE-p2 FreeBSD 9.2-RELEASE-p2 #0 r259302: Fri Dec 13 17:15:57 EET 2013 root@jnb.localdomain:/usr/obj/mnt/sysimage/usr/src/sys/JNB amd64

root@jnb:/usr/ports/net/freerdp# make showconfig
===> The following configuration options are available for freerdp-1.0.2:
     ALSA=on: ALSA audio architecture support
     CUPS=off: CUPS printing system support
     DIRECTFB=off: Build FreeRDP DirectFB client
     FFMPEG=on: FFmpeg support (WMA, AIFF, AC3, APE...)
     PULSEAUDIO=off: PulseAudio sound server support
     SSE=on: Use SSE optimized routines
     X11=on: Build FreeRDP X11 client
===> Use 'make config' to modify these settings
root@jnb:/usr/ports/net/freerdp# egrep -A 3 "CPU: " /var/run/dmesg.boot
CPU: Intel(R) Core(TM)2 Duo CPU     T5450  @ 1.66GHz (1662.53-MHz K8-class CPU)
  Origin = "GenuineIntel"  Id = 0x6fd  Family = 0x6  Model = 0xf  Stepping = 13
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0xe39d<SSE3,DTES64,MON,DS_CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM>
root@jnb:/usr/ports/net/freerdp#
>Description:
When SSE option is set, freerdp fails to build.
>How-To-Repeat:
root@jnb:/usr/ports/net/freerdp# env MAKE_JOBS_UNSAFE=yes make
===>  License AL2 accepted by the user
===>  Found saved configuration for freerdp-1.0.2
===> Fetching all distfiles required by freerdp-1.0.2 for building
===>  Extracting for freerdp-1.0.2
=> SHA256 Checksum OK for freerdp-1.0.2.tar.gz.
/usr/bin/sed -i.bak -e 's|${CMAKE_INSTALL_LIBDIR}/pkgconfig|libdata/pkgconfig|'  /usr/obj/usr/ports/net/freerdp/work/FreeRDP-FreeRDP-616aed4/CMakeLists.txt
/usr/bin/sed -i.bak -e 's|share/man/man1|man/man1|'  /usr/obj/usr/ports/net/freerdp/work/FreeRDP-FreeRDP-616aed4/client/X11/CMakeLists.txt
===>  Patching for freerdp-1.0.2
===>  Applying FreeBSD patches for freerdp-1.0.2
===>   freerdp-1.0.2 depends on executable: xmlto - found
===>   freerdp-1.0.2 depends on file: /usr/local/bin/cmake - found
===>   freerdp-1.0.2 depends on executable: pkgconf - found
===>   freerdp-1.0.2 depends on file: /usr/local/libdata/pkgconfig/xextproto.pc - found
===>   freerdp-1.0.2 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found
===>   freerdp-1.0.2 depends on file: /usr/local/libdata/pkgconfig/xkbfile.pc - found
===>   freerdp-1.0.2 depends on file: /usr/local/libdata/pkgconfig/xcursor.pc - found
===>   freerdp-1.0.2 depends on file: /usr/local/libdata/pkgconfig/xv.pc - found
===>   freerdp-1.0.2 depends on file: /usr/local/libdata/pkgconfig/xinerama.pc - found
===>   freerdp-1.0.2 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found
===>   freerdp-1.0.2 depends on file: /usr/local/libdata/pkgconfig/xcursor.pc - found
===>   freerdp-1.0.2 depends on shared library: libavcodec.so - found
===>   freerdp-1.0.2 depends on shared library: libavutil.so - found
===>   freerdp-1.0.2 depends on shared library: asound - found
===>  Configuring for freerdp-1.0.2
===>  Performing in-source build
/bin/mkdir -p /usr/obj/usr/ports/net/freerdp/work/FreeRDP-FreeRDP-616aed4
-- The C compiler identification is GNU 4.2.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.28") 
-- FreeRDP GIT
-- Performing Test Wno-unused-result
-- Performing Test Wno-unused-result - Failed
-- Performing Test Wno-unused-but-set-variable
-- Performing Test Wno-unused-but-set-variable - Failed
-- Looking for include file sys/param.h
-- Looking for include file sys/param.h - found
-- Looking for include file sys/socket.h
-- Looking for include file sys/socket.h - found
-- Looking for include file netdb.h
-- Looking for include file netdb.h - found
-- Looking for include file fcntl.h
-- Looking for include file fcntl.h - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for include file limits.h
-- Looking for include file limits.h - found
-- Looking for include file stdint.h
-- Looking for include file stdint.h - found
-- Looking for include file stdbool.h
-- Looking for include file stdbool.h - found
-- Looking for include file inttypes.h
-- Looking for include file inttypes.h - found
-- Found OpenSSL: /usr/lib/libssl.so;/usr/lib/libcrypto.so (found version "0.9.8y") 
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.7") 
-- Skipping optional package PulseAudio.
--   Enable this using "-DWITH_PULSEAUDIO=ON".
-- Skipping optional package PCSC.
--   Enable this using "-DWITH_PCSC=ON".
-- Finding suggested package FFmpeg.
--   Disable this using "-DWITH_FFMPEG=OFF".
-- checking for module 'libavcodec'
--   found libavcodec, version 55.39.101
-- checking for module 'libavutil'
--   found libavutil, version 52.48.101
-- Found FFmpeg: TRUE  
-- Finding suggested package ALSA.
--   Disable this using "-DWITH_ALSA=OFF".
-- Found ALSA: /usr/local/lib/libasound.so (found version "1.0.27.2") 
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Skipping optional package CUnit.
--   Enable this using "-DWITH_CUNIT=ON".
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Found Threads: TRUE  
-- Finding suggested package X11.
--   Disable this using "-DWITH_X11=OFF".
-- Found X11: /usr/local/lib/libX11.so  
-- Finding suggested package XKBFile.
--   Disable this using "-DWITH_XKBFILE=OFF".
-- Found XKBFile: /usr/local/lib/libxkbfile.so  
-- Finding suggested package X11.
--   Disable this using "-DWITH_X11=OFF".
-- Found XMLTO: /usr/local/bin/xmlto
-- Finding suggested package Xinerama.
--   Disable this using "-DWITH_XINERAMA=OFF".
-- Found Xinerama: /usr/local/lib/libXinerama.so  
-- Finding suggested package Xext.
--   Disable this using "-DWITH_XEXT=OFF".
-- Found Xext: /usr/local/lib/libXext.so  
-- Finding suggested package Xcursor.
--   Disable this using "-DWITH_XCURSOR=OFF".
-- Found Xcursor: /usr/local/lib/libXcursor.so  
-- Finding suggested package Xv.
--   Disable this using "-DWITH_XV=OFF".
-- Found Xv: /usr/local/lib/libXv.so  
-- Skipping optional package DirectFB.
--   Enable this using "-DWITH_DIRECTFB=ON".
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_CXX_FLAGS
    CMAKE_CXX_FLAGS_DEBUG
    CMAKE_CXX_FLAGS_RELEASE
    CMAKE_C_FLAGS_DEBUG
    CMAKE_MODULE_LINKER_FLAGS


-- Build files have been written to: /usr/obj/usr/ports/net/freerdp/work/FreeRDP-FreeRDP-616aed4
===>  Building for freerdp-1.0.2
Scanning dependencies of target freerdp-utils
[  1%] Building C object libfreerdp-utils/CMakeFiles/freerdp-utils.dir/args.c.o
[  2%] Building C object libfreerdp-utils/CMakeFiles/freerdp-utils.dir/blob.c.o                                                                    
[  2%] Building C object libfreerdp-utils/CMakeFiles/freerdp-utils.dir/dsp.c.o                                                                     
[  3%] Building C object libfreerdp-utils/CMakeFiles/freerdp-utils.dir/event.c.o                                                                   
[  4%] Building C object libfreerdp-utils/CMakeFiles/freerdp-utils.dir/bitmap.c.o                                                                  
[  4%] Building C object libfreerdp-utils/CMakeFiles/freerdp-utils.dir/hexdump.c.o                                                                 
[  5%] Building C object libfreerdp-utils/CMakeFiles/freerdp-utils.dir/list.c.o                                                                    
[  6%] Building C object libfreerdp-utils/CMakeFiles/freerdp-utils.dir/file.c.o                                                                    
[  6%] Building C object libfreerdp-utils/CMakeFiles/freerdp-utils.dir/load_plugin.c.o                                                             
[  7%] Building C object libfreerdp-utils/CMakeFiles/freerdp-utils.dir/memory.c.o                                                                  
[  8%] Building C object libfreerdp-utils/CMakeFiles/freerdp-utils.dir/mutex.c.o                                                                   
[  8%] Building C object libfreerdp-utils/CMakeFiles/freerdp-utils.dir/passphrase.c.o                                                              
[  9%] Building C object libfreerdp-utils/CMakeFiles/freerdp-utils.dir/pcap.c.o                                                                    
[ 10%] Building C object libfreerdp-utils/CMakeFiles/freerdp-utils.dir/profiler.c.o                                                                
/usr/obj/usr/ports/net/freerdp/work/FreeRDP-FreeRDP-616aed4/libfreerdp-utils/profiler.c: In function 'profiler_print':
/usr/obj/usr/ports/net/freerdp/work/FreeRDP-FreeRDP-616aed4/libfreerdp-utils/profiler.c:66: warning: format '%'10lu' expects type 'long unsigned int', but argument 3 has type 'clock_t'
[ 10%] Building C object libfreerdp-utils/CMakeFiles/freerdp-utils.dir/rail.c.o
[ 11%] Building C object libfreerdp-utils/CMakeFiles/freerdp-utils.dir/rect.c.o                                                                    
[ 12%] Building C object libfreerdp-utils/CMakeFiles/freerdp-utils.dir/registry.c.o                                                                
[ 12%] Building C object libfreerdp-utils/CMakeFiles/freerdp-utils.dir/semaphore.c.o                                                               
[ 13%] Building C object libfreerdp-utils/CMakeFiles/freerdp-utils.dir/signal.c.o                                                                  
[ 14%] Building C object libfreerdp-utils/CMakeFiles/freerdp-utils.dir/sleep.c.o                                                                   
[ 14%] Building C object libfreerdp-utils/CMakeFiles/freerdp-utils.dir/stopwatch.c.o                                                               
[ 15%] Building C object libfreerdp-utils/CMakeFiles/freerdp-utils.dir/stream.c.o                                                                  
[ 16%] Building C object libfreerdp-utils/CMakeFiles/freerdp-utils.dir/string.c.o                                                                  
[ 16%] Building C object libfreerdp-utils/CMakeFiles/freerdp-utils.dir/svc_plugin.c.o                                                              
[ 17%] Building C object libfreerdp-utils/CMakeFiles/freerdp-utils.dir/thread.c.o                                                                  
[ 18%] Building C object libfreerdp-utils/CMakeFiles/freerdp-utils.dir/unicode.c.o                                                                 
[ 18%] Building C object libfreerdp-utils/CMakeFiles/freerdp-utils.dir/wait_obj.c.o                                                                
Linking C shared library libfreerdp-utils.so
[ 18%] Built target freerdp-utils
Scanning dependencies of target freerdp-kbd
[ 18%] Building C object libfreerdp-kbd/CMakeFiles/freerdp-kbd.dir/locales.c.o
[ 19%] Building C object libfreerdp-kbd/CMakeFiles/freerdp-kbd.dir/layouts.c.o                                                                     
[ 20%] Building C object libfreerdp-kbd/CMakeFiles/freerdp-kbd.dir/layouts_xkb.c.o                                                                 
[ 20%] Building C object libfreerdp-kbd/CMakeFiles/freerdp-kbd.dir/x_layout_id_table.c.o                                                           
[ 21%] Building C object libfreerdp-kbd/CMakeFiles/freerdp-kbd.dir/libkbd.c.o
Linking C shared library libfreerdp-kbd.so
[ 21%] Built target freerdp-kbd
Scanning dependencies of target freerdp-codec
[ 22%] Building C object libfreerdp-codec/CMakeFiles/freerdp-codec.dir/bitmap.c.o
[ 22%] Building C object libfreerdp-codec/CMakeFiles/freerdp-codec.dir/color.c.o
[ 23%] Building C object libfreerdp-codec/CMakeFiles/freerdp-codec.dir/rfx_decode.c.o
[ 24%] Building C object libfreerdp-codec/CMakeFiles/freerdp-codec.dir/rfx_differential.c.o
[ 24%] Building C object libfreerdp-codec/CMakeFiles/freerdp-codec.dir/rfx_dwt.c.o
[ 25%] Building C object libfreerdp-codec/CMakeFiles/freerdp-codec.dir/rfx_encode.c.o
[ 26%] Building C object libfreerdp-codec/CMakeFiles/freerdp-codec.dir/rfx_pool.c.o
[ 26%] Building C object libfreerdp-codec/CMakeFiles/freerdp-codec.dir/rfx_quantization.c.o
[ 27%] Building C object libfreerdp-codec/CMakeFiles/freerdp-codec.dir/rfx_rlgr.c.o
[ 28%] Building C object libfreerdp-codec/CMakeFiles/freerdp-codec.dir/rfx.c.o
[ 28%] Building C object libfreerdp-codec/CMakeFiles/freerdp-codec.dir/nsc.c.o
[ 29%] Building C object libfreerdp-codec/CMakeFiles/freerdp-codec.dir/rfx_sse2.c.o
/usr/obj/usr/ports/net/freerdp/work/FreeRDP-FreeRDP-616aed4/libfreerdp-codec/rfx_sse2.c:41: warning: '__artificial__' attribute directive ignored
/usr/obj/usr/ports/net/freerdp/work/FreeRDP-FreeRDP-616aed4/libfreerdp-codec/rfx_sse2.c:224: warning: '__artificial__' attribute directive ignored
/usr/obj/usr/ports/net/freerdp/work/FreeRDP-FreeRDP-616aed4/libfreerdp-codec/rfx_sse2.c:262: warning: '__artificial__' attribute directive ignored
/usr/obj/usr/ports/net/freerdp/work/FreeRDP-FreeRDP-616aed4/libfreerdp-codec/rfx_sse2.c:303: warning: '__artificial__' attribute directive ignored
/usr/obj/usr/ports/net/freerdp/work/FreeRDP-FreeRDP-616aed4/libfreerdp-codec/rfx_sse2.c:387: warning: '__artificial__' attribute directive ignored
/usr/obj/usr/ports/net/freerdp/work/FreeRDP-FreeRDP-616aed4/libfreerdp-codec/rfx_sse2.c:468: warning: '__artificial__' attribute directive ignored
/usr/obj/usr/ports/net/freerdp/work/FreeRDP-FreeRDP-616aed4/libfreerdp-codec/rfx_sse2.c:506: warning: '__artificial__' attribute directive ignored
/usr/obj/usr/ports/net/freerdp/work/FreeRDP-FreeRDP-616aed4/libfreerdp-codec/rfx_sse2.c:562: warning: '__artificial__' attribute directive ignored
/usr/obj/usr/ports/net/freerdp/work/FreeRDP-FreeRDP-616aed4/libfreerdp-codec/rfx_sse2.c:616: warning: '__artificial__' attribute directive ignored
/usr/obj/usr/ports/net/freerdp/work/FreeRDP-FreeRDP-616aed4/libfreerdp-codec/rfx_sse2.c: In function 'rfx_quantization_encode_sse2':
/usr/obj/usr/ports/net/freerdp/work/FreeRDP-FreeRDP-616aed4/libfreerdp-codec/rfx_sse2.c:276: error: shift must be an immediate
/usr/obj/usr/ports/net/freerdp/work/FreeRDP-FreeRDP-616aed4/libfreerdp-codec/rfx_sse2.c:276: error: shift must be an immediate
/usr/obj/usr/ports/net/freerdp/work/FreeRDP-FreeRDP-616aed4/libfreerdp-codec/rfx_sse2.c:276: error: shift must be an immediate
/usr/obj/usr/ports/net/freerdp/work/FreeRDP-FreeRDP-616aed4/libfreerdp-codec/rfx_sse2.c:276: error: shift must be an immediate
/usr/obj/usr/ports/net/freerdp/work/FreeRDP-FreeRDP-616aed4/libfreerdp-codec/rfx_sse2.c:276: error: shift must be an immediate
/usr/obj/usr/ports/net/freerdp/work/FreeRDP-FreeRDP-616aed4/libfreerdp-codec/rfx_sse2.c:276: error: shift must be an immediate
/usr/obj/usr/ports/net/freerdp/work/FreeRDP-FreeRDP-616aed4/libfreerdp-codec/rfx_sse2.c:276: error: shift must be an immediate
/usr/obj/usr/ports/net/freerdp/work/FreeRDP-FreeRDP-616aed4/libfreerdp-codec/rfx_sse2.c:276: error: shift must be an immediate
/usr/obj/usr/ports/net/freerdp/work/FreeRDP-FreeRDP-616aed4/libfreerdp-codec/rfx_sse2.c:276: error: shift must be an immediate
/usr/obj/usr/ports/net/freerdp/work/FreeRDP-FreeRDP-616aed4/libfreerdp-codec/rfx_sse2.c:276: error: shift must be an immediate
*** [libfreerdp-codec/CMakeFiles/freerdp-codec.dir/rfx_sse2.c.o] Error code 1

Stop in /tmp/obj/usr/ports/net/freerdp/work/FreeRDP-FreeRDP-616aed4.
*** [libfreerdp-codec/CMakeFiles/freerdp-codec.dir/all] Error code 1

Stop in /tmp/obj/usr/ports/net/freerdp/work/FreeRDP-FreeRDP-616aed4.
*** [all] Error code 1

Stop in /tmp/obj/usr/ports/net/freerdp/work/FreeRDP-FreeRDP-616aed4.
*** [do-build] Error code 1

Stop in /usr/ports/net/freerdp.
*** [build] Error code 1

Stop in /usr/ports/net/freerdp.
root@jnb:/usr/ports/net/freerdp#
>Fix:


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



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