I also removed the dependency on msp430-gcc as pingu suggested and it's working fine. Also, I had to use the -Wno-error=unused-value option when compiling.
Search Criteria
Package Details: msp430-gdb 7.2a-5
Package Actions
| Package Base: | msp430-gdb |
|---|---|
| Description: | GNU debugger for MSP430 |
| Upstream URL: | http://mspgcc4.sourceforge.net/ |
| Category: | devel |
| Licenses: | |
| Submitter: | stuffcorpse |
| Maintainer: | None |
| Last Packager: | None |
| Votes: | 18 |
| First Submitted: | 2009-09-14 10:19 |
| Last Updated: | 2013-06-05 09:24 |
Dependencies (2)
Required by (0)
Sources
- 0001_bfd-doc-texinfo-5.0.patch
- 0002_bfdio-pass-correct-size.patch
- http://ftpmirror.gnu.org/gdb/gdb-7.2a.tar.bz2
- http://sourceforge.net/projects/mspgcc/files/mspgcc/mspgcc-20120406.tar.bz2
Latest Comments
Comment by idosch
Comment by pingu
FYI, I removed the dependency on msp430-gcc (which requires an old version of GCC to build), and it seems to work just fine.
Comment by stuffcorpse
Thanks nboichat, updated the pkgbuild with your patch.
Comment by nboichat
There are a few problems with the PKGBUILD, at least with pacman 4.1 and gcc 4.8:
- ${_builddir} is never created (when it is defined, $srcdir is not defined yet)
- makepkg sets CPPFLAGS="-D_FORTIFY_SOURCE=2", this causes problems in configure as this option needs an optimization flag as well (newer autoconf fix the problem, but this gdb is old, hence the problem). Manually add "-O2" to CPPFLAGS to circumvent the problem.
- The error reported below by brdavies below. Fixed by applied a patch from gdb upstream (http://sourceware.org/git/?p=gdb.git;a=commitdiff;h=7f62f13c2b535c6a23035407f1c8a36ad7993dec)
Please find patch to an updated PKGBUILD in pastebin: http://pastebin.com/CfZzXmc6 .
Anonymous comment
7.2a-4: Fails to build with gcc 4.8:
.../msp430-gdb/src/gdb-7.2/bfd/bfdio.c:580:30: error: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Werror=sizeof-pointer-memaccess]
Comment by stuffcorpse
7.2a-4: texinfo 5.0 fixes.
Comment by stuffcorpse
7.2a-3: there's actually a patch from the mspgcc-20120406 release I forgot to use.
Comment by stuffcorpse
7.2a-2: mspgcc-20120406 rebuild
Comment by stuffcorpse
7.2a-1: fixed gdb url, thanks s_tec
Comment by s_tec
The gdb-7.2.tar.bz2 package longer seems to be present on any mirrors, so the package no longer builds.
Comment by stuffcorpse
7.2-7: rebuild
Comment by stuffcorpse
7.2-6 (20110716 release):
http://www.mail-archive.com/mspgcc-users@lists.sourceforge.net/msg09996.html
Comment by stuffcorpse
7.2-4:
new uniarch mspgcc release: http://permalink.gmane.org/gmane.comp.hardware.texas-instruments.msp430.gcc.user/9486
see https://aur.archlinux.org/packages.php?ID=30132 for more details.
Comment by stuffcorpse
update to 7.2-3 (mspgcc4 20110312 release)
Comment by stuffcorpse
update to 7.2-2 (mspgcc4 20110213 release)
Comment by stuffcorpse
update 7.2-1 (20110130 mspgcc4 release)
Comment by stuffcorpse
update 7.1-4 with mspgcc4 20101114 release
Comment by stuffcorpse
update to 7.1-3 with mspgcc4 20101006 release
Comment by stuffcorpse
upate to 7.1-2 (mspgcc4 20100829 release)
Comment by stuffcorpse
update to 7.1-1