First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 18243
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Zach Welch (RETIRED) <zwelch@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Tom Ward <jesus@warwickcompsoc.co.uk>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 18243 depends on: Show dependency tree
Show dependency graph
Bug 18243 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-03-26 14:09 0000
I'm using distcc with cross compilers, so I need to specify CC=$CHOST-gcc. The
ebuild 
ignores this and uses straight gcc, causing failure. 

Reproducible: Always
Steps to Reproduce:
1. CC=powerpc-unknown-linux-gnu-gcc CXX=powerpc-unknown-linux-gnu-g++ emerge 
-u --nodeps yaboot 

Actual Results:  
Calculating dependencies ...done! 
>>> emerge (1 of 9) sys-apps/yaboot-1.3.10-r1 to / 
>>> md5 ;-) yaboot-1.3.10.tar.gz 
>>> Unpacking source... 
>>> Unpacking yaboot-1.3.10.tar.gz to /var/tmp/portage/yaboot-1.3.10-r1/work 
>>> Source unpacked. 
 * Applying yabootconfig-1.3.10.patch...                                        
[ ok ] 
gcc -Os  -nostdinc -Wall -isystem `gcc -print-file-name=include` -fsigned-char 
-DVERSION=\"1.3.10\"      -DTEXTADDR=0x200000 -DDEBUG=0 
-DMALLOCADDR=0x300000 -DMALLOCSIZE=0x100000 -DKERNELADDR=0x01400000 -I 
./include -DCONFIG_COLOR_TEXT -DCONFIG_SET_COLORMAP 
-DUSE_MD5_PASSWORDS -DCONFIG_FS_XFS -DCONFIG_FS_REISERFS 
-D__ASSEMBLY__  -c -o second/crt0.o second/crt0.S 
gcc -Os  -nostdinc -Wall -isystem `gcc -print-file-name=include` -fsigned-char 
-DVERSION=\"1.3.10\"      -DTEXTADDR=0x200000 -DDEBUG=0 
-DMALLOCADDR=0x300000 -DMALLOCSIZE=0x100000 -DKERNELADDR=0x01400000 -I 
./include -DCONFIG_COLOR_TEXT -DCONFIG_SET_COLORMAP 
-DUSE_MD5_PASSWORDS -DCONFIG_FS_XFS -DCONFIG_FS_REISERFS -c -o 
second/yaboot.o second/yaboot.c 
distcc[11606] (dcc_recursion_safeguard) CRITICAL! distcc seems to have invoked
itself 
recursively! 
make: *** [second/yaboot.o] Error 111 

!!! ERROR: sys-apps/yaboot-1.3.10-r1 failed. 
!!! Function src_compile, Line 29, Exitcode 2 
!!! (no error message) 



Expected Results:  
Calculating dependencies ...done! 
>>> emerge (1 of 9) sys-apps/yaboot-1.3.10-r1 to / 
>>> md5 ;-) yaboot-1.3.10.tar.gz 
>>> Unpacking source... 
>>> Unpacking yaboot-1.3.10.tar.gz to /var/tmp/portage/yaboot-1.3.10-r1/work 
>>> Source unpacked. 
 * Applying yabootconfig-1.3.10.patch...                                        
[ ok ] 
powerpc-unknown-linux-gnu-gcc -Os  -nostdinc -Wall -isystem `gcc 
-print-file-name=include` -fsigned-char -DVERSION=\"1.3.10\"      
-DTEXTADDR=0x200000 -DDEBUG=0 -DMALLOCADDR=0x300000 
-DMALLOCSIZE=0x100000 -DKERNELADDR=0x01400000 -I ./include 
-DCONFIG_COLOR_TEXT -DCONFIG_SET_COLORMAP -DUSE_MD5_PASSWORDS 
-DCONFIG_FS_XFS -DCONFIG_FS_REISERFS -D__ASSEMBLY__  -c -o second/crt0.o 
second/crt0.S 
powerpc-unknown-linux-gnu-gcc -Os  -nostdinc -Wall -isystem `gcc 
-print-file-name=include` -fsigned-char -DVERSION=\"1.3.10\"      
-DTEXTADDR=0x200000 -DDEBUG=0 -DMALLOCADDR=0x300000 
-DMALLOCSIZE=0x100000 -DKERNELADDR=0x01400000 -I ./include 
-DCONFIG_COLOR_TEXT -DCONFIG_SET_COLORMAP -DUSE_MD5_PASSWORDS 
-DCONFIG_FS_XFS -DCONFIG_FS_REISERFS -c -o second/yaboot.o second/yaboot.c 
..... 

Fix: 

/usr/portage/sys-apps/yaboot/yaboot-1.3.10-r1.ebuild 
29/29 
-        emake ${MAKEOPTS}|| die 
---------------------------------------- 
+        emake ${MAKEOPTS} CC=${CC}|| die

------- Comment #1 From Zach Welch (RETIRED) 2003-03-26 19:50:35 0000 -------
This has been fixed and committed to portage.

First Last Prev Next    No search results available      Search page      Enter new bug