Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] rev 46608: /trunk/ /trunk/: Makefile.am

From: Evan Huus <eapache@xxxxxxxxx>
Date: Wed, 19 Dec 2012 17:46:37 -0500
I have been getting a link error for dumpcap since this revision that
doesn't appear to be showing up in the buildbots.

Output as follows:
/usr/bin/ld.bfd.real: dumpcap-capture-pcap-util-unix.o: relocation
R_X86_64_32 against `.rodata.str1.8' can not be used when making a
shared object; recompile with -fPIC
dumpcap-capture-pcap-util-unix.o: could not read symbols: Bad value

This is on a bleeding-edge Ubuntu pre-release, so it's possibly a
toolchain issue on my end, but I think that's unlikely.

Evan

On Tue, Dec 18, 2012 at 9:09 PM,  <morriss@xxxxxxxxxxxxx> wrote:
> http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=46608
>
> User: morriss
> Date: 2012/12/18 06:09 PM
>
> Log:
>  As suggested in https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8076 :
>
>  Enable PIE (if the compiler supports it) when compiling dumpcap.  Do this
>  regardless of whether we're configured to install dumpcap setuid-root because
>  some users will end up running dumpcap as root regardless of how we were
>  configured.
>
> Directory: /trunk/
>   Changes    Path            Action
>   +3 -2      Makefile.am     Modified
>   +24 -0     configure.ac    Modified
>
> ___________________________________________________________________________
> Sent via:    Wireshark-commits mailing list <wireshark-commits@xxxxxxxxxxxxx>
> Archives:    http://www.wireshark.org/lists/wireshark-commits
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-commits
>              mailto:wireshark-commits-request@xxxxxxxxxxxxx?subject=unsubscribe