Can't build gcc for msp430. Failing in stage two with the following error message (in the log file): ^[[01m^[[K/var/tmp/portage/cross-msp430-elf/gcc-4.9.2/work/gcc-4.9.2/libsanitizer/sanitizer_common/sanitizer_allocator.h:818:21:^[[m^[[K ^[[01;31m^[[Kerror: ^[[m^[[K‘^[[01m^[[K(__sanitizer::uptr)(4294967296ull / 0ull)^[[m^[[K’ is not a constant expression static const uptr kNumPossibleRegions = kSpaceSize / kRegionSize; ^[[01;32m^[[K ^^[[m^[[K Reproducible: Always Steps to Reproduce: 1. sudo crossdev -s4 -t msp430 Actual Results: -------------------------------------------------------------------------------- * crossdev version: 20141030 * Host Portage ARCH: amd64 * Target Portage ARCH: * * Target System: msp430-elf * Stage: 4 (C/C++ compiler) * ABIs: default * binutils: >=binutils-2.24.90 * gcc: >=gcc-4.9.1 * libc: >=newlib-2.1.0 * CROSSDEV_OVERLAY: /usr/local/portage * PORT_LOGDIR: /var/log/portage * PORTAGE_CONFIGROOT: * Portage flags: _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - * leaving sys-devel/binutils in /usr/local/portage * leaving sys-devel/gcc in /usr/local/portage * leaving sys-libs/newlib in /usr/local/portage * leaving sys-devel/gdb in /usr/local/portage * leaving metadata/layout.conf alone in /usr/local/portage _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - * Log: /var/log/portage/cross-msp430-elf-binutils.log * Emerging cross-binutils ... [ ok ] * Log: /var/log/portage/cross-msp430-elf-gcc-stage1.log * Emerging cross-gcc-stage1 ... [ ok ] * Log: /var/log/portage/cross-msp430-elf-newlib.log * Emerging cross-newlib ... [ ok ] * Log: /var/log/portage/cross-msp430-elf-gcc-stage2.log * Emerging cross-gcc-stage2 ... * gcc failed :( * If you file a bug, please attach the following logfiles: * /var/log/portage/cross-msp430-elf-info.log * /var/log/portage/cross-msp430-elf-gcc-stage2.log.xz * /var/tmp/portage/cross-msp430-elf/gcc*/temp/gcc-config.logs.tar.xz Expected Results: A complete toolchain including gcc, buildutils and newlib (or at least the msp430 headers).
Created attachment 403286 [details] cross-msp430-elf-info.log
Created attachment 403288 [details] cross-msp430-elf-gcc-stage2.log.xz
Created attachment 403290 [details] gcc-config.logs.tar.xz
I've tried with 4.9.1 and it gives basically the same error (same thing about 2**32/0 in sanitizer). Anyone know how this ever built at all?
*** This bug has been marked as a duplicate of bug 525910 ***