Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 689022 - =net-libs/tox-0.2.9-r1 - ld: libtoxcore.a(tox.c.o): relocation R_X86_64_PC32 against symbol `net_family_unspec' can not be used when making a shared object; recompile with -fPIC
Summary: =net-libs/tox-0.2.9-r1 - ld: libtoxcore.a(tox.c.o): relocation R_X86_64_PC32 ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: JoMull01
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2019-06-30 16:49 UTC by Viacheslav Gagara
Modified: 2020-03-28 14:21 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,45.60 KB, text/plain)
2019-06-30 16:49 UTC, Viacheslav Gagara
Details
emerge --info (emerge.info,6.93 KB, text/plain)
2019-06-30 16:50 UTC, Viacheslav Gagara
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Viacheslav Gagara 2019-06-30 16:49:44 UTC
Created attachment 581560 [details]
build.log

Update:

[ebuild     U  ] net-libs/tox-0.2.9-r1:0/0.2::gentoo [0.2.8:0/0.2::gentoo] USE="av ipv6 log-error static-libs -daemon -dht-node% -log-debug -log-info -log-trace -log-warn -test (-no-log%)" 0 KiB

fails at compile stage with:

.......
[75/75] : && /usr/bin/x86_64-pc-linux-gnu-gcc -fPIC -march=native -O2 -pipe -fomit-frame-pointer  -isystem /usr/include/opus  -pthread  -Wl,--as-needed -shared -Wl,-soname,libmisc_tools.so -o libmisc_tools.so CMakeFiles/misc_tools.dir/testing/misc_tools.c.o  libtoxcore.a -lsodium -lopus -lvpx -lm -lpthread -lnsl -lrt && :
FAILED: libmisc_tools.so 
: && /usr/bin/x86_64-pc-linux-gnu-gcc -fPIC -march=native -O2 -pipe -fomit-frame-pointer  -isystem /usr/include/opus  -pthread  -Wl,--as-needed -shared -Wl,-soname,libmisc_tools.so -o libmisc_tools.so CMakeFiles/misc_tools.dir/testing/misc_tools.c.o  libtoxcore.a -lsodium -lopus -lvpx -lm -lpthread -lnsl -lrt && :
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: libtoxcore.a(onion_client.c.o): warning: relocation against `net_family_tcp_family' in read-only section `.text'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: libtoxcore.a(tox.c.o): relocation R_X86_64_PC32 against symbol `net_family_unspec' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
Comment 1 Viacheslav Gagara 2019-06-30 16:50:23 UTC
Created attachment 581562 [details]
emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2020-03-28 14:21:30 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b11957c551558ede8f2f03f092e364a7cb33903

commit 7b11957c551558ede8f2f03f092e364a7cb33903
Author:     Josiah Mullins <jomull01@protonmail.com>
AuthorDate: 2020-03-25 13:53:36 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-03-28 14:21:12 +0000

    net-libs/tox: Remove old version 0.2.9-r1
    
    Closes: https://bugs.gentoo.org/689022
    Closes: https://bugs.gentoo.org/687580
    Closes: https://bugs.gentoo.org/688692
    
    Signed-off-by: Josiah Mullins <JoMull01@protonmail.com>
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 net-libs/tox/Manifest            |   1 -
 net-libs/tox/tox-0.2.9-r1.ebuild | 111 ---------------------------------------
 2 files changed, 112 deletions(-)