Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] x11-libs/motif-2.3.8-r1 wmluiltok 'exit' overflow
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
ThePythonicCow
n00b
n00b


Joined: 06 Dec 2017
Posts: 14
Location: North Texas

PostPosted: Wed Mar 28, 2018 10:21 am    Post subject: [SOLVED] x11-libs/motif-2.3.8-r1 wmluiltok 'exit' overflow Reply with quote

I am unable to "emerge --ask x11-libs/motif" because deep within its build, ./wmluiltok complains: "Symbol `exit' causes overflow in R_X86_64_PC32 relocation", and ./wmluiltok then fails with a segmentation fault.

I have placed the build log for "emerge --ask x11-libs/motif" at: http://thepythoniccow.us/failed_gentoo_motif_wmluiltok_build.log

I have placed the output of "emerge --info" at http://thepythoniccow.us/failed_gentoo_motif_wmluiltok_emerge--info

The output of emerge -pqv '=x11-libs/motif-2.3.8-r1::gentoo' is:
Code:
[ebuild     U ] x11-libs/motif-2.3.8-r1 [2.3.7] USE="jpeg motif22-compatibility png unicode -examples -static-libs -xft" ABI_X86="(64) -32 (-x32)"


The following lines in the build log, which issue a warning message mentioning "exit" while building wmluiltok, might also be relevant:
Code:
libtool: link: x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -fPIC -fno-strict-aliasing -Wall -fno-strict-aliasing -Wno-unused -Wno-comment -Wl,-O1 -o wmluiltok wmluiltok.o  -Wl,--as-needed -lfl
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib64/libfl.a(libmain.o): warning: relocation against `exit@@GLIBC_2.2.5' in readonly section `.text.startup'
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in a shared object


Last edited by ThePythonicCow on Wed Mar 28, 2018 11:49 am; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31097
Location: here

PostPosted: Wed Mar 28, 2018 11:36 am    Post subject: Reply with quote

Try to recompile sys-devel/flex
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
ThePythonicCow
n00b
n00b


Joined: 06 Dec 2017
Posts: 14
Location: North Texas

PostPosted: Wed Mar 28, 2018 11:45 am    Post subject: Reply with quote

Dang - that was easy - thanks!

I did "emerge --ask sys-devel/flex", and then my motif built fine.
Back to top
View user's profile Send private message
erg_samowzbudnik
Apprentice
Apprentice


Joined: 09 Sep 2011
Posts: 211
Location: European sticks

PostPosted: Mon Jan 07, 2019 3:48 pm    Post subject: Reply with quote

Just came across the same issue and recompile of sys-devel/flex solved it.

I wonder how one finds out about solutions for such issues?
I recon recompiling dependencies from 'equery g <package>' sugests suspects but then?

Anyways, thanks for a quick fix
Back to top
View user's profile Send private message
linuxale
n00b
n00b


Joined: 11 Jan 2006
Posts: 34

PostPosted: Wed Jun 12, 2019 10:12 am    Post subject: Reply with quote

Same problem, same fix.
Can anybody shed light on how to debug it?
Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum