Re: Building mono-2.8 for 64 bit - possible solution to the problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> {standard input}: Assembler messages:
> {standard input}:24487: Error: @TLSLDM reloc is not supported with
> 64-bit output format
> {standard input}:24487: Error: junk `@tlsld' after expression
> make[3]: *** [libmonoruntimesgen_la-sgen-gc.lo] Error 1

This is certainly a case of compiling i386 code and then trying to link it
as x86-64 (or with other code compiled for x86-64).

> After Googling around, I think I've hit the cause - it's down to the
> cross compiler used on koji (or could be). I found this...
> 
> http://www.mail-archive.com/unattended-devel@xxxxxxxxxxxxxxxxxxxxx/msg02316.html
> 
> which seems to point to the cross compilation being the problem for
> building mono on the 64 bit buildsys.

If what you really intend is to compile i[3-6]86 code in an x86_64 rpm,
then indeed you need to make sure that you are passing -m32 for all
the compiler invocations any compilation or linking of the 32-bit code.


Thanks,
Roland
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux