Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 37621 - DDD fails to emerge on PPC
Summary: DDD fails to emerge on PPC
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High blocker
Assignee: PPC Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-08 09:31 UTC by Daniel Barowy
Modified: 2006-02-04 06:04 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Barowy 2004-01-08 09:31:30 UTC
I cannot emerge GNU DDD with 'sudo emerge ddd'.

I'm not [much of] a programmer, otherwise I would try to give you more information.  I've included the last few lines of output from portage.

Feel free to contact me for further information.

Reproducible: Always
Steps to Reproduce:
1. sudo emerge ddd


Actual Results:  
last few lines...

g++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -isystem /usr/X11R6/include    -DNDEBUG
-O2  -W -Wall -Wno-deprecated -mminimal-toc -pipe -mcpu=7400 -maltivec
-mabi=altivec  -trigraphs  -c mydialogs.C
logplayer.C: In function `void logplayer(const string&)':
logplayer.C:394: Internal compiler error in dwarf2out_frame_debug_expr, at 
   dwarf2out.c:1548
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
make[1]: *** [logplayer.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/ddd-3.3.1-r3/work/ddd-3.3.1/ddd'
make: *** [all-recursive] Error 1

!!! ERROR: dev-util/ddd-3.3.1-r3 failed.
!!! Function src_compile, Line 40, Exitcode 2
!!! (no error message)

Expected Results:  
I expected DDD to emerge without error.

Running programs (while I was emerging; I was _only_ emerging one ebuild, ie, DDD):

dbarowy@arda dbarowy $ ps -A
  PID TTY          TIME CMD
    1 ?        00:00:48 init
    2 ?        00:00:00 keventd
    3 ?        00:00:00 ksoftirqd_CPU0
    4 ?        00:00:00 kswapd
    5 ?        00:00:00 bdflush
    6 ?        00:00:00 kupdated
    7 ?        00:00:00 knodemgrd_0
    8 ?        00:00:00 khubd
   12 ?        00:00:00 kjournald
  205 ?        00:00:00 devfsd
  714 ?        00:00:00 dhcpcd
 1022 ?        00:00:00 metalog
 1033 ?        00:00:00 metalog
 1106 ?        00:00:00 ahc_dv_0
 1107 ?        00:00:00 scsi_eh_1
 1490 ?        00:00:00 cupsd
 1792 ?        00:00:00 ntpd
 1822 ?        00:00:00 cron
 1987 ?        00:00:01 xfs
 1999 ?        00:00:00 login
 2000 vc/2     00:00:00 agetty
 2001 vc/3     00:00:00 agetty
 2002 vc/4     00:00:00 agetty
 2003 vc/5     00:00:00 agetty
 2004 vc/6     00:00:00 agetty
 2056 vc/1     00:00:00 bash
 2062 vc/1     00:00:00 startx
 2073 vc/1     00:00:00 xinit
 2074 ?        00:05:09 X
 2091 vc/1     00:00:00 sh
 2092 vc/1     00:00:00 sh
 2193 vc/1     00:00:02 fluxbox
 2208 ?        00:00:00 sylpheed
 2211 ?        00:00:00 MozillaFirebird
 2215 ?        00:00:00 run-mozilla.sh
 2221 ?        00:03:19 MozillaFirebird
 2223 ?        00:00:00 MozillaFirebird
 2224 ?        00:00:01 MozillaFirebird
 2225 ?        00:00:00 MozillaFirebird
 2226 ?        00:00:01 MozillaFirebird
 2231 ?        00:00:00 esd
 2233 ?        00:00:00 Eterm
 2236 pts/0    00:00:00 bash
 2838 pts/0    00:00:19 xpdf
 2858 ?        00:00:03 gvim
 2859 ?        00:00:01 Eterm
 2862 pts/1    00:00:00 bash
 2276 ?        00:00:00 Eterm
 2279 pts/2    00:00:00 bash
 2302 ?        00:00:00 MozillaFirebird
 2315 pts/1    00:00:03 emerge
 2601 pts/1    00:00:00 ebuild.sh
 9447 pts/1    00:00:00 emake
 9448 pts/1    00:00:00 make
 9449 pts/1    00:00:00 sh
 9453 pts/1    00:00:00 sh
 9454 pts/1    00:00:00 make
 9499 pts/1    00:00:00 gcc
 9500 pts/1    00:00:01 cc1
 9501 pts/1    00:00:00 as
 9503 pts/1    00:00:00 gcc
 9504 pts/1    00:00:01 cc1
 9505 pts/1    00:00:00 as
 9506 pts/2    00:00:00 ps


Portage 2.0.49-r20 (default-ppc-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.22-ben2)
=================================================================
System uname: 2.4.22-ben2 ppc 
Gentoo Base System version 1.4.3.10
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec"
CHOST="powerpc-unknown-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa arts berkdb cdr crypt cups dvd encode foomaticdb gdbm gif gnome-libs
gpm gtk gtk2 imlib jpeg libwww mitshm motif mozilla nls oggvorbis opengl oss pam
perl png ppc python qt readline scanner sdl slang ssl tcltk tcpd truetype usb
xmms xv video_cards_rage128"
Comment 1 Kevyn Shortell (RETIRED) gentoo-dev 2004-01-09 01:07:29 UTC
dev-util/ddd-3.3.7 compiled sucessfully on my ~ppc box. Can you please check and see if it works for you?
Comment 2 Daniel Barowy 2004-01-09 08:49:24 UTC
dev-util/ddd-3.3.7 also fails on PPC.

Here are the last few lines of Portage output:

g++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -isystem /usr/X11R6/include    -DNDEBUG -O2  -W -Wall -mminimal-toc -pipe -mcpu=7400 -maltivec -mabi=altivec  -trigraphs  -c -o mydialogs.o `test -f 'mydialogs.C' || echo './'`mydialogs.C
logplayer.C: In function `void logplayer(const string&)':
logplayer.C:392: Internal compiler error in dwarf2out_frame_debug_expr, at 
   dwarf2out.c:1548
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
make[2]: *** [logplayer.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/ddd-3.3.7/work/ddd-3.3.7/ddd'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/ddd-3.3.7/work/ddd-3.3.7/ddd'
make: *** [all-recursive] Error 1

!!! ERROR: dev-util/ddd-3.3.7 failed.
!!! Function src_compile, Line 27, Exitcode 2
!!! (no error message)
Comment 3 Kevyn Shortell (RETIRED) gentoo-dev 2004-01-09 12:21:48 UTC
What profile are you using? Stable or ~ppc?

I'm running sys-devel/gcc-3.2.3-r3 and it emerged without any errors. So the only thing I can think of off the top of my head is gcc issue, cflag issue, or a weird useflag. =)

So can you let me know which your using, what your cflags and useflags are? 

tx
Comment 4 Daniel Barowy 2004-01-09 13:28:10 UTC
Here's all the information you asked for:

My ACCEPT_KEYWORDS is "ppc".

gcc (GCC) 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r2, propolice)

CFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec"

USE="X gtk alsa usb cups pam truetype -kde -gnome dvd -esd crypt xmms encode"
Comment 5 Luca Barbato gentoo-dev 2004-01-15 22:43:47 UTC
please rebuild gcc
Comment 6 Bartosch Pixa (RETIRED) gentoo-dev 2004-01-17 11:44:59 UTC
compile it without -maltivec -mabi=altivec, think we will have to filter this out
Comment 7 Kevyn Shortell (RETIRED) gentoo-dev 2004-01-18 01:19:57 UTC
It's not altivec friendly. I've tried it on 3 G3 boxes and no issues. Tried it on a g4 with stock cflags and it fails. tried it using non g4 optimized flags and it works. Another thing to note is I have 3.3.7 installed and working on my g3 box, 3.3.1 is somewhat out of date.

So for the workaround don't compile it with -maltivec -mabi=altivec or without any optmized cflags at all, and we'll have to send this upstream to the ddd team as its not a gentoo related bug.
Comment 8 Daniel Barowy 2004-01-23 16:24:40 UTC
Rebuilt and upgraded gcc from r2:
gcc (GCC) 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r3, propolice)

Compile still failed, with the same error.

I removed -maltivec -mabi=altivec and it compiled without a problem.
Comment 9 Kevyn Shortell (RETIRED) gentoo-dev 2004-01-23 20:41:32 UTC
Ok, thanks!