Created attachment 344978 [details] gcc-config-logs.tar.bz2 msp430-gcc fails to compile if using gcc 4.8.0, causing a segfault during compilation on a amd64. Compilation with gcc 4.7.2 works. *** Error in `/var/tmp/portage/cross-msp430/msp430-gcc-4.6.3_p20120406/work/build/./gcc/cc1': double free or corruption (fasttop): 0x0000000000d24300 *** Steps to reproduce: crossdev -t msp430 -v
1) Please attach the entire build log to this bug report. 2) Please post your `emerge --info' output in a comment.
Created attachment 344982 [details] complete build log
Created attachment 344986 [details] Output of emerge --info crossdev was called with FEATURES=-test USE=-test
Still failing with gcc-4.8.2: /var/tmp/portage/cross-msp430/msp430-gcc-4.6.3_p20120406/work/gcc-4.6.3/libgcc/../gcc/libgcc2.c: In function ‘__negdi2’: /var/tmp/portage/cross-msp430/msp430-gcc-4.6.3_p20120406/work/gcc-4.6.3/libgcc/../gcc/libgcc2.c:72:1: internal compiler error: Segmentation fault
(In reply to Priit Laes (IRC: plaes) from comment #4) > Still failing with gcc-4.8.2: > > /var/tmp/portage/cross-msp430/msp430-gcc-4.6.3_p20120406/work/gcc-4.6.3/ > libgcc/../gcc/libgcc2.c: In function ‘__negdi2’: > /var/tmp/portage/cross-msp430/msp430-gcc-4.6.3_p20120406/work/gcc-4.6.3/ > libgcc/../gcc/libgcc2.c:72:1: internal compiler error: Segmentation fault Just mentioning that MSP430 support was added to GCC-4.9 \o/
(In reply to Priit Laes (IRC: plaes) from comment #5) > (In reply to Priit Laes (IRC: plaes) from comment #4) > > Still failing with gcc-4.8.2: > > > > /var/tmp/portage/cross-msp430/msp430-gcc-4.6.3_p20120406/work/gcc-4.6.3/ > > libgcc/../gcc/libgcc2.c: In function ‘__negdi2’: > > /var/tmp/portage/cross-msp430/msp430-gcc-4.6.3_p20120406/work/gcc-4.6.3/ > > libgcc/../gcc/libgcc2.c:72:1: internal compiler error: Segmentation fault > > Just mentioning that MSP430 support was added to GCC-4.9 \o/ Has anyone tested this with gcc-4.9? If its working there I'd really like to remove this as a blocker to 4.8.
(In reply to Anthony Basile from comment #6) > (In reply to Priit Laes (IRC: plaes) from comment #5) > > (In reply to Priit Laes (IRC: plaes) from comment #4) > > > Still failing with gcc-4.8.2: > > > > > > /var/tmp/portage/cross-msp430/msp430-gcc-4.6.3_p20120406/work/gcc-4.6.3/ > > > libgcc/../gcc/libgcc2.c: In function ‘__negdi2’: > > > /var/tmp/portage/cross-msp430/msp430-gcc-4.6.3_p20120406/work/gcc-4.6.3/ > > > libgcc/../gcc/libgcc2.c:72:1: internal compiler error: Segmentation fault > > > > Just mentioning that MSP430 support was added to GCC-4.9 \o/ > > Has anyone tested this with gcc-4.9? If its working there I'd really like > to remove this as a blocker to 4.8. It can. I have patches ready and waiting for building an msp430 toolchain with latest vanilla upstream gcc/binutils/newlib. Currently it's mostly waiting for the next snapshot of binutils to fall (since it requires changes in git to build properly) or we can just take one from the toolchain overlay and stick it in the tree if necessary.
Closing as obsolete since all dev-embedded/msp430* packages are now masked. Use >=sys-devel/crossdev-20141030 to build an msp430 toolchain using the standard binutils/gcc/newlib/gdb packages.