[Rock-dev] utilrb and c(xx)flags?
Sylvain Joyeux
sylvain.joyeux at dfki.de
Fri Sep 16 13:44:11 CEST 2011
On 09/16/2011 11:44 AM, Martin Fritsche wrote:
> Hi Sylvain,
> I have a rather special problem while compiling utilrb. As you might
> remember I and some others are using distcc to speedup compiling. Since
> I have a 32-bit system installed I did set C(XX)FLAGS to "-m32". This
> works for most packages but utilrb. It seems the flag gets lost
> somewhere and the 64-bit machines generate 64-bit object files which
> results in:
> /usr/bin/ld: i386:x86-64 architecture of input file `swap.o' is
> incompatible with i386 output
>
> Do you have a quick fix for this other than compiling everything on only
> one machine?
>
> The gcc-version in use is 4.4
What "C(XX)FLAGS" you are referring to ? Is it an environment variable ?
Can you control distcc through environment variables ? I.e. would it be
possible to set an envvar while building utilrb (and only utilrb) to
disable distcc ?
Isn't there a way to tell distcc itself what to do ?
In any case, there are a few two options, but none of them a "quickfix".
I'll tell you more once I have more information ...
--
Sylvain Joyeux
Space& Security Robotics
!!! Achtung, neue Telefonnummer!!!
Standort Bremen:
DFKI GmbH
Robotics Innovation Center
Robert-Hooke-Straße 5
28359 Bremen, Germany
Phone: +49 (0)421 178-454136
Fax: +49 (0)421 218-454150
E-Mail: robotik at dfki.de
Weitere Informationen: http://www.dfki.de/robotik
-----------------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
(Vorsitzender) Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
USt-Id.Nr.: DE 148646973
Steuernummer: 19/673/0060/3
-----------------------------------------------------------------------
More information about the Rock-dev
mailing list