Wireshark-bugs: [Wireshark-bugs] [Bug 4346] New: TOC relocation error on PPC64

Date: Tue, 22 Dec 2009 12:06:30 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4346

           Summary: TOC relocation error on PPC64
           Product: Wireshark
           Version: 1.2.5
          Platform: PowerPC
        OS/Version: Red Hat
            Status: NEW
          Severity: Major
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: rvokal@xxxxxxxxxx


Build Information:
wireshark 1.2.5

Copyright 1998-2009 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled with GTK+ 2.16.6, with GLib 2.20.5, with libpcap 0.9.8, with libz
1.2.3, without POSIX capabilities, with libpcre 7.8, with SMI 0.4.8, without
c-ares, without ADNS, with Lua 5.1, with GnuTLS 2.6.6, with Gcrypt 1.4.4, with
MIT Kerberos, without GeoIP, with PortAudio V19-devel (built Feb 26 2009),
without AirPcap.

Running on Linux 2.6.30.9-102.fc11.i586, with libpcap version 0.9.8, GnuTLS
2.6.6, Gcrypt 1.4.4.

Built using gcc 4.4.1 20090725 (Red Hat 4.4.1-2).

--
Wireshark build crashes on PPC64 boxes. I've tried to turn off all
optimizations but I still get following errors

gcc -shared  .libs/libwireshark_la-addr_and_mask.o
.libs/libwireshark_la-addr_resolv.o .libs/libwireshark_la-adler32.o
.libs/libwireshark_la-afn.o .libs/libwireshark_la-asn1.o
.libs/libwireshark_la-atalk-utils.o .libs/libwireshark_la-base64.o
.libs/libwireshark_la-bitswap.o .libs/libwireshark_la-camel-persistentdata.o
.libs/libwireshark_la-charsets.o .libs/libwireshark_la-circuit.o
.libs/libwireshark_la-codecs.o .libs/libwireshark_la-column.o
.libs/libwireshark_la-column-utils.o .libs/libwireshark_la-conversation.o
.libs/libwireshark_la-crc10.o .libs/libwireshark_la-crc16.o
.libs/libwireshark_la-crc32.o .libs/libwireshark_la-crc6.o
.libs/libwireshark_la-crcdrm.o .libs/libwireshark_la-dissector_filters.o
.libs/libwireshark_la-emem.o .libs/libwireshark_la-epan.o
.libs/libwireshark_la-ex-opt.o .libs/libwireshark_la-except.o
.libs/libwireshark_la-expert.o .libs/libwireshark_la-filesystem.o
.libs/libwireshark_la-follow.o .libs/libwireshark_la-frame_data.o
.libs/libwireshark_la-frequency-utils.o .libs/libwireshark_la-funnel.o
.libs/libwireshark_la-gcp.o .libs/libwireshark_la-geoip_db.o
.libs/libwireshark_la-golay.o .libs/libwireshark_la-guid-utils.o
.libs/libwireshark_la-h225-persistentdata.o .libs/libwireshark_la-in_cksum.o
.libs/libwireshark_la-ipproto.o .libs/libwireshark_la-ipv4.o
.libs/libwireshark_la-next_tvb.o .libs/libwireshark_la-nstime.o
.libs/libwireshark_la-oids.o .libs/libwireshark_la-osi-utils.o
.libs/libwireshark_la-packet.o .libs/libwireshark_la-plugins.o
.libs/libwireshark_la-prefs.o .libs/libwireshark_la-proto.o
.libs/libwireshark_la-range.o .libs/libwireshark_la-reassemble.o
.libs/libwireshark_la-reedsolomon.o .libs/libwireshark_la-report_err.o
.libs/libwireshark_la-req_resp_hdrs.o
.libs/libwireshark_la-sigcomp_state_hdlr.o .libs/libwireshark_la-sigcomp-udvm.o
.libs/libwireshark_la-sminmpec.o .libs/libwireshark_la-sna-utils.o
.libs/libwireshark_la-stat_cmd_args.o .libs/libwireshark_la-stats_tree.o
.libs/libwireshark_la-strutil.o .libs/libwireshark_la-stream.o
.libs/libwireshark_la-t35.o .libs/libwireshark_la-tap.o
.libs/libwireshark_la-tcap-persistentdata.o .libs/libwireshark_la-timestamp.o
.libs/libwireshark_la-tfs.o .libs/libwireshark_la-to_str.o
.libs/libwireshark_la-tvbparse.o .libs/libwireshark_la-tvbuff.o
.libs/libwireshark_la-uat.o .libs/libwireshark_la-value_string.o
.libs/libwireshark_la-xdlc.o -Wl,--whole-archive
./.libs/libwireshark_generated.a ./.libs/libwireshark_asmopt.a
crc/.libs/libcrc.a crypt/.libs/libairpdcap.a ftypes/.libs/libftypes.a
dfilter/.libs/libdfilter.a dissectors/.libs/libdissectors.a
dissectors/.libs/libdirtydissectors.a -Wl,--no-whole-archive  -Wl,--rpath
-Wl,/builddir/build/BUILD/wireshark-1.2.5/wsutil/.libs -Wl,--rpath
-Wl,/usr/lib64 -L/usr/lib -L/lib64 -lgmodule-2.0 -lglib-2.0 -lpcre -lgcrypt
-ldl -lgpg-error -lgnutls -lkrb5 -lk5crypto -lcom_err -lcrypto -lsmi
../wsutil/.libs/libwsutil.so -lm -lz  -mno-sum-in-toc -pthread -Wl,-soname
-Wl,libwireshark.so.0 -o .libs/libwireshark.so.0.0.1
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+0xce01e): relocation
truncated to fit: R_PPC64_TOC16_DS against `.toc'+10010
dissectors/.libs/libdirtydissectors.a(packet-rrc.o):(.text+0xce04a): relocation
truncated to fit: R_PPC64_TOC16_DS against `.toc'+10018
dissectors/.libs/libdirtydissectors.a(packet-rrc.o):(.text+0xce0c2): relocation
truncated to fit: R_PPC64_TOC16_DS against `.toc'+10020
dissectors/.libs/libdirtydissectors.a(packet-rrc.o):(.text+0xce0ee): relocation
truncated to fit: R_PPC64_TOC16_DS against `.toc'+10028
dissectors/.libs/libdirtydissectors.a(packet-rrc.o):(.text+0xce166): relocation
truncated to fit: R_PPC64_TOC16_DS against `.toc'+10030
dissectors/.libs/libdirtydissectors.a(packet-rrc.o):(.text+0xce192): relocation
truncated to fit: R_PPC64_TOC16_DS against `.toc'+10038
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

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.