Skip to contentSkip to conversation

cross-compilers available?

DISCUSSION Randy Dunlap 2 participants 3 messages Sep 28, 2020 – Sep 29, 2020

lore
Share & tools
lore
#1 lore raw
Quoted 10 lines

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

Quoted 7 lines

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

#2 lore raw
Quoted 4 lines · Philip
Quoted 4 lines

Subject: [kbuild-all] cross-compilers available?

Hi,

Quoted 8 lines
Quoted 6 lines

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.

Signature · 1 line
~Randy