[Suggestion] unicore32: About toolchain issues and source code.

From: Chen Gang
Date: Tue Apr 29 2014 - 21:14:56 EST


Hello Maintainers:

Excuse me, I did not find our unicore32 toolchains source code (I got
binary to cross-compile Linux kernel), could you provide more related
information for it, thanks.

And I find 2 unicore32 toolchains issues, please help check.

- Gas issue:

AS firmware/keyspan/usa18x.fw.gen.o
firmware/keyspan/usa18x.fw.gen.S: Assembler messages:
firmware/keyspan/usa18x.fw.gen.S:11: Error: junk at end of line, first unrecognized character is `,'
make[1]: *** [firmware/keyspan/usa18x.fw.gen.o] Error 1
make: *** [firmware] Error 2

it is about statement ".section .builtin_fw,"a",@progbits".

- The statement is correct and standard.

- Use "aM" instead of "a", can pass compiling, but shouldn't do it.

- Remove "@progbits", can pass compiling, but shouldn't do it.

- Compiler issue:

CC [M] drivers/media/dvb-frontends/tda10048.o
drivers/media/dvb-frontends/tda10048.c: In function ‘tda10048_set_wref’:
drivers/media/dvb-frontends/tda10048.c:367: internal compiler error: in simplify_const_unary_operation, at simplify-rtx.c:1278
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [drivers/media/dvb-frontends/tda10048.o] Error 1
make[2]: *** [drivers/media/dvb-frontends] Error 2
make[1]: *** [drivers/media] Error 2
make: *** [drivers] Error 2

- Toolchain information:

root@gchen:/upstream/toolchain/binutils/gas# /upstream/toolchain/unicore32/pi3dian14-beyondmind/prebuilt/linux-x86/toolchain/uc4-1.0-beta-hard-RHELAS4/bin/unicore32-linux-gcc -v
Using built-in specs.
Target: unicore32-linux
Configured with: /home/ghb/trunk/gcc-4.4.2/configure --target=unicore32-linux --prefix=/usr/unicore/gnu-toolchain-unicore/uc4-1.0-beta-hard-RHELAS4 --enable-clocale=gnu --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-languages=c,c++,fortran --disable-multilib --disable-libstdcxx-pch --with-headers=/usr/unicore/gnu-toolchain-unicore/uc4-1.0-beta-hard-RHELAS4/unicore32-linux/include --with-pkgversion=UC4_1.0-beta_20100415
Thread model: posix
gcc version 4.4.2 (UC4_1.0-beta_20100415)
root@gchen:/upstream/toolchain/binutils/gas# /upstream/toolchain/unicore32/pi3dian14-beyondmind/prebuilt/linux-x86/toolchain/uc4-1.0-beta-hard-RHELAS4/bin/unicore32-linux-as -v
GNU assembler version 2.19.1 (unicore32-linux) using BFD version (GNU Binutils) 2.19.1


Next, I shall continue for unicore32 allmodconfig (hope I can finish
within 2014-05-31). And we may find other toolchain issues during cross
compiling (I shall report and try to solve them, after get source code).


Thanks.
--
Chen Gang

Open, share, and attitude like air, water, and life which God blessed
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/