Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 549510 - crossdev cross-msp430-elf/gcc-4.9.2 fails in stage2
Summary: crossdev cross-msp430-elf/gcc-4.9.2 fails in stage2
Status: RESOLVED DUPLICATE of bug 525910
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-15 02:10 UTC by Alex Orange
Modified: 2015-05-18 16:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
cross-msp430-elf-info.log (cross-msp430-elf-info.log,16.82 KB, text/x-log)
2015-05-15 02:11 UTC, Alex Orange
Details
cross-msp430-elf-gcc-stage2.log.xz (cross-msp430-elf-gcc-stage2.log.xz,126.85 KB, application/x-xz)
2015-05-15 02:12 UTC, Alex Orange
Details
gcc-config.logs.tar.xz (gcc-config.logs.tar.xz,83.65 KB, application/x-xz)
2015-05-15 02:13 UTC, Alex Orange
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Orange 2015-05-15 02:10:47 UTC
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).
Comment 1 Alex Orange 2015-05-15 02:11:56 UTC
Created attachment 403286 [details]
cross-msp430-elf-info.log
Comment 2 Alex Orange 2015-05-15 02:12:29 UTC
Created attachment 403288 [details]
cross-msp430-elf-gcc-stage2.log.xz
Comment 3 Alex Orange 2015-05-15 02:13:17 UTC
Created attachment 403290 [details]
gcc-config.logs.tar.xz
Comment 4 Alex Orange 2015-05-16 04:10:27 UTC
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?
Comment 5 SpanKY gentoo-dev 2015-05-18 16:00:39 UTC

*** This bug has been marked as a duplicate of bug 525910 ***