Wireshark-bugs: [Wireshark-bugs] [Bug 11901] dpkg-buildpackage relocation R_X86_64_PC32 against
Date: Wed, 27 Jan 2016 10:38:09 +0000

Comment # 9 on bug 11901 from
(In reply to Stefan from comment #8)
> The fix breaks when using parallel builds, e.g. dpkg-buildpackage -j9
> 
> /usr/bin/ld: CMakeFiles/wsutil.dir/privileges.c.o: relocation R_X86_64_PC32
> against symbol `started_with_special_privs' can not be used when making a
> shared object; recompile with -fPIC
> /usr/bin/ld: final link failed: Bad value
> collect2: error: ld returned 1 exit status
> make[4]: *** [run/libwsutil.so.6.0.0] Error 1
> 
> It seems that the $(filter ...) function breaks as the following change
> works:
> 
> diff --git a/debian/rules b/debian/rules
> index 37403cb..8787310 100755
> --- a/debian/rules
> +++ b/debian/rules
> @@ -16,7 +16,7 @@ endif
>  export DH_OPTIONS
>  
>  export DEB_BUILD_MAINT_OPTIONS = hardening=+all
> -ifeq (,$(filter $(distrelease),wheezy))
> +ifneq (,$(findstring $(distrelease),wheezy))
>  export DEB_LDFLAGS_MAINT_APPEND = -Wl,-Bsymbolic
>  endif
I think the "ifneq" and not the findstring makes the difference here and it
was fixed in https://code.wireshark.org/review/#/c/13178/ .


You are receiving this mail because:
  • You are watching all bug changes.