Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Jan 2020 14:03:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 243221] net-p2p/mldonkey: fix build on powerpc64 elfv2
Message-ID:  <bug-243221-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243221

            Bug ID: 243221
           Summary: net-p2p/mldonkey: fix build on powerpc64 elfv2
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: danfe@FreeBSD.org
          Reporter: pkubaj@FreeBSD.org
             Flags: maintainer-feedback?(danfe@FreeBSD.org)
          Assignee: danfe@FreeBSD.org

Created attachment 210568
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D210568&action=
=3Dedit
patch

Clang can't build this port on powerpc64:
ld: error: build/client.a(commonShared.o):(function camlCommonShared__ni_22=
11:
.text+0xCE): relocation R_PPC64_TOC16_DS out of range: 121936 is not in
[-32768, 32767]
ld: error: build/core.a(donkeyOptions.o):(function
camlDonkeyOptions__max_allowed_connected_servers_1641: .text+0x1A): relocat=
ion
R_PPC64_TOC16_DS out of range: 69120 is not in [-32768, 32767]
ld: error: build/cdk.a(http_lexer.o):(function camlHttp_lexer__get_args_120=
5:
.text+0x12): relocation R_PPC64_TOC16_DS out of range: 203032 is not in
[-32768, 32767]
ld: error: build/core.a(donkeySui.o):(function camlDonkeySui__entry:
.text+0xE): relocation R_PPC64_TOC16_DS out of range: 67800 is not in [-327=
68,
32767]
ld: error: build/core.a(bTTracker.o):(function camlBTTracker___s_2187:
.text+0x1E): relocation R_PPC64_TOC16_DS out of range: 56416 is not in [-32=
768,
32767]
ld: error: build/core.a(fasttrackPandora.o):(function
camlFasttrackPandora__parse_packets_2974: .text+0xE2): relocation
R_PPC64_TOC16_DS out of range: 33376 is not in [-32768, 32767]
ld: error: build/core.a(bTComplexOptions.o):(function
camlBTComplexOptions__value_to_stat_2101: .text+0x2A): relocation
R_PPC64_TOC16_DS out of range: 54664 is not in [-32768, 32767]
ld: error: build/client.a(commonFile.o):(function
camlCommonFile__lprintf_nl_2179: .text+0xE): relocation R_PPC64_TOC16_DS ou=
t of
range: 115712 is not in [-32768, 32767]
ld: error: build/client.a(commonClient.o):(function
camlCommonClient__lprintf_nl_1950: .text+0xE): relocation R_PPC64_TOC16_DS =
out
of range: 111992 is not in [-32768, 32767]
ld: error: build/core.a(donkeySupernode.o):(function
camlDonkeySupernode__supernode_browse_handler_3151: .text+0x36): relocation
R_PPC64_TOC16_DS out of range: 83480 is not in [-32768, 32767]
ld: error: build/core.a(bTRate.o):(function camlBTRate__update_inner_1301:
.text+0x1A): relocation R_PPC64_TOC16_DS out of range: 43592 is not in [-32=
768,
32767]
ld: error: build/core.a(fileTPGlobals.o):(function
camlFileTPGlobals__lprintf_nl_2804: .text+0xE): relocation R_PPC64_TOC16_DS=
 out
of range: 36344 is not in [-32768, 32767]
ld: error: build/core.a(bTGlobals.o):(function camlBTGlobals__send_client_3=
016:
.text+0x12): relocation R_PPC64_TOC16_DS out of range: 53800 is not in [-32=
768,
32767]
ld: error: build/cdk.a(ip_set.o):(function camlIp_set___s_1273: .text+0x1E):
relocation R_PPC64_TOC16_DS out of range: 215720 is not in [-32768, 32767]
ld: error: build/core.a(fileTPMain.o):(function camlFileTPMain__disable_209=
3:
.text+0x26): relocation R_PPC64_TOC16_DS out of range: 43000 is not in [-32=
768,
32767]
ld: error: build/core.a(donkeyShare.o):(function
camlDonkeyShare__must_share_file_2899: .text+0x5E): relocation R_PPC64_TOC1=
6_DS
out of range: 84280 is not in [-32768, 32767]
ld: error: build/core.a(bTMain.o):(function camlBTMain__lprintf_nl_2218:
.text+0xE): relocation R_PPC64_TOC16_DS out of range: 67312 is not in [-327=
68,
32767]
ld: error: build/cdk.a(misc.o):(function camlMisc__hexa_digit_1204:
.text+0x1A): relocation R_PPC64_TOC16_DS out of range: 197920 is not in
[-32768, 32767]
ld: error: build/core.a(bTInteractive.o):(function camlBTInteractive___s_29=
62:
.text+0x1E): relocation R_PPC64_TOC16_DS out of range: 62136 is not in [-32=
768,
32767]
ld: error: build/core.a(donkeySui1.o):(function camlDonkeySui1__fun_1620:
.text+0x1A): relocation R_PPC64_TOC16_DS out of range: 67720 is not in [-32=
768,
32767]
ld: error: too many errors emitted, stopping now (use -error-limit=3D0 to s=
ee all
errors)
c++: error: linker command failed with exit code 1 (use -v to see invocatio=
n)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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