Summary: | DDD fails to emerge on PPC | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Daniel Barowy <dantoo> |
Component: | Current packages | Assignee: | PPC Porters <ppc> |
Status: | RESOLVED UPSTREAM | ||
Severity: | blocker | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | PPC | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Daniel Barowy
2004-01-08 09:31:30 UTC
dev-util/ddd-3.3.7 compiled sucessfully on my ~ppc box. Can you please check and see if it works for you? 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) 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 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" please rebuild gcc compile it without -maltivec -mabi=altivec, think we will have to filter this out 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. 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. Ok, thanks! |