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

Bug 459278

Summary: net-fs/samba-3.5.21 hangs in the configure phase
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo's SAMBA Team <samba>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 454798    

Description Agostino Sarubbo gentoo-dev 2013-02-26 10:18:31 UTC
The build stop its process at:

checking that the C compiler understands -errwarn... 


top says:
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                                                                                
26890 portage   20   0  2336  432  296 R   99  0.0   0:25.93 conftest  

and the config.log:

configure:7571: checking that the C compiler understands -errwarn
configure:7598: alpha-unknown-linux-gnu-gcc -o conftest -mieee -pipe -O2 -mcpu=ev4 -errwarn=%all  -Diniparser_getstr\(d,i\)=iniparser_getstring\(d,i,NULL\) -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu conftest.c   >&5
<command-line>:0:17: warning: missing whitespace after the macro name [enabled by default]
/usr/lib/gcc/alpha-unknown-linux-gnu/4.6.3/../../../../alpha-unknown-linux-gnu/bin/ld: warning: cannot find entry symbol rrwarn=%all; defaulting to 0000000120000430
configure:7598: $? = 0
configure:7598: ./conftest


This happens on various arches.
Comment 1 VĂ­ctor Ostorga (RETIRED) gentoo-dev 2013-02-28 19:57:58 UTC
For the record, the problem was the errwarn test doesn't work with O2 , because it creates a binary that hangs . It goes fine using O1.

Thanks to ago for his time.