Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 639006 - x11-libs/motif-2.3.7 : /.../sh:line <snip>: <snip> Segmentation fault ./wmluiltok < /var/tmp/portage/x11-libs/motif-2.3.7/work/motif-2.3.7/tools/wml/Uil.y > tokens.dat
Summary: x11-libs/motif-2.3.7 : /.../sh:line <snip>: <snip> Segmentation fault ./wmlui...
Status: RESOLVED DUPLICATE of bug 583842
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ulrich Müller
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-27 20:25 UTC by Toralf Förster
Modified: 2017-12-30 05:00 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.16 KB, text/plain)
2017-11-27 20:25 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,41.16 KB, text/plain)
2017-11-27 20:25 UTC, Toralf Förster
Details
environment (environment,121.92 KB, text/plain)
2017-11-27 20:25 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.80 KB, application/x-bzip)
2017-11-27 20:25 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,23.42 KB, application/x-bzip)
2017-11-27 20:25 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,49.43 KB, application/x-bzip)
2017-11-27 20:25 UTC, Toralf Förster
Details
x11-libs:motif-2.3.7:20171127-201854.log (x11-libs:motif-2.3.7:20171127-201854.log,342.05 KB, text/plain)
2017-11-27 20:25 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-11-27 20:25:01 UTC
./wmluiltok </var/tmp/portage/x11-libs/motif-2.3.7/work/motif-2.3.7/tools/wml/Uil.y >tokens.dat
./wmluiltok: Symbol `exit' causes overflow in R_X86_64_PC32 relocation
/bin/sh: line 1: 22244 Segmentation fault      ./wmluiltok < /var/tmp/portage/x11-libs/motif-2.3.7/work/motif-2.3.7/tools/wml/Uil.y > tokens.dat
make[2]: *** [Makefile:815: wml-uil.mm] Error 139
make[2]: Leaving directory '/var/tmp/portage/x11-libs/motif-2.3.7/work/motif-2.3.7-abi_x86_64.amd64/tools/wml'
make[1]: *** [Makefile:394: all-recursive] Error 1

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-gnome-systemd_libressl_20171126-113635

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.6.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv x11-libs/motif
[ebuild  N    ] x11-libs/motif-2.3.7  USE="jpeg motif22-compatibility png unicode -examples -static-libs -xft" ABI_X86="(64) -32 (-x32)"
Comment 1 Toralf Förster gentoo-dev 2017-11-27 20:25:04 UTC
Created attachment 506874 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-11-27 20:25:07 UTC
Created attachment 506876 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-11-27 20:25:10 UTC
Created attachment 506878 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-11-27 20:25:13 UTC
Created attachment 506880 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-11-27 20:25:16 UTC
Created attachment 506882 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-11-27 20:25:19 UTC
Created attachment 506884 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2017-11-27 20:25:22 UTC
Created attachment 506886 [details]
x11-libs:motif-2.3.7:20171127-201854.log
Comment 8 Rick Harris 2017-12-29 21:12:50 UTC
This bug affects all versions of x11-libs/motif, even the latest 2.3.8 not yet in tree.

I had x11-libs/motif-2.3.6-r1 emerged, but now it also fails to build with exactly the same error.

This error started happening after updating my system recently.

Maybe Motif upstream haven't moved to support latest stable glibc/gcc toolchain (using glibc-2.2.5/gcc:6.4.0)?
Comment 9 Ulrich Müller gentoo-dev 2017-12-30 05:00:05 UTC
This looks like a duplicate of bug 583842 (and I still cannot reproduce it):

/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.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/7.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in a shared object.

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