From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bin Meng Date: Sun, 30 Jun 2019 18:31:10 +0800 Subject: [U-Boot] (no subject) In-Reply-To: <20190630020636.31352-1-thomas@wytron.com.tw> References: <20190630020636.31352-1-thomas@wytron.com.tw> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sun, Jun 30, 2019 at 10:07 AM Thomas Chou wrote: > > > Add gcc-8.1.0 support to buildman toolchain. > > The old gcc-7.3.0 has shared libraries issues on Ubuntu 18.04LTS and > 19.04. > > Though both 7.3.0 and 8.1.0 have arc and nds32 compilers, the following > errors were generated on Ubuntu 19.04. > > arc: + iot_devkit > +arc-linux-ld.bfd: error: examples/standalone/hello_world: unable to merge CPU base attributes ARC7xx with ARCEM. > + > +arc-linux-ld.bfd: failed to merge target specific data of file /home/thomas/.buildman-toolchains/gcc-8.1.0-nolibc/arc-linux/bin/../lib/gcc/arc-linux/8.1.0/libgcc.a(_millicodethunk_st.o) > +arc-linux-ld.bfd: failed to merge target specific data of file /home/thomas/.buildman-toolchains/gcc-8.1.0-nolibc/arc-linux/bin/../lib/gcc/arc-linux/8.1.0/libgcc.a(_millicodethunk_ret.o) > +make[3]: *** [examples/standalone/Makefile:62: examples/standalone/hello_world] Error 1 > +make[2]: *** [scripts/Makefile.build:432: examples/standalone] Error 2 > +make[1]: *** [Makefile:1594: examples] Error 2 > +make: *** [Makefile:148: sub-make] Error 2 > > > nds32: + adp-ae3xx > +nds32le-elf-gcc: error: unrecognized command line option '-mno-ext-fpu-dp' > +nds32le-elf-gcc: error: unrecognized command line option '-mfloat-abi=soft' > +make[2]: *** [scripts/Makefile.autoconf:77: u-boot.cfg] Error 1 > +make[1]: *** No rule to make target 'include/config/auto.conf', needed by 'include/config/uboot.release'. Stop. > +make: *** [Makefile:148: sub-make] Error 2 > > nds32: + adp-ag101p > +nds32le-elf-gcc: error: unrecognized command line option '-mno-ext-fpu-dp' > +nds32le-elf-gcc: error: unrecognized command line option '-mfloat-abi=soft' > +make[2]: *** [scripts/Makefile.autoconf:77: u-boot.cfg] Error 1 > +make[1]: *** No rule to make target 'include/config/auto.conf', needed by 'include/config/uboot.release'. Stop. > +make: *** [Makefile:148: sub-make] Error 2 > > x86: + efi-x86_app > +{standard input}: Assembler messages: > +{standard input}:21695: Error: junk at end of line, first unrecognized character is `@' > +{standard input}:21740: Error: junk at end of line, first unrecognized character is `@' > +{standard input}:21695: Error: can't resolve `end.7382' {.u_boot_list_2_fit_loadable_3 section} - `start.7379' {.u_boot_list_2_fit_loadable_1 section} > +{standard input}:21740: Error: can't resolve `end.7382' {.u_boot_list_2_fit_loadable_3 section} - `start.7379' {.u_boot_list_2_fit_loadable_1 section} > +make[2]: *** [scripts/Makefile.build:279: common/image.o] Error 1 > +make[1]: *** [Makefile:1594: common] Error 2 > +make: *** [Makefile:148: sub-make] Error 2 For the x86 failure, it is a known regression issue of GCC 8. Regards, Bin