View previous topic :: View next topic |
Author |
Message |
Bigun Advocate
Joined: 21 Sep 2003 Posts: 2196
|
Posted: Sun Sep 24, 2006 2:25 pm Post subject: Distcc/Crossdev issue |
|
|
I'm emerging stuff on an i686 system, and I want my amd64 to help.
I know I have to emerge crossdev on the amd64 machine and run 'crossdev -t i686'. But does crossdev need to be emerged on my i686 machine? _________________ "It's ok, they might have guns but we have flowers." - Perpetual Victim
Last edited by Bigun on Sun Sep 24, 2006 2:50 pm; edited 1 time in total |
|
Back to top |
|
|
pteppic l33t
Joined: 28 Nov 2005 Posts: 781
|
Posted: Sun Sep 24, 2006 2:48 pm Post subject: |
|
|
No, not unless you want it to help the amd64 machine with its builds too. |
|
Back to top |
|
|
Bigun Advocate
Joined: 21 Sep 2003 Posts: 2196
|
Posted: Sun Sep 24, 2006 2:50 pm Post subject: |
|
|
Ok then I have an issue:
Code: | >>> Emerging (1 of 379) media-libs/libmpeg3-1.5.2 to /
* libmpeg3-1.5.2-src.tar.bz2 MD5 ;-) ... [ ok ]
* libmpeg3-1.5.2-src.tar.bz2 RMD160 ;-) ... [ ok ]
* libmpeg3-1.5.2-src.tar.bz2 SHA1 ;-) ... [ ok ]
* libmpeg3-1.5.2-src.tar.bz2 SHA256 ;-) ... [ ok ]
* libmpeg3-1.5.2-src.tar.bz2 size ;-) ... [ ok ]
* libmpeg3-patches-1.tar.bz2 MD5 ;-) ... [ ok ]
* libmpeg3-patches-1.tar.bz2 RMD160 ;-) ... [ ok ]
* libmpeg3-patches-1.tar.bz2 SHA1 ;-) ... [ ok ]
* libmpeg3-patches-1.tar.bz2 SHA256 ;-) ... [ ok ]
* libmpeg3-patches-1.tar.bz2 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking libmpeg3-1.5.2-src.tar.bz2 ;-) ... [ ok ]
* checking libmpeg3-patches-1.tar.bz2 ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking libmpeg3-1.5.2-src.tar.bz2 to /var/tmp/portage/libmpeg3-1.5.2/work
>>> Unpacking libmpeg3-patches-1.tar.bz2 to /var/tmp/portage/libmpeg3-1.5.2/work
* Applying various patches (bugfixes/updates) ...
* 01_all_installheader.patch ... [ ok ]
* 02_all_mpeg3split.patch ... [ ok ]
* 03_all_pthread.patch ... [ ok ]
* 04_all_largefile.patch ... [ ok ]
* 05_all_proper-c.patch ... [ ok ]
* 06_all_no-nasm.patch ... [ ok ]
* 07_all_gentoo-multilib.patch ... [ ok ]
* Done with patching
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/libmpeg3-1.5.2/work/libmpeg3-1.5.2 ...
gcc -c `cat i686/c_flags` audio/ac3.c -o i686/audio/ac3.o
audio/ac3.c:1: error: CPU you selected does not support x86-64 instruction set
audio/ac3.c:1: error: CPU you selected does not support x86-64 instruction set
distcc[11059] ERROR: compile audio/ac3.c on 192.168.0.5 failed
make: *** [i686/audio/ac3.o] Error 1
!!! ERROR: media-libs/libmpeg3-1.5.2 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_compile
ebuild.sh, line 937: Called src_compile
libmpeg3-1.5.2.ebuild, line 59: Called die
|
And this is with the x86 running the emerge command, and the amd64 helping out. _________________ "It's ok, they might have guns but we have flowers." - Perpetual Victim |
|
Back to top |
|
|
all-inc. Tux's lil' helper
Joined: 03 Jul 2004 Posts: 138 Location: Darmstadt.Germany.EU
|
Posted: Sun Sep 24, 2006 2:51 pm Post subject: |
|
|
no you DON'T need crossdev! you can just emerge 32bit apps on amd64 with the gcc flag -m32 !
if you want, i can tell you how to make this the easiest and flexible way with a wrapper script... _________________ # make config; not war
registered linux user # 265707 |
|
Back to top |
|
|
Bigun Advocate
Joined: 21 Sep 2003 Posts: 2196
|
Posted: Sun Sep 24, 2006 2:57 pm Post subject: |
|
|
all-inc. wrote: | no you DON'T need crossdev! you can just emerge 32bit apps on amd64 with the gcc flag -m32 !
if you want, i can tell you how to make this the easiest and flexible way with a wrapper script... |
Go ahead, if you can write a mini-how to, it would go great in the AMD64 section _________________ "It's ok, they might have guns but we have flowers." - Perpetual Victim |
|
Back to top |
|
|
pteppic l33t
Joined: 28 Nov 2005 Posts: 781
|
Posted: Sun Sep 24, 2006 7:19 pm Post subject: |
|
|
all-inc. wrote: | no you DON'T need crossdev! you can just emerge 32bit apps on amd64 with the gcc flag -m32 !
if you want, i can tell you how to make this the easiest and flexible way with a wrapper script... |
How do you specify the target architecture? |
|
Back to top |
|
|
all-inc. Tux's lil' helper
Joined: 03 Jul 2004 Posts: 138 Location: Darmstadt.Germany.EU
|
Posted: Sun Sep 24, 2006 7:26 pm Post subject: |
|
|
You don't need to. x86_64 -m32 and x86 are compatible _________________ # make config; not war
registered linux user # 265707 |
|
Back to top |
|
|
all-inc. Tux's lil' helper
Joined: 03 Jul 2004 Posts: 138 Location: Darmstadt.Germany.EU
|
Posted: Sun Sep 24, 2006 7:27 pm Post subject: |
|
|
I finished my HowTo!
Have a look! _________________ # make config; not war
registered linux user # 265707 |
|
Back to top |
|
|
pteppic l33t
Joined: 28 Nov 2005 Posts: 781
|
Posted: Sun Sep 24, 2006 9:56 pm Post subject: |
|
|
all-inc. wrote: | You don't need to. x86_64 -m32 and x86 are compatible |
So what sub arch of x86 will it build, i386 i686? |
|
Back to top |
|
|
all-inc. Tux's lil' helper
Joined: 03 Jul 2004 Posts: 138 Location: Darmstadt.Germany.EU
|
Posted: Sun Sep 24, 2006 10:44 pm Post subject: |
|
|
the one you specify. use -m32 -m=i486 if you want your amd64 box to compile for an i486 box
I think default is to i686. But it doesn't matter, I think, because you can always specify the -march flag. _________________ # make config; not war
registered linux user # 265707 |
|
Back to top |
|
|
|