First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 216877
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Mozilla Gentoo Team <mozilla@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Marcos Vicente Cruz <marcos_vc@coel.com.br>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

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

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

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


Not eligible to see or edit group visibility for this bug.






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


Description:   Opened: 2008-04-08 14:23 0000
I have a x86_64 computer configured as a distcc server and a x86 as client.
When trying to build this on my x86 machine I get a error about my CPU does not
support x86_64 instruction set which is true. This seems to be happening
because this ebuild should invoke 'i686-pc-linux-gnu-gcc' for my arch instead
'gcc' as you can see in the results. I tried compiling other packages with
distcc and worked flawlessly. Error messages:

nsinstall.c:1: error: CPU you selected does not support x86-64 instruction set
nsinstall.c:1: error: CPU you selected does not support x86-64 instruction set


Reproducible: Always

Steps to Reproduce:
1. distcc-config --set-hosts "eng_srv localhost"
2. emerge =dev-libs/nss-3.11.9

Actual Results:  
Calculating dependencies... done!
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) dev-libs/nss-3.11.9 to /
 * nss-3.11.9.tar.gz RMD160 SHA1 SHA256 size ;-) ...                           
                                       [ ok ]
 * checking ebuild checksums ;-) ...                                           
                                       [ ok ]
 * checking auxfile checksums ;-) ...                                          
                                       [ ok ]
 * checking miscfile checksums ;-) ...                                         
                                       [ ok ]
 * checking nss-3.11.9.tar.gz ;-) ...                                          
                                       [ ok ]
>>> Unpacking source...
>>> Unpacking nss-3.11.9.tar.gz to /var/tmp/portage/dev-libs/nss-3.11.9/work
 * Applying nss-3.11-config.patch ...                                          
                                       [ ok ]
 * Applying nss-3.11.5-config-1.patch ...                                      
                                       [ ok ]
 * Applying nss-mips64.patch ...                                               
                                       [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-libs/nss-3.11.9/work/nss-3.11.9 ...
cd nsinstall; make export
make[1]: Entering directory
`/var/tmp/portage/dev-libs/nss-3.11.9/work/nss-3.11.9/mozilla/security/coreconf/nsinstall'
make[1]: Nothing to be done for `export'.
make[1]: Leaving directory
`/var/tmp/portage/dev-libs/nss-3.11.9/work/nss-3.11.9/mozilla/security/coreconf/nsinstall'
cd nsinstall; make libs
make[1]: Entering directory
`/var/tmp/portage/dev-libs/nss-3.11.9/work/nss-3.11.9/mozilla/security/coreconf/nsinstall'
gcc -o Linux2.6_x86_glibc_PTH_OPT.OBJ/nsinstall.o -c -O2 -fPIC -DLINUX1_2
-Di386 -D_XOPEN_SOURCE -DLINUX2_1  -ansi -Wall -pipe -DLINUX -Dlinux
-D_POSIX_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR -DXP_UNIX -UDEBUG -DNDEBUG
-D_REENTRANT -I../../dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/include 
-I../../dist/public/coreconf -I../../dist/private/coreconf -I/usr/include/nspr
-I../../dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/include/dbm -march=pentium4 -pipe
-O2 nsinstall.c
distcc[1370] ERROR: compile /var/tmp/ccache/nsinstall.tmp.unlink.1366.i on
192.168.0.51 failed
nsinstall.c:1: error: CPU you selected does not support x86-64 instruction set
nsinstall.c:1: error: CPU you selected does not support x86-64 instruction set
make[1]: *** [Linux2.6_x86_glibc_PTH_OPT.OBJ/nsinstall.o] Error 1
make[1]: Leaving directory
`/var/tmp/portage/dev-libs/nss-3.11.9/work/nss-3.11.9/mozilla/security/coreconf/nsinstall'
make: *** [libs] Error 2
 * 
 * ERROR: dev-libs/nss-3.11.9 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2337:  Called die
 * The specific snippet of code:
 *       emake -j1 BUILD_OPT=1 XCFLAGS="${CFLAGS}" || die "coreconf make
failed";
 *  The die message:
 *   coreconf make failed
 * 
 * If you need support, post the topmost build error, and the call stack if
relevant.
 * A complete build log is located at
'/var/tmp/portage/dev-libs/nss-3.11.9/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/dev-libs/nss-3.11.9/temp/environment'.
 * 




Disabling remote distcc cross-compiling makes the problem disappear.

------- Comment #1 From Raúl Porcel 2008-04-11 17:20:55 0000 -------
Should be fixed now

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