Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 211463 - app-emulation/gdb-armulator doesn't compile w/ gcc-4.x
Summary: app-emulation/gdb-armulator doesn't compile w/ gcc-4.x
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2008-02-25 22:38 UTC by Ihar Hrachyshka
Modified: 2008-04-20 01:59 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ihar Hrachyshka 2008-02-25 22:38:34 UTC
As it is stated on "http://www.uclinux.org/pub/uClinux/utilities/armulator/",
we need to patch the package with "http://www.uclinux.org/pub/uClinux/utilities/armulator/objstack.patch.gz" file for successfull compilation.
For now the package is not compilable.

Reproducible: Always

Steps to Reproduce:
1. emerge =x11-libs/gtk-1.2*
2. emerge gdb-armulator
3.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-02-25 22:42:57 UTC
Kindly review http://bugs.gentoo.org/page.cgi?id=fields.html#bug_severity; also posting some errors would be helpful.

Comment 2 Ihar Hrachyshka 2008-02-25 22:54:31 UTC
make[2]: Leaving directory `/var/tmp/portage/app-emulation/gdb-armulator-5.0/work/gdb-5.0/sim/arm'
make[1]: Leaving directory `/var/tmp/portage/app-emulation/gdb-armulator-5.0/work/gdb-5.0/sim'
make[1]: Entering directory `/var/tmp/portage/app-emulation/gdb-armulator-5.0/work/gdb-5.0/gdb'
gcc -c -O2 -march=prescott -pipe    -I. -I. -I./config -DHAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd  -I./../include -I../intl -I./../intl -I./tui  -DUSE_INCLUDED_REGEX   main.c
rm -f version.c
echo '#include "version.h"' >> version.c
echo 'const char version[] = "5.0";' >> version.c
echo 'const char host_name[] = "i686-pc-linux-gnu";' >> version.c
echo 'const char target_name[] = "arm-elf";' >> version.c
gcc -c -O2 -march=prescott -pipe    -I. -I. -I./config -DHAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd  -I./../include -I../intl -I./../intl -I./tui  -DUSE_INCLUDED_REGEX   version.c
gcc -c -O2 -march=prescott -pipe    -I. -I. -I./config -DHAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd  -I./../include -I../intl -I./../intl -I./tui  -DUSE_INCLUDED_REGEX   blockframe.c
gcc -c -O2 -march=prescott -pipe    -I. -I. -I./config -DHAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd  -I./../include -I../intl -I./../intl -I./tui  -DUSE_INCLUDED_REGEX   breakpoint.c
gcc -c -O2 -march=prescott -pipe    -I. -I. -I./config -DHAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd  -I./../include -I../intl -I./../intl -I./tui  -DUSE_INCLUDED_REGEX   findvar.c
gcc -c -O2 -march=prescott -pipe    -I. -I. -I./config -DHAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd  -I./../include -I../intl -I./../intl -I./tui  -DUSE_INCLUDED_REGEX   stack.c
gcc -c -O2 -march=prescott -pipe    -I. -I. -I./config -DHAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd  -I./../include -I../intl -I./../intl -I./tui  -DUSE_INCLUDED_REGEX   thread.c
gcc -c -O2 -march=prescott -pipe    -I. -I. -I./config -DHAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd  -I./../include -I../intl -I./../intl -I./tui  -DUSE_INCLUDED_REGEX   source.c
gcc -c -O2 -march=prescott -pipe    -I. -I. -I./config -DHAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd  -I./../include -I../intl -I./../intl -I./tui  -DUSE_INCLUDED_REGEX   values.c
gcc -c -O2 -march=prescott -pipe    -I. -I. -I./config -DHAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd  -I./../include -I../intl -I./../intl -I./tui  -DUSE_INCLUDED_REGEX   eval.c
gcc -c -O2 -march=prescott -pipe    -I. -I. -I./config -DHAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd  -I./../include -I../intl -I./../intl -I./tui  -DUSE_INCLUDED_REGEX   valops.c
gcc -c -O2 -march=prescott -pipe    -I. -I. -I./config -DHAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd  -I./../include -I../intl -I./../intl -I./tui  -DUSE_INCLUDED_REGEX   valarith.c
gcc -c -O2 -march=prescott -pipe    -I. -I. -I./config -DHAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd  -I./../include -I../intl -I./../intl -I./tui  -DUSE_INCLUDED_REGEX   valprint.c
gcc -c -O2 -march=prescott -pipe    -I. -I. -I./config -DHAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd  -I./../include -I../intl -I./../intl -I./tui  -DUSE_INCLUDED_REGEX   printcmd.c
gcc -c -O2 -march=prescott -pipe    -I. -I. -I./config -DHAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd  -I./../include -I../intl -I./../intl -I./tui  -DUSE_INCLUDED_REGEX   symtab.c
gcc -c -O2 -march=prescott -pipe    -I. -I. -I./config -DHAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd  -I./../include -I../intl -I./../intl -I./tui  -DUSE_INCLUDED_REGEX   symfile.c
gcc -c -O2 -march=prescott -pipe    -I. -I. -I./config -DHAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd  -I./../include -I../intl -I./../intl -I./tui  -DUSE_INCLUDED_REGEX   symmisc.c
gcc -c -O2 -march=prescott -pipe    -I. -I. -I./config -DHAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd  -I./../include -I../intl -I./../intl -I./tui  -DUSE_INCLUDED_REGEX   infcmd.c
gcc -c -O2 -march=prescott -pipe    -I. -I. -I./config -DHAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd  -I./../include -I../intl -I./../intl -I./tui  -DUSE_INCLUDED_REGEX   infrun.c
gcc -c -O2 -march=prescott -pipe    -I. -I. -I./config -DHAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd  -I./../include -I../intl -I./../intl -I./tui  -DUSE_INCLUDED_REGEX   command.c
gcc -c -O2 -march=prescott -pipe    -I. -I. -I./config -DHAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd  -I./../include -I../intl -I./../intl -I./tui  -DUSE_INCLUDED_REGEX   expprint.c
gcc -c -O2 -march=prescott -pipe    -I. -I. -I./config -DHAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd  -I./../include -I../intl -I./../intl -I./tui  -DUSE_INCLUDED_REGEX   environ.c
gcc -c -O2 -march=prescott -pipe    -I. -I. -I./config -DHAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd  -I./../include -I../intl -I./../intl -I./tui  -DUSE_INCLUDED_REGEX   event-loop.c
gcc -c -O2 -march=prescott -pipe    -I. -I. -I./config -DHAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd  -I./../include -I../intl -I./../intl -I./tui  -DUSE_INCLUDED_REGEX   event-top.c
gcc -c -O2 -march=prescott -pipe    -I. -I. -I./config -DHAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd  -I./../include -I../intl -I./../intl -I./tui  -DUSE_INCLUDED_REGEX   inf-loop.c
gcc -c -O2 -march=prescott -pipe    -I. -I. -I./config -DHAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd  -I./../include -I../intl -I./../intl -I./tui  -DUSE_INCLUDED_REGEX   gdbarch.c
In file included from gdbarch.c:59:
./../include/symcat.h:40:8: warning: extra tokens at end of #endif directive
gcc -c -O2 -march=prescott -pipe    -I. -I. -I./config -DHAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd  -I./../include -I../intl -I./../intl -I./tui  -DUSE_INCLUDED_REGEX   arch-utils.c
gcc -c -O2 -march=prescott -pipe    -I. -I. -I./config -DHAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd  -I./../include -I../intl -I./../intl -I./tui  -DUSE_INCLUDED_REGEX   gdbtypes.c
gdbtypes.c: In function ‘recursive_dump_type’:
gdbtypes.c:2712: error: lvalue required as increment operand
make[1]: *** [gdbtypes.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-emulation/gdb-armulator-5.0/work/gdb-5.0/gdb'
make: *** [all-gdb] Error 2
 * 
 * ERROR: app-emulation/gdb-armulator-5.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2326:  Called die
 * The specific snippet of code:
 *       emake || die
 *  The die message:
 *   (no error message)
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-emulation/gdb-armulator-5.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/gdb-armulator-5.0/temp/environment'.
Comment 3 Ihar Hrachyshka 2008-02-25 22:54:56 UTC
booxter-laptop ~ # emerge --info
Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.2.3, glibc-2.7-r1, 2.6.24-tuxonice-r2 i686)
=================================================================
System uname: 2.6.24-tuxonice-r2 i686 Intel(R) Celeron(R) M CPU 430 @ 1.73GHz
Timestamp of tree: Mon, 25 Feb 2008 11:00:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.5.1-r5
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa bash-completion berkdb bitmap-fonts cairo cddb cdr chm cli cracklib crypt cscope cups dbus djvu dri dvd dvdr dvdread eds emacs emboss encode evo exif fam ffmpeg firefox flac fortran gdbm gif gnome gstreamer gtk hal iconv imap ipv6 isdnlog jpeg keyring libnotify mad midi mikmod mmx mp3 mpeg mudflap musicbrainz ncurses nfs nls nptl nptlonly ogg opengl openmp oss pam pcre pdf perl png pppd python qt3support qt4 quicktime readline reflection samba sdl session spell spl sse sse2 ssl subversion svg tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb vim-syntax vorbis win32codecs x264 x86 xcomposite xml xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="i810 vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS