Issues when compiling on Xubuntu 14.04
Martin Zoller <[email protected]> Fri, 30 May 2014 17:25:22 +0200
| Newsgroups | gmane.comp.hardware.texas-instruments.msp430.gcc.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, I have just built mspgcc 20120911 (last release of 4.7.x branch) on Xubuntu 14.04 i386. The following information could be useful to add to the "Install:fromsource" page on the wiki: - On newer systems you might run into problems when compiling binutils-2.22, due to an incompatibility with texinfo 5.x (see [1]). To solve this, install texinfo 4.13 from source before building binutils (see [2]). - Note that gcc 4.7.0 may not compile on gcc 4.8.x. If you run into issues, try installing gcc 4.4. In Xubuntu 14.04 there is still a gcc-4.4 package available which has been successfully tested. Specifically, with gcc 4.8.2, I got a segmentation fault in "libgcc2.c" on line 81. I did not find an exact bug report for this issue, but similar issues were reported by others ([3], [4]) when compiling older gcc versions with gcc 4.8. I also tried the new " -fno-aggressive-loop-optimizations" option as recommended in [5], but that failed, so I used gcc 4.4 instead, which works fine. The only thing I couldn't build is gdb, but I didn't look into fixing that. Thanks, Martin [1] - https://www.mail-archive.com/[email protected]/msg14429.html [2] - http://petio.org/tools/texinfo.html (archived version at http://www.webcitation.org/6Px9bXTvI) [3] - https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56938 [4] - https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56927 [5] - https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56308 -- Martin Zoller ? Tinynode <http://www.tinynode.com/> ? System Architect ? Lausanne ? D: +41 21 510 11 81 ? F: +41 21 510 11 71 ? [email protected] <mailto:[email protected]> ------------------------------------------------------------------------------ Time is money. Stop wasting it! Get your web API in 5 minutes. www.restlet.com/download http://p.sf.net/sfu/restlet _______________________________________________ Mspgcc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mspgcc-users