Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 7902

Summary: gdb appears to hang.
Product: Gentoo Linux Reporter: Michael Tomkins <m.tomkins>
Component: Current packagesAssignee: Mark Guertin <mguertin>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: stdout from emerge gnome to ^c

Description Michael Tomkins 2002-09-13 22:39:46 UTC
emerge gnome stalls (top had no cpu activity for python, emerge, make etc. left 
for 1/2 hour)

1.4, PPC 7600/144M/132Hz

gcc -c -O2 -pipe -mmultiple -mstring  -DDEFAULT_INLINE=INLINE_LOCALS     
-DWITH_HOST_BYTE_ORDER=BIG_ENDIAN -DWITH_SMP=5              
-DHAVE_TERMIOS_STRUCTURE -DHAVE_TERMIOS_CLINE -DHAVE_DEVZERO     -I. -I. 
-I./../../include -I../../bfd -I./../../bfd -I../../gdb -I./../../gdb  
-I./../../gdb/config -I./../../mmalloc device_table.c
gcc -c -O2 -pipe -mmultiple -mstring  -DDEFAULT_INLINE=INLINE_LOCALS     
-DWITH_HOST_BYTE_ORDER=BIG_ENDIAN -DWITH_SMP=5              
-DHAVE_TERMIOS_STRUCTURE -DHAVE_TERMIOS_CLINE -DHAVE_DEVZERO     -I. -I. 
-I./../../include -I../../bfd -I./../../bfd -I../../gdb -I./../../gdb  
-I./../../gdb/config -I./../../mmalloc itable.c
gcc -c -O2 -pipe -mmultiple -mstring  -DDEFAULT_INLINE=INLINE_LOCALS     
-DWITH_HOST_BYTE_ORDER=BIG_ENDIAN -DWITH_SMP=5              
-DHAVE_TERMIOS_STRUCTURE -DHAVE_TERMIOS_CLINE -DHAVE_DEVZERO     -I. -I. 
-I./../../include -I../../bfd -I./../../bfd -I../../gdb -I./../../gdb  
-I./../../gdb/config -I./../../mmalloc mon.c
gcc -c -O2 -pipe -mmultiple -mstring  -DDEFAULT_INLINE=INLINE_LOCALS     
-DWITH_HOST_BYTE_ORDER=BIG_ENDIAN -DWITH_SMP=5              
-DHAVE_TERMIOS_STRUCTURE -DHAVE_TERMIOS_CLINE -DHAVE_DEVZERO    -I. -I. 
-I./../../include -I../../bfd -I./../../bfd -I../../gdb -I./../../gdb  
-I./../../gdb/config -I./../../mmalloc icache.c

make[2]: *** wait: No child processes.  Stop.
make[2]: *** Waiting for unfinished jobs....
make[2]: *** wait: No child processes.  Stop.
make[1]: *** wait: No child processes.  Stop.
make[1]: *** Waiting for unfinished jobs....
make[1]: *** wait: No child processes.  Stop.
make: *** wait: No child processes.  Stop.
make: *** Waiting for unfinished jobs....
make: *** wait: No child processes.  Stop.

*** Compilation Aborted ***

!!! Portage interrupted by SIGINT; exiting.
Comment 1 Michael Tomkins 2002-09-13 22:45:24 UTC
Created attachment 3906 [details]
stdout from emerge gnome to ^c
Comment 2 Mark Guertin 2002-09-14 11:01:25 UTC
If this is with gcc 3.2 based setup, the cflags you are using may be causeing 
the problems.  Please emerge -u portage (and make sure you update the new 
make.conf) and look at the CFLAGS examples. 
 
I suspect this may be the problem 
Comment 3 Michael Tomkins 2002-09-15 18:28:00 UTC
Where is :
examples of the make.conf?
a FAQ for 1.4 setup? 
(appart from this thread http://forums.gentoo.org/viewtopic.php?t=11963)
examples for gcc3.2?

should this be obvious?
Comment 4 Mark Guertin 2002-09-17 13:38:07 UTC
the examples are all within the latest make.conf (supplied by portage), if you
dont see them you will have to emerge help to find out how to update your conf
files.
Comment 5 Mark Guertin 2002-09-18 09:32:25 UTC
Also that thread in the forums is very x86 centric and should not be used as
reference for ppc :)

Comment 6 Michael Tomkins 2002-09-20 20:58:55 UTC
Ok, read the sticky in PPC on the forums page an this has just become a know bug.

My make.conf has
CFLAGS="-02 <some flags I forget> -mcpu=604 -mmultiple -mstrings"

-mmultiple -mstrings are known to break 1.4 (according to the forums post), just 
copied them from 1.2 :(

As is seems that a release version of 1.4 is imminent and since I don't want to 
spend 8 days recompiling from scratch I will wait for a 1.4 main release.