All of lore.kernel.org
 help / color / mirror / Atom feed
* cross-compilers available?
@ 2020-09-28 23:02 Randy Dunlap
  2020-09-28 23:09 ` Li, Philip
  0 siblings, 1 reply; 3+ messages in thread
From: Randy Dunlap @ 2020-09-28 23:02 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 279 bytes --]

Hi,

Are the gcc cross-compilers that 0day uses available for download
somewhere on the internet?

I am currently using the cross-compilers from
https://mirrors.edge.kernel.org/pub/tools/crosstool/ but I am having
problems with MIPS cross-builds.

thanks.
-- 
~Randy

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: cross-compilers available?
  2020-09-28 23:02 cross-compilers available? Randy Dunlap
@ 2020-09-28 23:09 ` Li, Philip
  2020-09-29  0:10   ` Randy Dunlap
  0 siblings, 1 reply; 3+ messages in thread
From: Li, Philip @ 2020-09-28 23:09 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 666 bytes --]

> Subject: [kbuild-all] cross-compilers available?
> 
> Hi,
> 
> Are the gcc cross-compilers that 0day uses available for download
> somewhere on the internet?
> 
> I am currently using the cross-compilers from
> https://mirrors.edge.kernel.org/pub/tools/crosstool/ but I am having
> problems with MIPS cross-builds.
yes, and you can have a check at https://download.01.org/0day-ci/cross-package/
which contains the cross packages we use.

Thanks

> 
> thanks.
> --
> ~Randy
> _______________________________________________
> kbuild-all mailing list -- kbuild-all(a)lists.01.org
> To unsubscribe send an email to kbuild-all-leave(a)lists.01.org

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: cross-compilers available?
  2020-09-28 23:09 ` Li, Philip
@ 2020-09-29  0:10   ` Randy Dunlap
  0 siblings, 0 replies; 3+ messages in thread
From: Randy Dunlap @ 2020-09-29  0:10 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 1607 bytes --]

On 9/28/20 4:09 PM, Li, Philip wrote:
>> Subject: [kbuild-all] cross-compilers available?
>>
>> Hi,
>>
>> Are the gcc cross-compilers that 0day uses available for download
>> somewhere on the internet?
>>
>> I am currently using the cross-compilers from
>> https://mirrors.edge.kernel.org/pub/tools/crosstool/ but I am having
>> problems with MIPS cross-builds.
> yes, and you can have a check at https://download.01.org/0day-ci/cross-package/
> which contains the cross packages we use.

Well, that was disappointing.  I am seeing the same errors with
the 0day compilers that I did with the crosstool builds from kernel.org.

I conclude that the problem is in asm (assembler language) processing
instead of gcc, but please correct me if you know better than I do
(which easily could be).

With either gcc cross-compiler for MIPS (32-bit), I see:

{standard input}: Assembler messages:
{standard input}:1974: Error: found '(', expected: ')'
{standard input}:1974: Error: found '(', expected: ')'
{standard input}:1974: Error: non-constant expression in ".if" statement
{standard input}:1974: Error: junk at end of line, first unrecognized character is `('

and also
/home/rdunlap/crosstool/gcc-9.3.0-nolibc/mipsel-linux/bin/mipsel-linux-ld: /lib64/libc.so.6: version `GLIBC_2.27' not found (required by /home/rdunlap/crosstool/gcc-9.3.0-nolibc/mipsel-linux/bin/mipsel-linux-ld)

Hm, it seems that I am using libc 2.26. Guess I will try to find 2.27
or later although that seems (to me) to be unrelated to the Assembler
errors that I am seeing.


Thanks.

-- 
~Randy

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-09-29  0:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-28 23:02 cross-compilers available? Randy Dunlap
2020-09-28 23:09 ` Li, Philip
2020-09-29  0:10   ` Randy Dunlap

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.