Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 605476 - dev-scheme/racket-6.0.1 : make[2]: *** [xsrc/precomp.h] Segmentation fault
Summary: dev-scheme/racket-6.0.1 : make[2]: *** [xsrc/precomp.h] Segmentation fault
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Scheme Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-12 13:18 UTC by Toralf Förster
Modified: 2017-02-12 16:20 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,5.98 KB, text/plain)
2017-01-12 13:18 UTC, Toralf Förster
Details
dev-scheme:racket-6.0.1:20170112-125310.log (dev-scheme:racket-6.0.1:20170112-125310.log,88.24 KB, text/plain)
2017-01-12 13:18 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,275.83 KB, text/plain)
2017-01-12 13:18 UTC, Toralf Förster
Details
environment (environment,79.89 KB, text/plain)
2017-01-12 13:18 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,15.02 KB, application/x-bzip)
2017-01-12 13:18 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-01-12 13:18:16 UTC
env XFORM_PRECOMP=yes ../racketcgc  -cqu ./xform.rkt --setup . --cpp "x86_64-pc-linux-gnu-gcc -E -I./.. -I./../include -pthread -I/usr/lib64/libffi-3.2.1/include      -DMZ_USES_SHARED_LIB "  --keep-lines -o xsrc/precomp.h ./precomp.c
Makefile:200: recipe for target 'xsrc/precomp.h' failed
make[2]: *** [xsrc/precomp.h] Segmentation fault
make[2]: Leaving directory '/var/tmp/portage/dev-scheme/racket-6.0.1/work/racket-6.0.1/src/racket/gc2'
Makefile:170: recipe for target 'all' failed
make[1]: *** [all] Error 2

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

  This is an stable amd64 chroot image (named desktop-libressl-stable_20170107-114550) at a hardened host acting as a tinderbox.

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-5.4.0 *
llvm-config --version:
3.7.1
Available Java Virtual Machines:
  [1]   icedtea-bin-7 
  [2]   icedtea-bin-8  system-vm
Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)
  [3]   jython2.7 (fallback)

java-config:
The following VMs are available for generation-2:
1)	IcedTea JDK 7.2.6.8 [icedtea-bin-7]
*)	IcedTea JDK 3.2.0 [icedtea-bin-8]
  -----------------------------------------------------------------
Comment 1 Toralf Förster gentoo-dev 2017-01-12 13:18:19 UTC
Created attachment 459764 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-01-12 13:18:22 UTC
Created attachment 459766 [details]
dev-scheme:racket-6.0.1:20170112-125310.log
Comment 3 Toralf Förster gentoo-dev 2017-01-12 13:18:25 UTC
Created attachment 459768 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-01-12 13:18:27 UTC
Created attachment 459770 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-01-12 13:18:30 UTC
Created attachment 459772 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-01-12 13:18:52 UTC
fwiw: gcc-5 is used here to test stabilization
Comment 7 João P. Teixeira 2017-02-09 11:41:15 UTC
Here, on a stable system, v6.0.1 exhibits this bug, but v6.7 compiles fine. There seems to be no bugs reported on version v6.7 (and the ebuild is 3 months old), so I would suggest stabilizing it.
Comment 8 João P. Teixeira 2017-02-09 11:56:56 UTC
(In reply to João Paulo Teixeira from comment #7)
> Here, on a stable system, v6.0.1 exhibits this bug, but v6.7 compiles fine.
> There seems to be no bugs reported on version v6.7 (and the ebuild is 3
> months old), so I would suggest stabilizing it.

Just now, I have checked that racket-6.7 compiles fine on both:

 AMD FX-8350 (piledriver core) 
 Intel Core i5-3470 (ivybridge core) 

with -march=native CFLAGS.
Comment 9 Amy Liffey gentoo-dev 2017-02-10 08:50:23 UTC
(In reply to João Paulo Teixeira from comment #8)
> (In reply to João Paulo Teixeira from comment #7)
> > Here, on a stable system, v6.0.1 exhibits this bug, but v6.7 compiles fine.
> > There seems to be no bugs reported on version v6.7 (and the ebuild is 3
> > months old), so I would suggest stabilizing it.
> 
> Just now, I have checked that racket-6.7 compiles fine on both:
> 
>  AMD FX-8350 (piledriver core) 
>  Intel Core i5-3470 (ivybridge core) 
> 
> with -march=native CFLAGS.

Working on it see bug #608830.

Thanks :)
Comment 10 Amy Liffey gentoo-dev 2017-02-12 16:20:36 UTC
commit a003b6207e7df96096a9adc231fc84d8d29d6955
Author: Amy Liffey <amynka@gentoo.org>
Date:   Sun Feb 12 16:58:48 2017 +0100

    dev-scheme/racket: remove old