Wireshark mailing list archives

wireshark 1.4.4 build failure on ppc64: TOC relocation error


From: "Chun Yan Liu" <cyliu () novell com>
Date: Tue, 15 Mar 2011 23:38:32 -0600

Hi, All,

I'm trying to build wireshark 1.4.4 on ppc64 platform against SLES10 ( linux 2.6.16, autoconf 2.59, libgcc 4.1.2) but 
met the following problem:
 ####################################################
 dissectors/.libs/libdirtydissectors.a(packet-rrc.o):(.text+0xcdf7a): relocation
 truncated to fit: R_PPC64_TOC16_DS against `.toc'+10000
 dissectors/.libs/libdirtydissectors.a(packet-rrc.o):(.text+0xcdfa6): relocation
 truncated to fit: R_PPC64_TOC16_DS against `.toc'+10008
 ......
 dissectors/.libs/libdirtydissectors.a(packet-rrc.o):(.text+0xce20a): relocation
 truncated to fit: R_PPC64_TOC16_DS against `.toc'+10040
 dissectors/.libs/libdirtydissectors.a(packet-rrc.o):(.text+0xce236): relocation
 truncated to fit: R_PPC64_TOC16_DS against `.toc'+10048
 dissectors/.libs/libdirtydissectors.a(packet-rrc.o):(.text+0xce2ae): additional
 relocation overflows omitted from the output
 ####################################################
 The same package can build successfully on other platforms, and can build successfully on all platforms 
(includingppc64) against SLES11 (Linux 2.6.32, libgcc43-4.3.4, autoconf 2.63).

I found the same bug in bugzilla:
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4346 

Is there any fix to that? or any other workaround?

Thanks,
Chunyan

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: