Gentoo Archives: gentoo-alt

From: Fabian Groffen <grobian@g.o>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] gnuplot fails to compile, bus error
Date: Tue, 18 Sep 2007 20:19:47
Message-Id: 20070918201152.GK573@gentoo.org
In Reply to: [gentoo-alt] gnuplot fails to compile, bus error by matt hull
1 On 17-09-2007 17:53:11 -0500, matt hull wrote:
2 > could anyone help me with gnuplot ?
3
4 I had the same. It appears to be related to the -mcpu= CFLAGS. I just
5 checked in a "fix" which just wipes those flags. The compiler just
6 bombs out when trying to optimise that code for the CPU.
7
8 Can some Mac/intel user try if this package (before my fix) compiles for
9 them?
10
11 Thanks for the report!
12
13
14 > if powerpc-apple-darwin8-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../term
15 > -I../term -DBINDIR=\"/Users/matt/gentoo/usr/bin\"
16 > -DX11_DRIVER_DIR=\"/Users/matt/gentoo/usr/libexec/gnuplot/4.2\"
17 > -DGNUPLOT_PS_DIR=\"/Users/matt/gentoo/usr/share/gnuplot/4.2/PostScript\"
18 > -DCONTACT=\"http://sourceforge.net/projects/gnuplot\"
19 > -DHELPFILE=\"/Users/matt/gentoo/usr/share/gnuplot/gih/gnuplot.gih\"
20 > -I/Users/matt/gentoo/usr/include -O2 -pipe -mcpu=G4 -MT command.o -MD -MP
21 > -MF ".deps/command.Tpo" -c -o command.o command.c; \
22 > then mv -f ".deps/command.Tpo" ".deps/command.Po"; else rm -f
23 > ".deps/command.Tpo"; exit 1; fi
24 > In file included from command.c:71:
25 > binary.h:44: internal compiler error: Bus error
26 > Please submit a full bug report,
27 > with preprocessed source if appropriate.
28 > See <URL:http://developer.apple.com/bugreporter> for instructions.
29 > {standard input}:5:FATAL:.abort detected. Assembly stopping.
30 > make[3]: *** [command.o] Error 1
31 > make[3]: Leaving directory
32 > `/Users/matt/gentoo/var/tmp/portage/sci-visualization/gnuplot-4.2.2/work/gnuplot-4.2.2/src'
33 > make[2]: *** [all-recursive] Error 1
34 > make[2]: Leaving directory
35 > `/Users/matt/gentoo/var/tmp/portage/sci-visualization/gnuplot-4.2.2/work/gnuplot-4.2.2/src'
36 > make[1]: *** [all-recursive] Error 1
37 > make[1]: Leaving directory
38 > `/Users/matt/gentoo/var/tmp/portage/sci-visualization/gnuplot-4.2.2/work/gnuplot-4.2.2'
39 > make: *** [all] Error 2
40 > *
41 > * ERROR: sci-visualization/gnuplot-4.2.2 failed.
42 > * Call stack:
43 > * ebuild.sh, line 1592: Called dyn_compile
44 > * ebuild.sh, line 928: Called qa_call 'src_compile'
45 > * ebuild.sh, line 44: Called src_compile
46 > * gnuplot-4.2.2.ebuild, line 97: Called die
47 > *
48 > * emake failed
49 > * If you need support, post the topmost build error, and the call stack if
50 > relevant.
51 > * A complete build log is located at
52 > '/Users/matt/gentoo/var/tmp/portage/sci-visualization/gnuplot-4.2.2/temp/build.log'.
53 > *
54 > matt@fibook ~ $ emerge -vp gnuplot
55 >
56 > These are the packages that would be merged, in order:
57 >
58 > Calculating dependencies... done!
59 > [ebuild N ] sci-visualization/gnuplot-4.2.2 USE="pdf plotutils
60 > readline tetex -X -doc -emacs -gd (-ggi) (-svga) -wxwindows -xemacs" 0 kB
61 >
62 > Total: 1 package (1 new), Size of downloads: 0 kB
63 > matt@fibook ~ $
64
65
66 --
67 Fabian Groffen
68 Gentoo on a different level
69 --
70 gentoo-alt@g.o mailing list

Replies

Subject Author
Re: [gentoo-alt] gnuplot fails to compile, bus error Elias Pipping <pipping@××××××××××××.de>