Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 646854 - x11-libs/motif-2.3.8 - src_compile(): Segmentation fault ./wmluiltok < .../work/motif-2.3.8/tools/wml/Uil.y > tokens.dat
Summary: x11-libs/motif-2.3.8 - src_compile(): Segmentation fault ./wmluiltok < ....
Status: RESOLVED DUPLICATE of bug 583842
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Ulrich Müller
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-07 02:13 UTC by Horea Christian
Modified: 2018-02-11 11:06 UTC (History)
0 users

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


Attachments
build.log (file_646854.txt,329.15 KB, text/plain)
2018-02-07 02:13 UTC, Horea Christian
Details
emerge --info (file_646854.txt,4.68 KB, text/plain)
2018-02-07 02:16 UTC, Horea Christian
Details
kernel .config (file_646854.txt,73.52 KB, text/plain)
2018-02-07 02:17 UTC, Horea Christian
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Horea Christian 2018-02-07 02:13:57 UTC
Created attachment 518306 [details]
build.log

On some systems (I can reproduce this issue on these systems all of the time), but not on others, I am getting an error of the form:

```
/bin/sh: line 1: * Segmentation fault      ./wmluiltok < /var/tmp/portage/x11-libs/motif-2.3.8/work/motif-2.3.8/tools/wml/Uil.y > tokens.dat
```

I have checked the versions of gcc and all of motif's direct deps, and they are all identical between the systems on which I get the segfault, and those on which I do not, and they are identical.
Comment 1 Horea Christian 2018-02-07 02:15:21 UTC
Also, this issue recurs with both `=motif-2.3.8` and `=motif-2.3.7`.
Comment 2 Horea Christian 2018-02-07 02:16:44 UTC
Created attachment 518308 [details]
emerge --info
Comment 3 Horea Christian 2018-02-07 02:17:32 UTC
Created attachment 518310 [details]
kernel .config
Comment 4 Ulrich Müller gentoo-dev 2018-02-08 13:48:17 UTC
The telltale message occurs earlier in the build log:

/bin/sh ../../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -O2 -pipe -fno-strict-aliasing -Wall -fno-strict-aliasing -Wno-unused -Wno-comment  -Wl,-O1 -Wl,--as-needed -o wmluiltok wmluiltok.o -lfl -lfl
libtool: link: x86_64-pc-linux-gnu-gcc -O2 -pipe -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.

So, please recompile sys-devel/flex and try again.

See also bug 583842 comment #26.
Comment 5 Horea Christian 2018-02-11 06:42:34 UTC
Thank you, Ulrich, that solved it.
Comment 6 Ulrich Müller gentoo-dev 2018-02-11 11:06:31 UTC

*** This bug has been marked as a duplicate of bug 583842 ***