Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Apr 2010 20:28:12 GMT
From:      Nathaniel Filardo <nwf@cs.jhu.edu>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/145706: libpcap-1.1.1 fails to build on sparc64
Message-ID:  <201004142028.o3EKSCtH094683@www.freebsd.org>
Resent-Message-ID: <201004142030.o3EKU1Wb074315@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         145706
>Category:       ports
>Synopsis:       libpcap-1.1.1 fails to build on sparc64
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 14 20:30:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Nathaniel Filardo
>Release:        9.0-CURRENT
>Organization:
>Environment:
FreeBSD hydra.priv.oc.ietfng.org 9.0-CURRENT FreeBSD 9.0-CURRENT #20: Sun Apr  4 20:31:58 EDT 2010     root@hydra.priv.oc.ietfng.org:/systank/obj/systank/src/sys/NWFKERN  sparc64

>Description:
Attempting to build yields:

..
ar rc libpcap.a pcap-bpf.o fad-getad.o pcap.o inet.o gencode.o optimize.o nametoaddr.o etherent.o savefile.o sf-pcap.o sf-pcap-ng.o pcap-common.o bpf_image.o bpf_dump.o  scanner.o grammar.o bpf_filter.o version.o
VER=`cat ./VERSION`; \
        MAJOR_VER=`sed 's/\([0-9][0-9]*\)\..*/\1/' ./VERSION`; \
        cc -shared -Wl,-soname,libpcap.so.$MAJOR_VER  \
            -o libpcap.so.$VER pcap-bpf.o fad-getad.o pcap.o inet.o gencode.o optimize.o nametoaddr.o etherent.o savefile.o sf-pcap.o sf-pcap-ng.o pcap-common.o bpf_image.o bpf_dump.o  scanner.o grammar.o bpf_filter.o version.o
ranlib libpcap.a
grammar.o(.text+0x418): In function `pcap_parse':
: relocation truncated to fit: R_SPARC_GOT13 pcap_char
grammar.o(.text+0x434): In function `pcap_parse':
: relocation truncated to fit: R_SPARC_GOT13 pcap_nerrs
grammar.o(.text+0x440): In function `pcap_parse':
: relocation truncated to fit: R_SPARC_GOT13 yypact
grammar.o(.text+0x480): In function `pcap_parse':
: relocation truncated to fit: R_SPARC_GOT13 .LLC24
grammar.o(.text+0x560): In function `pcap_parse':
: relocation truncated to fit: R_SPARC_GOT13 yydefact
grammar.o(.text+0x58c): In function `pcap_parse':
: relocation truncated to fit: R_SPARC_GOT13 yytranslate
grammar.o(.text+0x5a8): In function `pcap_parse':
: relocation truncated to fit: R_SPARC_GOT13 yydefact
grammar.o(.text+0x5b0): In function `pcap_parse':
: relocation truncated to fit: R_SPARC_GOT13 yycheck
grammar.o(.text+0x5c4): In function `pcap_parse':
: relocation truncated to fit: R_SPARC_GOT13 yydefact
grammar.o(.text+0x5dc): In function `pcap_parse':
: relocation truncated to fit: R_SPARC_GOT13 yyr2
grammar.o(.text+0x630): In function `pcap_parse':
: additional relocation overflows omitted from the output
gmake: *** [libpcap.so] Error 1
*** Error code 1
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004142028.o3EKSCtH094683>