Package: src:freerdp Version: 1.1.0~git20140921.1.440916e+dfsg1-5 Severity: normal Tags: patch fixed-upstream User: debian-...@lists.debian.org Usertags: port-x32 ftbfs-x32
Hi! I'm afraid that freerdp fails to build on x32. I've submitted a patch upstream in January and it has been accepted, however, it doesn't seem like you're updating from upstream for some reason. Thus, packages that depend on freerdp are still unavailable on x32 (mostly via vlc). Thus, could you please either package a newer upstream or apply the attached patch? -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (600, 'unstable'), (500, 'unreleased'), (50, 'experimental') Architecture: x32 (x86_64) Kernel: Linux 4.3.3-x32 (SMP w/6 CPU cores) Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init)
>From 15d5037df438e60f2c5439184dbe7ea232cbd100 Mon Sep 17 00:00:00 2001 From: Adam Borowski <kilob...@angband.pl> Date: Thu, 29 Jan 2015 05:50:12 +0100 Subject: [PATCH] Fix build failure on x32. Unlike i386, x32 can't accept -march=i686 but wants -fPIC, same as amd64 (both are x86_64 ABIs after all). Thus, check for the __x86_64__ define instead of pointer width. --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c532f6a..c741c7f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -43,6 +43,7 @@ include(CheckCmakeCompat) # Include cmake modules include(CheckIncludeFiles) include(CheckLibraryExists) +include(CheckSymbolExists) include(CheckStructHasMember) include(FindPkgConfig) include(TestBigEndian) @@ -131,7 +132,8 @@ endif() # Compiler-specific flags if(CMAKE_COMPILER_IS_GNUCC) if(CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64" OR CMAKE_SYSTEM_PROCESSOR MATCHES "i686") - if(CMAKE_SIZEOF_VOID_P EQUAL 8) + CHECK_SYMBOL_EXISTS(__x86_64__ "" IS_X86_64) + if(IS_X86_64) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC") else() set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=i686") -- 2.6.4