Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 133983 - hteditor won't compile with gcc 4.1.0
Summary: hteditor won't compile with gcc 4.1.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Daniel Black (RETIRED)
URL: http://sourceforge.net/tracker/index....
Whiteboard:
Keywords:
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-05-21 16:07 UTC by Daniele Gaffuri
Modified: 2006-05-22 03:07 UTC (History)
0 users

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


Attachments
GCC 4.1 patch for hteditor (hteditor-gcc41.patch,300 bytes, patch)
2006-05-21 16:09 UTC, Daniele Gaffuri
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniele Gaffuri 2006-05-21 16:07:37 UTC
app-editors/hdeditor-0.9.x doesn't compile with gcc-4.1.0

Making all in srt
gmake[2]: Entering directory `/var/tmp/portage/hteditor-0.9.1/work/ht-0.9.1/srt'
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../analyser -I../asm -I../io -I../io/posix    -O2 -march=pentium-m -fomit-frame-pointer -pipe -MT srt.o -MD -MP -MF ".deps/srt.Tpo" -c -o srt.o srt.cc; \
then mv -f ".deps/srt.Tpo" ".deps/srt.Po"; else rm -f ".deps/srt.Tpo"; exit 1; fi
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../analyser -I../asm -I../io -I../io/posix    -O2 -march=pentium-m -fomit-frame-pointer -pipe -MT srt_x86.o -MD -MP -MF ".deps/srt_x86.Tpo" -c -o srt_x86.o srt_x86.cc; \
then mv -f ".deps/srt_x86.Tpo" ".deps/srt_x86.Po"; else rm -f ".deps/srt_x86.Tpo"; exit 1; fi
srt_x86.cc:79: error: extra qualification 'sym_int_reg_x86::' on member 'sym_int_reg_x86'
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../analyser -I../asm -I../io -I../io/posix    -O2 -march=pentium-m -fomit-frame-pointer -pipe -MT symmath.o -MD -MP -MF ".deps/symmath.Tpo" -c -o symmath.o symmath.cc; \
then mv -f ".deps/symmath.Tpo" ".deps/symmath.Po"; else rm -f ".deps/symmath.Tpo"; exit 1; fi
gmake[2]: *** [srt_x86.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: Leaving directory `/var/tmp/portage/hteditor-0.9.1/work/ht-0.9.1/srt'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/var/tmp/portage/hteditor-0.9.1/work/ht-0.9.1'
make: *** [all] Error 2

!!! ERROR: app-editors/hteditor-0.9.1 failed.
Call stack:
  ebuild.sh, line 1527:   Called dyn_compile
  ebuild.sh, line 931:   Called src_compile
  hteditor-0.9.1.ebuild, line 28:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.

Here's emerge --info

Portage 2.1_rc1-r3 (default-linux/x86/2006.0, gcc-4.1.0, glibc-2.4-r3, 2.6.17-rc4 i686)
=================================================================
System uname: 2.6.17-rc4 i686 Intel(R) Pentium(R) M processor 2.00GHz
Gentoo Base System version 1.12.0_pre19
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/vmware"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acl acpi alsa apache2 arts audiofile avi bash-completion berkdb bitmap-fonts bzip2 cairo cdr cli crypt cups curl dbus dvd dvdr dvdread emboss encode esd exif ffmpeg firefox foomaticdb gdbm gif glut gmp gpm gstreamer gtk gtk2 hal iconv idn ieee1394 imlib isdnlog java jpeg junit kde kdeenablefinal kerberos lcms ldap libg++ libwww logrotate mad mhash mikmod mmx mng motif mp3 mpeg ncurses nls nptl nsplugin nvidia odbc ogg opengl oracle pam pcmcia pcre pdflib perl php png pppd python qt quicktime readline reflection sdl session spell spl sqllite sse sse2 ssl tcltk tcpd threads tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis wifi xine xinerama xml xmms xorg xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_joystick input_devices_synaptics kernel_linux linguas_en userland_GNU video_cards_nvidia"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

I'm posting a patch working for both 0.9.0 and 0.9.1.
Comment 1 Daniele Gaffuri 2006-05-21 16:09:03 UTC
Created attachment 87215 [details, diff]
GCC 4.1 patch for hteditor
Comment 2 Daniel Black (RETIRED) gentoo-dev 2006-05-22 03:07:31 UTC
Thanks Daniele. Fixed in later version.

Reported upstream to so it should be fixed next release.

Thanks for the bug report with patch.