This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See crosstool-NG for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi Stephan, 2012/10/12 Stephan Linz <linz@li-pro.net>: > Hi Michal, > Hi David > > which version of binutils and gcc you are currently using for embedded > Linux development? Just now I've played a little bit with the new one > I've found in the Xilinx git repository on: > > git://git.xilinx.com/microblaze-gnu.git > > Unfortunately both the binaries and the sources seems to be buggy. When > I try to compile U-Boot with it the final linker stage runs into a > SIGSEGV -- here is the (reduced) output: > > > UNDEF_SYM=`microblaze-unknown-linux-gnu-objdump -x > board/xilinx/microblaze-generic/libmicroblaze-generic.o api/libapi.o > arch/microblaze/cpu/libmicroblaze.o arch/microblaze/lib/libmicroblaze.o > **/*.o | sed -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`; > cd /store/devel/MICROBLAZE/u-boot-mbref && > microblaze-unknown-linux-gnu-ld.bfd -T u-boot.lds -Bstatic -Ttext > 0x29000000 $UNDEF_SYM arch/microblaze/cpu/start.o --start-group > api/libapi.o arch/microblaze/cpu/libmicroblaze.o > arch/microblaze/lib/libmicroblaze.o **/*.o > board/xilinx/microblaze-generic/libmicroblaze-generic.o --end-group > -L /opt/tools-4.6.2-mb-xilinx-v3.0/microblaze-unknown-linux-gnu/bin/../lib/gcc/microblaze-unknown-linux-gnu/4.6.2 -lgcc -Map u-boot.map -o u-boot > > /opt/tools-4.6.2-mb-xilinx-v3.0/microblaze-unknown-linux-gnu/bin/../lib/gcc/microblaze-unknown-linux-gnu/4.6.2/libgcc.a(_muldi3.o): In function `__muldi3': > /home/buildbot/plgx_bld/xils005/2012_06_30/toolchains/lin32-microblaze-xilinx-linux-gnu/crosstool-ng/targets/src/gcc-4.6.2/libgcc/../gcc/libgcc2.c:549: undefined reference to `_GLOBAL_OFFSET_TABLE_' > /bin/sh: line 1: 17792 Segmentation fault > This is bug in the toolchain if you hw has this setup BS=1, MUL=0, DIV=0 and maybe others combination with MUL=0 setup. We are working on fixing it. Thanks, Michal -- Michal Simek, Ing. (M.Eng) w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/ Microblaze U-BOOT custodian -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |